[MacPorts] #30279: MPlayer @1.0rc4, Revision 1 fails with clang, llvm-gcc-4.2, Lion

MacPorts noreply at macports.org
Tue Oct 25 19:59:10 PDT 2011


#30279: MPlayer @1.0rc4, Revision 1 fails with clang, llvm-gcc-4.2, Lion
-----------------------------------------+----------------------------------
 Reporter:  j_mach_wust@…                |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  1.9.2                                
 Keywords:  lion                         |        Port:  MPlayer                              
-----------------------------------------+----------------------------------

Comment(by ultr4sp4m@…):

 Even when I run:

 {{{
 sudo port install mplayer configure.compiler=gcc-4.2
 }}}

 It still fails, due to samba3 not being installed.

 {{{
 libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a
 libswscale/libswscale.a -L/opt/local/lib -L/opt/local/lib/samba3 -ffast-
 math -arch x86_64  -liconv -lncurses -lpng -lz -ljpeg -lopenjpeg
 -framework IOKit -framework Carbon -lz -lbz2 -llzo2 -lmad -ltheora -logg
 -lm  -lmp3lame
 :info:build ld: warning: directory not found for option
 '-L/opt/local/lib/samba3'
 :info:build <inline asm>:200:2: error: ambiguous instructions require an
 explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq')
 :info:build     cmp       $2, -40(%rsp)
 :info:build     ^
 :info:build LLVM ERROR: Error parsing inline asm
 :info:build
 :info:build collect2: ld returned 1 exit status
 :info:build make: *** [mencoder] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build ld: warning: directory not found for option
 '-L/opt/local/lib/samba3'
 :info:build <inline asm>:200:2: error: ambiguous instructions require an
 explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq')
 :info:build     cmp       $2, -40(%rsp)
 :info:build     ^
 :info:build LLVM ERROR: Error parsing inline asm
 :info:build
 :info:build collect2: ld returned 1 exit status
 :info:build make: *** [mplayer] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_MPlayer/mplayer/work/MPlayer-1.0rc4'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_MPlayer/mplayer/work/MPlayer-1.0rc4"
 && /usr/bin/make -j4 -w all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for mplayer):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 }}}

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


More information about the macports-tickets mailing list