Opened 12 years ago

Closed 12 years ago

#35912 closed defect (worksforme)

x264 port fails to build

Reported by: jobs.nihilator@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: x264

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (1)

main.log (38.8 KB) - added by jobs.nihilator@… 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by jobs.nihilator@…

I am running MacPorts on Mac OS X 10.6.8

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…
Port: x264 added
Summary: ffmpeg port fails to buildx264 port fails to build

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

Changed 12 years ago by jobs.nihilator@…

Attachment: main.log added

comment:3 in reply to:  2 Changed 12 years ago by jobs.nihilator@…

Replying to ryandesign@…:

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

I did a "sudo port clean x264" and a "sudo port install ffmpeg" and it failed with the same errors. Attached is the "main.log".

comment:4 Changed 12 years ago by jobs.nihilator@…

H-E-L-P !!!!!!

comment:5 Changed 12 years ago by dbevans (David B. Evans)

Status: newassigned

comment:6 Changed 12 years ago by jmroot (Joshua Root)

What Xcode version are you using? 4.0? 4.1?

comment:7 Changed 12 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: assignedclosed

Not reproduceable with latest version of x264 on any of Mac OS X 10.6.8, 10.7.5, 10.8.3 using latest Xcode tools.

Please make sure you are using the latest version Xcode for your platform and have updated your ports to the latest version.

sudo port selfupdate
Note: See TracTickets for help on using tickets.