sys-apps/shadow-4.9-r1 fails to compile Reproducible: Always Steps to Reproduce: 1.emerge -av shadow 2. 3. Actual Results: The package fails during the compile phase. Expected Results: The software should have successfully compiled and installed. # emerge --info Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/systemd, gcc-11.1.0, glibc-2.33-r5, 5.12.15-zen1 x86_64) ================================================================= System uname: Linux-5.12.15-zen1-x86_64-AMD_Ryzen_7_2700_Eight-Core_Processor-with-glibc2.33 KiB Mem: 65772092 total, 39586640 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 01 Aug 2021 19:16:05 +0000 Head commit of repository gentoo: 24067b61f5c11a8430555ed4729b19b3fd5f7abf Timestamp of repository audio-overlay: Sat, 10 Jul 2021 21:52:51 +0000 Head commit of repository audio-overlay: 95fe5931d8f6af1dcbb93f39628e547acbdb49fd Timestamp of repository flewkey-overlay: Sat, 10 Jul 2021 21:53:06 +0000 Head commit of repository flewkey-overlay: 3ff7586d7b6137d6f44808ff8e8740ec6b120c34 Timestamp of repository guru: Fri, 30 Jul 2021 18:22:46 +0000 Head commit of repository guru: 660ec0cd36320a60d96b552897e28e76eb23b969 Timestamp of repository phackerlay: Fri, 30 Jul 2021 07:51:26 +0000 Head commit of repository phackerlay: b1c6eb726a71cca62dadeffe98e3b0a16dc4dae5 Timestamp of repository raiagent: Sat, 31 Jul 2021 05:21:15 +0000 Head commit of repository raiagent: 4ffd7acd4fdd9536ce17964fb45db6009cb02079 Timestamp of repository sage-on-gentoo: Wed, 28 Jul 2021 05:37:26 +0000 Head commit of repository sage-on-gentoo: b630d7cdbd167778a50427604a98ed7285cecc67 Timestamp of repository src_prepare-overlay: Sun, 01 Aug 2021 06:06:58 +0000 Head commit of repository src_prepare-overlay: ce7c58d3331b4bf1971086f58991041118a67204 Timestamp of repository steam-overlay: Sat, 17 Jul 2021 08:07:11 +0000 Head commit of repository steam-overlay: 6677e498e4a9af6779d1e13758d298bd220566ed Timestamp of repository vapoursynth: Tue, 27 Jul 2021 14:36:32 +0000 Head commit of repository vapoursynth: 75c3dac45dccf33fe504ca665e151e011d25a0c3 sh bash 5.1_p8 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r1::gentoo dev-lang/python: 2.7.18_p11::gentoo, 3.7.10_p6::gentoo, 3.8.11::gentoo, 3.9.6::gentoo, 3.10.0_beta4::gentoo dev-lang/rust: 1.53.0::gentoo dev-lang/rust-bin: 1.51.0::gentoo dev-util/cmake: 3.21.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo, 2.36.1-r1::gentoo sys-devel/gcc: 11.1.0-r2::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: rsync://rsync.at.gentoo.org priority: -1000 audio-overlay location: /var/db/repos/audio-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/audio-overlay.git masters: gentoo flewkey-overlay location: /var/db/repos/flewkey-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/flewkey-overlay.git masters: gentoo guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo moonwind location: /usr/local/portage masters: gentoo phackerlay location: /var/db/repos/phackerlay sync-type: git sync-uri: https://github.com/gentoo-mirror/phackerlay.git masters: gentoo raiagent location: /var/db/repos/raiagent sync-type: git sync-uri: https://github.com/gentoo-mirror/raiagent.git masters: gentoo sage-on-gentoo location: /var/db/repos/sage-on-gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/sage-on-gentoo.git masters: gentoo 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 steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo vapoursynth location: /var/db/repos/vapoursynth sync-type: git sync-uri: https://github.com/gentoo-mirror/vapoursynth.git masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=znver1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/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="-O2 -pipe -march=znver1" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=2" 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance clean-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 strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ https://mirrors.evowise.com/gentoo/ http://gentoo.gossamerhost.com https://gentoo.osuosl.org/ http://mirror.leaseweb.com/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j16 -l16" 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="/var/tmp" USE="3dnow 3dnowext X \ a52 aac acl acpi alsa ambisonics amd64 apparmor aria2 bluetooth bluray bpf btrfs bzip2 cacert cairo caps cargo cdda chromaprint cjk cli color-management colord corefonts cracklib crypt css cups curl dbus declarative djvu dmenu dns-over-tls dri drm dts dvb dvd dvdnav dvi egl exif ffmpeg fftw fish-completion flac fluidsynth fontconfig fortran frei0r fuse gdbm geo geoclue geolocation gif gimp git gles gmp gnome-keyring gnupg gnuplot google gpg gstaudio gstreamer gstvideo gtk gtk3 hdf5 heif homed hscolour html http iconv icu idn imagemagick imap imlib ipv6 jack javascript jpeg jpeg2k json keyring ladspa lame latex layershell lcms libass libglvnd libnotify libsamplerate libsoxr libtirpc libvisual llvm lm-sensors lm_sensors lto lua luajit lv2 lzma mac mad maildir man matplotlib midi mms mp3 mpeg mpi multilib musicbrainz mysql ncurses nls nptl numa numpy offensive ogg openal opencl opencv openexr opengl openmp opus osc pam pandas pcre pdf pipewire pkcs11 png portaudio portmidi postgres pulseaudio python qml qrcode qt5 raw readline realtime replaygain rubberband ruby rust rustfmt savedconfig scanner sctp sdl seccomp sftp smime smp soap soundcloud sox soxr spell split-usr sqlite ssh ssl svg symlink systemd tcmalloc tcpd tesseract theora threads tiff truetype udev udisks unicode usb user-session vaapi vdpau vim vim-syntax vorbis vpx vulkan wavpack wayland web webp websockets x264 x265 xattr xkb xml xmlrpc xps xz yaml zeroconf zlib zsh-completion zstd" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sha sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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="en ga la" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="amdgpu bpf webassembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Created attachment 729534 [details] Build log of sys-apps/shadow-4.9-r1
There were a collection of issues with shadow 4.9 in the build system wrt libsubid. Maybe this is another?
Disabling the cracklib use flag allows it to compile.
(In reply to Bearcat M. Şándor from comment #3) > Disabling the cracklib use flag allows it to compile. Yes, I can reproduce as well. Note that a pam-enabled shadow would handle password checking through passwdqc making cracklib on shadow unnecessary. Just saying given seem you have pam as global USE but disabled it only here.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99492d04ef5f0e1834eaf0930951a492e22a3092 commit 99492d04ef5f0e1834eaf0930951a492e22a3092 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-08-04 15:59:30 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-08-04 15:59:30 +0000 sys-apps/shadow: fix build with cracklib enabled Closes: https://bugs.gentoo.org/806124 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/shadow/files/shadow-4.9-libcrack.patch | 27 +++++++++++++++++++++++++ sys-apps/shadow/shadow-4.9-r1.ebuild | 1 + 2 files changed, 28 insertions(+)