Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: dev-libs/glib-2.82.5::gentoo failed (compile phase)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Defaplt
n00b
n00b


Joined: 02 May 2025
Posts: 3

PostPosted: Fri May 02, 2025 4:02 pm    Post subject: ERROR: dev-libs/glib-2.82.5::gentoo failed (compile phase) Reply with quote

In world update I have this message:

Code:
 * ERROR: dev-libs/glib-2.82.5::gentoo failed (compile phase):
 *   ninja -v -j8 -l10 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3947:  Called meson-multilib_src_compile
 *   environment, line 2442:  Called multilib-minimal_src_compile
 *   environment, line 2636:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2903:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2596:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2594:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  531:  Called multilib-minimal_abi_src_compile
 *   environment, line 2630:  Called multilib_src_compile
 *   environment, line 3123:  Called meson_src_compile
 *   environment, line 2509:  Called eninja
 *   environment, line 1462:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/glib-2.82.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/glib-2.82.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/glib-2.82.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.82.5/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/glib-2.82.5/work/glib-2.82.5-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/glib-2.82.5/work/glib-2.82.5'


emerge --info '=dev-libs/glib-2.82.5::gentoo' output:

Code:
Portage 3.0.67 (python 3.13.3-final-0, default/linux/amd64/23.0, gcc-14, glibc-2.40-r8, 6.12.21-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.21-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-10400F_CPU_@_2.90GHz-with-glibc2.40
KiB Mem:    16227272 total,  11880876 free
KiB Swap:   14603260 total,  14603004 free
Timestamp of repository gentoo: Thu, 01 May 2025 17:15:00 +0000
Head commit of repository gentoo: e6270d3b9b144cfdef0092202e9b429344e11f21
Head commit of repository steam-overlay: d93137ae2575727f9df5d43ce6e0368d44b6c0e7

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.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.5::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.2::gentoo
dev-lang/python:           3.12.10::gentoo, 3.13.3::gentoo
dev-lang/rust-bin:         1.85.1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::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-verify-max-age: 3
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.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"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
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="-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="-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="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.byfly.by/pub/gentoo-distfiles/     ftp://ftp.byfly.by/pub/gentoo-distfiles/     rsync://ftp.byfly.by/gentoo/     https://mirror.ps.kz/gentoo/pub     http://mirror.ps.kz/gentoo/pub     rsync://mirror.ps.kz/gentoo     https://gentoo-mirror.alexxy.name/     http://gentoo-mirror.alexxy.name/     http://mirror.mephi.ru/gentoo-distfiles/     ftp://mirror.mephi.ru/gentoo-distfiles/     rsync://mirror.mephi.ru/gentoo-distfiles/"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8 -l10"
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"
SHELL="/bin/bash"
USE="X acl alsa amd64 bzip2 cet client consolekit crypt dbus elogind gdbm grub gtk3 hal iconv ipv6 libtirpc minizip mount multilib ncurses nls openmp pam pcre postproc pulseaudio python3_13 readline samba seccomp ssl suid test-rust text udev uki unicode xattr xorg 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" 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" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev" 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="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau 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, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

dev-libs/glib-2.82.5::gentoo was built with the following:
USE="dbus elf introspection mime xattr -debug -doc (-selinux) -static-libs -sysprof -systemtap -test -utils" ABI_X86="(64) -32 (-x32)"


emerge -pqv '=dev-libs/glib-2.82.5::gentoo' output:

Code:
[ebuild   R   ] dev-libs/glib-2.82.5  USE="dbus elf introspection mime xattr -debug -doc (-selinux) -static-libs -sysprof -systemtap -test -utils" ABI_X86="32* (64) (-x32)"



cat /var/tmp/portage/dev-libs/glib-2.82.5/temp/build.log:

Code:
[465/639] x86_64-pc-linux-gnu-gcc -Igio/gio.p -Igio -I../glib-2.82.5/gio -I. -I../glib-2.82.5 -Iglib -I../glib-2.82.5/glib -Igmodule -I../glib-2.82.5/gmodule -Igobject -I../glib-2.82.5/gobject -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -D_GNU_SOURCE -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wduplicated-branches -Wimplicit-fallthrough -Wmisleading-indentation -Wmissing-field-initializers -Wnonnull -Wnull-dereference -Wunused -Wno-unused-parameter -Wno-cast-function-type -Wno-pedantic -Wno-format-zero-length -Wno-variadic-macros -Werror=format=2 -Werror=init-self -Werror=missing-include-dirs -Werror=pointer-arith -Werror=unused-result -Wstrict-prototypes -Wno-bad-function-cast -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=pointer-sign -O2 -pipe '-DG_LOG_DOMAIN="GLib-GIO"' '-DGIO_LAUNCH_DESKTOP="/usr/libexec/gio-launch-desktop"' '-DGIO_MODULE_DIR="/usr/lib64/gio/modules"' '-DLOCALSTATEDIR="/var/lib"' -MD -MQ gio/gio.p/gio-tool-list.c.o -MF gio/gio.p/gio-tool-list.c.o.d -o gio/gio.p/gio-tool-list.c.o -c ../glib-2.82.5/gio/gio-tool-list.c
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/glib-2.82.5::gentoo failed (compile phase):
 *   ninja -v -j8 -l10 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3947:  Called meson-multilib_src_compile
 *   environment, line 2442:  Called multilib-minimal_src_compile
 *   environment, line 2636:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2903:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2596:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2594:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  531:  Called multilib-minimal_abi_src_compile
 *   environment, line 2630:  Called multilib_src_compile
 *   environment, line 3123:  Called meson_src_compile
 *   environment, line 2509:  Called eninja
 *   environment, line 1462:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"

So, my problem starts when I want to install steam on my new system. I tried emerge method on wiki (https://wiki.gentoo.org/wiki/Steam#Emerge_.28recommended.29), when I have problem with python soft (pythoninstall & python3_12/python3_11). I tried install flatpak for steam, but i have same problem with python, like in emerging steam. After this, I left my PC for a night to update @world (emerge -uDUav @world), then I have problem with glib, that I described upper.

Edited: I also have problem with sound (no sound in system), but first I need help with glib

Emerge says, that i need help, so i don't argue.

[Administrator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31697
Location: here

PostPosted: Fri May 02, 2025 6:24 pm    Post subject: Reply with quote

You should post full build.log with wgetpaste, thers is no the real error in your posted output.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
Defaplt
n00b
n00b


Joined: 02 May 2025
Posts: 3

PostPosted: Sun May 11, 2025 8:48 am    Post subject: Reply with quote

http://0x0.st/8yPf.log
file /var/tmp/portage/dev-libs/glib-2.82.5/temp/build.log
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31697
Location: here

PostPosted: Sun May 11, 2025 11:02 am    Post subject: Reply with quote

Code:
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 99, in <module>
    from giscanner.utils import dll_dirs
  File "/usr/lib64/gobject-introspection/giscanner/utils.py", line 385, in <module>
    import distutils.cygwinccompiler
ModuleNotFoundError: No module named 'distutils'

Similar to bug #947058.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
Defaplt
n00b
n00b


Joined: 02 May 2025
Posts: 3

PostPosted: Sun May 11, 2025 11:43 am    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 99, in <module>
    from giscanner.utils import dll_dirs
  File "/usr/lib64/gobject-introspection/giscanner/utils.py", line 385, in <module>
    import distutils.cygwinccompiler
ModuleNotFoundError: No module named 'distutils'

Similar to bug #947058.


Thank you! Its solved
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2382

PostPosted: Sun May 11, 2025 4:07 pm    Post subject: Reply with quote

If you hit it when building dev-libs/glib specifically, see https://bugs.gentoo.org/951487#c32.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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