[MacPorts] #30524: Avidemux avidemux-2.5.3_5+aac+dts+lame+ogg+x264+xvi fails to build

MacPorts noreply at macports.org
Fri Mar 30 10:28:20 PDT 2012


#30524: Avidemux avidemux-2.5.3_5+aac+dts+lame+ogg+x264+xvi fails to build
--------------------------------+-------------------------------------------
 Reporter:  rampitec@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.1                                
 Keywords:  lion, aac, LP64     |        Port:  avidemux                             
--------------------------------+-------------------------------------------

Comment(by kato23@…):

 First of all, try building {{{avidemux}}} again after editing the Portfile
 of {{{avidemux}}} as shown in [https://trac.macports.org/ticket/26528
 #26528]:

 {{{
 # edit Portfile of avidemux
 -  -DCMAKE_include_directories_BEFORE=ON
 +  -DCMAKE_INCLUDE_DIRECTORIES_BEFORE=ON
 }}}

 A patch for the error caused by line no. 609 in {{{dsputil_mmx.c}}} is
 [http://trac.macports.org/changeset/79700 mplayer-devel: Fix dsputil and
 mp3lib inline asm]:

 {{{
 # in line 609 of
 avidemux_2.5.3/avidemux/ADM_libraries/ffmpeg/libavcodec/x86/dsputil_mmx.c

    - "movzx (%3,%4), %2 \n"
    + "movzbl (%3,%4), %2 \n"

 }}}

 However, there may be further inline assembly issues because from Xcode 4
 on Apple has switched to the llvm/clang compiler collection [[BR]] and
 {{{clang}}} now uses its integrated assembler (instead of the previous GNU
 assembler) by default on most X86 targets [[BR]](see
 [http://clang.llvm.org/compatibility.html#inline-asm Language
 Compatibility: Inline assembly]).

 To disable the default use of {{{clang}}}'s integrated assembler we could
 add to the {{{avidemux}}} Portfile ...

 {{{
 configure.cflags-append -no-integrated-as
 configure.cxxflags-append -no-integrated-as
 }}}

 ... or try to switch back to the gcc compiler collection ...

 {{{
 sudo -H -i
 port -v clean --work avidemux
 port -f -v install avidemux +aac+dts+lame+ogg+x264+xvid
 configure.cc='gcc-4.2' configure.cxx='g++-4.2'
 }}}

 (Note: I installed {{{avidemux @2.5.3_7+aac+dts+lame+ogg+x264+xvid}}} on
 Mac OS X 10.6.8 in a custom location as described in [[BR]]the {{{MacPorts
 Guide}}},  [http://guide.macports.org/#installing.macports.source.multiple
 2.3.4. Install Multiple MacPorts Copies].)

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


More information about the macports-tickets mailing list