View previous topic :: View next topic |
Author |
Message |
n1ese Tux's lil' helper

Joined: 29 Sep 2019 Posts: 84
|
Posted: Sun Mar 09, 2025 6:58 pm Post subject: [SOLVED] Problem compiling dev-libs/json-glib |
|
|
Is this something to report to bugzilla or am I doing something wrong or missing something?
Code: | # emerge --ask --verbose json-glib
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.29 s (backtrack: 0/20).
[ebuild N ] dev-libs/json-glib-1.10.6::gentoo USE="introspection nls -gtk-doc -test" 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] y |
Code: | [88/91] x86_64-pc-linux-gnu-gcc -o json-glib/json-glib-validate json-glib/json-glib-validate.p/json-glib-validate.c.o -Wl,--as-needed -Wl,--no-undefined -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/json-glib -Wl,--start-group json-glib/libjson-glib-1.0.so.0.1000.6 /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--end-group
[89/91] x86_64-pc-linux-gnu-gcc -o json-glib/json-glib-format json-glib/json-glib-format.p/json-glib-format.c.o -Wl,--as-needed -Wl,--no-undefined -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/json-glib -Wl,--start-group json-glib/libjson-glib-1.0.so.0.1000.6 /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--end-group
[90/91] env PKG_CONFIG_PATH=/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/meson-uninstalled:/usr/share/pkgconfig PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config CC=x86_64-pc-linux-gnu-gcc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Json --nsversion=1.0 --warn-all --output json-glib/Json-1.0.gir --c-include=json-glib/json-glib.h --quiet --warn-all -DJSON_COMPILATION -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6/json-glib -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/json-glib -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6/. -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/. --filelist=/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/json-glib/libjson-glib-1.0.so.0.1000.6.p/Json_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=json --identifier-prefix=Json --pkg-export=json-glib-1.0 --cflags-begin -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6/. -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/. -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/json-glib --library json-glib-1.0 --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=girepository-1.0 --sources-top-dirs /var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6/ --sources-top-dirs /var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/
FAILED: json-glib/Json-1.0.gir
env PKG_CONFIG_PATH=/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/meson-uninstalled:/usr/share/pkgconfig PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config CC=x86_64-pc-linux-gnu-gcc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Json --nsversion=1.0 --warn-all --output json-glib/Json-1.0.gir --c-include=json-glib/json-glib.h --quiet --warn-all -DJSON_COMPILATION -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6/json-glib -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/json-glib -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6/. -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/. --filelist=/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/json-glib/libjson-glib-1.0.so.0.1000.6.p/Json_1.0_gir_filelist --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=json --identifier-prefix=Json --pkg-export=json-glib-1.0 --cflags-begin -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6/. -I/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/. -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/json-glib --library json-glib-1.0 --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=girepository-1.0 --sources-top-dirs /var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6/ --sources-top-dirs /var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64/
Traceback (most recent call last):
File "/usr/bin/g-ir-scanner", line 104, in <module>
sys.exit(scanner_main(sys.argv))
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 601, in scanner_main
ss, filenames = create_source_scanner(options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 468, in create_source_scanner
ss.parse_files(filenames)
File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py", line 266, in parse_files
self._parse(headers)
File "/usr/lib64/gobject-introspection/giscanner/sourcescanner.py", line 298, in _parse
cc = CCompiler(compiler_name=self._compiler)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/gobject-introspection/giscanner/ccompiler.py", line 175, in __init__
compiler_name = distutils.ccompiler.get_default_compiler()
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'distutils' has no attribute 'ccompiler'. Did you mean: 'compilers'?
ninja: build stopped: subcommand failed.
* ERROR: dev-libs/json-glib-1.10.6::gentoo failed (compile phase):
* ninja -v -j16 -l16 failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2992: Called meson-multilib_src_compile
* environment, line 1741: Called multilib-minimal_src_compile
* environment, line 1935: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 2202: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 1895: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 1893: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 491: Called multilib-minimal_abi_src_compile
* environment, line 1929: Called multilib_src_compile
* environment, line 2422: Called meson_src_compile
* environment, line 1808: Called eninja
* environment, line 1206: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/json-glib-1.10.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/json-glib-1.10.6::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/json-glib-1.10.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/json-glib-1.10.6/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6-abi_x86_64.amd64'
* S: '/var/tmp/portage/dev-libs/json-glib-1.10.6/work/json-glib-1.10.6' |
Code: | # emerge --info '=dev-libs/json-glib-1.10.6::gentoo'
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/no-multilib, gcc-14, glibc-2.41, 6.13.6-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.13.6-gentoo-x86_64-AMD_Ryzen_7_5700U_with_Radeon_Graphics-with-glibc2.41
KiB Mem: 30692244 total, 26232156 free
KiB Swap: 31250428 total, 31250428 free
Timestamp of repository gentoo: Sun, 09 Mar 2025 14:15:00 +0000
Head commit of repository gentoo: 68c0b67399508a7a9dcb2639cef10d76536d8c7a
Timestamp of repository guru: Sat, 08 Mar 2025 17:38:04 +0000
Head commit of repository guru: 0a33a0a7da0d2ece9e224c38019a038f7b578086
sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo, 1.17-r2::gentoo
dev-build/cmake: 3.31.6::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.0::gentoo
dev-lang/perl: 5.40.1::gentoo
dev-lang/python: 3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin: 1.85.0-r1::gentoo
llvm-core/clang: 19.1.7::gentoo, 20.1.0-r1::gentoo
llvm-core/lld: 19.1.7::gentoo
llvm-core/llvm: 19.1.7::gentoo, 20.1.0::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.60.1::gentoo
sys-apps/sandbox: 2.45::gentoo
sys-devel/binutils: 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.2.1_p20250301::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.41::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS=" -C target-cpu=native"
SHELL="/bin/bash"
USE="X acl amd64 bzip2 cet crypt dbus elogind freetype gdbm iconv ipv6 libtirpc ncurses nls opengl openmp pam pcre pipewire pulseaudio readline seccomp ssl test-rust unicode wayland xattr zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS |
Last edited by n1ese on Sun Mar 09, 2025 9:04 pm; edited 1 time in total |
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4703 Location: Germany
|
Posted: Sun Mar 09, 2025 8:52 pm Post subject: |
|
|
Hi, sounds like it is a issue with new =dev-python/setuptools-75.9.0
it is masked now, see https://bugs.gentoo.org/950978
Fresh emerge --sync should help. |
|
Back to top |
|
 |
n1ese Tux's lil' helper

Joined: 29 Sep 2019 Posts: 84
|
Posted: Sun Mar 09, 2025 9:04 pm Post subject: |
|
|
Got it. Thanks
I just did a --sync and setuptools was downgraded to 75.8.2 and solved my problem. I was doing some digging as you posted and realized it was a setuptools issue. It wasn't in my --sync this morning.
Thanks again. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|