pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure for games/gnome-sudoku



On Fri, Feb 18, 2022 at 07:57:15AM -0800, Paul Goyette wrote:
> Building on amd64 host running NetBSD 9.99.93, in a chroot sandbox
> (from pkgtools/mksandbox).  The sandbox was empty before starting,
> and all dependencies built from scratch, using pkgsrc updated on
> 2022-02-17 at 22:01:50 UTC.
> 
> Repeatable build failure.  Here's the log from ``make package''
> 
> ...
> Run-time dependency qqwing found: YES 1.3.4
> Run-time dependency threads found: YES
> Configuring config.h using configuration
> Found pkg-config:
> /tmp/pkgs/games/gnome-sudoku/work.x86_64/.tools/bin/pkg-config
>  (1.8.0)
> Program glib-compile-resources found: YES
> (/usr/pkg/bin/glib-compile-resources)
> 
> data/meson.build:5:0: ERROR: Function does not take positional arguments.
> 
> A full log can be found at /tmp/pkgs/games/gnome-sudoku/work.x86_64/gnome-sudoku-40.2/output/meson-logs/meson-log.txt
> 
> 
> And the referenced file ends with
> 
> ...
> env[PKG_BUILD_OPTIONS.pango]: x11
> env[PKG_SYSCONFDIR]: /usr/pkg/etc
> env[PKG_CONFIG]: /tmp/pkgs/games/gnome-sudoku/work.x86_64/.tools/bin/pkg-config
> env[PKG_CONFIG_LIBDIR]: /tmp/pkgs/games/gnome-sudoku/work.x86_64/.buildlink/lib/pkgconfig:/tmp/pkgs/games/gnome-sudoku/work.x86_64/.buildlink/share/pkgconfig
> env[PKG_CONFIG_LOG]: /tmp/pkgs/games/gnome-sudoku/work.x86_64/.pkg-config.log
> env[PKG_CONFIG_PATH]:
> Called `/tmp/pkgs/games/gnome-sudoku/work.x86_64/.tools/bin/pkg-config --libs glib-2.0` -> 0
> -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lglib-2.0 -lintl
> Program glib-compile-resources found: YES (/usr/pkg/bin/glib-compile-resources)
> 
> data/meson.build:5:0: ERROR: Function does not take positional arguments.
> 
> 
> Any clues on how to proceed?

New meson deprecations.

Google gives me

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d2f6dbd13a295524fc2d39039ef983e828efd84

i.e. the patch that gentoo used for fixing this, which referenced the upstream commit

https://gitlab.gnome.org/GNOME/gnome-sudoku/-/commit/7c9935a02b48f332f67bad3e4ee020b75591084a

Try applying that patch - if it works, please commit it!

Thanks,
 Thomas


Home | Main Index | Thread Index | Old Index