From tgeier@sparky.acsmail.com  Wed Feb 19 08:32:30 2003
Return-Path: <tgeier@sparky.acsmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 661F237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 08:32:30 -0800 (PST)
Received: from sparky.acsmail.com (acsmail.com [66.73.61.222])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0AFD643F75
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 08:32:29 -0800 (PST)
	(envelope-from tgeier@sparky.acsmail.com)
Received: from phoenix.acsmail.com (sparky.acsmail.com [66.73.61.222] (may be forged))
	by sparky.acsmail.com (8.12.5/8.12.5) with ESMTP id h1JGWRtC000305
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 11:32:27 -0500
Received: from phoenix.acsmail.com (localhost.acsmail.com [127.0.0.1])
	by phoenix.acsmail.com (8.12.6/8.12.3) with ESMTP id h1JGWQk6009483
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 11:32:27 -0500 (EST)
	(envelope-from tgeier@phoenix.acsmail.com)
Received: (from tgeier@localhost)
	by phoenix.acsmail.com (8.12.6/8.12.3/Submit) id h1JGWPXS009482;
	Wed, 19 Feb 2003 11:32:25 -0500 (EST)
Message-Id: <200302191632.h1JGWPXS009482@phoenix.acsmail.com>
Date: Wed, 19 Feb 2003 11:32:25 -0500 (EST)
From: "Timothy R. Geier" <tgeier@acsmail.com>
Reply-To: "Timothy R. Geier" <tgeier@acsmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Gringotts port does not build due to linker error.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48463
>Category:       ports
>Synopsis:       Gringotts port does not build due to linker error.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 08:40:11 PST 2003
>Closed-Date:    Mon Feb 24 01:52:17 PST 2003
>Last-Modified:  Mon Feb 24 01:52:17 PST 2003
>Originator:     Timothy R. Geier
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD phoenix.acsmail.com 4.7-RELEASE FreeBSD 4.7-RELEASE #16: Wed Jan 8 09:30:16 EST 2003 root@phoenix.acsmail.com:/usr/src/sys/compile/PHOENIX i386

>Description:

	When building gringotts 1.2.3, the following error messages occur when attempting to link the program:

cc  -O -pipe -march=pentiumpro   -o gringotts  gringotts.o grg_widgets.o  grg_entries.o grg_list.o grg_menus.o  grg_prefs.o grg_prefs_io.o grg_pwd.o  grg_safe.o grg_recent_dox.o grg_popt.o  grg_pix.o grg_attachs.o grg_fileutils.o -lpopt -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft2 -lfreetype -lXext -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv   -Wl,--export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv   -L/usr/local/lib -lgringotts -L/usr/local/lib  -liconv
/usr/libexec/elf/ld: cannot find -lXft2
*** Error code 1

Stop in /usr/ports/security/gringotts/work/gringotts-1.2.3/src.
*** Error code 1

Stop in /usr/ports/security/gringotts/work/gringotts-1.2.3.
*** Error code 1

Stop in /usr/ports/security/gringotts/work/gringotts-1.2.3.
*** Error code 1

Stop in /usr/ports/security/gringotts.

Adding flags such as "-L/usr/local/lib/compat/pkg" have no effect.  Neither does adding directories to the environment variable LD_LIBRARY_PATH.  

ldconfig -r | grep "Xft" produces

	153:-lXft.2 => /usr/X11R6/lib/libXft.so.2
        459:-lXft2.2 => /usr/local/lib/compat/pkg/libXft2.so.2
        460:-lXft.1 => /usr/local/lib/compat/pkg/libXft.so.1

Yet, changing the -l flag to any of these produces the same results.


>How-To-Repeat:

	Attempt to build gringotts version 1.2.3 port with all other ports (including the dependencies of gringotts) updated.

>Fix:

	The makefile can be changed to link with "-lXft", which does compile an executable.  This executable, however, segfaults and core dumps upon running.  
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: nork 
State-Changed-When: Wed Feb 19 08:43:27 PST 2003 
State-Changed-Why:  
This is not Gringotts's bug.  Pango's port problem.  Please wait for fix! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48463 
State-Changed-From-To: analyzed->closed 
State-Changed-By: nork 
State-Changed-When: Mon Feb 24 01:50:55 PST 2003 
State-Changed-Why:  
Committed.  Please update x11-toolkits/pango port and ... 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48463 
>Unformatted:
