cvs commit: ports/multimedia/mpeg4ip Makefile pkg-plist

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Sun May 22 13:22:13 PDT 2005


On Sun, 22 May 2005 11:57:55 -0400
Michael Johnson <ahze at FreeBSD.org> wrote:

> 
> On May 22, 2005, at 11:54 AM, Adam Weinberger wrote:
> 
> > Michael Johnson wrote:
> >
> >> On May 22, 2005, at 11:23 AM, Adam Weinberger wrote:
> >>
> >>> 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 <adamw at FreeBSD.org> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Ion-Mihai Tetcu wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> On Fri, 20 May 2005 08:08:47 +0000 (UTC)
> >>>>>>> Michael Johnson <ahze at FreeBSD.org> 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?
> >>>
> >> Removing mpeg4ip-1.1 before building??
> >>
> >
> > Affirmative. That might be the key maybe?
> 
> hrm... Didn't even think of that.. I'll try to mess w/ some -L stuff  
> and try and see if I can find a work around.
> 
> if not I'll add something to detect mpeg4ip 1.1 before building w/ a  
> warning.

Removing 1.1 did it, thanks.

root(itetcu)@it/PU >-SSH-> /usr/ports/sysutils/krename [22:47:43] 0
 # pkg_delete mpeg4ip-esound-1.1_3
pkg_delete: '/usr/local/include/mp4av.h' fails original MD5 checksum - not deleted.
pkg_delete: '/usr/local/include/mp4av_audio.h' fails original MD5 checksum - not deleted.
pkg_delete: '/usr/local/include/mp4av_hinters.h' fails original MD5 checksum - not deleted.
pkg_delete: '/usr/local/include/mp4av_mpeg3.h' fails original MD5 checksum - not deleted.
pkg_delete: '/usr/local/include/mp4av_mpeg4.h' fails original MD5 checksum - not deleted.
pkg_delete: '/usr/local/lib/libmp4av.a' fails original MD5 checksum - not deleted.
pkg_delete: '/usr/local/lib/libmp4av.so.0' fails original MD5 checksum - not deleted.
pkg_delete: unable to completely remove directory '/usr/local/lib/mp4player_plugin'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

root(itetcu)@it/PU >-SSH-> /usr/ports/sysutils/krename [22:48:49] 0
 # portupgrade -RNp multimedia/mpeg4ip
...................
===>  Building package for mpeg4ip-esound-1.3
...................


-- 
IOnut
Unregistered ;) FreeBSD "user"




More information about the cvs-all mailing list