An update for libreoffice was installed and I saw the QA notice: * QA Notice: Binary files linked to libcrypt.so found * But a dependency on virtual/libcrypt is not declared! * * /var/tmp/portage/app-office/libreoffice-7.2.5.2-r1/image/usr/lib64/libreoffice/program/libmysqlclo.so * * Please add virtual/libcrypt:= dependency * Gentoo bug: https://bugs.gentoo.org/699422 * Tracker bug: https://bugs.gentoo.org/798963 * See: https://wiki.gentoo.org/wiki/Project:Toolchain/libcrypt_implementation * Verifying compiled files in /usr/lib/python3.9/site-packages Reproducible: Always Portage 3.0.30 (python 3.9.9-final-0, default/linux/arm64/17.0, gcc-11.2.0, glibc-2.33-r7, 5.10.63-v8 aarch64) ================================================================= System uname: Linux-5.10.63-v8-aarch64-with-glibc2.33 KiB Mem: 3831552 total, 1416828 free KiB Swap: 4194300 total, 3982220 free Timestamp of repository gentoo: Thu, 17 Feb 2022 21:30:01 +0000 Head commit of repository gentoo: 19a23c5d6311c1f81dfe95927d35e05f320c96f8 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 distcc 3.4 aarch64-unknown-linux-gnu [disabled] ccache version 4.5.1 [enabled] app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r6::gentoo dev-lang/python: 3.8.12_p1::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo dev-lang/rust: 1.58.1::gentoo dev-util/ccache: 4.5.1::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.60.3::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.25::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4::gentoo sys-devel/clang: 12.0.1::gentoo, 13.0.0::gentoo sys-devel/gcc: 11.2.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.0::gentoo sys-devel/llvm: 11.1.0::gentoo, 12.0.1::gentoo, 13.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 guru location: /var/lib/layman/guru masters: gentoo priority: 50 java location: /var/lib/layman/java masters: gentoo priority: 50 salfter location: /var/lib/layman/salfter masters: gentoo priority: 50 ACCEPT_KEYWORDS="arm64" ACCEPT_LICENSE="* @EULA" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="aarch64-unknown-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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -pipe -march=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live ccache compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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="24-bit-color 256-color X \ a52 aac aalib acl aften alsa ap apng arm64 avif bittorrent blake2 bluetooth bogofilter brotli bzip2 cacert cairo cdda cddb cli codec2 console crypt cups curl dav1d dbus dcaenc dri dts egl elogind encode evdev exif faac faad fading-colors fasteap fdk ffmpeg flac fortran gbm gd gdbm gentoo-vm ghcbootstrap gif gles1 gles2 gme gpg gstreamer gtk gtk2 gtk3 harfbuzz hddtemp http http2 hwaccel iconv icu id3tag inotify ipv6 ithreads jingle jpeg kms lame libdrm libglvnd libmpeg2 libnotify libsamplerate libtirpc lz4 lzma lzo mad matroska metalink midi mikmod minizip mod modplug mp3 mpeg musicbrainz ncurses network nls nptl ogg omemo openal opengl openh264 openmp opus pcre pdf pdfimport perl plugins png postproc postscript ppds pulseaudio python qt5 rar rav1e readline rtmp rubberband samba sdl seccomp session sftp smime snappy sox speech speex spell split-usr ssh ssl su svg taglib text theora threads tiff timidity tk toolame tremor truetype twolame unicode upnp usb v4l vc verify-sig vlc vorbis vpx wavpack webp x264 x265 xattr xen xface xft xml xmlrpc xorg xpm xv xvfb xvid xxhash zeroconf zip zlib zstd" ADA_TARGET="gnat_2020" 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_ARM="crc32 edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en" 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="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="aarch64 i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev v3d vc4" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, 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
Created attachment 765424 [details] build.log.gz
I've checked two systems and I don't see that.
(In reply to Andreas Sturmlechner from comment #2) > I've checked two systems and I don't see that. I didn't find it in an old log from libreoffice-7.2.5.2. Do you have the -r1 version? Maybe it is because of Pi400, ARM64, useflags and so on? The world update will run for about 2 days, then I can emerge libreoffice for testing.
(In reply to korte from comment #3) > (In reply to Andreas Sturmlechner from comment #2) > > I've checked two systems and I don't see that. > > I didn't find it in an old log from libreoffice-7.2.5.2. Do you have the -r1 > version? > > Maybe it is because of Pi400, ARM64, useflags and so on? The world update > will run > for about 2 days, then I can emerge libreoffice for testing. Any update? I don't see where this can be coming from in the source. Does mysql-connector-c (or whatever) build without --as-needed or something...?
I forgot to do it. emerge -va =app-office/libreoffice-7.3.1.3 is now running. It will last at least 24h. QA notice Version No 7.2.5.2 Yes 7.2.5.2-r1:0: amd64 arm64 x86 ? 7.2.6.2:0: ~amd64 ~amd64-linux ~arm ~arm64 ~ppc64 ~x86 ? 7.2.9999:0: emerge 7.3.1.3:0: ? 7.3.9999:0: ? 9999:0:
(In reply to Sam James from comment #4) > Does mysql-connector-c (or whatever) build without --as-needed or > something...? equery l mysql-connector-c * Searching for mysql-connector-c ... [IP-] [ ] dev-db/mysql-connector-c-8.0.27:0/21 I don't know about "--as-needed". https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed doesn't give me a clue. I haven't defined it in neither make.conf nor /e/p/env/* . For mysql, not mysql-connector-c, I use cat /etc/portage/env/one-make-thread.conf MAKEOPTS="-j1" LDFLAGS="-Wl,--no-keep-memory" Is it somewhere else?
(In reply to korte from comment #6) > (In reply to Sam James from comment #4) > > > Does mysql-connector-c (or whatever) build without --as-needed or > > something...? > > equery l mysql-connector-c > * Searching for mysql-connector-c ... > [IP-] [ ] dev-db/mysql-connector-c-8.0.27:0/21 > > I don't know about "--as-needed". > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed doesn't > give me a clue. I haven't defined it in neither make.conf nor /e/p/env/* . > > For mysql, not mysql-connector-c, I use > cat /etc/portage/env/one-make-thread.conf > MAKEOPTS="-j1" > LDFLAGS="-Wl,--no-keep-memory" > > > Is it somewhere else? In profiles, we set -Wl,--as-needed. By setting LDFLAGS, you're overriding that. You could try LDFLAGS="${LDFLAGS} ..." LO doesn't build against MySQL but it's possibly related, I guess. Are you doing this for any other packages?
(In reply to Sam James from comment #7) > (In reply to korte from comment #6) > > I haven't defined it in neither make.conf nor /e/p/env/* . > > > > For mysql, not mysql-connector-c, I use > > cat /etc/portage/env/one-make-thread.conf > > MAKEOPTS="-j1" > > LDFLAGS="-Wl,--no-keep-memory" > > > > > > Is it somewhere else? > > In profiles, we set -Wl,--as-needed. By setting LDFLAGS, you're overriding > that. You could try LDFLAGS="${LDFLAGS} ..." > > LO doesn't build against MySQL but it's possibly related, I guess. > > Are you doing this for any other packages? grep one-make /etc/portage/package.env | cut -f 1 | sort app-office/libreoffice dev-db/mysql dev-java/icedtea dev-lang/ghc dev-lang/mono dev-lang/rust dev-lang/spidermonkey dev-qt/qtwebengine games-action/supertuxkart mail-client/thunderbird media-gfx/krita media-video/vlc net-libs/webkit-gtk sci-libs/tensorflow sys-devel/gcc www-client/chromium www-client/firefox I added it to my file and modified https://wiki.gentoo.org/wiki/Knowledge_Base:Emerge_out_of_memory#Trade_off_for_the_GNU_linker:_use_less_memory_and_more_IO
emerging libreoffice-7.3.1.3 without LDFLAGS="${LDFLAGS} ..." leads to the QA Notice below. When the normal @world update is finished I can try to emerge LO with LDFLAGS="${LDFLAGS} ..." . > * Final size of build directory: 3405312 KiB ( 3.2 GiB) > * Final size of installed tree: 433052 KiB (422.9 MiB) > > * QA Notice: Binary files linked to libcrypt.so found > * But a dependency on virtual/libcrypt is not declared! > * > * /var/tmp/portage/app-office/libreoffice-7.3.1.3/image/usr/lib64/libreoffice/program/libmysqlclo.so > * > * Please add virtual/libcrypt:= dependency > * Gentoo bug: https://bugs.gentoo.org/699422 > * Tracker bug: https://bugs.gentoo.org/798963 > * See: https://wiki.gentoo.org/wiki/Project:Toolchain/libcrypt_implementation full build.log attached
Created attachment 767302 [details] libreoffice build.log without LDFLAGS="${LDFLAGS} ..."
Created attachment 767311 [details] libreoffice build.log with LDFLAGS="${LDFLAGS} ..." Log 1/3
Created attachment 767312 [details] libreoffice build.log with LDFLAGS="${LDFLAGS} ..." Log 2/3
Created attachment 767313 [details] libreoffice build.log with LDFLAGS="${LDFLAGS} ..." Log 3/3
Re-emerging libreoffice worked within 1h10min, maybe because of ccache? I didn't find the QA Notice now. 3 logfiles are fitting in /var/log/portage/build/app-office and I don't know why this happend.
(In reply to Sam James from comment #7) > In profiles, we set -Wl,--as-needed. By setting LDFLAGS, you're overriding > that. You could try LDFLAGS="${LDFLAGS} ..." That seems to fix it. libreoffice-7.2.5.2-r1 had no QA Notice, I think this can be closed. Build log follows.
Created attachment 767475 [details] libreoffice build.log with LDFLAGS="${LDFLAGS} ...", no QA Notice any more
PS: Thanks! :)
(In reply to korte from comment #15) > (In reply to Sam James from comment #7) > > In profiles, we set -Wl,--as-needed. By setting LDFLAGS, you're overriding > > that. You could try LDFLAGS="${LDFLAGS} ..." > > That seems to fix it. libreoffice-7.2.5.2-r1 had no QA Notice, I think this > can be closed. Build log follows. Cheers! (In reply to korte from comment #17) > PS: Thanks! :) np :)