From owner-freebsd-ports@FreeBSD.ORG Thu May 31 05:24:51 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1B8416A421; Thu, 31 May 2007 05:24:51 +0000 (UTC) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from polymer3.scphys.kyoto-u.ac.jp (polymer3.scphys.kyoto-u.ac.jp [130.54.55.55]) by mx1.freebsd.org (Postfix) with ESMTP id DBA2413C44C; Thu, 31 May 2007 05:24:50 +0000 (UTC) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from POLYMER5.scphys.kyoto-u.ac.jp (h118.65.226.10.32118.vlan.kuins.net [10.226.65.118]) by polymer3.scphys.kyoto-u.ac.jp (8.14.1/8.14.1/20070410-1) with SMTP id l4V5ObN6011476; Thu, 31 May 2007 14:24:38 +0900 (JST) (envelope-from turutani@scphys.kyoto-u.ac.jp) Message-Id: <200705310524.AA00450@POLYMER5.scphys.kyoto-u.ac.jp> From: Tsurutani Naoki Date: Thu, 31 May 2007 14:24:37 +0900 To: bug-followup@FreeBSD.org, edwin@mavetju.org, ports@FreeBSD.org MIME-Version: 1.0 X-Mailer: AL-Mail32 Version 1.13 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-2.5 required=7.0 tests=ALL_TRUSTED,BAYES_20 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on polymer3.scphys.kyoto-u.ac.jp Cc: Subject: Re: ports/112876: audio/xmcd - compile problems after xorg 7.2 upgrade (might be not related) 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, 31 May 2007 05:24:52 -0000 Hi, I came across the same problem. I think this is caused by the duplicated library installed by audio/libcddb. Before Xorg 7.2, xmcd was installed with the X11BASE prefix. Now, it is installed under /usr/local, and library search path while building is set to the PREFIX/lib. Therefore, linker delect /usr/local/lib/libcddb.a in linking xmcd and other tools, and fails to find symbols. I do not know how to fix this in a adequate manner, but I have one solution; renaming local libcdda.a to another. Here is a patch: --- files/patch-aa.orig Fri Jan 10 11:50:37 2003 +++ files/patch-aa Thu May 31 12:56:28 2007 @@ -1,5 +1,14 @@ --- xmcd_d/Imakefile.orig Mon Nov 4 06:44:44 2002 +++ xmcd_d/Imakefile Mon Nov 4 04:44:28 2002 +@@ -44,7 +44,7 @@ + * #include "Motif.rules" + */ + +-CDDBLIB= -L../cddb_d -lcddb ++CDDBLIB= -L../cddb_d -lcddblocal + LOCAL_LIBDIR= -L/usr/freeware/lib32 -L/usr/local/lib + VORBLIB= -lvorbisenc -lvorbis -logg + FLACLIB= -lFLAC @@ -82,7 +82,7 @@ #endif /* OSF1 */ #endif /* Linux */ --- files/patch-ac.orig Fri Feb 9 06:01:18 2007 +++ files/patch-ac Thu May 31 12:57:09 2007 @@ -1,5 +1,14 @@ --- cda_d/Imakefile.orig Thu Apr 22 03:27:23 2004 +++ cda_d/Imakefile Fri Feb 2 04:44:17 2007 +@@ -145,7 +145,7 @@ + /* + * Add needed libraries + */ +-CDDBLIB= -L../cddb_d -lcddb ++CDDBLIB= -L../cddb_d -lcddblocal + LOCAL_LIBDIR= -L/usr/freeware/lib32 -L/usr/local/lib + VORBLIB= -lvorbisenc -lvorbis -logg + FLACLIB= -lFLAC @@ -193,7 +193,7 @@ LOCAL_LIBRARIES=-lncurses #else --- /dev/null Thu May 31 13:00:26 2007 +++ patch-aj Thu May 31 12:58:25 2007 @@ -0,0 +1,11 @@ +--- cddb_d/Imakefile.orig Thu May 31 12:53:57 2007 ++++ cddb_d/Imakefile Thu May 31 12:53:00 2007 +@@ -225,7 +225,7 @@ + /* + * Build rule for the CD Information Library + */ +-NormalLibraryTarget(cddb,$(OBJS)) ++NormalLibraryTarget(cddblocal,$(OBJS)) + NormalLibraryTarget(cddbkey1,$(KOBJ)) + DependTarget() + --- Tsurutani Naoki turutani@scphys.kyoto-u.ac.jp