[packman] libjs compile problems

Peter Czanik pczanik at fang.fa.gau.hu
Tue Mar 21 14:26:45 CET 2006


Hello,
I try to compile libjs on PPC from the source rpm (as it's needed by
gxine). I get the following error:

gcc -o Linux_All_OPT.OBJD/jsopcode.o -c -Wall -Wno-format -O -DXP_UNIX
-DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -UDEBUG
-DNDEBUG -UDEBUG_root -DEDITLINE -ILinux_All_OPT.OBJD -O2 -g
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing jsopcode.c
gcc -o Linux_All_OPT.OBJD/jsparse.o -c -Wall -Wno-format -O -DXP_UNIX
-DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -UDEBUG
-DNDEBUG -UDEBUG_root -DEDITLINE -ILinux_All_OPT.OBJD -O2 -g
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing jsparse.c
gcc -o Linux_All_OPT.OBJD/jsprf.o -c -Wall -Wno-format -O -DXP_UNIX
-DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -UDEBUG
-DNDEBUG -UDEBUG_root -DEDITLINE -ILinux_All_OPT.OBJD -O2 -g
-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing jsprf.c
jsprf.c: In function ‘BuildArgArray’:
jsprf.c:620: error: incompatible types in assignment
make[1]: *** [Linux_All_OPT.OBJD/jsprf.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/js/src'
make: *** [all] Error 2
+ cd ../tests
+ /usr/bin/perl -I/usr/src/packages/BUILD/js/tests/lib jsDriver.pl -e
smopt -L lc2 lc3 -k
./../src/Linux_All_OPT.OBJD/js is not a valid executable on this system.
+ exit 2
+ exit 2
error: Bad exit status from /var/tmp/rpm-tmp.65858 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.65858 (%build)

Any idea? Bye,
CzP




More information about the Packman mailing list