Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633828 - app-backup/amanda-3.5 USE="minimal" fails to install - chown: cannot access '/var/tmp/portage/app-backup/amanda-3.5/image///usr/sbin/amcheck': No such file or directory
Summary: app-backup/amanda-3.5 USE="minimal" fails to install - chown: cannot access '...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-09 09:36 UTC by Stefan Beier
Modified: 2017-11-13 20:45 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,632.02 KB, application/octet-stream)
2017-10-09 09:36 UTC, Stefan Beier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Beier 2017-10-09 09:36:28 UTC
Created attachment 498192 [details]
build.log

Amanda failes when using minimal use-flag. Without install works perfect.


make[4]: Leaving directory '/var/tmp/portage/app-backup/amanda-3.5/work/amanda-3.5/installcheck'
make[3]: Leaving directory '/var/tmp/portage/app-backup/amanda-3.5/work/amanda-3.5/installcheck'
make[2]: Leaving directory '/var/tmp/portage/app-backup/amanda-3.5/work/amanda-3.5/installcheck'
make[1]: Leaving directory '/var/tmp/portage/app-backup/amanda-3.5/work/amanda-3.5'
 * Building environment file
 * Installing environment config file
 * Installing xinetd service file
 * Installing systemd service and socket files for Amanda
 * Installing .amandahosts File for amanda user
 * Installing .profile for amanda user
 * Securing directory (/var/spool/amanda)
 * Securing directory (/var/spool/amanda/tar-lists)
 * Securing directory (/var/tmp/amanda)
 * Securing directory (/etc/amanda)
 * Setting setuid permissions
chown: cannot access '/var/tmp/portage/app-backup/amanda-3.5/image///usr/sbin/amcheck': No such file or directory
 * ERROR: app-backup/amanda-3.5::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_install
 *   environment, line 2612:  Called amanda_permissions_fix '/var/tmp/portage/app-backup/amanda-3.5/image/'
 *   environment, line  466:  Called die
 * The specific snippet of code:
 *           chown root:${AMANDA_GROUP_NAME} "${root}"/${i} || die;
 *
 * If you need support, post the output of `emerge --info '=app-backup/amanda-3.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-backup/amanda-3.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-backup/amanda-3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-backup/amanda-3.5/temp/environment'.
 * Working directory: '/var/tmp/portage/app-backup/amanda-3.5/work/amanda-3.5'
 * S: '/var/tmp/portage/app-backup/amanda-3.5/work/amanda-3.5'

>>> Failed to emerge app-backup/amanda-3.5, Log file:

>>>  '/var/tmp/portage/app-backup/amanda-3.5/temp/build.log'

----------------------------------------------------------------------------

emerge --info

Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r4, 4.13.4-gentoo x86_64)
=================================================================
System uname: Linux-4.13.4-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.4.1
KiB Mem:     2055428 total,    317844 free
KiB Swap:    2097148 total,   2096628 free
Timestamp of repository gentoo: Mon, 09 Oct 2017 09:00:01 +0000
Head commit of repository gentoo: 71817bb6a3397a1a3910735e2ebeae975110ae2a
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: -4

RPI
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 logwatch mmx modules multilib ncurses nls nptl offensive openmp pam pcre readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" 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="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias authz_dbd authn_dbd auth_digest" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" SANE_BACKENDS="genesys net" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Larry the Git Cow gentoo-dev 2017-11-13 20:45:14 UTC
The bug has been closed via the following commit(s):

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

commit cddd3e2baa07e18ed26e7a40863db949b772b702
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2017-11-13 20:32:41 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2017-11-13 20:44:59 +0000

    app-backup/amanda: fix chown during USE=minimal
    
    Fixes: https://bugs.gentoo.org/633828
    Package-Manager: Portage-2.3.8, Repoman-2.3.3
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 app-backup/amanda/amanda-3.5-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)