From owner-freebsd-ports@FreeBSD.ORG Thu May 8 14:51:10 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B91BB1065674 for ; Thu, 8 May 2008 14:51:10 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mta2.srv.hcvlny.cv.net (mta2.srv.hcvlny.cv.net [167.206.4.197]) by mx1.freebsd.org (Postfix) with ESMTP id 8537F8FC1F for ; Thu, 8 May 2008 14:51:10 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from flosoft.no-ip.biz (ool-435559b8.dyn.optonline.net [67.85.89.184]) by mta2.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0K0K003J4196Z601@mta2.srv.hcvlny.cv.net>; Thu, 08 May 2008 10:51:07 -0400 (EDT) Received: from flosoft.no-ip.biz (localhost [127.0.0.1]) by flosoft.no-ip.biz (8.14.2/8.14.2) with ESMTP id m48Ep5f7029354; Thu, 08 May 2008 10:51:05 -0400 Date: Thu, 08 May 2008 10:51:00 -0400 From: "Aryeh M. Friedman" In-reply-to: <790a9fff0805080558g3eb1d6edj7eb9697a876ebf8c@mail.gmail.com> To: Scot Hetzel Message-id: <48231354.8000508@gmail.com> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_I6eaPwoxMECcK6qROaNPtA)" X-Enigmail-Version: 0.95.6 References: <48215E7E.90505@gmail.com> <200805071840.51141.andy@athame.co.uk> <200805072023.24933.andy@athame.co.uk> <790a9fff0805080558g3eb1d6edj7eb9697a876ebf8c@mail.gmail.com> User-Agent: Thunderbird 2.0.0.14 (X11/20080504) Cc: Andy Fawcett , freebsd-ports@freebsd.org, "Sean C. Farley" Subject: Re: problems building the latest ghostscript-gpl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2008 14:51:10 -0000 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 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)--