From owner-freebsd-ports@FreeBSD.ORG Mon Oct 29 19:27:56 2007 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 691E816A479 for ; Mon, 29 Oct 2007 19:27:56 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 221C013C4B0 for ; Mon, 29 Oct 2007 19:27:55 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 1F08374400F; Mon, 29 Oct 2007 12:54:36 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4a5i5GKqv+U5; Mon, 29 Oct 2007 12:54:36 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id BA8C4744001; Mon, 29 Oct 2007 12:54:35 +0200 (EET) Message-ID: <4725BBE0.3000605@icyb.net.ua> Date: Mon, 29 Oct 2007 12:54:24 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: freebsd-ports@freebsd.org, cyberbotx@cyberbotx.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: print/fontforge: link failure on amd64 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: Mon, 29 Oct 2007 19:27:56 -0000 I have the following problem while building print/fontforge version 20071002 on FreeBSD 6.2-RELEASE-p6 amd64: *** Warning: Linking the shared library ../libfontforge.la against the *** static library /usr/local/lib/python2.5/config/libpython2.5.a is not portable! cc -shared .libs/autohint.o .libs/autosave.o ... /usr/local/lib/python2.5/config/libpython2.5.a -lutil -lpthread -lm /usr/local/lib/libintl.so -march=athlon64 -Wl,-soname -Wl,libfontforge.so.1 -o ../.libs/libfontforge.so.1 /usr/bin/ld: /usr/local/lib/python2.5/config/libpython2.5.a(abstract.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /usr/local/lib/python2.5/config/libpython2.5.a: could not read symbols: Bad value gmake[1]: *** [../libfontforge.la] Error 1 gmake[1]: Leaving directory `/usr/ports/print/fontforge/work/fontforge-20071002/fontforge' gmake: *** [fontforge] Error 2 *** Error code 2 Stop in /usr/ports/print/fontforge. I think that there either should be a "PIC" version of libpython2.5.a and that's what fontforge should link to or it should link to .so version of the library. -- Andriy Gapon