Date: Thu, 08 May 2008 10:51:00 -0400 From: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: Andy Fawcett <andy@athame.co.uk>, freebsd-ports@freebsd.org, "Sean C. Farley" <scf@freebsd.org> Subject: Re: problems building the latest ghostscript-gpl Message-ID: <48231354.8000508@gmail.com> In-Reply-To: <790a9fff0805080558g3eb1d6edj7eb9697a876ebf8c@mail.gmail.com> References: <48215E7E.90505@gmail.com> <200805071840.51141.andy@athame.co.uk> <alpine.BSF.1.10.0805071137570.1154@thor.farley.org> <200805072023.24933.andy@athame.co.uk> <790a9fff0805080558g3eb1d6edj7eb9697a876ebf8c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Boundary_(ID_I6eaPwoxMECcK6qROaNPtA) Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scot Hetzel wrote: | I'm also having the same problem building on | FreeBSD/AMD64 8-CURRENT. I commented out the entries | I had in ports.conf for this port, and checked CFLAGS: | | # cd /usr/ports/print/ghostscript-gpl | # make -V CFLAGS | -O2 -pipe -fno-strict-aliasing | | And the port fails the same way. FT_BRIDGE is not enabled. When I added -fPIC | to CFLAGS_STANDARD. Then the port would build. None of the below work but the above does with a slight motification (tha attached patch). Is it time to submit a formal PR with the patch attached? | | Scot | | On 5/7/08, Andy Fawcett <andy@athame.co.uk> wrote: |> On Wednesday 07 May 2008 19:42:31 Sean C. Farley wrote: |>> On Wed, 7 May 2008, Andy Fawcett wrote: |>>> On Wednesday 07 May 2008 17:13:59 Sean C. Farley wrote: |>>>> On Wed, 7 May 2008, Aryeh M. Friedman wrote: |>>>>> /usr/bin/ld: ./obj/../soobj/gs.o: relocation R_X86_64_32 can not be |>>>>> used when making a shared object; recompile with -fPIC |>>>> On amd64, you need to remove the FT_BRIDGE option to compile. I have |>>>> not had time to look into what is actually happening or needs to be |>>>> fixed. |>>> Makes no difference here, I get the same error with: |>>> |>>> _OPTIONS_READ=ghostscript-gpl-8.62_1 |>>> WITHOUT_FONTCONFIG=true |>>> WITHOUT_FT_BRIDGE=true |>>> WITHOUT_GS_lvga256=true |>>> WITHOUT_GS_vgalib=true |>>> . |>>> . |>>> all other items are WITH_foo=true |>> That is what I have. Maybe a rebuild of freetype2 (v2.3.5 here) would |>> help? Are you using a port builder that sets the environment variable |>> BATCH and have portconf installed? That may bypass the setting in the |>> options file. Those are my only guesses. |> I'm using portupgrade, BATCH is not set, portconf isn't installed, and all |> dependency ports are up to date. This is with a csup just before I sent the |> mail, so pretty up to date. |> |> Andy |> |> |> |> |> -- |> Andy Fawcett | andy@athame.co.uk |> | tap@kde.org |> "In an open world without walls and fences, | tap@lspace.org |> we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org |> _______________________________________________ |> freebsd-ports@freebsd.org mailing list |> http://lists.freebsd.org/mailman/listinfo/freebsd-ports |> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" |> | -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgjE1QACgkQk8GFzCrQm4D0HwCguyGmBdwQvKd4dmCKVl40Vyho HTYAoJV/95vSF/Z2dzdvONpn6snOpWUS =HL35 -----END PGP SIGNATURE----- --Boundary_(ID_I6eaPwoxMECcK6qROaNPtA) Content-type: text/plain; name=foo Content-transfer-encoding: 7BIT Content-disposition: inline; filename=foo Index: Makefile =================================================================== RCS file: /usr/home/ncvs/ports/print/ghostscript-gpl/Makefile,v retrieving revision 1.166 diff -r1.166 Makefile 35a36 > CFLAGS += -fPIC --Boundary_(ID_I6eaPwoxMECcK6qROaNPtA)--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48231354.8000508>