When I tried to emerge app-editors/ted-2.12, i got the following error: ================================================================================ : you can now run 'make package.shared' AS ROOT : * To install Ted for yourself only : you can now run 'make private' cd tedPackage && make package.shared make[1]: Entering directory `/var/tmp/portage/ted-2.12/work/Ted-2.12/tedPackage' make[1]: aviso: jobserver indispon
When I tried to emerge app-editors/ted-2.12, i got the following error: ================================================================================ : you can now run 'make package.shared' AS ROOT : * To install Ted for yourself only : you can now run 'make private' cd tedPackage && make package.shared make[1]: Entering directory `/var/tmp/portage/ted-2.12/work/Ted-2.12/tedPackage' make[1]: aviso: jobserver indisponível: usando -j1. Inclua `+' na regra pai. sed -e "s:@SYSTEM@:Linux:g" \ -e "s:@MACHINE@:i686:g" \ -e "s:@PLATFORM@:Linux_i686:g" \ -e "s:@BINDIST@:Ted_Linux_i686:g" \ TedBindist.lsm.in > Ted_Linux_i686.lsm sed -e "s:@SYSTEM@:Linux:g" \ -e "s:@MACHINE@:i686:g" \ -e "s:@PLATFORM@:Linux_i686:g" \ -e "s:@BINDIST@:Ted_Linux_i686:g" \ -e "s:@I_PREFIX@:"/usr":g" \ installTed.sh.in > installTed.sh chmod 755 installTed.sh || ( rm installTed.sh && false ) sed -e "s:@SYSTEM@:Linux:g" \ -e "s:@MACHINE@:i686:g" \ -e "s:@PLATFORM@:Linux_i686:g" \ -e "s:@BINDIST@:Ted_Linux_i686:g" \ README.in > README : ========== NEEDS TO BE RUN AS ROOT ========== : rm -rf scratch : mkdir scratch mkdir scratch/bin : test x_$RPM_BUILD_ROOT != x_ || chown root:root scratch chown: mudando permissões de `scratch': Operação não permitida make[1]: ** [package.shared] Erro 1 make[1]: Leaving directory `/var/tmp/portage/ted-2.12/work/Ted-2.12/tedPackage' make: ** [package.shared] Erro 2 !!! ERROR: app-editors/ted-2.12 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! couldnt emake ================================================================================ I think that this error showed because "userpriv usersandbox" features. Then, i tried emerge one more time, without "sandbox userpriv usersandbox", got this error: ================================================================================ test -s Ted_Linux_i686.lsm test -x installTed.sh : Distribution is complete make[1]: Leaving directory `/var/tmp/portage/ted-2.12/work/Ted-2.12/tedPackage' : : Dynamically linked package ready. : To install Ted, you can now run 'make install' AS ROOT >>> Install ted-2.12 into /var/tmp/portage/ted-2.12/image/ category app-editors afm/ afm/Helvetica.afm afm/Symbol.afm afm/Courier-BoldOblique.afm afm/Helvetica-Oblique.afm afm/Helvetica-BoldOblique.afm afm/Times-BoldItalic.afm afm/Times-Italic.afm afm/Courier.afm afm/Helvetica-Bold.afm afm/Courier-Bold.afm afm/Courier-Oblique.afm afm/Times-Roman.afm afm/Times-Bold.afm bin/ bin/Ted ind/ ind/US_English.ind Ted/ Ted/rtf2ps.sh Ted/TedDocument-en_US.rtf Ted/Ted.ad.sample Ted/rtf2pdf.sh man: prepallstrip: strip: strip: usr/bin/Ted >>> Completed installing into /var/tmp/portage/ted-2.12/image/ /usr/sbin/ebuild.sh: line 1308: /var/tmp/portage/ted-2.12/temp/environment: Arquivo ou diretório não encontrado ================================================================================ Note: the error 'Arquivo ou diretório não encontrado' means 'File or directory not found' Reproducible: Always Steps to Reproduce: 1. emerge ted Here is the output of emerge info: ================================================================================ Portage 2.0.49-r2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-wolk4.9s) ================================================================= System uname: 2.4.20-wolk4.9s i686 AMD Athlon(tm) Processor ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-tbird -march=athlon-tbird -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -fstack-protector -fthread-jumps -falign-jumps=4 -falign-loops=4 -fprefetch-loop-arrays -ffast-math -mmmx -m3dnow -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-tbird -march=athlon-tbird -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -fstack-protector -fthread-jumps -falign-jumps=4 -falign-loops=4 -fprefetch-loop-arrays -ffast-math -mmmx -m3dnow -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache fixpackages userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss foomaticdb gnome mad berkdb bonobo 3dnow aalib alsa apm arts avi cdr cjk crypt cups dga directfb dvd encode esd fbcon flash gd gdbm ggi ggz gif gphoto2 gpm gtk doc gtk2 gtkhtml guile imap imlib ipv6 java jikes jpeg kde kerberos lcms ldap leim libg++ evo gb libgda libwww maildir mbox mikmod mmx mozilla mpeg mule nas ncurses nls odbc oggvorbis opengl pam pdflib perl pic plotutils png pnp postgres python qt qtmt quicktime readline ruby samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype wmf X xml xml2 xmms xv zeo zlib motif mpi" ================================================================================
Here is a patch to the current ebuild: --- /usr/portage/app-editors/ted/ted-2.12.ebuild 2003-04-01 21:17:58.000000000 -0300 +++ ted-2.12.ebuild 2003-09-18 03:22:26.000000000 -0300 @@ -15,6 +15,8 @@ >=media-libs/jpeg-6b >=media-libs/libpng-1.2.3" +RESTRICT="nouserpriv" + S="${WORKDIR}/Ted-${PV}" src_unpack() { @@ -56,6 +58,4 @@ dodir /usr/share/doc/${P} cp -R ${T}/pkg/Ted ${D}/usr/share/doc/${P} || die "couldnt cp temp/pkg/Ted" - - rm -rf ${T} } I don't know why RESTRICT="nouserpriv" does nothing, according to man 5 ebuild it should disable userpriv... But I placed the restrict in the ebuild anyway. To emerge the patched ebuild FEATURES="-userpriv" emerge ted-2.12.ebuild
is this still an issue ?
I don't now because I don't have a computer with gentoo to test anymore.
ops, s/now/know
Old. Not a portage issue. Closing due to age.