I'm running "emerge -Duvat world" which installs webmin-1.210, among other things. At the end of the webmin emerge process, it dies like this: * Applying webmin-1.170-setup-nocheck.patch ... [ ok ]>>> Source unpacked. >>> Test phase [not enabled]: app-admin/webmin-1.210 >>> Install webmin-1.210 into /var/tmp/portage/webmin-1.210/image/ category app-admin man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded usr/libexec/webmin/acl/Authen-SolarisRBAC-0.1/blib/arch/auto/Authen/SolarisRBAC/SolarisRBAC.so i686-pc-linux-gnu-strip: Unable to recognise the format of the input file /var/tmp/portage/webmin-1.210/image/usr/libexec/webmin/acl/Authen-SolarisRBAC-0.1/blib/arch/auto/Authen/SolarisRBAC/SolarisRBAC.so usr/libexec/webmin/acl/Authen-SolarisRBAC-0.1/blib/arch/auto/Authen/SolarisRBAC/SolarisRBAC.so will contain runtime text relocations Text relocations require a lot of extra work to be preformed by the dynamic linker which will cause serious performance impact on IA-32 and might not function properly on other architectures hppa for example. If you are a programmer please take a closer look at this package and consider writing a patch which addresses this problem. strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded >>> Completed installing webmin-1.210 into /var/tmp/portage/webmin-1.210/image/ Then, I'm back at the command prompt and the other, remaining packages do not get installed. I've seen a somewhat similar behaviour during the non-working installation of PAM (see Bug 85679). There, emerge also just died. $ emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11-ck10.ASN.006.reiser4.patch-4.no-proc-pci.xfs-module i686) ================================================================= System uname: 2.6.11-ck10.ASN.006.reiser4.patch-4.no-proc-pci.xfs-module i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 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.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distfiles.gentoo.org/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X acl alsa apache2 apm arts artswrappersuid async avi bash-completion bluetooth bonobo calendar cdda cddb cdparanoia cdr cdrom codecs crypt cscope css cups divx4linux dvdread encode esd ethereal exif fam fbcon fbdev ffmpeg fftw firefox flash foomaticdb ftp gd gdbm gif gimp gimpprint gmail gnokii gnome gphoto2 gpm gs gstreamer gtk gtk2 guile hal iconv idn imagemagick imap imlib java javascript jpeg kde kdeenablefinal kdexdeltas libwww logitech-mouse logrotate lufsusermount lzw lzw-tiff mad maildir matroska matrox mbox mime mmap mmx mng mozdevelop mozilla moznocompose moznoirc mozp3p mozsvg mp3 mpeg mplayer ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro nopop3d noregexp norhino noxalan noxerces offensive ofx ogg oggvorbis opengl oss pam parse-clocks pcntl pcre pda pdflib perl pic pie png posix ppds python qt quicktime quotes rdesktop readline real recode samba sasl shared slang sockets speex spell sse ssl svg symlink sysvipc tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles vcd videos vim vim-pager vim-with-x vorbis wmf wsconvert x11vnc xchattext xfs xine xml2 xmms xv xvid zlib video_cards_matrox linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY
I dont see how it can be the same as bug #85679, as that actually aborts with an error message.
Yes, sometimes it does abort with an error message. Not all the time though. At least for me not.
That is a sparc binary packaged with webmin. It's safe for you to ignore that error... In a future release, I'll prevent it from installing.
Pardon, how can I ignore, that emerge doesn't go on and dies during the installation of webmin? To clarify: The bug is about emerge, which dies during the installation phase of webmin and doesn't go on to install the other packages that have to be installed.
uhm... looks fine to me... it completes the compile/install according to your log... Can you please give me the full log of 'emerge -v webmin' what options are you passing to emerge? You listed '-t' in the report, but that would just imply --pretend, so I just want to clarify your actual args... either way, this seems to be a portage bug if that's the case...
(In reply to comment #5) > uhm... looks fine to me... it completes the compile/install according to your log... No, it doesn't. As I wrote, it dies during the installation phase (the last phase). > > Can you please give me the full log of 'emerge -v webmin' what options are you > passing to emerge? I had called: emerge -Duvat world. It also dies with "emerge -vat webmin". "-t" does NOT imply "-p". > You listed '-t' in the report, but that would just imply > --pretend, Nope, it doesn't. > either way, this seems to be a portage bug if that's the case... Yep. [08:58:59 alexander@server:~] $ sudo emerge -vp webmin These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-admin/webmin-1.210 +apache2 +pam -postgres +ssl -webmin-minimal 0 kB Total size of downloads: 0 kB The actual builing/installation is of course done without the -p :)
Ah! Now all of a sudden the following error message becomes visible: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded >>> Completed installing webmin-1.210 into /var/tmp/portage/webmin-1.210/image/ --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-app-admin_-_webmin-1.210-428.log" access_wr: /var/lib/rpm access_wr: /var/lib/rpm -------------------------------------------------------------------------------- IMO, there are TWO bugs here: 1) Why does emerge die too soon? 2) How to fix this sandbox error?
Same problem here...
Ok, then can you please provide me with the full log of 'emerge -v webmin'? I need to see earlier possible errors to find out when this is occuring as for some strange reason, it doesn't happen on my system...
There isn't all that much output... [06:08:11 alexander@server:~] $ time sudo emerge -v webmin Calculating dependencies ...done! >>> emerge (1 of 1) app-admin/webmin-1.210 to / >>> md5 files ;-) webmin-1.160.ebuild >>> md5 files ;-) webmin-1.170-r3.ebuild >>> md5 files ;-) webmin-1.200-r1.ebuild >>> md5 files ;-) webmin-1.200.ebuild >>> md5 files ;-) webmin-1.210.ebuild >>> md5 files ;-) files/digest-webmin-1.160 >>> md5 files ;-) files/digest-webmin-1.170-r3 >>> md5 files ;-) files/digest-webmin-1.200 >>> md5 files ;-) files/digest-webmin-1.200-r1 >>> md5 files ;-) files/digest-webmin-1.210 >>> md5 files ;-) files/init.d.webmin >>> md5 files ;-) files/uninstall.sh >>> md5 files ;-) files/webmin-gentoo-init >>> md5 files ;-) files/webmin-pam >>> md5 files ;-) files/virtual-server-2.31-pgsql.patch >>> md5 files ;-) files/virtual-server-2.31-nocgibin.patch >>> md5 files ;-) files/virtual-server-2.31-checkip.patch >>> md5 files ;-) files/virtual-server-2.60-nocgibin.patch >>> md5 files ;-) files/virtual-server-2.31-namevirtual.patch >>> md5 files ;-) files/webmin-1.130-webalizer.patch >>> md5 files ;-) files/webmin-1.140-apache2.patch >>> md5 files ;-) files/webmin-1.170-postfix.patch >>> md5 files ;-) files/webmin-1.170-setup-nocheck.patch >>> md5 src_uri ;-) webmin-1.210.tar.gz >>> md5 src_uri ;-) virtual-server-2.60.wbm.gz >>> Unpacking source... >>> Unpacking webmin-1.210.tar.gz to /var/tmp/portage/webmin-1.210/work >>> Unpacking virtual-server-2.60.wbm.gz to /var/tmp/portage/webmin-1.210/work * Applying webmin-1.130-webalizer.patch ... [ ok ] * Applying webmin-1.140-apache2.patch ... [ ok ] * Applying webmin-1.170-postfix.patch ... [ ok ] * Applying virtual-server-2.60-nocgibin.patch ... [ ok ] * Applying virtual-server-2.31-checkip.patch ... [ ok ] * Applying virtual-server-2.31-pgsql.patch ... [ ok ] * Applying virtual-server-2.31-namevirtual.patch ... [ ok ] * Applying webmin-1.170-setup-nocheck.patch ... [ ok ]>>> Source unpacked. >>> Test phase [not enabled]: app-admin/webmin-1.210 >>> Install webmin-1.210 into /var/tmp/portage/webmin-1.210/image/ category app-admin man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded usr/libexec/webmin/acl/Authen-SolarisRBAC-0.1/blib/arch/auto/Authen/SolarisRBAC/SolarisRBAC.so i686-pc-linux-gnu-strip: Unable to recognise the format of the input file /var/tmp/portage/webmin-1.210/image/usr/libexec/webmin/acl/Authen-SolarisRBAC-0.1/blib/arch/auto/Authen/SolarisRBAC/SolarisRBAC.so usr/libexec/webmin/acl/Authen-SolarisRBAC-0.1/blib/arch/auto/Authen/SolarisRBAC/SolarisRBAC.so will contain runtime text relocations Text relocations require a lot of extra work to be preformed by the dynamic linker which will cause serious performance impact on IA-32 and might not function properly on other architectures hppa for example. If you are a programmer please take a closer look at this package and consider writing a patch which addresses this problem. strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded >>> Completed installing webmin-1.210 into /var/tmp/portage/webmin-1.210/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-admin_-_webmin-1.210-11728.log" access_wr: /var/lib/rpm access_wr: /var/lib/rpm --------------------------------------------------------------------------------
same here
wtf... it's giving a summary of the violations, but it's not showing the violations during the normal install... ok... well can youu try adding: addpredict /var/lib/rpm at the top of src_install(). If that doesn't work, add it at the top of src_compile(). Please let me know which location fixes it, and I'll put it into portage. Thanks
I added it to src_install() { addpredict /var/lib/rpm This fixed the problem
While we're at it - could you please have a look at bug 98606?
fixed in cvs, thanks.