Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135266 - epix 1.0.0 didn't compile with gcc 4.1.1
Summary: epix 1.0.0 didn't compile with gcc 4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-02 06:26 UTC by Christian Pötzsch
Modified: 2006-06-24 05:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pötzsch 2006-06-02 06:26:58 UTC
epix 1.0.0 is not gcc 4 save. See output below. gcc 3.4.6 is no problem.

Calculating dependencies... done!
>>> Emerging (1 of 1) sci-visualization/epix-1.0.0 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking epix-1.0.0_complete.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking epix-1.0.0_complete.tar.bz2 to /var/tmp/portage/epix-1.0.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/epix-1.0.0/work/epix-1.0.0 ...
x86_64-pc-linux-gnu-g++ -c -Wall -march=k8 -pipe -funroll-loops -fomit-frame-pointer triples.cc
globals.h: In function 'void ePiX::dashed(double)':
globals.h:118: error: 'dash_fill' was not declared in this scope
globals.h: In function 'void ePiX::dotted(double)':
globals.h:123: error: 'dot_size' was not declared in this scope
make: *** [triples.o] Error 1

!!! ERROR: sci-visualization/epix-1.0.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  epix-1.0.0.ebuild, line 23:   Called die

!!! emake failed.
!!! If you need support, post the topmost build error, and the call stack if relevant.


Portage 2.1_rc3-r5 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 AMD Opteron(tm) Processor 248
Gentoo Base System version 1.12.0
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -pipe -funroll-loops -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/X11/serverconfig /etc/X11/starthere /etc/X11/sysconfig /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/sound /etc/terminfo /etc/texmf/web2c /usr/X11R6/lib/X11/xkb /usr/share/X11/xkb /usr/share/texmf/dvips/config /etc/env.d"
CXXFLAGS="-O3 -march=k8 -pipe -funroll-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LINGUAS="de en"
MAKEOPTS="-j3"
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.de.gentoo.org/gentoo-portage"
USE="amd64 X X509 aalib acpi avi bash-completion berkdb bitmap-fonts blas browserplugin bzip2 bzlib cairo cdr chroot cli crypt cups dbus divx4linux dvd dvdr dvi eds emacs emboss encode erandom f77 foomaticdb fortran gd gecko-sdk gif gimpprint glitz gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal howl idea imap imlib isdnlog java jbig jpeg lcms ldap libsexy lm_sensors logrotate lzw lzw-tiff mailwrapper md5sum mime mng mozcalendar mp3 mpeg mysql nas nautilus ncurses nis nls nntp nptl nptlonly nsplugin opengl pam pcre pdflib perl pic plotutils png ppds pppd python qt quicktime readline reflection rrdtool samba sasl sdl session sftplogging slp spell spl ssl svg t1lib tcpd tiff truetype truetype-fonts type1-fonts unicode usb vim-with-x wmf xinerama xml xml2 xorg xpm xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_en userland_GNU video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2006-06-03 07:53:10 UTC
Hi Christian,

Thanks for your report. Instead of trying to fix up epix-1.0.0 I've just
committed epix-1.0.7 to portage which compiles fine with gcc-4.1. 
Please give it a spin (it should hit the mirrors in an hour or so)
and let us know if this works for you.

Thanks,
Markus
Comment 2 Christian Pötzsch 2006-06-06 02:26:49 UTC
Hello Markus,
the build works now. But there is another problem with the samples. If the MAKEOPTS > -j1 the following error occurs:

make[1]: Entering directory `/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/samples'
../epix-local --no-defaults -I.. -L.. -lepix calculus.xp
../epix-local --no-defaults -I.. -L.. -lepix clipping.xp
../epix-local --no-defaults -I.. -L.. -lepix contour.xp
../epix-local --no-defaults -I.. -L.. -lepix cropplot.xp
../epix-local --no-defaults -I.. -L.. -lepix denom.xp
../epix-local --no-defaults -I.. -L.. -lepix geomsum.xp
../epix-local --no-defaults -I.. -L.. -lepix koch.xp
../epix-local --no-defaults -I.. -L.. -lepix levelset.xp
../epix-local --no-defaults -I.. -L.. -lepix lissajous.xp
../epix-local --no-defaults -I.. -L.. -lepix newton.xp
../epix-local --no-defaults -I.. -L.. -lepix oscillator.xp
../epix-local --no-defaults -I.. -L.. -lepix parabola.xp
../epix-local --no-defaults -I.. -L.. -lepix pascal.xp
../epix-local --no-defaults -I.. -L.. -lepix polar.xp
../epix-local --no-defaults -I.. -L.. -lepix pole.xp
../epix-local --no-defaults -I.. -L.. -lepix shadeplot.xp
../epix-local --no-defaults -I.. -L.. -lepix slopefield.xp
../epix-local --no-defaults -I.. -L.. -lepix sphere.xp
../epix-local --no-defaults -I.. -L.. -lepix sqrt.xp
../epix-local --no-defaults -I.. -L.. -lepix torus.xp
../epix-local --no-defaults -I.. -L.. -lepix uppersum.xp
../epix-local --no-defaults -I.. -L.. -lepix weierstrass.xp
../epix-local --no-defaults -I.. -L.. -lepix wheel.xp
latex -interaction=batchmode sample &>/dev/null
latex -interaction=batchmode sample &>/dev/null
touch sample-stamp
../laps-local --pdf sample.tex
../laps-local sample.tex
tar -cf sample_src.tar sample.tex calculus.xp clipping.xp contour.xp cropplot.xp denom.xp geomsum.xp koch.xp levelset.xp lissajous.xp newton.xp oscillator.xp parabola.xp pascal.xp polar.xp pole.xp shadeplot.xp slopefield.xp sphere.xp sqrt.xp torus.xp uppersum.xp weierstrass.xp wheel.xp calculus.eepic clipping.eepic contour.eepic cropplot.eepic denom.eepic geomsum.eepic koch.eepic levelset.eepic lissajous.eepic newton.eepic oscillator.eepic parabola.eepic pascal.eepic polar.eepic pole.eepic shadeplot.eepic slopefield.eepic sphere.eepic sqrt.eepic torus.eepic uppersum.eepic weierstrass.eepic wheel.eepic extras
gzip -9 sample_src.tar
laps-local: WARNING: dvips -f -o sample.ps sample.dvi failed
gzip -9 sample.pdf
gzip: sample.pdf: No such file or directory
make[1]: *** [sample.pdf.gz] Error 1
make[1]: *** Waiting for unfinished jobs....
gzip -9 sample.ps
make[1]: Leaving directory `/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/samples'
make: *** [all-recursive] Error 1

