[kde-solaris] error building FOSSa52dec in SPECS

Albertson, Brett bretta at consonus.com
Thu Jan 24 15:34:56 CET 2008


Has anyone else seen this?  I checkout the trunk from cvsdude, then
build and install KBE (as a non-root user) just fine.  I make sure the
environment is setup using /opt/kdebld/bin/env.sh.  I then go into the
SPECS directory, type gmake and get this:

dev-zero:{kdeuser}# gmake
pkginfo -q "FOSSendian" || pkgtool --download --spec base-specs:include
build "FOSSendian.spec"
pkginfo -q "FOSSa52dec" || pkgtool --download --spec base-specs:include
build "FOSSa52dec.spec"
INFO: Copying %use'd or %include'd spec files to SPECS directory
INFO: Processing spec files
INFO: Finding sources
INFO: Running pkgbuild -ba [...] FOSSa52dec.spec (FOSSa52dec)
ERROR: FOSSa52dec FAILED
INFO: Check the build log in /tmp/FOSSa52dec.log for details

Summary:

                         package |      status | details
---------------------------------+-------------+------------------------
-------
                      FOSSa52dec |      FAILED | pkgbuild build failed
gmake: *** [pkgbuild-a52dec] Error 1

If I look in /tmp/FOSSa52dec.log, I see:

pkgbuild: /bin/bash ../libtool --mode=link /opt/SUNWspro/bin/cc  -Xc
-errshort=full -errfmt=error -errwarn=%none -s -xcsi
-xustr=ascii_utf16_ushort -xalias_level=std -features=extinl -xF=%none
-xbuiltin=%all -xinline=%auto -xprefetch=auto
-xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xsafe=mem
-xthread var=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z
now -z rescan -z absexec -xipo=0 -xldscope=symbolic -xlibmil -s -xO3
-xregs=no%frameptr -xjobs=2 -Kpic -xrestrict=%all -xipo=0
-xtarget=opteron -m64 -xchip=opteron -xcache=64/64/2:1024/64/16 -lm -ldl
-lc -lpthread -lposix4 -lrt -mt -L/opt/foss/lib/amd64 -L /usr/lib/amd64
-R/opt/foss/lib/amd64 -R/usr/lib/amd64   -prefer-non-pic
-L/opt/foss/lib/amd64 -L/usr/lib/amd64 -R/opt/foss/lib/amd64
-R/usr/lib/amd64 -z combreloc -z redlocsym -z nodefaultlib -z ignore -z
now -z rescan -z absexec -xipo=0 -xldscope=symbolic -xlibmil -s
-xtarget=opteron -m64 -xchip=opteron -xcache=64/64/2:1024/64/16 -lm -ldl
-lc -lpthread -lposix4 -lrt -mt -o liba52.la -rpath /opt/foss/lib
-no-undefined bitstream.lo imdct.lo bit_allocate.lo parse.lo downmix.lo
-lm

pkgbuild: ld: warning: option -r and -zcombreloc are incompatible
pkgbuild: ld: fatal: option -dn and -h are incompatible
pkgbuild: ld: fatal: option -dn and -G are incompatible
pkgbuild: ld: warning: option -r and -s both set; only debugging
information stripped
pkgbuild: ld: fatal: Flags processing errors
pkgbuild: make[2]: *** [liba52.la] Error 1
pkgbuild: make[2]: Leaving directory
`/export/home/kdeuser/packages/BUILD/FOSSa5
2dec-0.7.4/amd64/A52DEC/0.7.4/liba52'

Does anyone have any advice on this one?  I'm assuming these flags
mostly get set by /opt/kdebld/bin/libtool, but they don't seem to be set
explicitly.

Brett Albertson
brett.albertson at consonus.com
919-379-8449



More information about the kde-solaris mailing list