[Debian-zh-dev] Bug#1005604: iptux: FTBFS: ../share/applications/meson.build:2:5: ERROR: Function does not take positional arguments.

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


Source: iptux
Version: 0.8.3-1
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: iptux
> Project version: 0.8.3
> C++ compiler for the host machine: c++ (gcc 11.2.0 "c++ (Debian 11.2.0-16) 11.2.0")
> C++ linker for the host machine: c++ ld.bfd 2.38
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Configuring config.h using configuration
> Configuring TestConfig.h using configuration
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Run-time dependency glib-2.0 found: YES 2.70.3
> Run-time dependency threads found: YES
> Dependency glib-2.0 found: YES 2.70.3 (cached)
> Run-time dependency jsoncpp found: YES 1.9.5
> Run-time dependency libglog found: YES 0.4.0
> Run-time dependency gflags found: YES 2.2.2
> Run-time dependency sigc++-2.0 found: YES 2.10.4
> Dependency threads found: YES unknown (cached)
> Run-time dependency gtk+-3.0 found: YES 3.24.31
> Dependency jsoncpp found: YES 1.9.5 (cached)
> Dependency libglog found: YES 0.4.0 (cached)
> Dependency gflags found: YES 2.2.2 (cached)
> Dependency sigc++-2.0 found: YES 2.10.4 (cached)
> Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
> Dependency threads found: YES unknown (cached)
> 
> ../share/applications/meson.build:2: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:44:54.427393
> 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: iptux
> Project version: 0.8.3
> Sanity testing C++ compiler: c++
> Is cross compiler: False.
> Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.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
> Sanity check compile stdout:
> 
> -----
> Sanity check compile stderr:
> 
> -----
> Running test binary command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/sanitycheckcpp.exe
> C++ compiler for the host machine: c++ (gcc 11.2.0 "c++ (Debian 11.2.0-16) 11.2.0")
> C++ linker for the host machine: c++ ld.bfd 2.38
> Sanity testing C++ compiler: c++
> Is cross compiler: False.
> Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.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
> Sanity check compile stdout:
> 
> -----
> Sanity check compile stderr:
> 
> -----
> Running test binary command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/sanitycheckcpp.exe
> C++ compiler for the build machine: c++ (gcc 11.2.0 "c++ (Debian 11.2.0-16) 11.2.0")
> C++ linker for the build machine: c++ 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
> Configuring config.h using configuration
> Configuring TestConfig.h using configuration
> 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 '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
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmptnzd77s9
> Command line:  c++ /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmptnzd77s9/testfile.cpp -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmptnzd77s9/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 -fpermissive -Wl,-z,relro -Wl,-z,now 
> 
> 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/tmpee18eq1t
> Command line:  c++ /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpee18eq1t/testfile.cpp -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpee18eq1t/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 -fpermissive --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 glib-2.0 found: YES 2.70.3
> Run-time dependency threads found: YES
> Adding test "iptux utils unit test"
> Dependency glib-2.0 found: YES 2.70.3 (cached)
> Pkg-config binary for 1 is cached.
> Determining dependency 'jsoncpp' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion jsoncpp` -> 0
> 1.9.5
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags jsoncpp` -> 0
> -I/usr/include/jsoncpp
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs jsoncpp` -> 0
> -L/usr/lib/x86_64-linux-gnu -ljsoncpp
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs jsoncpp` -> 0
> -ljsoncpp
> Run-time dependency jsoncpp found: YES 1.9.5
> Pkg-config binary for 1 is cached.
> Determining dependency 'libglog' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion libglog` -> 0
> 0.4.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags libglog` -> 0
> 
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs libglog` -> 0
> -L/usr/lib/x86_64-linux-gnu -lglog
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs libglog` -> 0
> -lglog
> Run-time dependency libglog found: YES 0.4.0
> Pkg-config binary for 1 is cached.
> Determining dependency 'gflags' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gflags` -> 0
> 2.2.2
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags gflags` -> 0
> 
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gflags` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgflags
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gflags` -> 0
> -lgflags
> Run-time dependency gflags found: YES 2.2.2
> Pkg-config binary for 1 is cached.
> Determining dependency 'sigc++-2.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion sigc++-2.0` -> 0
> 2.10.4
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags sigc++-2.0` -> 0
> -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs sigc++-2.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lsigc-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs sigc++-2.0` -> 0
> -lsigc-2.0
> Run-time dependency sigc++-2.0 found: YES 2.10.4
> Dependency threads found: YES unknown (cached)
> Adding test "iptux core unit test"
> Pkg-config binary for 1 is cached.
> Determining dependency 'gtk+-3.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gtk+-3.0` -> 0
> 3.24.31
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags gtk+-3.0` -> 0
> -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -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 gtk+-3.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gtk+-3.0` -> 0
> -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
> Run-time dependency gtk+-3.0 found: YES 3.24.31
> Dependency jsoncpp found: YES 1.9.5 (cached)
> Dependency libglog found: YES 0.4.0 (cached)
> Dependency gflags found: YES 2.2.2 (cached)
> Dependency sigc++-2.0 found: YES 2.10.4 (cached)
> Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
> Dependency threads found: YES unknown (cached)
> Adding test "iptux ui unit test"
> 
> ../share/applications/meson.build:2: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:10: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/iptux_0.8.3-1_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 Chinese-developers mailing list