[packman] Re: [PM] libjs 1.7.0 & mediatomb 0.10.0 (openSUSE 10.3/i586)
Manfred Tremmel
manfred at links2linux.de
Sat Dec 8 17:51:53 CET 2007
Am Freitag, 7. Dezember 2007 schrieb Matthew Braun:
> * Manfred Tremmel <manfred at links2linux.de> [Fri, 07 Dec 2007 19:56
+0100]:
> > Am Freitag, 7. Dezember 2007 schrieb Matthew Braun:
> > > Manfred, after installing libjs & libjs-devel pkgs, while trying
> > > to compile mediatomb 0.10.0, the ./configure script would fail to
> > > link against libjs. I built the pkg this way and wrote directly
> > > wrote
> >
> > And what's the error message? It's not easy to fix anything when
> > you don't know what's broken.
>
> Yeah, sorry for being so lame. I was trying to get something out
> quick without restoring the rpm version of libs to create the error
> message again. I just did so, see attached files. If you also need
> to see where it works after I rebuilt libjs, I can send that info as
> well. Let me know.
Your infos are ok. I can reproduce the problem here. I've rebuild the
libjs package here localy including a patch I needed for ppc and I can
build mediotomb without any problem with this version. But I can't
build this version on the build server, the final link fales:
gcc -o
Linux_All_OPT.OBJ/js -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -DPIC -fPIC -D_REENTRANT -I/usr/include/nspr4 -Wall -Wno-format -O -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DX86_LINUX -UDEBUG -DNDEBUG -UDEBUG_abuild -DJS_THREADSAFE -DEDITLINE -ILinux_All_OPT.OBJ -I./../../dist/include/nspr -Wall -Wno-format -O -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DX86_LINUX -UDEBUG -DNDEBUG -UDEBUG_abuild -DJS_THREADSAFE -DEDITLINE -ILinux_All_OPT.OBJ -I./../../dist/include/nspr
Linux_All_OPT.OBJ/js.o -LLinux_All_OPT.OBJ -ljs -lm -L./../../dist/lib -lnspr4
\
editline/Linux_All_OPT.OBJ/libedit.a
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld:
Linux_All_OPT.OBJ/js: hidden symbol `__stack_chk_fail_local'
in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by
DSO
/usr/lib/gcc/i586-suse-linux/4.2.1/../../../../i586-suse-linux/bin/ld:
final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[1]: *** [Linux_All_OPT.OBJ/js] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/js/src'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.91415 (%build)
No problems with x86_64 version....
So I've compiled the i586 versions on my one computer and the x86_64
version on the build server. Stupid thing!
I hope you do not have problems with this version.
--
Machs gut | http://www.iivs.de/schwinde/buerger/tremmel/
Manfred | http://packman.links2linux.de/
More information about the Packman
mailing list