From owner-freebsd-ports@FreeBSD.ORG Wed Mar 1 19:25:45 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0470816A420; Wed, 1 Mar 2006 19:25:45 +0000 (GMT) (envelope-from bsd-unix@comcast.net) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.200.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8915243D45; Wed, 1 Mar 2006 19:25:44 +0000 (GMT) (envelope-from bsd-unix@comcast.net) Received: from kt.weeble.com (c-68-56-224-228.hsd1.fl.comcast.net[68.56.224.228]) by comcast.net (sccrmhc14) with SMTP id <2006030119183801400e5iroe>; Wed, 1 Mar 2006 19:18:38 +0000 Date: Wed, 1 Mar 2006 14:19:51 -0500 From: Randy Pratt To: ports@FreeBSD.org Message-Id: <20060301141951.ac6d8d48.bsd-unix@comcast.net> X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Grigori Goronzy , Ade Lovett Subject: multimedia/gxine libtool error [patch] 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: Wed, 01 Mar 2006 19:25:45 -0000 I had multimedia/gxine fail on a "portupgrade -fa". This was the only port out of 400+ on this machine that failed! This is a small excerpt from the gxine build log: /bin/sh ../libtool --mode=link cc -O -pipe -I/usr/local/include -L/usr/local/lib -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/local/include -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk -2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/ local/lib/glib-2.0/include -L/usr/local/lib -I/usr/X11R6/lib -L/usr/local/lib -o gxine actions.o gtkxine.o log_window.o main.o mediamarks.o preferences.o playlist.o stream_info.o infobar.o settings.o wizards.o http.o xmlparser.o xmllexer.o utils.o desktop_integration.o skin_window.o script_engine.o server.o noskin_window.o key _events.o menu.o open_mrl.o drag_drop.o play_item.o lirc.o snapshot.o -L/usr/X11R6/lib -lxine -lz -pthread -liconv -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 - liconv -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1. 0 -lXcursor -lXfixes -lcairo -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lXrender -lX11 -lXext -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lXtst . ./src/spidermonkey/libspidermonkey.la mkdir .libs libtool: link: cannot find the library `' *** Error code 1 Stop in /usr/ports/multimedia/gxine/work/gxine-0.3.3/src. *** Error code 1 I tried a few things and came up with a patch which allows it to build and run ok. Caveat: I am not a ports guru so this patch is subject to review by the powers that be ;-) HTH, Randy Patch: =================================================================== --- Makefile.orig Wed Mar 1 13:26:02 2006 +++ Makefile Wed Mar 1 13:53:34 2006 @@ -7,7 +7,7 @@ PORTNAME= gxine PORTVERSION= 0.3.3 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= xine @@ -20,6 +20,7 @@ USE_X_PREFIX= yes GNU_CONFIGURE= yes USE_GNOME= gtk20 +USE_AUTOTOOLS= libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I ${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -I${X11BASE}/lib" =================================================================== --