!!! ERROR: sci-visualization/epix-1.0.7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  epix-1.0.7.ebuild, line 32:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

It's no problem if MAKEOPTS=-j1 is set. 

Thanks
Christian
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2006-06-06 06:29:38 UTC
(In reply to comment #1)
> Thanks for your report. Instead of trying to fix up epix-1.0.0 I've just
> committed epix-1.0.7 to portage which compiles fine with gcc-4.1. 
> Please give it a spin (it should hit the mirrors in an hour or so)
> and let us know if this works for you.

I have trouble with the build.

Making all in doc
make[1]: Entering directory `/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/doc'
../epix-local --no-defaults -I.. -L.. -lepix -v tori.xp
ACCESS DENIED  open_wr:   /dev/stdout
/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/epix-lib.sh: line 26: /dev/stdout: Permission denied
ACCESS DENIED  open_wr:   /dev/stdout
/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/epix-lib.sh: line 26: /dev/stdout: Permission denied
ACCESS DENIED  open_wr:   /dev/stdout
/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/epix-lib.sh: line 49: /dev/stdout: Permission denied
ACCESS DENIED  open_wr:   /dev/stdout
/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/epix-lib.sh: line 26: /dev/stdout: Permission denied
ACCESS DENIED  open_wr:   /dev/stdout
Comment 4 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-06-06 07:31:44 UTC
I am also experiencing similar issues with this version - it was a very fragile package the last time I touched it and it looks like it has become even more fragile. I hate forcing -j1, but that may be the best course of action unless anyone has time to come up with a patch for it? I am run off my feet right now but will take a closer look at the build process when I get chance.
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2006-06-06 15:10:53 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Thanks for your report. Instead of trying to fix up epix-1.0.0 I've just
> > committed epix-1.0.7 to portage which compiles fine with gcc-4.1. 
> > Please give it a spin (it should hit the mirrors in an hour or so)
> > and let us know if this works for you.
> 
> I have trouble with the build.
> 

Hi Patrick,

Thanks for reporting this and I believe I just fixed it in CVS.

Unfortunately, I don't hit this problem with MAKEOPTS > -j1
and can't, therefore, debug it very easily. Hence, I'd also
tend to just force -j1 for now. Any thoughts?

best,
Markus
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2006-06-07 01:15:13 UTC
(In reply to comment #5)
> Thanks for reporting this and I believe I just fixed it in CVS.

Almost.

make[1]: Entering directory `/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/doc'
../epix-local --no-defaults -I.. -L.. -lepix tori.xp
latex -interaction=batchmode manual &>/dev/null
latex -interaction=batchmode manual &>/dev/null
makeindex manual.idx &>/dev/null
touch manual-stamp
../laps-local --pdf manual.tex
../laps-local manual.tex
ACCESS DENIED  open_wr:   /dev/stderr
ACCESS DENIED  open_wr:   /dev/stderr
/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/epix-lib.sh: line 30: /dev/stderr: Permission denied
/var/tmp/portage/epix-1.0.7/work/epix-1.0.7/epix-lib.sh: line 30: /dev/stderr: Permission denied

Committed a fix to CVS, works for me now, please give it a try.
Comment 7 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-06-07 02:04:51 UTC
I didn't manage to reproduce your Permission denied errors here either. Wonder why they are manifesting for you.
Comment 8 Patrick Kursawe (RETIRED) gentoo-dev 2006-06-07 04:56:56 UTC
(In reply to comment #7)
> I didn't manage to reproduce your Permission denied errors here either. Wonder
> why they are manifesting for you.

I have a mainly x86 (not ~x86) system - sandbox version 1.2.17, if that matters.
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2006-06-07 15:20:59 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Thanks for reporting this and I believe I just fixed it in CVS.

Everything works fine, thanks! I am slightly puzzled about epix's
build system since like cryos I don't seem to get any of your
errors. 

Markus
Comment 10 Markus Dittrich (RETIRED) gentoo-dev 2006-06-24 05:10:33 UTC
Ok, I've just updated the ebuild to force -j1 since I was unable to fix
the Makefile and another bug was opened with the same symptoms
(#137762). I'll close this bug then.

Thanks,
Markus