Bug#1005586: gnome-font-viewer: FTBFS: ../src/meson.build:42:5: ERROR: Function does not take positional arguments.

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


Source: gnome-font-viewer
Version: 41.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):
>  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: gnome-font-viewer
> 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
> Found pkg-config: /usr/bin/pkg-config (0.29.2)
> Run-time dependency glib-2.0 found: YES 2.70.3
> Run-time dependency gtk+-3.0 found: YES 3.24.31
> Run-time dependency libhandy-1 found: YES 1.5.90
> Run-time dependency harfbuzz found: YES 2.7.4
> Run-time dependency fontconfig found: YES 2.13.1
> Run-time dependency freetype2 found: YES 24.1.18
> Run-time dependency gnome-desktop-3.0 found: YES 41.3
> Library m found: 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.font-viewer.desktop.in using configuration
> 
> ../src/meson.build:42: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:47:05.378013
> 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: gnome-font-viewer
> 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,-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
> 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
> 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/tmp1j14dagt
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp1j14dagt/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmp1j14dagt/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/tmppcfh10fd
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmppcfh10fd/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmppcfh10fd/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 '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 'libhandy-1' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion libhandy-1` -> 0
> 1.5.90
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags libhandy-1` -> 0
> -pthread -I/usr/include/libhandy-1 -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 libhandy-1` -> 0
> -L/usr/lib/x86_64-linux-gnu -lhandy-1 -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 libhandy-1` -> 0
> -lhandy-1 -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 libhandy-1 found: YES 1.5.90
> Pkg-config binary for 1 is cached.
> Determining dependency 'harfbuzz' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion harfbuzz` -> 0
> 2.7.4
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags harfbuzz` -> 0
> -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -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 harfbuzz` -> 0
> -L/usr/lib/x86_64-linux-gnu -lharfbuzz
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs harfbuzz` -> 0
> -lharfbuzz
> Run-time dependency harfbuzz found: YES 2.7.4
> Pkg-config binary for 1 is cached.
> Determining dependency 'fontconfig' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion fontconfig` -> 0
> 2.13.1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags fontconfig` -> 0
> -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 fontconfig` -> 0
> -L/usr/lib/x86_64-linux-gnu -lfontconfig -lfreetype
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs fontconfig` -> 0
> -lfontconfig -lfreetype
> Run-time dependency fontconfig found: YES 2.13.1
> Pkg-config binary for 1 is cached.
> Determining dependency 'freetype2' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion freetype2` -> 0
> 24.1.18
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags freetype2` -> 0
> -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 freetype2` -> 0
> -L/usr/lib/x86_64-linux-gnu -lfreetype
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs freetype2` -> 0
> -lfreetype
> Run-time dependency freetype2 found: YES 24.1.18
> Pkg-config binary for 1 is cached.
> Determining dependency 'gnome-desktop-3.0' with pkg-config executable '/usr/bin/pkg-config'
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --modversion gnome-desktop-3.0` -> 0
> 41.3
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --cflags gnome-desktop-3.0` -> 0
> -pthread -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -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 -I/usr/include/gsettings-desktop-schemas
> env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
> env[PKG_CONFIG_PATH]: 
> Called `/usr/bin/pkg-config --libs gnome-desktop-3.0` -> 0
> -L/usr/lib/x86_64-linux-gnu -lgnome-desktop-3 -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 gnome-desktop-3.0` -> 0
> -lgnome-desktop-3 -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 gnome-desktop-3.0 found: YES 41.3
> Running compile:
> Working directory:  /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpwmp6yml3
> Command line:  cc /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpwmp6yml3/testfile.c -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-private/tmpwmp6yml3/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
> 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)
> Configuring org.gnome.font-viewer.desktop.in using configuration
> 
> ../src/meson.build:42: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/gnome-font-viewer_41.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