Bug#1005517: gnome-mines: FTBFS: ../data/meson.build:18:0: ERROR: Function does not take positional arguments.

Lucas Nussbaum lucas at debian.org
Sun Feb 13 07:29:17 GMT 2022


Source: gnome-mines
Version: 1:40.0-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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_configure -- --bindir=games
> 	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 --bindir=games
> 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: gnome-mines
> Project version: 40.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
> Vala compiler for the host machine: valac (valac 0.54.6)
> Host machine cpu family: x86_64
> Host machine cpu: x86_64
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Run-time dependency glib-2.0 found: YES 2.70.3
> Run-time dependency gee-0.8 found: YES 0.20.5
> Run-time dependency gtk+-3.0 found: YES 3.24.31
> Run-time dependency librsvg-2.0 found: YES 2.52.5
> Run-time dependency libgnome-games-support-1 found: YES 1.8.2
> Library m found: YES
> 
> ../data/meson.build:18: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:47:49.837682
> Main binary: /usr/bin/python3
> Build Options: -Dprefix=/usr -Dbindir=games -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: gnome-mines
> Project version: 40.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,-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/tmpqtthjodt
> Command line:  valac /tmp/tmpqtthjodt/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
> 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/tmpy1_7sobe
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpy1_7sobe/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpy1_7sobe/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:
>  #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/tmpt8zosbwl
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpt8zosbwl/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpt8zosbwl/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 glib-2.0 found: YES 2.70.3
> Pkg-config binary for 1 is cached.
> Determining dependency 'gee-0.8' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gee-0.8` -> 0
> 0.20.5
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags gee-0.8` -> 0
> -I/usr/include/gee-0.8 -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 gee-0.8` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgee-0.8 -lgobject-2.0 -lglib-2.0
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gee-0.8` -> 0
> -lgee-0.8 -lgobject-2.0 -lglib-2.0
> Run-time dependency gee-0.8 found: YES 0.20.5
> 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
> Pkg-config binary for 1 is cached.
> Determining dependency 'librsvg-2.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion librsvg-2.0` -> 0
> 2.52.5
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags librsvg-2.0` -> 0
> -pthread -I/usr/include/librsvg-2.0 -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/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs librsvg-2.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs librsvg-2.0` -> 0
> -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpwkwl4lj3
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpwkwl4lj3/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpwkwl4lj3/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,--start-group -lm -Wl,--end-group -Wl,--allow-shlib-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs 
> 
> Code:
>  int main(void) { return 0; }
> 
> Compiler stdout:
>  
> Compiler stderr:
>  
> Run-time dependency librsvg-2.0 found: YES 2.52.5
> Pkg-config binary for 1 is cached.
> Determining dependency 'libgnome-games-support-1' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion libgnome-games-support-1` -> 0
> 1.8.2
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags libgnome-games-support-1` -> 0
> -pthread -I/usr/include/gnome-games-support-1 -I/usr/include/gee-0.8 -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 libgnome-games-support-1` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgnome-games-support-1 -lgee-0.8 -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 libgnome-games-support-1` -> 0
> -lgnome-games-support-1 -lgee-0.8 -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 libgnome-games-support-1 found: YES 1.8.2
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpexs7m1fr
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpexs7m1fr/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpexs7m1fr/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,--start-group -lm -Wl,--end-group -Wl,--allow-shlib-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-z,defs 
> 
> Code:
>  int main(void) { return 0; }
> 
> Compiler stdout:
>  
> Compiler stderr:
>  
> Library m found: YES
> 
> ../data/meson.build:18: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 --bindir=games returned exit code 1
> make[1]: *** [debian/rules:10: override_dh_auto_configure] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/gnome-mines_40.0-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 pkg-gnome-maintainers mailing list