[Pkg-cups-devel] Bug#543973: Bug#543973: cups_1.4.0~svn8773-1(hppa/experimental): FTBFS: trying to link PIC and non-PIC code

Martin-Éric Racine q-funk at iki.fi
Sat Sep 5 11:03:11 UTC 2009


On Thu, Aug 27, 2009 at 11:11 PM, Frank Lichtenheld<djpig at debian.org> wrote:
> Package: cups
> Version: 1.4.0~svn8773-1
> Severity: serious
>
> your package failed to build from source.
>
> | Automatic build of cups_1.4.0~svn8773-1 on meitner by sbuild/hppa 98-farm
> | Build started at 20090827-1219

> [...]
> | make[3]: Entering directory `/build/buildd/cups-1.4.0~svn8773/filter/fontembed'
> | cc -I/usr/include/poppler -I/usr/include/poppler  -g -O2 -g -Wall -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT   -Wall -g  -c -o sfnt.o sfnt.c
> | sfnt.c: In function 'otf_subset':
> | sfnt.c:1201: warning: unused variable 'iB'
> | cc -I/usr/include/poppler -I/usr/include/poppler  -g -O2 -g -Wall -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT   -Wall -g  -c -o embed.o embed.c
> | cc -I/usr/include/poppler -I/usr/include/poppler  -g -O2 -g -Wall -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT   -Wall -g  -c -o embed_sfnt.o embed_sfnt.c
> | cc -I/usr/include/poppler -I/usr/include/poppler  -g -O2 -g -Wall -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT   -Wall -g  -c -o dynstring.o dynstring.c
> | cc -I/usr/include/poppler -I/usr/include/poppler  -g -O2 -g -Wall -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -D_REENTRANT   -Wall -g  -c -o fontfile.o fontfile.c
> | ar rcu libfontembed.a sfnt.o embed.o embed_sfnt.o dynstring.o fontfile.o
> | make[3]: Leaving directory `/build/buildd/cups-1.4.0~svn8773/filter/fontembed'
> | echo Linking texttopdf...
> | Linking texttopdf...
> | cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -Wl,--as-needed  -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o texttopdf texttopdf.o textcommon.o common.o pdfutils.o -Lfontembed -lfontembed -lcups -lavahi-common -lavahi-client   -lgnutls   -lpthread -lm -lcrypt
> | /usr/bin/ld.real: fontembed/libfontembed.a(sfnt.o): relocation R_PARISC_DPREL21L can not be used when making a shared object; recompile with -fPIC
> | fontembed/libfontembed.a: could not read symbols: Bad value
> | collect2: ld returned 1 exit status
> | make[2]: *** [texttopdf] Error 1
> | make[2]: Leaving directory `/build/buildd/cups-1.4.0~svn8773/filter'
> | make[1]: *** [all] Error 1
> | make[1]: Leaving directory `/build/buildd/cups-1.4.0~svn8773'
> | make: *** [debian/stamp-makefile-build] Error 2
> | dpkg-buildpackage: error: debian/rules build gave error exit status 2
> | ******************************************************************************
> | Build finished at 20090827-1228
> | FAILED [dpkg-buildpackage died]
>
> Full build log(s): http://experimental.ftbfs.de/build.php?&ver=1.4.0~svn8773-1&pkg=cups&arch=hppa

Thanks for bringing this to our attention. Does it still apply to
1.4.0-3 that is currently in experimental?

Martin-Éric





More information about the Pkg-cups-devel mailing list