[MacPorts] #25926: ffmpeg v 0.6 fail on build

MacPorts noreply at macports.org
Fri May 13 06:00:06 PDT 2011


#25926: ffmpeg v 0.6 fail on build
---------------------------------+------------------------------------------
 Reporter:  nDiScReEt@…          |       Owner:  devans@…           
     Type:  defect               |      Status:  assigned           
 Priority:  Normal               |   Milestone:                     
Component:  ports                |     Version:  1.9.1              
 Keywords:                       |        Port:  ffmpeg             
---------------------------------+------------------------------------------

Comment(by dtakahashi42@…):

 The log shows that the LD tried to use libavutil when it creates
 libavutil.50.dylib itself. The file did not exist at the moment, therefore
 the LD failed immediately.
 After some investigation, I concluded that the redefinition of a variable
 {{{EXTRALIBS}}} by patchfile {{{patch-libswscale-Makefile.diff}}}
 introduced this problem (but I am not sure why... it seems to be redefined
 again at {{{config.mac}}} included from {{{libavutil/Makefile:1}}}).
 {{{
 libswscale/Makefile : 3
 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
 }}}
 LD problem was disappeared after the removal of this patch (even when I
 set {{{build.jobs 1}}}).
 My enviromnent is OS X 10.6.7 on Macbook Pro (eqrly 2011).

 The patch was added to fix #16101, however, the option
 {{{-L$(BUILD_ROOT)/libavutil}}} appear to be included by default, and
 {{{-lavutil}}} will be added automatically if it is requested. So I think
 it is not needed now.

-- 
Ticket URL: <https://trac.macports.org/ticket/25926#comment:28>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list