the netpbm-10.11.4 package has support for SVGAlib in it (netpbm-10.11.4/other/ppmsvgalib.c) But the ebuild doesnt handle the variable (LINUXSVGALIB) in Makefile.config !!
Created attachment 7052 [details] emerge output output from make command
do have media-libs/svgalib installed ?
ooops, sorry, forgot that: i dont have svgalib installed because svgalib is x86 only!
and you have -svga in your use flag ?
netpbm-10.11.4.ebuild doesn't attempt to handle the svgalib dependancy at all. If possible from their configure it should be disabled unless svga USE is set. THis makes it unusable on anything htat is non x86 currently.
*** Bug 13399 has been marked as a duplicate of this bug. ***
martin, my initial description wasnt very descriptive. i thought it would be obvious that i have -svga in my use flags, cos this feature is not available on the ppc platform. please bear with me. i'm new to gentoo bugreporting. :-) so, what to do? remove all keywords from the ebuild except "~x86" ? that would stop more bugreports on this problem. and reopen a new bugreport, to introduce the useflag dependancy for svga. (mark can you do this?)
mark, martin, im a little bit confused with the names. :-? i meant martin NOT mark.
no, it's ok the way it is right now. Martin did some work on it, but it's still being fussy. I'm going to attempt a slightly different approach on it tomorrow and we'll see how it goes. If tomorrow I can't resolve it I'll make it -ppc temporarily until it can get fixed
ok, i succesfully emerged netpbm-10.4.11 now. so, the fixes from martin seem to work for me. :-)
gerk: how about you ? does it works for you ?
yep Martin sorry, it's ok for me as well I think. I will re-test tonight and close this bug if it's ok
Just thought I'd add that I reported a bug for this package for sparc, in which cc -c -I/usr/obj/portage/netpbm-10.11.4/work/netpbm-10.11.4/generator -I. \ -pedantic -mcpu=ultrasparc -mtune=ultrasparc -O3 -pipe -fomit-frame-pointer -Wall -Wno-uninitialized -Wmissing-declarations -Wimplicit -Wwrite-strings -o ppmpat.o ppmpat.c ppmpat.c: In function `sq_assign_colors': ppmpat.c:860: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. make[1]: *** [ppmpat.o] Error 1 make[1]: Leaving directory `/usr/obj/portage/netpbm-10.11.4/work/netpbm-10.11.4/generator' make: *** [generator/all] Error 2 !!! ERROR: media-libs/netpbm-10.11.4 failed. !!! Function src_compile, Line 46, Exitcode 2 !!! (no error message) prevents the ebuild from completing. My bug was marked a duplicate of this bug, and it seems in order to resolve this situation, svgalib is needed. However, svgalib is currently "~x86 -ppc -sparc". According to comments here, it seems this error is resolved on ppc, but it does not compile to completetion on sparc. gtf/gtfcalc.c: In function `GTF_calcTimings': gtf/gtfcalc.c:125: warning: `hPeriod' might be used uninitialized in this function gtf/gtfcalc.c:128: warning: `hPeriodEst' might be used uninitialized in this function gtf/gtfcalc.c:128: warning: `vSyncBP' might be used uninitialized in this function gtf/gtfcalc.c:128: warning: `vBackPorch' might be used uninitialized in this function gtf/gtfcalc.c:129: warning: `vTotalLines' might be used uninitialized in this function gtf/gtfcalc.c:131: warning: `idealDutyCycle' might be used uninitialized in this function gtf/gtfcalc.c: At top level: gtf/gtfcalc.c:333: warning: return type of `main' is not `int' make[1]: Leaving directory `/usr/obj/portage/svgalib-1.9.17-r1/work/svgalib-1.9.17/utils' (cd lrmi-0.6m;\ make) make[1]: Entering directory `/usr/obj/portage/svgalib-1.9.17-r1/work/svgalib-1.9.17/lrmi-0.6m' gcc -c -g -Wall -o lrmi.o lrmi.c lrmi.c:16:22: asm/vm86.h: No such file or directory In file included from lrmi.c:28: lrmi.h:17:20: sys/io.h: No such file or directory lrmi.c:182: field `vm' has incomplete type lrmi.c:183: confused by earlier errors, bailing out make[1]: *** [lrmi.o] Error 1 make[1]: Leaving directory `/usr/obj/portage/svgalib-1.9.17-r1/work/svgalib-1.9.17/lrmi-0.6m' make: *** [lrmi] Error 2 !!! ERROR: media-libs/svgalib-1.9.17-r1 failed. !!! Function src_compile, Line 64, Exitcode 2 !!! Failed to build libraries and utils! Any idea on this would be welcome, otherwise, I think it would be safer to mark netpbm-10.11.4 as -sparc as well.
for the PPC side of things , it is 100% good to go now, I will add ppc stable keyword to it
fixed thx