pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/57091: pkgsrc: devel/glib2 fails to build with fam option enabled (-current)
>Number: 57091
>Category: pkg
>Synopsis: pkgsrc: devel/glib2 fails to build with fam option enabled (-current)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 26 03:25:00 +0000 2022
>Originator: Jason Bowen
>Release: pkgsrc-current
>Organization:
>Environment:
NetBSD charlock.lan 9.99.106 NetBSD 9.99.106 (GENERIC) #0: Thu Nov 17 09:58:42 UTC 2022 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
The devel/glib2 package reports that it supports File Alteration Monitor (FAM) in `make show-options`. With PKG_OPTIONS.glib2 += fam in /etc/mk.conf, attempting to build glib2 fails almost immediately with `meson.build:1:0: ERROR: Unknown options: "fam"`.
The package builds without the fam option enabled.
Full output of session:
[glib2]# date
Fri Nov 25 21:08:55 CST 2022
[glib2]#pwd
/usr/pkgsrc/devel/glib2
[glib2]# make distclean
===> Cleaning for glib2-2.74.1
===> Dist cleaning for glib2-2.74.1
[glib2]# cvs update -dAP
cvs update: Updating .
cvs update: Updating files
cvs update: Updating patches
[glib2]# make
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Fetching glib-2.74.1.tar.xz
=> Total size: 5189452 bytes
Requesting https://mirror.umd.edu/gnome/sources/glib/2.74/glib-2.74.1.tar.xz
100% |********************************| 5067 KiB 653.03 KiB/s 00:00 ETA
5189452 bytes retrieved in 00:07 (653.03 KiB/s) => Checksum BLAKE2s OK for glib-2.74.1.tar.xz => Checksum SHA512 OK for glib-2.74.1.tar.xz ===> Installing dependencies for glib2-2.74.1 ==========================================================================
The supported build options for glib2 are:
fam
The currently selected options are:
fam
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.glib2 = fam
==========================================================================
==========================================================================
The following variables will affect the build process of this package,
glib2-2.74.1. Their current value is shown below:
* FAM_DEFAULT = fam
* PYTHON_VERSION_DEFAULT = 310
* VARBASE = /var
Based on these variables, the following variables have been set:
* FAMBASE (defined, but empty)
* FAM_TYPE = fam
* PYPACKAGE = python310
You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing. Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency py310-expat-[0-9]*: found py310-expat-3.10.8nb1
=> Tool dependency meson>=0: found meson-0.64.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency ccache-[0-9]*: found ccache-3.7.12nb2
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency python310>=3.10: found python310-3.10.8
=> Full dependency fam>=2.7.0nb7: found fam-2.7.0nb9
=> Full dependency libffi>=3.4.2nb3: found libffi-3.4.4
=> Full dependency pcre2>=10.30: found pcre2-10.40nb1
===> Checking for vulnerabilities in glib2-2.74.1
===> Overriding tools for glib2-2.74.1
===> Extracting for glib2-2.74.1
/bin/chmod +x /usr/pkgsrc/devel/glib2/work/glib-2.74.1/gio/tests/gengiotypefuncs.py
===> Patching for glib2-2.74.1
=> Applying pkgsrc patches for glib2-2.74.1
===> Creating toolchain wrappers for glib2-2.74.1
===> Configuring for glib2-2.74.1
=> Adjust XDG_DATA_DIRS so schemas and pixbuf loaders are found
=> Replacing python interpreter in gio/gio-querymodules-wrapper.py gio/tests/gengiotypefuncs.py gio/tests/memory-monitor-dbus.py.in gio/tests/memory-monitor-portal.py.in gio/tests/static-link.py glib/update-gtrans
lit.py gobject/tests/mkenums.py tests/gen-casefold-txt.py tests/gen-casemap-txt.py.
WARNING: [replace-interpreter] Skipping non-existent file "gio/gio-querymodules-wrapper.py".
WARNING: [replace-interpreter] Skipping non-existent file "tests/gen-casefold-txt.py".
WARNING: [replace-interpreter] Skipping non-existent file "tests/gen-casemap-txt.py".
cd /usr/pkgsrc/devel/glib2/work/glib-2.74.1 && cd . && /usr/bin/env USETOOLS=no LD_LIBRARY_PATH=/usr/pkgsrc/devel/glib2/work/glib-2.74.1/output/gio:/usr/pkgsrc/devel/glib2/work/glib-2.74.1/output/glib:/usr/pkgsrc/
devel/glib2/work/glib-2.74.1/output/gobject:/usr/pkgsrc/devel/glib2/work/glib-2.74.1/output/gmodule DYLD_LIBRARY_PATH=/usr/pkgsrc/devel/glib2/work/glib-2.74.1/output/gio:/usr/pkgsrc/devel/glib2/work/glib-2.74.1/ou
tput/glib:/usr/pkgsrc/devel/glib2/work/glib-2.74.1/output/gobject:/usr/pkgsrc/devel/glib2/work/glib-2.74.1/output/gmodule CMAKE=false PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBAS
E=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.10 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.10 CPPFLAGS
=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.10 CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.10 COMPILER_RPATH_FLAG=-Wl,-R F77
=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER
_RPATH_FLAG=-R PATH=/usr/pkgsrc/devel/glib2/work/.cwrapper/bin:/usr/pkgsrc/devel/glib2/work/.buildlink/bin:/usr/pkgsrc/devel/glib2/work/.ccache/bin:/usr/pkgsrc/devel/glib2/work/.gcc/bin:/usr/pkgsrc/devel/glib2/wor
k/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=
/usr/pkg/etc HOME=/usr/pkgsrc/devel/glib2/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/devel/glib2/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MA
KECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin
/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_IN
STALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755
BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2
555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/devel/glib2/work/.tools/bin/m
akeinfo FLEX= BISON= ITSTOOL=/usr/pkgsrc/devel/glib2/work/.tools/bin/itstool GDBUS_CODEGEN=/usr/pkgsrc/devel/glib2/work/.tools/bin/gdbus-codegen PKG_CONFIG=/usr/pkgsrc/devel/glib2/work/.tools/bin/pkg-config PKG_CO
NFIG_LIBDIR=/usr/pkgsrc/devel/glib2/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/devel/glib2/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/devel/glib2/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONF
IG_DIR=/usr/pkgsrc/devel/glib2/work/.cwrapper/config meson setup --prefix /usr/pkg --libdir lib --libexecdir libexec --mandir man --sysconfdir /usr/pkg/etc --buildtype=plain -Dfam=true -Dinstalled_tests=fa
lse -Dlibmount=disabled -Dlocalstatedir=/var . output
The Meson build system
Version: 0.64.1
Source dir: /usr/pkgsrc/devel/glib2/work/glib-2.74.1
Build dir: /usr/pkgsrc/devel/glib2/work/glib-2.74.1/output
Build type: native build
meson.build:1:0: ERROR: Unknown options: "fam"
A full log can be found at /usr/pkgsrc/devel/glib2/work/glib-2.74.1/output/meson-logs/meson-log.txt
*** Error code 1
[glib2]#
Stop.
make[1]: stopped in /usr/pkgsrc/devel/glib2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/glib2
[glib2]#
[glib2]# cat /usr/pkgsrc/devel/glib2/work/glib-2.74.1/output/meson-logs/meson-log.txt
Build started at 2022-11-25T21:09:47.945265
Main binary: /usr/pkg/bin/python3.10
Build Options: -Dfam=true -Dinstalled_tests=false -Dlibmount=disabled -Dlocalstatedir=/var -Dprefix=/usr/pkg -Dlibdir=lib -Dlibexecdir=libexec -Dmandir=man -Dsysconfdir=/usr/pkg/etc -Dbuildtype=plain
Python system: NetBSD
The Meson build system
Version: 0.64.1
Source dir: /usr/pkgsrc/devel/glib2/work/glib-2.74.1
Build dir: /usr/pkgsrc/devel/glib2/work/glib-2.74.1/output
Build type: native build
meson.build:1:0: ERROR: Unknown options: "fam"
[glib2]#
>How-To-Repeat:
Seemingly, just attempt to build devel/glib2 with `PKG_OPTIONS.glib2 += fam` set in mk.conf.
>Fix:
Home |
Main Index |
Thread Index |
Old Index