Summary: | media-gfx/povray-3.50a.ebuild won't compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rigo <rigo> |
Component: | Current packages | Assignee: | Ryan Phillips (RETIRED) <rphillips> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | darkspecter, fghellar |
Priority: | High | ||
Version: | 1.3 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | povray-3.50a.ebuild |
I think this is due to the mirroring of the file... The filenames of the ebuilds are the same... It should be resolved now. The ebuild failed to compile here with gcc-2.95.3-r5 on i686. The last lines are: g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3 -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c csg.cpp g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3 -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c discs.cpp g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3 -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c express.cpp g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3 -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c file_pov.cpp g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3 -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c fncode.cpp g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3 -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c fnintern.cpp express.cpp: In function `void Parse_Num_Factor(double *, int *)': express.cpp:724: implicit declaration of function `int acosh(...)' express.cpp:727: implicit declaration of function `int asinh(...)' express.cpp:730: implicit declaration of function `int atanh(...)' express.cpp:1023: warning: assignment to `int' from `double' make: *** [express.o] Error 1 make: *** Waiting for unfinished jobs.... fnintern.cpp: In function `double f_hetero_mf(double *, unsigned int)': fnintern.cpp:641: warning: initialization to `int' from `double' fnintern.cpp:647: warning: `double' used for argument 1 of `pov_malloc(unsigned int, char *, int, char *)' fnintern.cpp: In function `double f_ridge(double *, unsigned int)': fnintern.cpp:956: warning: initialization to `int' from `double' fnintern.cpp: In function `double f_ridged_mf(double *, unsigned int)': fnintern.cpp:1000: warning: initialization to `int' from `double' fnintern.cpp:1009: warning: `double' used for argument 1 of `pov_malloc(unsigned int, char *, int, char *)' fnintern.cpp: In function `double f_noise_generator(double *, unsigned int)': fnintern.cpp:1224: warning: initialization to `int' from `double' !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 20, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-gfx/povray/povray-3.50a.ebuild . Hmm, strange that it even started to compile at your machine....All mine did now was building a corrupt file (started downloading +/- 950K from ibiblio, and went on after the new file at povray.org ~;) ? <SNIP> Calculating world dependencies ...done! >>> emerge media-gfx/povray-3.50a to / >>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/povuni_s.tgz --15:42:43-- http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/povuni_s.tgz => `/usr/portage/distfiles/povuni_s.tgz' Resolving www.ibiblio.org... done. Connecting to www.ibiblio.org[152.2.210.81]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 946,513 [application/x-tar] 100%[==================================================================================================>] 946,513 213.08K/s ETA 00:00 15:42:47 (213.08 KB/s) - `/usr/portage/distfiles/povuni_s.tgz' saved [946513/946513] >>> Resuming download... >>> Downloading ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz --15:42:47-- ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz => `/usr/portage/distfiles/povuni_s.tgz' Resolving ftp.povray.org... done. Connecting to ftp.povray.org[204.213.191.228]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/povray/Official/Unix ... done. ==> SIZE povuni_s.tgz ... done. ==> PASV ... done. ==> REST 946513 ... done. ==> RETR povuni_s.tgz ... done. Length: 6,732,280 [5,785,767 to go] 100%[==================================================================================================>] 6,732,280 47.70K/s ETA 00:00 15:44:51 (47.70 KB/s) - `/usr/portage/distfiles/povuni_s.tgz' saved [6732280] !!! povuni_s.tgz: message digests do not match! !!! povuni_s.tgz is corrupt or incomplete. >>> our recorded digest: 4df1711c15d39ee6265ada8ceff78f52 >>> your file's digest: de497b8eeff7e51741724eaac8a56345 >>> Please delete /usr/portage/distfiles/povuni_s.tgz and refetch. !!! emerge aborting on /usr/portage/media-gfx/povray/povray-3.50a.ebuild . </SNIP> Duh, & after the digest message: <SNIP> Calculating world dependencies ...done! >>> emerge media-gfx/povray-3.50a to / >>> md5 ;-) povuni_s.tgz >>> Unpacking source... >>> Unpacking povuni_s.tgz gzip: stdin: decompression OK, trailing garbage ignored tar: Child returned status 2 tar: Error exit delayed from previous errors /usr/sbin/ebuild.sh: die: command not found >>> Source unpacked. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -137, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/media-gfx/povray/povray-3.50a.ebuild . </SNIP> The package file should be fixed on ibiblio in about an hour of this post... The mirroring just has to take affect. The error I posted above happened with the correct tgz file, which I had manually downloaded from ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz and put in /usr/portage/distfiles. same error with icc sorry, it's already late here ;) here's the error: g++: /var/tmp/portage/povray-3.50a/icc-pgo: linker input file unused since linking not done g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.icc\" -DSYSCONFDIR=\"/etc\" -prof_gen -prof_dir /var/tmp/portage/povray-3.50a/icc-pgo -O3 -axiMKW -ansi -c `if [ "Xicc" = "Xicc" ]; then echo "-Wno-multichar"; fi ` -c discs.cpp g++: unrecognized option `-prof_gen' g++: unrecognized option `-prof_dir' g++: /var/tmp/portage/povray-3.50a/icc-pgo: linker input file unused since linking not done g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.icc\" -DSYSCONFDIR=\"/etc\" -prof_gen -prof_dir /var/tmp/portage/povray-3.50a/icc-pgo -O3 -axiMKW -ansi -c `if [ "Xicc" = "Xicc" ]; then echo "-Wno-multichar"; fi ` -c express.cpp g++: unrecognized option `-prof_gen' g++: unrecognized option `-prof_dir' express.cpp: In function `void Parse_Num_Factor(double *, int *)': express.cpp:724: implicit declaration of function `int acosh(...)' express.cpp:727: implicit declaration of function `int asinh(...)' express.cpp:730: implicit declaration of function `int atanh(...)' express.cpp:1023: warning: assignment to `int' from `double' make: *** [express.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 20, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-gfx/povray/povray-3.50a.ebuild . Tweaked the ebuild... committed it, but I'll post it here too. Created attachment 2942 [details]
povray-3.50a.ebuild
for me the ebuild now works with both gcc and icc (icc only whith USE="-icc-pgo" because there are no pgo profiles in the ebuild) but there still seem to be a few bugs with icc: [snip] icc -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.icc\" -DSYSCONFDIR=\"/etc\" -O3 -xiK -wp_ipo `if [ "Xicc" = "Xicc" ]; then echo "-Wno-multichar"; fi ` -c unix.cpp icc: Command line warning: ignoring option '-W'; no argument required unix.cpp icc -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\" -DCOMPILER_VER=\".Linux.icc\" -DSYSCONFDIR=\"/etc\" -O3 -xiK -wp_ipo -mcpu=i686 -march=i686 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -c povxlib.c icc: Command line warning: ignoring unknown option '-mcpu=i686' icc: Command line warning: ignoring unknown option '-march=i686' icc: Command line warning: ignoring option '-p'; no argument required icc: Command line warning: ignoring unknown option '-fforce-addr' icc: Command line warning: ignoring unknown option '-fomit-frame-pointer' icc: Command line warning: ignoring unknown option '-funroll-loops' icc: Command line warning: ignoring unknown option '-frerun-cse-after-loop' icc: Command line warning: ignoring unknown option '-frerun-loop-opt' icc: Command line warning: ignoring unknown option '-malign-functions=4' povxlib.c icc `if [ "Xicc" = "Xicc" ]; then echo "-Wno-multichar"; fi ` -static -I/usr/X11R6/include -o povray atmosph.o bbox.o bcyl.o benchmark.o bezier.o blob.o boxes.o bsphere.o camera.o chi2.o colour.o colutils.o cones.o csg.o discs.o express.o file_pov.o fncode.o fnintern.o fnpovfpu.o fnsyntax.o fpmetric.o fractal.o function.o gif.o gifdecod.o hcmplx.o hfield.o histogra.o iff.o image.o interior.o isosurf.o jpeg_pov.o lathe.o lbuffer.o lightgrp.o lighting.o matrices.o media.o mesh.o normal.o objects.o octree.o optin.o optout.o parse.o parsestr.o parstxtr.o pattern.o pgm.o photons.o pigment.o planes.o png_pov.o point.o poly.o polygon.o polysolv.o pov_mem.o povms.o povmscpp.o povmsend.o povmsrec.o povray.o pov_util.o ppm.o prism.o quadrics.o quatern.o rad_data.o radiosit.o ray.o render.o renderio.o sor.o spheres.o sphsweep.o splines.o statspov.o super.o targa.o texture.o tiff_pov.o tokenize.o torus.o triangle.o truetype.o txttest.o userdisp.o userio.o vbuffer.o vlbuffer.o warps.o unix.o povxlib.o -L/usr/X11R6/lib -lvgagl -lvga -ltiff -ljpeg -lpng -lz -lm -lX11 -ldl icc: Command line warning: ignoring option '-W'; no argument required [snip] it compiled and merged even though there was this malformed icc call right before the final linking, and it seems that -Wno-multichar confuses icc too. Bartosch: is ICC in your use flags? sure, icc and icc-pgo (that's why i have to emerge it with USE="icc-pgo") but icc-pgo doesn't work with the povray 3.50 ebuild because there are no pgo profiles yet. unmasked. |
1.3a, gcc 3.2pre, x86 Is variable S set correctly this way ? (SRC_URI=povuni_s.tgz <> P) root # emerge -u world Calculating world dependencies ...done! >>> emerge media-gfx/povray-3.50a to / >>> md5 ;-) povuni_s.tgz >>> Unpacking source... >>> Unpacking povuni_s.tgz >>> Source unpacked. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -136, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/media-gfx/povray/povray-3.50a.ebuild .