Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784770 - net-print/cups-2.3.3_p2 doesn't emerge with USE=-pam
Summary: net-print/cups-2.3.3_p2 doesn't emerge with USE=-pam
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-21 08:54 UTC by Xavier Miller
Modified: 2021-04-21 09:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,220.80 KB, text/plain)
2021-04-21 08:57 UTC, Xavier Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller 2021-04-21 08:54:02 UTC
net-print/cups-2.3.3_p2 doesn't emerge with USE=-pam

Reproducible: Always

Actual Results:  
rm: cannot remove '/var/tmp/portage/net-print/cups-2.3.3_p2/image/etc/pam.d/cups': No such file or directory
 * ERROR: net-print/cups-2.3.3_p2::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_install
 *   environment, line 3503:  Called multilib-minimal_src_install
 *   environment, line 2643:  Called multilib_src_install_all
 *   environment, line 3119:  Called die
 * The specific snippet of code:
 *       rm -r "${ED}"/etc/{init.d/cups,rc*,pam.d/cups} || die;
 * 
 * If you need support, post the output of `emerge --info '=net-print/cups-2.3.3_p2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-2.3.3_p2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-print/cups-2.3.3_p2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-2.3.3_p2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-print/cups-2.3.3_p2/work/cups-2.3.3op2'
 * S: '/var/tmp/portage/net-print/cups-2.3.3_p2/work/cups-2.3.3op2'

>>> Failed to emerge net-print/cups-2.3.3_p2, Log file:
Comment 1 Xavier Miller 2021-04-21 08:54:54 UTC
emerge --info cups                                                                                                                                                                                                   
Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.3.0, glibc-2.33, 5.11.15-gentoo x86_64)                                                                                                                    
=================================================================                                                                                                                                                                             
                         System Settings                                                                                                                                                                                                      
=================================================================                                                                                                                                                                             
System uname: Linux-5.11.15-gentoo-x86_64-Intel-R-_Core-TM-_i7-8850H_CPU_@_2.60GHz-with-glibc2.2.5                                                                                                                                            
KiB Mem:    16212512 total,   6994548 free                                                                                                                                                                                                    
KiB Swap:    8388604 total,   8388604 free                                                                                                                                                                                                    
Head commit of repository gentoo: 897eaba917ed0d65a8b499318075097ed6379418                                                                                                                                                                    
                                                                                                                                                                                                                                              
Head commit of repository audio-overlay: 655abd8cae496fe97efff861aeb619e0d699151d                                                                                                                                                             
                                                                                                                                                                                                                                              
Head commit of repository local: 4ea14f9873555b7f803d861121b2bcdd3ab76540                                                                                                                                                                     
                                                                                                                                                                                                                                              
sh bash 5.1_p4                                                                                                                                                                                                                                
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p8::gentoo, 3.8.9::gentoo, 3.9.4::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/cmake:           3.20.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r2::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.23::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r1::gentoo 
sys-devel/gcc:            10.3.0::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.11::gentoo (virtual/os-headers) 
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/portage/repos/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

audio-overlay
    location: /var/portage/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-audio/audio-overlay.git
    masters: gentoo

local
    location: /usr/local/portage
    sync-type: git
    sync-uri: /data/nas/xavier/git_repos/local_overlay.git/ 
    masters: gentoo

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE as-is freedist"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
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/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 -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg"
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 buildpkg candy 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr nl fr_FR fr_BE nl_NL nl_BE"
MAKEOPTS="-j1"
PKGDIR="/var/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 acpi aes alsa amd64 apng avx avx2 branding bzip2 cairo cdda cddb cdio cli crossdev crypt cryptsetup css cups dbus dlna dri dssi dts dvb dvd exif f16c fftw flac fluidsynth fma3 gif glamor gnome-keyring gpm gtk gudev gui iconv jack joystick jpeg ladspa lash lcms libcanberra libglvnd libinput libnotify libsamplerate libtirpc mad matroska midi mmx mmxext mng mp3 mpeg mtp natspec ncurses network nls nptl ocr ogg openal opengl openmp opus osc pango pclmul pcre pdf png popcnt printsupport qt5 readline rubberband sane scanner sdl seccomp sna sndfile snmp spell split-usr sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg system-bootstrap system-llvm threads tiff timidity truetype udev unicode upnp usb uxa vaapi vorbis wmf x264 xattr xcb xinerama xml xosd xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel usb-audio virmidi" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="keyboard mouse libinput joystick" KERNEL="linux" L10N="fr nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="ftdi" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="aarch64 aarch64_be arm" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="brightness trash" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

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

net-print/cups-2.3.3-r2::gentoo was built with the following:
USE="X dbus ssl threads usb -acl -debug -kerberos -lprng-compat -pam (-selinux) -static-libs -systemd -xinetd -zeroconf"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg candy 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
Comment 2 Xavier Miller 2021-04-21 08:57:32 UTC
Created attachment 701472 [details]
build log
Comment 3 Larry the Git Cow gentoo-dev 2021-04-21 09:49:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6d608ea9cfb8ee5d0a1afef95c547549f1f737

commit 5e6d608ea9cfb8ee5d0a1afef95c547549f1f737
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-04-21 09:48:50 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-04-21 09:49:32 +0000

    net-print/cups: Fixed installation with USE="-pam"
    
    Thanks-to: Xavier Miller <xavier.miller@cauwe.org>
    Closes: https://bugs.gentoo.org/784770
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-print/cups/cups-2.3.3_p2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)