From owner-cvs-ports@FreeBSD.ORG Sun May 22 15:23:06 2005 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6B5716A41C; Sun, 22 May 2005 15:23:06 +0000 (GMT) (envelope-from adamw@FreeBSD.org) Received: from connectmail.carleton.ca (connectmail.carleton.ca [134.117.2.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EB7C43D53; Sun, 22 May 2005 15:23:06 +0000 (GMT) (envelope-from adamw@FreeBSD.org) Received: from [192.168.1.141] (CPE000f6690f3a7-CM001371174942.cpe.net.cable.rogers.com [70.25.208.134]) by connectmail.carleton.ca (iPlanet Messaging Server 5.2 HotFix 2.04 (built Feb 8 2005)) with ESMTPSA id <0IGW00AJCDEI09@connectmail.carleton.ca>; Sun, 22 May 2005 11:23:06 -0400 (EDT) Date: Sun, 22 May 2005 11:23:08 -0400 From: Adam Weinberger In-reply-to: <41EA904D-2A4E-4D07-B0F9-63EDA27FE591@FreeBSD.org> To: Michael Johnson Message-id: <4290A3DC.4030606@FreeBSD.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) References: <200505200808.j4K88l9E016074@repoman.freebsd.org> <20050521234742.6079f270@it.buh.tecnik93.com> <428FB64C.8040706@FreeBSD.org> <20050522173518.1e9ccab7@it.buh.tecnik93.com> <41EA904D-2A4E-4D07-B0F9-63EDA27FE591@FreeBSD.org> Cc: Ion-Mihai Tetcu , cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/multimedia/mpeg4ip Makefile pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2005 15:23:07 -0000 Michael Johnson wrote: > > On May 22, 2005, at 10:35 AM, Ion-Mihai Tetcu wrote: > >> On Sat, 21 May 2005 18:29:32 -0400 >> Adam Weinberger wrote: >> >> >>> Ion-Mihai Tetcu wrote: >>> >>>> On Fri, 20 May 2005 08:08:47 +0000 (UTC) >>>> Michael Johnson wrote: >>>> >>>> >>>> >>>>> ahze 2005-05-20 08:08:47 UTC >>>>> >>>>> FreeBSD ports repository >>>>> >>>>> Modified files: >>>>> multimedia/mpeg4ip Makefile pkg-plist >>>>> Log: >>>>> - Fix build on some configurations of 5.x by using >>>>> USE_INC_LIBTOOL_VER >>>>> and ln -s ${LIBTOOL} ${WRKSRC}/libtool >>>>> >>>> >>>> >>>> Was it supposed to resolve this ? >>>> >>>> test -z "/usr/local/lib/mp4player_plugin" || /usr/ports/ >>>> multimedia/mpeg4ip/work/mpeg4ip-1.3/install-sh -d "/usr/local/lib/ >>>> mp4player_plugin" >>>> /bin/sh ../../../../libtool --mode=install /usr/bin/install -c - o >>>> root -g wheel 'celp_plugin.la' '/usr/local/lib/ >>>> mp4player_plugin/celp_plugin.la' >>>> libtool: install: warning: relinking `celp_plugin.la' >>>> (cd /usr/ports/multimedia/mpeg4ip/work/mpeg4ip-1.3/player/plugin/ >>>> audio/celp; /bin/sh ../../../../libtool --mode=relink c++ - >>>> D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wno-char-subscripts - >>>> Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated - Wformat=2 >>>> -Wpointer-arith -Wsign-compare -O2 -pipe -march=athlon- xp -O3 >>>> -ffast-math -fomit-frame-pointer -DUSE_MMX -DMPEG4IP -I/ >>>> usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -L/usr/ >>>> local/lib -L/usr/X11R6/lib -pthread -o celp_plugin.la -rpath /usr/ >>>> local/lib/mp4player_plugin -module celp.lo ../../../../player/lib/ >>>> mp4util/libmp4util.la ../../../../player/lib/audio/celp/BS/ >>>> libmpeg4ip_celpbs.la ../../../../player/lib/audio/celp/dec/ >>>> libmpeg4ip_celp.la -lmp4v2 -lmp4av -lmpeg4ip_gnu ) >>>> c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/ >>>> celp.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -L/usr/ >>>> X11R6/lib -pthread -lmp4util -lmpeg4ip_celpbs -lmpeg4ip_celp - >>>> lmp4v2 -lmp4av -lmpeg4ip_gnu -L/usr/lib -lstdc++ -lm -lgcc_pic / >>>> usr/lib/crtendS.o /usr/lib/crtn.o -march=athlon-xp -Wl,-soname - >>>> Wl,celp_plugin.so.0 -o .libs/celp_plugin.so.0 >>>> /usr/bin/ld: cannot find -lmp4av >>>> libtool: install: error: relink `celp_plugin.la' with the above >>>> command before installing it >>>> >>> >>> Yes. >>> >> >> It seems it doesn't :( on my >> FreeBSD 5.4-STABLE #10: Wed May 18 04:50:54 EEST 2005 > > > same error? Hrmmn. I don't know if this will be of any help, but here's the order of operations I tried to get this to work. Once it worked for me, I announced to ahze "That's the solution!" Sorry about this, Ion-Mihai. 1) portupgrade - failed 2) USE_LIBTOOL_VER -> USE_INC_LIBTOOL_VER, portupgrade - failed 3) removed mpeg4ip 4) set the post-patch: thing in the recent commit, portupgrade - success So, perhaps removing it entirely first has some effect? One thing that ahze and I found is that he was linking against many more libraries at each link than I was. There's something wacky and libtool-related going on here... # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx