Fails to emerge (with sandbox on or off): ACCESS DENIED symlink: /var/tmp/portage/slang-1.4.9-r1/image/usr/lib/libslang.a ln: creating symbolic link `/var/tmp/portage/slang-1.4.9-r1/image//usr/lib/libslang.a' to `/usr/lib/libslang-utf8.a': Permission denied man: making executable: /usr/lib/libslang-utf8.so.1.4.9 >>> Completed installing slang-1.4.9-r1 into /var/tmp/portage/slang-1.4.9-r1/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sys-libs_-_slang-1.4.9-r1-21809.log" symlink: /var/tmp/portage/slang-1.4.9-r1/image/usr/lib/libslang.a (symlink to /usr/lib/libslang-utf8.a) -------------------------------------------------------------------------------- # emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.2.3-r6, 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks emergemail fixpackages nostrip notitles sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-gentopia" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 4kstacks S3TC X aac aalib acpi acpi4linux apm arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 bzlib calendar cddb cdparanoia cdr codecs cscope cups curl curlwrappers dbase devmap dmx doc dv dvd dvdr dvdread emboss encode escreen esd exif expat faac faad fam fbcon ffmpeg flac foomaticdb ftp gd ggi gif gimp gimpprint glut gmp gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml idn imagemagick imlib innodb interbase iodbc java javascript jbig joystick jp2 jpeg jpeg2k junit kde kdexdeltas lcms libg++ libwww live lua lzw-tiff mad maildir mbox mhash mikmod mime mmx mmx2 mng monkey mono motif mozcalendar moznocompose moznoirc mp3 mpeg mysql mysqli ncurses network nls no_wxgtk1 nocardbus nomac nptl nsplugin odbc ogg oggvorbis ooo-kde opengl oss pcre pdflib perl png posix ppds python qt quicktime readline real rtc samba scanner sdl slang slp smartcard sox speex spell sqlite sqlite3 sse ssl svg tcltk tcpd tetex tga theora tiff timidity truetype truetype-fonts type1-fonts udev unicode usb videos vim-with-x vorbis win32codecs wmf wxwindows xbase xine xml xml2 xmms xpm xv xvid yv12 zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Workaround by either: 'rm /usr/lib/libslang-utf8.a' 'mv /usr/lib/libslang-utf8.a /tmp'
OK, 'rm /usr/lib/libslang-utf8.a' works, but if that's necessary shouldn't the ebuild do that?
Same problem here, also with -r2. Can this not be fixed?
please attach a full build log as i am unable to reproduce this.
Created attachment 79957 [details] build log of slang that fails on access violation
Created attachment 79959 [details] slang-1.4.9-r1 build log slang-1.4.9-r1.log
Problem still there with 1.4.9-r2
(In reply to comment #7) same problem and similar found after an emerge -e world in tcp-wrappers cdrtools foomatic-db libfpx g-cpan am-utils control-center gtkhtml phpldapamin. Some other packages as policycoreutils was affected by the bug in kth-krb and must unset MANDIR and INFODIR. After solvig it, sync and downgrading coreutils to stable version it works. I don't understand how is resolved but hope can be useful report them.
The same problem with 1.4.9-r2 and GCC 4.1 and AMD64 with USE="-cjk" and USE="cjk". Please fix it.
emerge --update --newuse --deep world fails for slang-1.4.9-r2. Note the unicode use flag. libslang-utf8.so.1.4.9 created in /var/tmp/portage/slang-1.4.9-r2/image//usr/lib. The links libslang-utf8.so and libslang-utf8.so.1 to libslang-utf8.so.1.4.9 were also created. make[1]: Leaving directory `/var/tmp/portage/slang-1.4.9-r2/work/slang-1.4.9/src' On some systems, e.g., linux, you may also have to run ldconfig. ACCESS DENIED symlink: /var/tmp/portage/slang-1.4.9-r2/image/usr/lib/libslang.a ln: creating symbolic link `/var/tmp/portage/slang-1.4.9-r2/image//usr/lib/libslang.a' to `/usr/lib/libslang-utf8.a': Permission denied man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded usr/lib/libslang-utf8.so.1.4.9 making executable: /usr/lib/libslang-utf8.so.1.4.9 >>> Completed installing slang-1.4.9-r2 into /var/tmp/portage/slang-1.4.9-r2/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sys-libs_-_slang-1.4.9-r2-26366.log" symlink: /var/tmp/portage/slang-1.4.9-r2/image/usr/lib/libslang.a (symlink to /usr/lib/libslang-utf8.a) -------------------------------------------------------------------------------- Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r3, 2.6.12-gentoo-r6udev i686) ================================================================= System uname: 2.6.12-gentoo-r6udev i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acl alsa apm audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl dri eds emboss encode exif expat foomaticdb fortran gdbm gif gpm gstreamer idn imlib ipv6 isdnlog jpeg ldap libg++ libwww mad maildir mikmod mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis pam pcre pdflib perl png postgres ppds pppd python quicktime readline samba sasl sdl slang spell ssl svga tcpd tiff udev unicode usb vorbis xml2 xmms zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Bug confirmed in slang-1.4.9-r2.ebuild with USE="unicode" See attachement for a fixed ebuild. There was a missing ${D} in the dosym call.
Created attachment 85107 [details] Fixed ebuild for sys-libs/slang-1.4.9-r2
same problem her Portage 2.1_pre9-r4 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.12.0_pre12 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.1-r2 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -frename-registers -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -frename-registers -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" LANG="pl_PL" LC_ALL="pl_PL" LINGUAS="pl en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acpi alsa apache2 apm avi berkdb bitmap-fonts bonobo bzlib calendar cdr cli crypt cscope cups curl dbus divx4linux doc dri dvd dvdr eds emboss encode evo exif fbcon flac flash foomaticdb fortran gb gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib innodb ipv6 irda isdnlog java jikes jpeg kde kdeenablefinal lcms libg++ libwww lirc lm_sensors mad mbox mikmod ming mmx motif mozilla mp3 mpeg nas ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdf pdflib perl png pnp posix postgres ppds pppd python qt quicktime readline reflection samba sasl scanner sdl session slang slp sockets speex spell spl sqlite sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb videos vorbis wmf wxwindows x86 xinerama xml2 xmms xorg xosd xscreensaver xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_vmmouse kernel_linux linguas_pl linguas_en_GB userland_GNU video_cards_nv video_cards_nvidia video_cards_fbdev video_cards_vesa video_cards_vmware" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS (In reply to comment #12) > Created an attachment (id=85107) [edit] > Fixed ebuild for sys-libs/slang-1.4.9-r2 modified ebuild didn't resolv the problem: >>> Completed installing slang-1.4.9-r2 into /var/tmp/portage/slang-1.4.9-r2/image/ man: strip: i686-pc-linux-gnu-strip --strip-unneeded /usr/lib/libslang-utf8.so.1.4.9 usr/lib/libslang-utf8.a QA Notice: // installed in ${D}/${D} QA Notice: //usr installed in ${D}/${D} QA Notice: //usr/lib installed in ${D}/${D} QA Notice: //usr/lib/libslang.a installed in ${D}/${D} !!! ERROR: sys-libs/slang-1.4.9-r2 failed. Call stack: misc-functions.sh, line 412: Called install_qa_check misc-functions.sh, line 183: Called die !!! Aborting due to QA concerns: 4 files installed in /var/tmp/portage/slang-1.4.9-r2/image///var/tmp/portage/slang-1.4.9-r2/image/ !!! If you need support, post the topmost build error, and the call stack if relevant. !!! install_qa_check failed; exiting. Any ideas besides temporary USE="-unicode" for slang? Best reagrds, Przemek
I synced my portage tree and tried new ebuild - same bug as reported here. USE="-unicode" works as expected. Regards, Przemek
Created attachment 85351 [details] slang-1.4.9-r2.ebuild (corrected ebuild) I corrected ebuild file. Small glitch in symlinks creating
Created attachment 85352 [details, diff] slang-1.4.9-r2.ebuild.patch (patch to view changes) patch to crealy show what was changed to fix the problem. Best reagrds, Przemek
Just one thing more... With modified ebuild slang looks good. Links/library looks like this: troll@troll ~ $ ls -al `epm -ql slang | grep lib` lrwxrwxrwx 1 root root 24 kwi 24 12:27 /usr/lib/libslang.a -> /usr/lib/libslang-utf8.a lrwxrwxrwx 1 root root 25 kwi 24 12:27 /usr/lib/libslang.so -> /usr/lib/libslang-utf8.so lrwxrwxrwx 1 root root 27 kwi 24 12:27 /usr/lib/libslang.so.1 -> /usr/lib/libslang-utf8.so.1 lrwxrwxrwx 1 root root 31 kwi 24 12:27 /usr/lib/libslang.so.1.4.9 -> /usr/lib/libslang-utf8.so.1.4.9 -rw-r--r-- 1 root root 527046 kwi 24 12:27 /usr/lib/libslang-utf8.a lrwxrwxrwx 1 root root 22 kwi 24 12:27 /usr/lib/libslang-utf8.so -> libslang-utf8.so.1.4.9 lrwxrwxrwx 1 root root 22 kwi 24 12:27 /usr/lib/libslang-utf8.so.1 -> libslang-utf8.so.1.4.9 -rwxr-xr-x 1 root root 374248 kwi 24 12:27 /usr/lib/libslang-utf8.so.1.4.9 I believe this is ok. Best regards, Przemek
I'm getting hit by this as well.
I was affected by this also on 1.4.9-r2. The 'mv /usr/lib/libslang-utf8.a /tmp' workaround did it. Note: arch is amd64 so the file was inside /usr/lib64/ emerge --info: Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7becks x86_64) ================================================================= System uname: 2.6.15-gentoo-r7becks x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo" LANG="en_CA.UTF-8" LC_ALL="en_CA.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac aalib acpi alsa arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr cli crypt cups curl divx4linux doc dri dvd dvdr dvdread eds emboss encode esd exif expat fam fame ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib inkjar ipv6 isdnlog java joystick jpeg junit kde lcms ldap libcaca libwww linuxthreads-tls lzw lzw-tiff mad matroska mikmod mng mono motif mozilla mp3 mpeg musicbrainz ncurses nls nptl nsplugin offensive ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt quicktime readline recode reflection ruby samba sdl session slang spell spl sqlite ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 visualization vorbis wmf xine xinerama xml xml2 xmms xorg xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
*** Bug 131771 has been marked as a duplicate of this bug. ***
I also hit this problem and solved with sandbox upgrade. If you look at sandbox's ChangeLog you may find the folowing item there: 2005-09-04 11:17 azarah * ChangeLog, libsandbox.c: Also allow symlink() system call to operate on a symlink in a writable path that points to non-writable path, bug #104711. And if you look at mentioned bug you'll find it very similar. ;) I've CC'ed sandbox maintainers. May be it's time to mark new sandbox stable? Or may be you can suggest some workaround for this bug?
Ebuild I submitted 'works for me'. Have anyone test it? Regards, Przemek
(In reply to comment #22) > Ebuild I submitted 'works for me'. Have anyone test it? > I did. Your new ebuild fixed the problem for me. Below I include the error message of the failed attempt to upgrade slang so that you can see if I report about the same issue others did. Regards, Krzysiek ACCESS DENIED symlink: /var/tmp/portage/slang-1.4.9-r2/image/usr/lib/libslang.a ln: tworzenie dowa symbolicznego `/var/tmp/portage/slang-1.4.9-r2/image//usr/lib/libslang.a' do `/usr/lib/libslang-utf8.a': Brak dostcreating symbolic links to libslang-utf8.so.1.4.9 cd /var/tmp/portage/slang-1.4.9-r2/image//usr/lib; /bin/ln -sf libslang-utf8.so.1.4.9 libslang-utf8.so.1 cd /var/tmp/portage/slang-1.4.9-r2/image//usr/lib; /bin/ln -sf libslang-utf8.so.1.4.9 libslang-utf8.so libslang-utf8.so.1.4.9 created in /var/tmp/portage/slang-1.4.9-r2/image//usr/lib. The links libslang-utf8.so and libslang-utf8.so.1 to libslang-utf8.so.1.4.9 were also created. make[1]: Leaving directory `/var/tmp/portage/slang-1.4.9-r2/work/slang-1.4.9/src' On some systems, e.g., linux, you may also have to run ldconfig. ACCESS DENIED symlink: /var/tmp/portage/slang-1.4.9-r2/image/usr/lib/libslang.a ln: tworzenie dowtrip: i686-pc-linux-gnu-strip --strip-unneeded /usr/lib/libslang-utf8.so.1.4.9 usr/lib/libslang-utf8.a making executable: /usr/lib/libslang-utf8.so.1.4.9 >>> Completed installing slang-1.4.9-r2 into /var/tmp/portage/slang-1.4.9-r2/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sys-libs_-_slang-1.4.9-r2-430.log" symlink: /var/tmp/portage/slang-1.4.9-r2/image/usr/lib/libslang.a (symlink to /usr/lib/libslang-utf8.a) --------------------------------------------------------------------------------
Yeah, we should bump the stable sandbox ...
I am also suffering the same problem with USE=unicode :( Thanks a lot for fixing it :)
*** Bug 132230 has been marked as a duplicate of this bug. ***
Until the new sandbox is marked as stable, Why is not http://bugs.gentoo.org/attachment.cgi?id=85351 used instead of current ebuild? Thanks for information
(In reply to comment #27) > Until the new sandbox is marked as stable, Why is not > http://bugs.gentoo.org/attachment.cgi?id=85351 used instead of current ebuild? > > Thanks for information > Because it is bad form to have a symlink point to $D.
(In reply to comment #28) > (In reply to comment #27) > > Until the new sandbox is marked as stable, Why is not > > http://bugs.gentoo.org/attachment.cgi?id=85351 used instead of current ebuild? > > > > Thanks for information > > > > Because it is bad form to have a symlink point to $D. but non of the files produced with this ebuild, have symlink to ${D} (after installation) for installed files, I have this outputs: troll@troll ~ $ ls -al `epm -ql slang | grep lib` lrwxrwxrwx 1 root root 24 kwi 24 12:27 /usr/lib/libslang.a -> /usr/lib/libslang-utf8.a lrwxrwxrwx 1 root root 25 kwi 24 12:27 /usr/lib/libslang.so -> /usr/lib/libslang-utf8.so lrwxrwxrwx 1 root root 27 kwi 24 12:27 /usr/lib/libslang.so.1 -> /usr/lib/libslang-utf8.so.1 lrwxrwxrwx 1 root root 31 kwi 24 12:27 /usr/lib/libslang.so.1.4.9 -> /usr/lib/libslang-utf8.so.1.4.9 -rw-r--r-- 1 root root 527046 kwi 24 12:27 /usr/lib/libslang-utf8.a lrwxrwxrwx 1 root root 22 kwi 24 12:27 /usr/lib/libslang-utf8.so -> libslang-utf8.so.1.4.9 lrwxrwxrwx 1 root root 22 kwi 24 12:27 /usr/lib/libslang-utf8.so.1 -> libslang-utf8.so.1.4.9 -rwxr-xr-x 1 root root 374248 kwi 24 12:27 /usr/lib/libslang-utf8.so.1.4.9 $ ldd `epm -ql slang | grep "lib.*so"` /usr/lib/libslang-utf8.so.1.4.9: linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7f14000) libm.so.6 => /lib/libm.so.6 (0xb7ef0000) libc.so.6 => /lib/libc.so.6 (0xb7dd4000) /lib/ld-linux.so.2 (0x80000000) /usr/lib/libslang.so: linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7f41000) libm.so.6 => /lib/libm.so.6 (0xb7f1d000) libc.so.6 => /lib/libc.so.6 (0xb7e01000) /lib/ld-linux.so.2 (0x80000000) /usr/lib/libslang.so.1: linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7e8f000) libm.so.6 => /lib/libm.so.6 (0xb7e6b000) libc.so.6 => /lib/libc.so.6 (0xb7d4f000) /lib/ld-linux.so.2 (0x80000000) /usr/lib/libslang.so.1.4.9: linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7ef6000) libm.so.6 => /lib/libm.so.6 (0xb7ed2000) libc.so.6 => /lib/libc.so.6 (0xb7db6000) /lib/ld-linux.so.2 (0x80000000) /usr/lib/libslang-utf8.so: linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7e7e000) libm.so.6 => /lib/libm.so.6 (0xb7e5a000) libc.so.6 => /lib/libc.so.6 (0xb7d3e000) /lib/ld-linux.so.2 (0x80000000) /usr/lib/libslang-utf8.so.1: linux-gate.so.1 => (0xffffe000) libdl.so.2 => /lib/libdl.so.2 (0xb7f49000) libm.so.6 => /lib/libm.so.6 (0xb7f25000) libc.so.6 => /lib/libc.so.6 (0xb7e09000) /lib/ld-linux.so.2 (0x80000000) imho - everything _looks_ ok. I believed, that in portage's 'install stage', it check and replace symlinks... isn't it that way? Best regards, Przemek
Yeah, but it does not change the fact that it is bad ebuild coding. There is a workaround (FEATURES=-sandbox emerge -O slang), so its not like the user is stuck.
No longer reproducible w/ >=sandbox-1.2.17