Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot emerge libtool [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
JustMax
n00b
n00b


Joined: 18 Nov 2004
Posts: 9

PostPosted: Sun Mar 12, 2017 4:25 pm    Post subject: Cannot emerge libtool [solved] Reply with quote

Hi,

I have problems trying update/merge libtool :

Code:
 
...
/usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c -m 644 './libltdl/ltdl.c' '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image//usr/share/libtool/ltdl.c'
/usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c -m 644 './libltdl/ltdl.h' '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image//usr/share/libtool/ltdl.h'
/usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c -m 644 './libltdl/ltdl.mk' '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image//usr/share/libtool/ltdl.mk'
/usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c -m 644 './libltdl/slist.c' '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image//usr/share/libtool/slist.c'
chmod a+x '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image//usr/share/libtool/configure'
make[3]: Leaving directory '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/work/libtool-2.4.6'
make[2]: Leaving directory '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/work/libtool-2.4.6'
make[1]: Leaving directory '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/work/libtool-2.4.6'
 * ACCESS DENIED:  renameat:     /mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/CuXExSuf
ln: failed to create symbolic link '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/config.sub': Permission denied
 * ERROR: sys-devel/libtool-2.4.6-r3::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_install
 *   environment, line 2797:  Called die
 * The specific snippet of code:
 *           ln -sf "${EPREFIX}"/usr/share/gnuconfig/${x##*/} "${x}" || die;
 *
 * If you need support, post the output of `emerge --info '=sys-devel/libtool-2.4.6-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/libtool-2.4.6-r3::gentoo'`.
 * The complete build log is located at '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/temp/build.log'.
 * The ebuild environment file is located at '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/temp/environment'.
 * Working directory: '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/work/libtool-2.4.6'
 * S: '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/work/libtool-2.4.6'
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/tmp/sandbox-12417.log"
 *
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: renameat
S: deny
P: /mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/CuXExSuf
A: /mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/CuXExSuf
R: /usr/share/gnuconfig/config.sub
C: ln -sf /usr/share/gnuconfig/config.sub /mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/config.sub
 * --------------------------------------------------------------------------------

>>> Failed to emerge sys-devel/libtool-2.4.6-r3, Log file:

>>>  '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/temp/build.log'


Code:
Portage 2.3.4 (python 2.7.12-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.24-r1, 4.6.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.6.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem:     8122652 total,   6474568 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Sat, 11 Mar 2017 15:15:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.1-r3::gentoo, 3.6.0::gentoo
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /mnt/data/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-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="-march=core-avx-i -O2 -pipe"
DISTDIR="/mnt/data/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/mnt/data/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 X acl alsa amd64 apng avx berkdb blueray bzip2 cairo cdio cli cracklib crypt cups cxx dbus dri fontconfig fortran gbm gdbm glamor gpm gtk hpcups iconv icu java jpeg kde ldap mmx mng modules mp3 multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre png pulseaudio python qt4 readline ru scanner sdl seccomp session spell sqlite sse sse2 ssl ssse3 tcpd threads tiff truetype udev unicode vorbis x264 xattr xcb xml xvid xvmc zlib" ABI_X86="32 64" ALSA_CARDS="snd-ctxfi" 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="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" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Code:
cat /tmp/sandbox-22649.log
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: renameat
S: deny
P: /mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/CuWNqEVZ
A: /mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/CuWNqEVZ
R: /usr/share/gnuconfig/config.sub
C: ln -sf /usr/share/gnuconfig/config.sub /mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/config.sub


What is wrong here? Thank you in advance for helping!


Last edited by JustMax on Mon Mar 13, 2017 9:15 am; edited 1 time in total
Back to top
View user's profile Send private message
med01
n00b
n00b


Joined: 12 Mar 2017
Posts: 11
Location: Tunisia

PostPosted: Sun Mar 12, 2017 8:24 pm    Post subject: Reply with quote

I have the same problem :cry:
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Mar 12, 2017 8:57 pm    Post subject: Re: Cannot emerge libtool Reply with quote

JustMax wrote:
Code:
chmod a+x '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image//usr/share/libtool/configure'
make[3]: Leaving directory '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/work/libtool-2.4.6'
make[2]: Leaving directory '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/work/libtool-2.4.6'
make[1]: Leaving directory '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/work/libtool-2.4.6'
 * ACCESS DENIED:  renameat:     /mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/CuXExSuf
ln: failed to create symbolic link '/mnt/data/tmp/portage/sys-devel/libtool-2.4.6-r3/image/usr/share/libtool/build-aux/config.sub': Permission denied

JustMax ... please provide the output of the following:

Code:
# mount | grep /mnt/data/
# ls -ld /mnt{,/data{,/tmp{,/portage}}}

best ... khay
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4551
Location: Germany

PostPosted: Sun Mar 12, 2017 9:00 pm    Post subject: Reply with quote

Update to >=sys-apps/sandbox-2.10-r4 should help,
see Bug 612202
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Mar 12, 2017 9:48 pm    Post subject: Reply with quote

Josef.95 wrote:
Update to >=sys-apps/sandbox-2.10-r4 should help, see Bug 612202

Josef.95 ... that looks to be exactly it.

@JustMax ... ignore my request for info above and do as Josef.95 suggests and update to =sys-apps/sandbox-2.10-r4

/etc/portage/package.accept_keywords:
=sys-apps/sandbox-2.10-r4

best ... khay
Back to top
View user's profile Send private message
JustMax
n00b
n00b


Joined: 18 Nov 2004
Posts: 9

PostPosted: Mon Mar 13, 2017 9:14 am    Post subject: Reply with quote

Josef.95 wrote:
Update to >=sys-apps/sandbox-2.10-r4 should help,
see Bug 612202


Yes, it works! Thnaks a lot!
Back to top
View user's profile Send private message
Jon Wilder
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2011
Posts: 112
Location: Fresno CA

PostPosted: Wed Jul 26, 2017 8:04 am    Post subject: Reply with quote

On new Gentoo system installs I've run into this issue with emerge -auND @world. Both libtool and sandbox call for updates, but libtool was listed first in the list before Sandbox, hence it wouldn't build until I updated Sandbox by hand. Is there any way to ensure that Sandbox populates in the list before libtool?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4551
Location: Germany

PostPosted: Wed Jul 26, 2017 9:21 am    Post subject: Reply with quote

Jon Wilder wrote:
On new Gentoo system installs I've run into this issue with emerge -auND @world. Both libtool and sandbox call for updates, but libtool was listed first in the list before Sandbox, hence it wouldn't build until I updated Sandbox by hand. Is there any way to ensure that Sandbox populates in the list before libtool?


Hm, I think it should be fixed in the >=sys-apps/coreutils-8.27 ebuilds
From
coreutils-8.27.ebuild:
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
        selinux? ( sys-libs/libselinux )
        nls? ( virtual/libintl )"
to
coreutils-8.27.ebuild:
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} )
        selinux? ( sys-libs/libselinux )
        nls? ( virtual/libintl )
        >=sys-apps/sandbox-2.10-r4"

Please open a Bug on bugs.gentoo.org for this :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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