portupgrade print/cups-client (cups-client-1.3.10_4) fails

Roland Smith rsmith at xs4all.nl
Mon Nov 30 18:49:57 UTC 2009


On Sun, Nov 29, 2009 at 11:40:58PM -0600, Richard Kolkovich wrote:
> On Sun, Nov 29, 2009 at 08:42:30AM +0100, n dhert wrote:
> > In my nightly portupgrade I got, while upgrading  print/cups-client :
> > ...
> > /usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when
> > making
> >  a shared object; recompile with -fPIC
> > /usr/lib/crt1.o: could not read symbols: Bad value
> > gmake[1]: *** [bannertops] Error 1
> > gmake[1]: Leaving directory
> > `/usr/ports/print/cups-client/work/cups-1.4.2/filter
> > '
> > gmake: *** [all] Error 1
> > *** Error code 1
> > Stop in /usr/ports/print/cups-client.
> > *** Error code 1
> > Stop in /usr/ports/print/cups-client.
> 
> I can confirm this same build error on my (amd64) box after upgrading to 8.0-STABLE (RELENG_8).
> cups-image was compiled previously on 8.0-RC1.

Try this;

# cd /usr/ports/print/cups-client
# make patch
# cd  work/cups-1.4.2
Open Makedefs.in in an editor and remove @PIEFLAGS@ from line 143.
# cd ../..
# make

It should then build OK. Tested on 8.0-RELEASE amd64.

The same trick is needed for cups-image, IIRC.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091130/c283b95e/attachment.pgp


More information about the freebsd-questions mailing list