Bug#1005544: polari: FTBFS: ../data/appdata/meson.build:2:0: ERROR: Function does not take positional arguments.

Lucas Nussbaum lucas at debian.org
Sun Feb 13 07:31:04 GMT 2022


Source: polari
Version: 41.0-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 binary
> dh binary
>    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: polari
> Project version: 41.0
> 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
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Program js78 found: YES (/usr/bin/js78)
> Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
> Program json-glib-validate found: YES (/usr/bin/json-glib-validate)
> Program appstream-util found: YES (/usr/bin/appstream-util)
> Program meson/check-version.py found: YES (/<<PKGBUILDDIR>>/meson/check-version.py)
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Run-time dependency gio-2.0 found: YES 2.70.3
> Run-time dependency telepathy-glib found: YES 0.24.1
> Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
> Run-time dependency gjs-1.0 found: YES 1.70.1
> Checking for function "strcasestr" : YES 
> Configuring config.h using configuration
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
> Configuring org.gnome.Polari.src.gresource.xml using configuration
> Configuring config.js.in using configuration
> Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
> Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
> Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
> Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
> Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
> Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
> 
> ../data/appdata/meson.build:2:0: 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:58.039134
> 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: polari
> Project version: 41.0
> 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,-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
> 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,-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
> 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
> Program js78 found: YES (/usr/bin/js78)
> Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
> Program json-glib-validate found: YES (/usr/bin/json-glib-validate)
> Program appstream-util found: YES (/usr/bin/appstream-util)
> Program meson/check-version.py found: YES (/<<PKGBUILDDIR>>/meson/check-version.py)
> Pkg-config binary for 1 is not cached.
> Pkg-config binary missing from cross or native file, or env var undefined.
> Trying a default Pkg-config fallback at pkg-config
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Determining dependency 'gio-2.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gio-2.0` -> 0
> 2.70.3
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags gio-2.0` -> 0
> -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gio-2.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgio-2.0 -lgobject-2.0 -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gio-2.0` -> 0
> -lgio-2.0 -lgobject-2.0 -lglib-2.0
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpxno_7i5u
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpxno_7i5u/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpxno_7i5u/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,-z,defs 
> 
> Code:
>  #include<stdio.h>
>         
>         int main(void) {
>             printf("%ld\n", (long)(sizeof(void *)));
>             return 0;
>         }
> Compiler stdout:
>  
> Compiler stderr:
>  
> Program stdout:
> 
> 8
> 
> Program stderr:
> 
> 
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpycku3bk1
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpycku3bk1/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpycku3bk1/output.obj -c -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 --print-search-dirs 
> 
> Code:
>  
> Compiler stdout:
>  install: /usr/lib/gcc/x86_64-linux-gnu/11/
> programs: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/bin/
> libraries: =/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/11/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/11/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/
> 
> Compiler stderr:
>  
> Run-time dependency gio-2.0 found: YES 2.70.3
> Pkg-config binary for 1 is cached.
> Determining dependency 'telepathy-glib' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion telepathy-glib` -> 0
> 0.24.1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags telepathy-glib` -> 0
> -pthread -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs telepathy-glib` -> 0
> -L/usr/lib/x86_64-linux-gnu -ltelepathy-glib
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs telepathy-glib` -> 0
> -ltelepathy-glib
> Run-time dependency telepathy-glib found: YES 0.24.1
> Pkg-config binary for 1 is cached.
> Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gobject-introspection-1.0` -> 0
> 1.70.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags gobject-introspection-1.0` -> 0
> -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gobject-introspection-1.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgirepository-1.0 -lgobject-2.0 -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gobject-introspection-1.0` -> 0
> -lgirepository-1.0 -lgobject-2.0 -lglib-2.0
> Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
> Pkg-config binary for 1 is cached.
> Determining dependency 'gjs-1.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gjs-1.0` -> 0
> 1.70.1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags gjs-1.0` -> 0
> -pthread -include /usr/include/mozjs-78/js/RequiredDefines.h -pthread -I/usr/include/gjs-1.0 -I/usr/include/gobject-introspection-1.0 -isystem /usr/include/mozjs-78 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gjs-1.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgjs -lgio-2.0 -lgobject-2.0 -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gjs-1.0` -> 0
> -lgjs -lgio-2.0 -lgobject-2.0 -lglib-2.0
> Run-time dependency gjs-1.0 found: YES 1.70.1
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpks70y_8j
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpks70y_8j/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpks70y_8j/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,-z,defs 
> 
> Code:
>  
>         #define strcasestr meson_disable_define_of_strcasestr
>         
>         #include <limits.h>
>         #undef strcasestr
>         
>         #ifdef __cplusplus
>         extern "C"
>         #endif
>         char strcasestr (void);
>         
>         #if defined __stub_strcasestr || defined __stub___strcasestr
>         fail fail fail this function is not going to work
>         #endif
>         
>         int main(void) {
>           return strcasestr ();
>         }
> Compiler stdout:
>  
> Compiler stderr:
>  
> Checking for function "strcasestr" : YES 
> Configuring config.h using configuration
> Pkg-config binary for 0 is not cached.
> Pkg-config binary missing from cross or native file, or env var undefined.
> Trying a default Pkg-config fallback at pkg-config
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion glib-2.0` -> 0
> 2.70.3
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags glib-2.0` -> 0
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs glib-2.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs glib-2.0` -> 0
> -lglib-2.0
> Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
> Adding test "Checking syntax of accountsMonitor.js"
> Adding test "Checking syntax of application.js"
> Adding test "Checking syntax of appNotifications.js"
> Adding test "Checking syntax of chatView.js"
> Adding test "Checking syntax of connections.js"
> Adding test "Checking syntax of entryArea.js"
> Adding test "Checking syntax of initialSetup.js"
> Adding test "Checking syntax of ircParser.js"
> Adding test "Checking syntax of joinDialog.js"
> Adding test "Checking syntax of main.js"
> Adding test "Checking syntax of mainWindow.js"
> Adding test "Checking syntax of networksManager.js"
> Adding test "Checking syntax of pasteManager.js"
> Adding test "Checking syntax of roomList.js"
> Adding test "Checking syntax of roomManager.js"
> Adding test "Checking syntax of roomStack.js"
> Adding test "Checking syntax of serverRoomManager.js"
> Adding test "Checking syntax of tabCompletion.js"
> Adding test "Checking syntax of telepathyClient.js"
> Adding test "Checking syntax of urlPreview.js"
> Adding test "Checking syntax of userList.js"
> Adding test "Checking syntax of utils.js"
> Adding test "Checking syntax of userTracker.js"
> Configuring org.gnome.Polari.src.gresource.xml using configuration
> Configuring config.js.in using configuration
> Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
> Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
> Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --variable=g_ir_scanner gobject-introspection-1.0` -> 0
> /usr/bin/g-ir-scanner
> Got pkgconfig variable g_ir_scanner : /usr/bin/g-ir-scanner
> Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
> Dependency gobject-introspection-1.0 found: YES 1.70.0 (cached)
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --variable=g_ir_compiler gobject-introspection-1.0` -> 0
> /usr/bin/g-ir-compiler
> Got pkgconfig variable g_ir_compiler : /usr/bin/g-ir-compiler
> Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --variable=girdir gio-2.0` -> 0
> 
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --print-variables gio-2.0` -> 0
> bindir
> datadir
> gdbus
> gdbus_codegen
> gio
> gio_querymodules
> giomoduledir
> glib_compile_resources
> glib_compile_schemas
> gresource
> gsettings
> includedir
> libdir
> pcfiledir
> prefix
> schemasdir
> Got pkgconfig variable girdir : 
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --variable=girdir telepathy-glib` -> 0
> 
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --print-variables telepathy-glib` -> 0
> exec_prefix
> includedir
> libdir
> pcfiledir
> prefix
> Got pkgconfig variable girdir : 
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --variable=girdir gobject-introspection-1.0` -> 0
> /usr/share/gir-1.0
> Got pkgconfig variable girdir : /usr/share/gir-1.0
> env[PKG_CONFIG_PATH]: 
> env[PKG_CONFIG_PATH]: 
> Got pkgconfig variable girdir : 
> env[PKG_CONFIG_PATH]: 
> env[PKG_CONFIG_PATH]: 
> Got pkgconfig variable girdir : 
> env[PKG_CONFIG_PATH]: 
> Got pkgconfig variable girdir : /usr/share/gir-1.0
> Adding test "Testing utility functions"
> 
> ../data/appdata/meson.build:2:0: 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: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/polari_41.0-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