Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2009 19:49:54 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Richard Kolkovich <sarumont@sigil.org>
Cc:        freebsd-questions@freebsd.org, n dhert <ndhert@gmail.com>
Subject:   Re: portupgrade print/cups-client (cups-client-1.3.10_4) fails
Message-ID:  <20091130184954.GA94329@slackbox.xs4all.nl>
In-Reply-To: <20091130054058.GA3303@magus.portal.sigil.org>
References:  <8021a2660911282342p16e680efmf09f1fe4f4d0263e@mail.gmail.com> <20091130054058.GA3303@magus.portal.sigil.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 wh=
en
> > 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.
>=20
> 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
--=20
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)

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAksUE9IACgkQEnfvsMMhpyVn6wCgl7dcM6XjHLN7TNeXWuczMu6l
cp0AoJOKgMzBKuW5hj8cHedN6a7Fy7Wz
=uAsF
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091130184954.GA94329>