Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk+:3: error during compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
yuviazzz
n00b
n00b


Joined: 06 Sep 2024
Posts: 24
Location: Sweden

PostPosted: Sun Sep 29, 2024 10:41 pm    Post subject: gtk+:3: error during compile Reply with quote

Code:
[273/926] /usr/bin/glib-compile-resources gdk/gdk.gresource.xml --sourcedir ../gtk+-3.24.41/gdk --c-name _gdk --internal --generate --target gdk/gdkresources.h --manual-register
[274/926] /usr/bin/glib-compile-resources gdk/gdk.gresource.xml --sourcedir ../gtk+-3.24.41/gdk --c-name _gdk --internal --generate --target gdk/gdkresources.c --manual-register --dependency-file gdk/gdkresources.c.d
ninja: job failed: /usr/bin/glib-compile-resources gtk/gtk.gresources.xml --sourcedir /var/tmp/portage/x11-libs/gtk+-3.24.41-r2/work/gtk+-3.24.41-abi_x86_64.amd64/gtk --sourcedir /var/tmp/portage/x11-libs/gtk+-3.24.41-r2/work/gtk+-3.24.41/gtk --sourcedir ../gtk+-3.24.41/gtk --c-name _gtk --internal --generate --target gtk/gtkresources.h --manual-register
failed to load "/var/tmp/portage/x11-libs/gtk+-3.24.41-r2/work/gtk+-3.24.41/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png": Couldn?t recognize the image file format for file ?/var/tmp/portage/x11-libs/gtk+-3.24.41-r2/work/gtk+-3.24.41/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png?
gtk/gtk.gresources.xml: Child process exited with code 1.
ninja: job failed: /usr/bin/glib-compile-resources gtk/gtk.gresources.xml --sourcedir /var/tmp/portage/x11-libs/gtk+-3.24.41-r2/work/gtk+-3.24.41-abi_x86_64.amd64/gtk --sourcedir /var/tmp/portage/x11-libs/gtk+-3.24.41-r2/work/gtk+-3.24.41/gtk --sourcedir ../gtk+-3.24.41/gtk --c-name _gtk --internal --generate --target gtk/gtkresources.c --manual-register --dependency-file gtk/gtkresources.c.d
failed to load "/var/tmp/portage/x11-libs/gtk+-3.24.41-r2/work/gtk+-3.24.41/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png": Couldn?t recognize the image file format for file ?/var/tmp/portage/x11-libs/gtk+-3.24.41-r2/work/gtk+-3.24.41/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png?
gtk/gtk.gresources.xml: Child process exited with code 1.
Error: no ID for constraint linkend: "gtk-path".
Error: no ID for constraint linkend: "gtk-im-module-file".


i decided it was time to do lto globally on my system. thought it would be fun :P

some 500 packages or so later and i ended up with a few which wouldn't build, with gtk+:3 being one of them.
seems to be due to package 'x11-libs/shared-mime-info' not doing its job properly?

one 'emerge -1 shared-mime-info' later...
Code:
>>> Installing (1 of 1) x11-misc/shared-mime-info-2.4-r1::gentoo
 * Updating shared mime info database ...
/usr/share/mime/packages/freedesktop.org.xml:1: parser error : Document is empty

^
Failed to parse '/usr/share/mime/packages/freedesktop.org.xml' [ ok ]


equery also tells me that file belongs to this package... now i am confused!
i have an old chroot still laying around from when i was testing something, which has mime entries on it. (and has gtk+:3 built)
copying the whole '/usr/share/mime' dir fixes it, but is not ideal


Last edited by yuviazzz on Mon Sep 30, 2024 12:01 am; edited 1 time in total
Back to top
View user's profile Send private message
yuviazzz
n00b
n00b


Joined: 06 Sep 2024
Posts: 24
Location: Sweden

PostPosted: Sun Sep 29, 2024 10:43 pm    Post subject: emerge --info Reply with quote

'emerge --info':
Code:
# emerge --info
Portage 3.0.66.1 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr/no-multilib/hardened, gcc-14, glibc-2.40-r3, 6.11.0-gentoo x86_64)
=================================================================
System uname: Linux-6.11.0-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i5-12600K-with-glibc2.40
KiB Mem:    32695492 total,  14450732 free
KiB Swap:   33554428 total,  33551868 free
Timestamp of repository gentoo: Wed, 25 Sep 2024 15:00:00 +0000
Head commit of repository gentoo: b6ba7fa6a9e40ce160cc819513f71fe6fc11bde3
Timestamp of repository gentoo-zh: Wed, 25 Sep 2024 13:18:53 +0000
Head commit of repository gentoo-zh: 06681847b3e71bf15561aa9830ae4720c4ea7cf5

Timestamp of repository src_prepare-overlay: Wed, 25 Sep 2024 11:19:19 +0000
Head commit of repository src_prepare-overlay: 73aea5285f7783a8debbc8eff05a0a20a9976546

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
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.30.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.6_p4::gentoo, 3.13.0_rc2_p2::gentoo
dev-lang/rust:             1.81.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.17-r1::local
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             14.2.1_p20240921::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo
sys-kernel/linux-headers:  6.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r3::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-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

src_prepare-overlay
    location: /var/db/repos/src_prepare-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -flto -Werror=odr -Werror=strict-aliasing -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=20480"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -flto -Werror=odr -Werror=strict-aliasing -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=20480"
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 -flto -Werror=odr -Werror=strict-aliasing -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=20480"
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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -flto -Werror=odr -Werror=strict-aliasing -march=alderlake -mabm -mno-cldemote -mno-kl -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=20480"
GENTOO_MIRRORS="https://mirrors.dotsrc.org/gentoo/"
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
LANG="sv_SE.UTF-8"
LC_ALL="sv_SE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j14 -l15"
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 -Clinker-plugin-lto"
SHELL="/bin/bash"
USE="alsa amd64 hardened lto minimal pgo pie split-usr ssl ssp test-rust vaapi" ABI_X86="64" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" INPUT_DEVICES="mouse keyboard" KERNEL="linux" L10N="en" LLVM_SLOT="18" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="luajit" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" VIDEO_CARDS="amdgpu radeonsi"
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, 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, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
yuviazzz
n00b
n00b


Joined: 06 Sep 2024
Posts: 24
Location: Sweden

PostPosted: Sun Sep 29, 2024 10:45 pm    Post subject: Re: gtk+:3: error during compile Reply with quote

have also encountered this when trying to set up an experimental install with musl libc. aside from... odd linker issues...? this was the main annoyance. but doing that copying trick did also fix it

Last edited by yuviazzz on Mon Sep 30, 2024 12:01 am; edited 1 time in total
Back to top
View user's profile Send private message
yuviazzz
n00b
n00b


Joined: 06 Sep 2024
Posts: 24
Location: Sweden

PostPosted: Sun Sep 29, 2024 11:56 pm    Post subject: Re: gtk+:3: error during compile Reply with quote

yuviazzz wrote:
have also encountered this when trying to set up an experimental install with musl libc. aside from... odd linker issues...? this was the main annoyance. but doing that copying trick did fix it..
maybe my system configuration is a bit odd and thats screwing with it?


and seems like i have some more patching to do now..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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