[MacPorts] #35912: x264 port fails to build (was: ffmpeg port fails to build)

MacPorts noreply at macports.org
Fri Aug 31 14:50:03 PDT 2012


#35912: x264 port fails to build
--------------------------------------+-------------------------------------
 Reporter:  jobs.nihilator@…          |       Owner:  devans@…           
     Type:  defect                    |      Status:  new                
 Priority:  Normal                    |   Milestone:                     
Component:  ports                     |     Version:  2.1.2              
 Keywords:                            |        Port:  x264               
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => devans@…
  * port:  => x264


Old description:

> I just installed MacPorts and the "port install ffmpeg" command  will not
> build "ffmpeg" and it returns the following error:
>
> --->  Computing dependencies for ffmpeg
> --->  Dependencies to be installed: x264
> --->  Building x264
> Error: org.macports.build for port x264 returned: command execution
> failed
> Error: Failed to install x264
> Please see the log file for port x264 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/main.log
> Error: The following dependencies were not installed: x264
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port ffmpeg failed
>

> The log file for port x264 (AKA:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/main.log)
> returns the following errors:
>
> :info:build       _vda_decoder_callback in libavcodec.a(vda.o)
> :info:build   "_VDADecoderDestroy", referenced from:
> :info:build       _ff_vda_destroy_decoder in libavcodec.a(vda.o)
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build collect2: ld returned 1 exit status
> :info:build make: *** [x264] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/work/x264-snapshot-20111210-2245-stable'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/work/x264-snapshot-20111210-2245-stable"
> && /usr/bin/make -j2 -w default
> :info:build Exit code: 2
> :error:build org.macports.build for port x264 returned: command execution
> failed
> :debug:build Error code: CHILDSTATUS 3176 2
> :debug:build Backtrace: command execution failed
>     while executing
> "system -nice 0 $fullcmdstring"
>     ("eval" body line 1)
>     invoked from within
> "eval system $notty $nice \$fullcmdstring"
>     invoked from within
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "$procedure $targetname"
> :info:build Warning: targets not executed for x264: org.macports.activate
> org.macports.build org.macports.destroot org.macports.install
> :error:build Failed to install x264
> :debug:build couldn't open
> "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
> no such file or directory
>     while executing
> "open [file join $dir tclIndex]"
> :notice:build Please see the log file for port x264 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/main.log

New description:

 I just installed MacPorts and the "port install ffmpeg" command  will not
 build "ffmpeg" and it returns the following error:

 {{{
 --->  Computing dependencies for ffmpeg
 --->  Dependencies to be installed: x264
 --->  Building x264
 Error: org.macports.build for port x264 returned: command execution failed
 Error: Failed to install x264
 Please see the log file for port x264 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/main.log
 Error: The following dependencies were not installed: x264
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port ffmpeg failed
 }}}

 The log file for port x264 (AKA:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/main.log)
 returns the following errors:

 {{{
 :info:build       _vda_decoder_callback in libavcodec.a(vda.o)
 :info:build   "_VDADecoderDestroy", referenced from:
 :info:build       _ff_vda_destroy_decoder in libavcodec.a(vda.o)
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build collect2: ld returned 1 exit status
 :info:build make: *** [x264] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/work/x264-snapshot-20111210-2245-stable'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/work/x264-snapshot-20111210-2245-stable"
 && /usr/bin/make -j2 -w default
 :info:build Exit code: 2
 :error:build org.macports.build for port x264 returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 3176 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: targets not executed for x264: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 :error:build Failed to install x264
 :debug:build couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 :notice:build Please see the log file for port x264 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_x264/x264/main.log
 }}}

--

Comment:

 Please "sudo port clean x264", then try again, then attach the entire
 main.log file so that we can see everything that happened.

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


More information about the macports-tickets mailing list