Bug#1005599: dconf-editor: FTBFS: ../editor/meson.build:3:5: ERROR: Function does not take positional arguments.

Lucas Nussbaum lucas at debian.org
Sun Feb 13 07:26:41 GMT 2022


Source: dconf-editor
Version: 3.38.3-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu
> The Meson build system
> Version: 0.61.1
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Build type: native build
> Project name: dconf-editor
> Project version: 3.38.3
> C compiler for the host machine: cc (gcc 11.2.0 "cc (Debian 11.2.0-16) 11.2.0")
> C linker for the host machine: cc ld.bfd 2.38
> Vala compiler for the host machine: valac (valac 0.54.6)
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Has header "dlfcn.h" : YES 
> Has header "float.h" : YES 
> Has header "inttypes.h" : YES 
> Has header "memory.h" : YES 
> Has header "stdint.h" : YES 
> Has header "stdlib.h" : YES 
> Has header "strings.h" : YES 
> Has header "string.h" : YES 
> Has header "sys/stat.h" : YES 
> Has header "unistd.h" : YES 
> Has header "locale.h" : YES 
> Has header "sys/types.h" : YES 
> Checking for function "memset" : YES 
> Checking for function "strstr" : YES 
> Checking for function "dcgettext" : YES 
> Checking for function "gettext" : YES 
> Checking for function "iconv" : YES 
> Checking for function "setlocale" : YES 
> 
> ../editor/meson.build:3:5: ERROR: Function does not take positional arguments.
> 
> A full log can be found at /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-logs/meson-log.txt
> 	cd obj-x86_64-linux-gnu && tail -v -n \+0 meson-logs/meson-log.txt
> ==> meson-logs/meson-log.txt <==
> Build started at 2022-02-12T22:48:29.850467
> Main binary: /usr/bin/python3
> Build Options: -Dprefix=/usr -Dlibdir=lib/x86_64-linux-gnu -Dlocalstatedir=/var -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload
> Python system: Linux
> The Meson build system
> Version: 0.61.1
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
> Build type: native build
> Project name: dconf-editor
> Project version: 3.38.3
> Sanity testing C compiler: cc
> Is cross compiler: False.
> Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs
> Sanity check compile stdout:
> 
> -----
> Sanity check compile stderr:
> 
> -----
> Running test binary command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/sanitycheckc.exe
> C compiler for the host machine: cc (gcc 11.2.0 "cc (Debian 11.2.0-16) 11.2.0")
> C linker for the host machine: cc ld.bfd 2.38
> Running compile:
> Working directory:  /tmp/tmpy7nifp5y
> Command line:  valac /tmp/tmpy7nifp5y/testfile.vala -C 
> 
> Code:
>  class MesonSanityCheck : Object { }
> Compiler stdout:
>  
> Compiler stderr:
>  
> Vala compiler for the host machine: valac (valac 0.54.6)
> Sanity testing C compiler: cc
> Is cross compiler: False.
> Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs
> Sanity check compile stdout:
> 
> -----
> Sanity check compile stderr:
> 
> -----
> Running test binary command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/sanitycheckc.exe
> C compiler for the build machine: cc (gcc 11.2.0 "cc (Debian 11.2.0-16) 11.2.0")
> C linker for the build machine: cc ld.bfd 2.38
> Using cached compile:
> Cached command line:   
> 
> Code:
>  class MesonSanityCheck : Object { }
> Cached compiler stdout:
>  
> Cached compiler stderr:
>  
> Vala compiler for the build machine: valac (valac 0.54.6)
> Build machine cpu family: x86_64
> Build machine cpu: x86_64
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Target machine cpu family: x86_64
> Target machine cpu: x86_64
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpxhpgg_7a
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpxhpgg_7a/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("dlfcn.h")
>           #error "Header 'dlfcn.h' could not be found"
>          #endif
>         #else
>          #include <dlfcn.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "dlfcn.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmprqhxmny9
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmprqhxmny9/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("float.h")
>           #error "Header 'float.h' could not be found"
>          #endif
>         #else
>          #include <float.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "float.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp8nmeglic
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp8nmeglic/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("inttypes.h")
>           #error "Header 'inttypes.h' could not be found"
>          #endif
>         #else
>          #include <inttypes.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "inttypes.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpeoxb8mi3
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpeoxb8mi3/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("memory.h")
>           #error "Header 'memory.h' could not be found"
>          #endif
>         #else
>          #include <memory.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "memory.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpze9zrtau
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpze9zrtau/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("stdint.h")
>           #error "Header 'stdint.h' could not be found"
>          #endif
>         #else
>          #include <stdint.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "stdint.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmprfw4k07y
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmprfw4k07y/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("stdlib.h")
>           #error "Header 'stdlib.h' could not be found"
>          #endif
>         #else
>          #include <stdlib.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "stdlib.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpaz2z5a5o
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpaz2z5a5o/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("strings.h")
>           #error "Header 'strings.h' could not be found"
>          #endif
>         #else
>          #include <strings.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "strings.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp_94akr3b
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp_94akr3b/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("string.h")
>           #error "Header 'string.h' could not be found"
>          #endif
>         #else
>          #include <string.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "string.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpw_c8gh7p
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpw_c8gh7p/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("sys/stat.h")
>           #error "Header 'sys/stat.h' could not be found"
>          #endif
>         #else
>          #include <sys/stat.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "sys/stat.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpqc5j4sf6
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpqc5j4sf6/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("unistd.h")
>           #error "Header 'unistd.h' could not be found"
>          #endif
>         #else
>          #include <unistd.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "unistd.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpi4c2xh5a
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpi4c2xh5a/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("locale.h")
>           #error "Header 'locale.h' could not be found"
>          #endif
>         #else
>          #include <locale.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "locale.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp9lgr60c0
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp9lgr60c0/testfile.c -E -P -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -P -O0 
> 
> Code:
>  
>         #ifdef __has_include
>          #if !__has_include("sys/types.h")
>           #error "Header 'sys/types.h' could not be found"
>          #endif
>         #else
>          #include <sys/types.h>
>         #endif
> Compiler stdout:
>  
> Compiler stderr:
>  
> Has header "sys/types.h" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpcz30ipe5
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpcz30ipe5/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpcz30ipe5/output.exe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs 
> 
> Code:
>  
>         #define memset meson_disable_define_of_memset
>         
>         #include <limits.h>
>         #undef memset
>         
>         #ifdef __cplusplus
>         extern "C"
>         #endif
>         char memset (void);
>         
>         #if defined __stub_memset || defined __stub___memset
>         fail fail fail this function is not going to work
>         #endif
>         
>         int main(void) {
>           return memset ();
>         }
> Compiler stdout:
>  
> Compiler stderr:
>  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpcz30ipe5/testfile.c:10:14: warning: conflicting types for built-in function 'memset'; expected 'void *(void *, int,  long unsigned int)' [-Wbuiltin-declaration-mismatch]
>    10 |         char memset (void);
>       |              ^~~~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpcz30ipe5/testfile.c:5:1: note: 'memset' is declared in header '<string.h>'
>     4 |         #include <limits.h>
>   +++ |+#include <string.h>
>     5 |         #undef memset
> 
> Checking for function "memset" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpgwhf5gmu
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpgwhf5gmu/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpgwhf5gmu/output.exe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs 
> 
> Code:
>  
>         #define strstr meson_disable_define_of_strstr
>         
>         #include <limits.h>
>         #undef strstr
>         
>         #ifdef __cplusplus
>         extern "C"
>         #endif
>         char strstr (void);
>         
>         #if defined __stub_strstr || defined __stub___strstr
>         fail fail fail this function is not going to work
>         #endif
>         
>         int main(void) {
>           return strstr ();
>         }
> Compiler stdout:
>  
> Compiler stderr:
>  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpgwhf5gmu/testfile.c:10:14: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
>    10 |         char strstr (void);
>       |              ^~~~~~
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpgwhf5gmu/testfile.c:5:1: note: 'strstr' is declared in header '<string.h>'
>     4 |         #include <limits.h>
>   +++ |+#include <string.h>
>     5 |         #undef strstr
> 
> Checking for function "strstr" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp4rowpkci
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp4rowpkci/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp4rowpkci/output.exe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs 
> 
> Code:
>  
>         #define dcgettext meson_disable_define_of_dcgettext
>         
>         #include <limits.h>
>         #undef dcgettext
>         
>         #ifdef __cplusplus
>         extern "C"
>         #endif
>         char dcgettext (void);
>         
>         #if defined __stub_dcgettext || defined __stub___dcgettext
>         fail fail fail this function is not going to work
>         #endif
>         
>         int main(void) {
>           return dcgettext ();
>         }
> Compiler stdout:
>  
> Compiler stderr:
>  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp4rowpkci/testfile.c:10:14: warning: conflicting types for built-in function 'dcgettext'; expected 'char *(const char *, const char *, int)' [-Wbuiltin-declaration-mismatch]
>    10 |         char dcgettext (void);
>       |              ^~~~~~~~~
> 
> Checking for function "dcgettext" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp3va0ld09
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp3va0ld09/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp3va0ld09/output.exe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs 
> 
> Code:
>  
>         #define gettext meson_disable_define_of_gettext
>         
>         #include <limits.h>
>         #undef gettext
>         
>         #ifdef __cplusplus
>         extern "C"
>         #endif
>         char gettext (void);
>         
>         #if defined __stub_gettext || defined __stub___gettext
>         fail fail fail this function is not going to work
>         #endif
>         
>         int main(void) {
>           return gettext ();
>         }
> Compiler stdout:
>  
> Compiler stderr:
>  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp3va0ld09/testfile.c:10:14: warning: conflicting types for built-in function 'gettext'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
>    10 |         char gettext (void);
>       |              ^~~~~~~
> 
> Checking for function "gettext" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpd8xxff09
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpd8xxff09/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpd8xxff09/output.exe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs 
> 
> Code:
>  
>         #define iconv meson_disable_define_of_iconv
>         
>         #include <limits.h>
>         #undef iconv
>         
>         #ifdef __cplusplus
>         extern "C"
>         #endif
>         char iconv (void);
>         
>         #if defined __stub_iconv || defined __stub___iconv
>         fail fail fail this function is not going to work
>         #endif
>         
>         int main(void) {
>           return iconv ();
>         }
> Compiler stdout:
>  
> Compiler stderr:
>  
> Checking for function "iconv" : YES 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp4l1tegod
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp4l1tegod/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp4l1tegod/output.exe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -O0 -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs 
> 
> Code:
>  
>         #define setlocale meson_disable_define_of_setlocale
>         
>         #include <limits.h>
>         #undef setlocale
>         
>         #ifdef __cplusplus
>         extern "C"
>         #endif
>         char setlocale (void);
>         
>         #if defined __stub_setlocale || defined __stub___setlocale
>         fail fail fail this function is not going to work
>         #endif
>         
>         int main(void) {
>           return setlocale ();
>         }
> Compiler stdout:
>  
> Compiler stderr:
>  
> Checking for function "setlocale" : YES 
> 
> ../editor/meson.build:3:5: ERROR: Function does not take positional arguments.
> dh_auto_configure: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu returned exit code 1
> make: *** [debian/rules:7: build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/dconf-editor_3.38.3-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-gnome-maintainers mailing list