Opened 13 years ago

Closed 13 years ago

#30304 closed defect (duplicate)

mkvtoolnix will not install on OS X lion

Reported by: klgarrison@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: lion Cc: kona8lend@…, aj@…, kimuraw (kimura wataru)
Port: mkvtoolnix

Description

When I attempt to install mkvtoonix it returns the following.

sudo port install mkvtoolnix

--->  Computing dependencies for mkvtoolnix
--->  Building mkvtoolnix
Error: Target org.macports.build returned: shell command failed (see
log for details)
Log for mkvtoolnix is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/main.log
Error: Status 1 encountered during processing.

Build log snippet:

:notice:build --->  Building mkvtoolnix
:debug:build Executing org.macports.build (mkvtoolnix)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-4.9.1" && ./drake default -j7'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-4.9.1" && ./drake default -j7 
:info:build ./rake.d/vendor/comp_tree-1.0.1/lib/comp_tree/queue/queue_18.rb:27: [BUG] Segmentation fault
:info:build ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin11]
:info:build 
:info:build (in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-4.9.1)
:info:build sh: line 1: 52335 Abort trap: 6           ./drake default -j7
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-4.9.1" && ./drake default -j7 " returned error 134
: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 mkvtoolnix): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for mkvtoolnix is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/main.log

Attachments (1)

mkvtoolnix-drake.diff (391 bytes) - added by Kona8lend@… 13 years ago.
workaround segfault caused by drake/ruby on lion

Download all attachments as: .zip

Change History (11)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: kona8lend@… added

Cc port maintainers please.

comment:2 Changed 13 years ago by jmroot (Joshua Root)

This is probably a duplicate of the ticket about ruby segfaulting on Lion.

comment:3 in reply to:  2 Changed 13 years ago by Kona8lend@…

I can't be of too much help until I install Lion in the next week or so.

comment:4 Changed 13 years ago by aj@…

temporary workaround: the drake command doesn't give a bus error if you remove the -j4 or -j7 parameter.

comment:5 Changed 13 years ago by aj@…

Cc: aj@… added

Cc Me!

Changed 13 years ago by Kona8lend@…

Attachment: mkvtoolnix-drake.diff added

workaround segfault caused by drake/ruby on lion

comment:6 Changed 13 years ago by Kona8lend@…

Attached is an untested patch that removes -j option when building on Lion.

aj, can you verify if the patch works for you?

comment:7 Changed 13 years ago by aj@…

I'm travelling. Might be 48 hours before I have time to test or hack.

comment:8 Changed 13 years ago by kimuraw (kimura wataru)

Cc: kimuraw@… added

This probrem looks to be caused by a problem of port:ruby on Lion (#30275, fixed at 2011-07-25).

I tried `port install mkvtoolnix' and succeeded.

comment:9 Changed 13 years ago by Kona8lend@…

I can confirm that mkvtoolnix now builds cleanly on Lion (10.7.1). Problem was probably as kimuraw mentions -- port:ruby had a Lion issue.

Please close this ticket.

comment:10 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.