View previous topic :: View next topic |
Author |
Message |
uhai Veteran
Joined: 23 Aug 2007 Posts: 1358 Location: Eppingen, Germany
|
Posted: Sat Oct 28, 2023 7:32 am Post subject: [gelöst] net-libs/webkit-gtk-2.40.5 - update bricht ab |
|
|
Moin,
seit ein paar Tagen bekomme ich beim updaten immer diesen Fehler:
Code: | [12572/12580] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -march=native -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-rtti -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -Wl,--disable-new-dtags -Wl,--version-script,/tmp/portage/net-libs/webkit-gtk-2.40.5/work/webkitgtk-2.40.5/Source/WebKit/webkitglib-symbols.map -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o lib/libwebkit2gtk-4.0.so.37.63.5 @CMakeFiles/WebKit.rsp && :
FAILED: lib/libwebkit2gtk-4.0.so.37.63.5
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -march=native -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-rtti -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -Wl,--disable-new-dtags -Wl,--version-script,/tmp/portage/net-libs/webkit-gtk-2.40.5/work/webkitgtk-2.40.5/Source/WebKit/webkitglib-symbols.map -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o lib/libwebkit2gtk-4.0.so.37.63.5 @CMakeFiles/WebKit.rsp && :
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: Source/WebCore/CMakeFiles/WebCore.dir/./loader/MixedContentChecker.cpp.o: in function `WebCore::foundMixedContentInFrameTree(WebCore::Frame const&, WTF::URL const&)':
MixedContentChecker.cpp:(.text+0xd7): undefined reference to `WebCore::FrameDestructionObserver::frame() const'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
* ERROR: net-libs/webkit-gtk-2.40.5::gentoo failed (compile phase):
* ninja -v -j5 -l0 failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 3930: Called cmake_src_compile
* environment, line 1788: Called cmake_build
* environment, line 1755: Called eninja
* environment, line 2222: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
|
Ich habe diesen Bug gefunden, denke aber, das ist etwas anderes. Bei mir läuft das eine ganze Weile bis zum Abbruch....
uhai
Last edited by uhai on Sat Oct 28, 2023 4:26 pm; edited 1 time in total |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 370
|
Posted: Sat Oct 28, 2023 8:15 am Post subject: |
|
|
Falls du Hilfe möchtest, dann solltest du das komplette Build-Log hochladen und dazu noch emerge --info. |
|
Back to top |
|
|
uhai Veteran
Joined: 23 Aug 2007 Posts: 1358 Location: Eppingen, Germany
|
Posted: Sat Oct 28, 2023 8:22 am Post subject: |
|
|
@sMueggli:
Das komplette von emerge angegebene working directory ist leer???
emerge --info kann ich:
Code: |
Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop/systemd, gcc-13, glibc-2.37-r7, 6.1.57-gentooy x86_64)
=================================================================
System uname: Linux-6.1.57-gentooy-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-glibc2.37
KiB Mem: 32836212 total, 19974816 free
KiB Swap: 524284 total, 524284 free
Timestamp of repository gentoo: Sat, 28 Oct 2023 05:30:01 +0000
Head commit of repository gentoo: 275a3af1b2d6af3da05f7a0ba6a1f11bb5dee198
Head commit of repository waebbl: 3e2bd16aec3e607eaf53ae8bc1d3ca9649e2d05d
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-java/java-config: 2.3.1-r1::gentoo
dev-lang/perl: 5.38.0-r1::gentoo
dev-lang/python: 3.10.13::gentoo, 3.11.5::gentoo
dev-lang/rust: 1.71.1::gentoo
dev-util/cmake: 3.26.5-r2::gentoo
dev-util/meson: 1.2.1-r1::gentoo
sys-apps/baselayout: 2.14::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-apps/systemd: 253.11::gentoo
sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake: 1.16.5-r1::gentoo
sys-devel/binutils: 2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc: 11.4.1_p20230622::gentoo, 13.2.1_p20230826::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/lld: 16.0.6::gentoo
sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make: 4.4.1-r1::gentoo
sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.37-r7::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
mein-repo
location: /usr/local/portage
masters: gentoo
volatile: True
waebbl
location: /var/db/repos/waebbl
sync-type: git
sync-uri: https://github.com/waebbl/waebbl-gentoo.git
masters: gentoo
volatile: False
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--fail-clean"
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 buildpkg-live config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de_DE de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cddb cdr clamav cli crypt cups dbus dga dri dts dvd dvdr encode exif ffmpeg flac foomaticdb fortran gdbm gif gphoto2 gpm gtk gui heif iconv icu ipv6 jbig jpeg jpeg2k lcms lensfun libnotify libtirpc lisp mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl nvidia ocr ogg opengl openmp pam pango pcre pdf php png policykit ppds qt5 raw readline scanner sdl seccomp sound spell split-usr sse sse2 ssl startup-notification svg systemd tesseract test-rust theora threads tiff truetype udev udisks unicode upower usb v4l vcd vdpau vim-syntax vorbis vulkan wayland webp wmf wxwidgets x264 xattr xcb xft xine xinerama xml xv xvid xvms zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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="bindist mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev libinput synaptics wacom" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="escl hp genesys" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
|
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 370
|
Posted: Sat Oct 28, 2023 8:49 am Post subject: |
|
|
uhai wrote: | @sMueggli:
Das komplette von emerge angegebene working directory ist leer???
|
Dein "PORTAGE_TMPDIR" ist auf /tmp gesetzt, was wohl ein tmpfs ist.
Wenn du net-libs/webkit-gtk baust und es fehlschlägt, sollten die Dateien noch herumliegen. Falls nicht, solltest du "PORTAGE_LOGDIR" setzen, so dass die Logdateien "überleben" (siehe man 5 make.conf).
Ich tippe jetzt einfach mal, dass es ein Platzproblem ist. Entweder ist dein /tmp zu klein oder dein Arbeitsspeicher reicht nicht.
Die Ausgabe von kann sicher weitere Informationen liefern. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4558 Location: Germany
|
Posted: Sat Oct 28, 2023 8:53 am Post subject: |
|
|
uhai wrote: | Das komplette von emerge angegebene working directory ist leer |
Das kommt vom gesetzten EMERGE_DEFAULT_OPTS="--fail-clean"
Edit,
Oh, und FEATURES=fail-clean ist auch gesetzt.
Hast du dir dazu PORTAGE_LOGDIR gesetzt?
siehe zb via Code: | emerge --info -v | grep LOGDIR |
/Edit2
uhai wrote: | Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: Source/WebCore/CMakeFiles/WebCore.dir/./loader/MixedContentChecker.cpp.o: in function `WebCore::foundMixedContentInFrameTree(WebCore::Frame const&, WTF::URL const&)':
MixedContentChecker.cpp:(.text+0xd7): undefined reference to `WebCore::FrameDestructionObserver::frame() const'
collect2: error: ld returned 1 exit status |
| das tönt nach https://bugs.gentoo.org/915197
Vorschlag: Test es mit der neueren =net-libs/webkit-gtk-2.42.1 Version,
oder/und USE=-jumbo-build
Last edited by Josef.95 on Sat Oct 28, 2023 9:22 am; edited 1 time in total |
|
Back to top |
|
|
uhai Veteran
Joined: 23 Aug 2007 Posts: 1358 Location: Eppingen, Germany
|
Posted: Sat Oct 28, 2023 9:21 am Post subject: |
|
|
@sMueggli:
Code: | df -h /tmp
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
tmpfs 16G 8,0K 16G 1% /tmp |
Sieht nicht nach Platzproblem aus, oder? Meine Kiste hat 32 GB RAM.... mehr verträgt das Board nicht. |
|
Back to top |
|
|
uhai Veteran
Joined: 23 Aug 2007 Posts: 1358 Location: Eppingen, Germany
|
Posted: Sat Oct 28, 2023 9:43 am Post subject: |
|
|
Josef.95 wrote: |
Edit,
Oh, und FEATURES=fail-clean ist auch gesetzt.
Hast du dir dazu PORTAGE_LOGDIR gesetzt?
siehe zb via Code: | emerge --info -v | grep LOGDIR |
/Edit2
uhai wrote: | Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: Source/WebCore/CMakeFiles/WebCore.dir/./loader/MixedContentChecker.cpp.o: in function `WebCore::foundMixedContentInFrameTree(WebCore::Frame const&, WTF::URL const&)':
MixedContentChecker.cpp:(.text+0xd7): undefined reference to `WebCore::FrameDestructionObserver::frame() const'
collect2: error: ld returned 1 exit status |
| das tönt nach https://bugs.gentoo.org/915197
Vorschlag: Test es mit der neueren =net-libs/webkit-gtk-2.42.1 Version,
oder/und USE=-jumbo-build |
Hmm, make.conf habe ich schon länger nichts mehr gemacht.... kann mich nicht mehr erinnern, warum da was steht.
Code: | emerge --info -v | grep LOGDIR
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete" |
Kannst Du mir das bitte erklären? Das verstehe ich nicht, bin nur "user"....
FEATURES=fail-clean ist wegen drin (Da habe ich sogar einen Kommentar eingetragen. Manchmal klappt das ja) . Sollte ich vielleicht besser wieder entfernen, oder? Vermutlich wäre ein script mit cronjob besser zum aufräumen.
Danke auch für den Hiwneis auf die neuere Version. Die 2.42.1 ist für amd64 noch masked. Sollte ich das trotzdem versuchen?
USE=-jumbo-build beschleunigt das compilieren, oder? Ich habe (aus eienr anderen Diskussion mit firefly meine makeopts niedriger setzt, weil qtwebengine über mangelnden Speicher gemeckert hat:
Code: | # MAKEOPTS="-j9"
# 2023-10-27 Speicherbedarf für qtwebenginge senken
MAKEOPTS="-j5"
|
Speicher scheint ja nicht das Problem zu sein, also könnte ich wieder auf -j9 gehen? qtwebenginge ist jetzt aktualisiert.... Damit hätte ich auch wieder mehr Tempo. Ist dann -jumbo-build immer noch sinnvoll? Mehr Tempo schadet ja nie. |
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5192
|
Posted: Sat Oct 28, 2023 10:15 am Post subject: |
|
|
Speicher kann immer noch ein Problem werden. Wenn das build Verzeichnis 8-16 GB belegt, dann hat das system nur noch 16GB frei für die build Prozesse.
Und bei vielen parallelen builds wird auch entsprechend viel RAM benötigt (Bei Webkit). Daher kann ich mir vorstellen, dass bei -j9 dir der RAM ausgehen wird.
Daher nutze eine reduzierte Makeopts für net-libs/webkit-gtk oder verlege das portage temp verzeichnis auf einen Datenträger. _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
uhai Veteran
Joined: 23 Aug 2007 Posts: 1358 Location: Eppingen, Germany
|
Posted: Sat Oct 28, 2023 4:25 pm Post subject: |
|
|
ok, das hat jetzt geklappt, alles wieder aktuell.
Vielen Dank für Eure hilfe
uhai |
|
Back to top |
|
|
sMueggli Guru
Joined: 03 Sep 2022 Posts: 370
|
Posted: Sat Oct 28, 2023 4:38 pm Post subject: |
|
|
Zu "-j9": Als Faustregel kann man 2 GB pro make-Job rechnen. Wenn du 32 GB RAM hast, gingen ja alleine fürs tmpfs 16 GB weg. Von den verbleibenden 16 GB würde ich einfach mal 2 GB fürs Betriebssystem und Programme wegrechnen. Also blieben noch 14 GB fürs Bauen übrig, was dann "-j7" bedeuten würde.
Zu "jumbo-build": Ein aktiviertes "jumbo-build" braucht mehr RAM, sollte aber schneller sein. Ein deaktiviertes "jumbo-build" wird weniger RAM brauchen, aber dauert auch länger.
Was genau hat geklappt? Das bauen mit 2.42.1? Oder das Bauen mit "USE=-jumbo-build"? |
|
Back to top |
|
|
uhai Veteran
Joined: 23 Aug 2007 Posts: 1358 Location: Eppingen, Germany
|
Posted: Sun Oct 29, 2023 10:22 am Post subject: |
|
|
sowohl als auch... die Kombi machts |
|
Back to top |
|
|
ChrisJumper Advocate
Joined: 12 Mar 2005 Posts: 2390 Location: Germany
|
Posted: Tue Nov 07, 2023 9:01 pm Post subject: |
|
|
Hi uhai,
genau dieses Problem hatte ich auf einem System auch. Minus Jumbo-build ist wohl kein gutes Useflag für webkit.
Daher es am besten setzen und die -j Flags für langsame Systeme anpassen. Schade um die Zeit, aber wenigstens war es gratis-Erneuerbare Energie bei mir.
Achso der Fehler lag definitiv bei dem weg lassen vom "jumbo-build", so wie ich den Bug verstanden hab, zog das Make-Script wohl diverse Build-Abhängigkeiten, die bei der Verwendung von -jumbo-build wohl fehlten und so zu einem Abbruch führten.
Wir leben gerade in einer Zeit wo man froh sein kann wenn es klappt und sich überhaupt jemand um den Code kümmert. Daher ist das ok, auch wenn es gründlich betrachtet eine Fahrlässigkeit darstellt. Doch wo keine Tester:in oder eine Community, da keine Kläger:rin. Gerade diese Blob-Monster will doch Niemand optimieren.
Grüße
Chris |
|
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
|
|