make[1]: Entering directory `/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples' ../epix-local --no-defaults -I.. -L.. -lepix -v calculus.xp epix-local: Processing calculus.xp: epix-local: i686-pc-linux-gnu-g++ epix-local-21268/calculus-tmp.cc -w -o epix-local-21268/calculus -I.. -L.. -lm -lepix epix-local: Writing eepic file: ./epix-local-21268/calculus > calculus.eepic Transcript written on calculus_xp.log latex -interaction=batchmode sample &>/dev/null make[1]: *** [sample-stamp] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples' make: *** [all-recursive] Error 1 If I do manually: root@thinkpad:/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples(38)# latex -interaction=batchmode sample This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) entering extended mode I get: root@thinkpad:/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples(39)# echo $? 1 root@thinkpad:/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples(44)# emerge --info Portage 2.1.2_rc1-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-rc4 i686) ================================================================= System uname: 2.6.19-rc4 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.12.6 Last Sync: Sat, 11 Nov 2006 12:01:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.caliu.info/pub/gentoo/ http://ftp.caliu.info/pub/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://www.gigaload.org/gentoo.org/" LINGUAS="de fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac acpi amrr aotuv ap apache2 asf atlas auctex audiofile automount berkdb bitmap-fonts blas bonobo bzip2 cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi cli corba cracklib crypt cups curl daap dbus devmap dga dlloader dri dvb dvd dvi dxr3 dynagraph effects elf elibc_glibc emacs epiphany esd evo evolution exif expat fam fame ffmpeg fftw fits flac fltk fortran fpx gdal gdbm geos ginac glade glitz gml gmp gnome gnuplot gphoto2 gpm graphviz grass gs gsl gsm gtk guile hal hardened hddtemp hdf hdf5 hlapi iconv icq id3 imagemagick innodb input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jabber jbig john jp2 jpeg jpeg2k kernel_linux kexi lame lapack latex lcms ldap libg++ libgda libsamplerate linguas_de linguas_fr lirc lua lzo lzw madwifi math matroska mmx mmxext mng mod mono mozcalendar mozdevelop mozsvg mozxmlterm mp4live mpeg2 mplayer musicbrainz mysql mysqli nautilus ncurses netcdf network nfs nls nntp nptl nptlonly ntfs numarray numeric ocaml octave odbc ogdi pam pcre pdf perl plotutils plugin png posix postgres ppds pppd proj python qhull readline real reflection reiserfs rhythmbox rle rrdcgi rrdtool samba session slang slp sndfile snmp sox spl sqlite sse sse2 ssl subtitles svg t1lib tcltk tcpd tetex theora tidy tiff tk truetype-fonts type1-fonts udev unicode userland_GNU v4l2 video_cards_fbdev video_cards_radeon video_cards_vesa wifi win32codecs wmf xemacs xext xine xml2 xmlreader xmlrpc xorg xpm xvid xvmc zlib zvbi" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Juergen
Hi Juergen, Thanks for your bug report! Unfortunately, I can't reproduce this here on my box at all. I suspect that this might be one of those infamous MAKEOPTS bugs. Hence, could you please try with -j1 and see if that works. Thanks, Markus
Hi Markus, still the same error with MAKEOPTS="-j1": root@thinkpad:/root(4)# emerge --info | grep MAKE MAKEOPTS="-j1" root@thinkpad:/root(5)# emerge -uvD epix ... Transcript written on calculus_xp.log latex -interaction=batchmode sample &>/dev/null make[1]: *** [sample-stamp] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples' make: *** [all-recursive] Error 1 Juergen
(In reply to comment #2) > Hi Markus, > > still the same error with MAKEOPTS="-j1": [...] > latex -interaction=batchmode sample &>/dev/null > make[1]: *** [sample-stamp] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples' Could you please cd into the samples directory and run latex -interaction=batchmode sample without redirecting the output to /dev/null?
(In reply to comment #3) > (In reply to comment #2) > > Hi Markus, > > > > still the same error with MAKEOPTS="-j1": > [...] > > latex -interaction=batchmode sample &>/dev/null > > make[1]: *** [sample-stamp] Error 1 > > make[1]: Leaving directory > > `/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples' > > Could you please cd into the samples directory and run > latex -interaction=batchmode sample > without redirecting the output to /dev/null? > I believe Juergen tried this already (see original post). This must be some permission issue triggered inside the sandbox. Could you please try the below patch which redirects all output to /dev/null (instead of /dev/stdout and /dev/stderr). Thanks, Markus
Created attachment 101917 [details, diff] patch redirecting all ouput to /dev/null
How can I use this patch? If I perform patch -p0 < ~rose/Desktop/epix-1.0.20.ebuild.patch in the /var/tmp/portage/sci-visualization/epix-1.0.20/build-info directory epix-1.0.20.ebuild is patched. But the next 'emerge epix' creates a new /var/tmp/portage/sci-visualization/epix-1.0.20/ Directory and my patch disappears. If I do in this directory after patching 'ebuild epix-1.0.20.ebuild compile' or 'ebuild epix-1.0.20.ebuild merge', I get: Appending /var/tmp/portage/sci-visualization to PORTDIR_OVERLAY... !!! /var/tmp/portage/sci-visualization does not seem to have a valid PORTDIR structure.
Hi Juergen, To do this patching/testing cycle you should work in your PORTDIR_OVERLAY directory as defined in /etc/make.conf. Typically, this would be /usr/local/portage. In PORTDIR_OVERLAY do the following: 1) create the directory sci-visualization 2) cd into it and "cp -r /usr/portage/sci-visualization/epix" . 3) cd into epix and apply the patch to the ebuild 4) redigest via "ebuild epix-1.0.20.ebuild digest" 5) compile & install the image via "ebuild epix-1.0.20.ebuild install" I hope that works. Best, Markus
Hi Markus, thanks for the hints. I did: root@thinkpad:/usr/local/portage/sci-visualization(17)# cp -a /usr/portage/sci-visualization/epix/ . root@thinkpad:/usr/local/portage/sci-visualization(18)# cd epix/ root@thinkpad:/usr/local/portage/sci-visualization/epix(20)# patch -p0 < ~rose/Desktop/epix-1.0.20.ebuild.patch patching file epix-1.0.20.ebuild root@thinkpad:/usr/local/portage/sci-visualization/epix(21)# ebuild epix-1.0.20.ebuild digest >>> Creating Manifest for /usr/local/portage/sci-visualization/epix digest.assumed 1 digest-epix-1.0.0::epix-1.0.0_complete.tar.bz2 root@thinkpad:/usr/local/portage/sci-visualization/epix(22)# ebuild epix-1.0.20.ebuild install * epix-1.0.20.tar.bz2 MD5 ;-) ... [ ok ] * epix-1.0.20.tar.bz2 RMD160 ;-) ... [ ok ] * epix-1.0.20.tar.bz2 SHA1 ;-) ... [ ok ] * epix-1.0.20.tar.bz2 SHA256 ;-) ... [ ok ] * epix-1.0.20.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking epix-1.0.20.tar.bz2 ;-) ... [ ok ] >>> Checking epix-1.0.20.tar.bz2's mtime... >>> WORKDIR is up-to-date, keeping... >>> Compiling source in /var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20 ... ... Making all in samples make[1]: Entering directory `/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples' latex -interaction=batchmode sample &>/dev/null make[1]: *** [sample-stamp] Error 1 make[1]: Leaving directory `/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples' make: *** [all-recursive] Error 1 ... Then I erased /var/tmp/portage/sci-visualization/epix-1.0.20 and tried once more, but no improvement: root@thinkpad:/usr/local/portage/sci-visualization/epix(23)# rm -r /var/tmp/portage/sci-visualization/epix-1.0.20 root@thinkpad:/usr/local/portage/sci-visualization/epix(24)# ebuild epix-1.0.20.ebuild install * epix-1.0.20.tar.bz2 MD5 ;-) ... [ ok ] ... Making all in samples make[1]: Entering directory `/var/tmp/portage/sci-visualization/epix-1.0.20/work/epix-1.0.20/samples' ../epix-local --no-defaults -I.. -L.. -lepix -v calculus.xp latex -interaction=batchmode sample &>/dev/null make[1]: *** [sample-stamp] Error 1 I would appreciate further hints. Juergen
What version of latex do you have installed? From your initial comment it seems like you have trouble latexing "sample.tex". Could you please unpack the epix tarball somewhere and run "latex sample" so we can see where it fails. Thanks, Markus
Created attachment 102055 [details] sample.log It seems that I have a pstricks problem with l.35 \definecolor{darkgray}{gray}{.25} The control sequence at the end of the top line of your error message was never \def'ed. If you have I attached sample.log. Juergen
Yes, it looks like this is latex's fault not epix's. Could you please try re-emerging tetex and see if this fixes it. Thanks, Markus
I'm not really sure, if I want to reemerge tetex. In July I tried to use Pstricks. I had to update several pstricks modules, which were too old in tetex, which was installed in June last time. So I am a little bit afraid, that a new installation of tetex will downgrade my pstricks modules. Regards Juergen
Hi Juergen, It seems that whatever you manually did to your latex install, it "broke" some part of pstricks causing this problem with epix. It is up to you to decide if you'd like to keep what you have or start over with a clean install of tetex. In any case, I will close this bug as invalid since nothing can be done about it from an epix point of view until your latex installation is fixed. Please feel free to re-open this bug if a clean latex install still causes you trouble. I've been using the tetex-3.0 in portage extensively and never encountered any problems with pstricks. You might want to ping the gentoo latex maintainers if you feel that whatever pstricks comes with tetex-3.0 is outdated. Best, Markus