From owner-freebsd-ports@FreeBSD.ORG Thu May 8 12:58:29 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 1F45F106564A for ; Thu, 8 May 2008 12:58:29 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id E276A8FC0C for ; Thu, 8 May 2008 12:58:28 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1283727rvf.43 for ; Thu, 08 May 2008 05:58:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=8kQgox8JFbTzoZREhFeqSYU/CZFHhy1gjsK8LXtDs8A=; b=Z+X2QQW+9HolQVi3OftFx8crZ+8Wx5XdcYBP7mV9uRmEAv1LuZWuh8KjESS8SR05Tz66gegH1tCrWySjJqm/Hj7JpwtmeDqW76zR+4gIamE/NscKmir8mei4HtAD7EfVUDAZtFSOpcwQQ5NGWNC0GQRynW+FJLxU8EKybzBTUTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GhaI2wsb7sjK0AAXurYQI51f3ob+HxDZxrCPUzwTyWy9rZHmgQxmno5d30z3DuuhnF94YtJN5B43sXJEXg1FUt7yY157AnfPj+Cqh9DnP3qJ/ZEfha72Vo5VgGoVunnvkahBFHVZbFKiMzDLY4fbl0RwpTRRRdgW0hJGqn5cePI= Received: by 10.141.113.6 with SMTP id q6mr1526799rvm.36.1210251508098; Thu, 08 May 2008 05:58:28 -0700 (PDT) Received: by 10.140.191.11 with HTTP; Thu, 8 May 2008 05:58:28 -0700 (PDT) Message-ID: <790a9fff0805080558g3eb1d6edj7eb9697a876ebf8c@mail.gmail.com> Date: Thu, 8 May 2008 07:58:28 -0500 From: "Scot Hetzel" To: "Andy Fawcett" In-Reply-To: <200805072023.24933.andy@athame.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48215E7E.90505@gmail.com> <200805071840.51141.andy@athame.co.uk> <200805072023.24933.andy@athame.co.uk> Cc: "Aryeh M. Friedman" , 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 12:58:29 -0000 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. 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" >