[MacPorts] #40136: MythTV.26 Build Failure (Install_Name_Tool Exit Code 1)
#40136: MythTV.26 Build Failure (Install_Name_Tool Exit Code 1) ------------------------+-------------------------------- Reporter: sbturner@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ------------------------+-------------------------------- I recently installed MacPorts and have only attempted to install MythTV- Core.26. The build failed when Install_Name_Tool exited with error code 1. After the initial failure I cleaned MythTV, ran MacPorts selfupdate, and retried but received the same error message. Pertinent info is below and the log file is attached. Any suggestions will be greatly appreciated. OS: 10.8.4 MacPorts: 2.2.0 with current updates Myth install attempted: sudo port install mythtv-core.26 It appears the following parts of the log capture the error (see attached log for detail): :debug:destroot Change libmythpostproc.dylib to /opt/local/lib/libmythpostproc.dylib :info:destroot install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) :info:destroot Command failed: install_name_tool -change libmythpostproc.dylib /opt/local/lib/libmythpostproc.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg :info:destroot Exit code: 1 :error:destroot org.macports.destroot for port mythtv-core.26 returned: command execution failed :debug:destroot Error code: NONE :debug:destroot Backtrace: command execution failed -- Ticket URL: <https://trac.macports.org/ticket/40136> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Changes (by larryv@…): * owner: macports-tickets@… => ctreleaven@… * port: => mythtv-core.26 Old description:
I recently installed MacPorts and have only attempted to install MythTV- Core.26. The build failed when Install_Name_Tool exited with error code 1. After the initial failure I cleaned MythTV, ran MacPorts selfupdate, and retried but received the same error message. Pertinent info is below and the log file is attached. Any suggestions will be greatly appreciated.
OS: 10.8.4 MacPorts: 2.2.0 with current updates Myth install attempted: sudo port install mythtv-core.26
It appears the following parts of the log capture the error (see attached log for detail):
:debug:destroot Change libmythpostproc.dylib to /opt/local/lib/libmythpostproc.dylib :info:destroot install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) :info:destroot Command failed: install_name_tool -change libmythpostproc.dylib /opt/local/lib/libmythpostproc.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg :info:destroot Exit code: 1 :error:destroot org.macports.destroot for port mythtv-core.26 returned: command execution failed :debug:destroot Error code: NONE :debug:destroot Backtrace: command execution failed
New description: I recently installed MacPorts and have only attempted to install MythTV- Core.26. The build failed when Install_Name_Tool exited with error code 1. After the initial failure I cleaned MythTV, ran MacPorts selfupdate, and retried but received the same error message. Pertinent info is below and the log file is attached. Any suggestions will be greatly appreciated. OS: 10.8.4\\ MacPorts: 2.2.0 with current updates\\ Myth install attempted: sudo port install mythtv-core.26 It appears the following parts of the log capture the error (see attached log for detail): {{{ :debug:destroot Change libmythpostproc.dylib to /opt/local/lib/libmythpostproc.dylib :info:destroot install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) :info:destroot Command failed: install_name_tool -change libmythpostproc.dylib /opt/local/lib/libmythpostproc.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg :info:destroot Exit code: 1 :error:destroot org.macports.destroot for port mythtv-core.26 returned: command execution failed :debug:destroot Error code: NONE :debug:destroot Backtrace: command execution failed }}} -- Comment: Thanks for the ticket. In the future, please Cc relevant port maintainers (`port info --maintainers`). -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by ctreleaven@…): Strange, don't know why that would be a problem. What version of XCode are you using? I'll check my 10.8 environment. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by douglas.brockett@…): +1 for me on this issue XCode Version 4.6.3 (4H1503) Mac OSX 10.8.4 Fresh install of MacPorts as of last night Last few lines of output from : sudo port -v install mythtv-core.26 are: install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) Command failed: install_name_tool -change libmythpostproc.dylib /opt/local/lib/libmythpostproc.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg Exit code: 1 Error: org.macports.destroot for port mythtv-core.26 returned: command execution failed I'd note that I just recently upgraded XCode version on this machine from old 3.2.6 - perhaps part of the old command line tool chain is lingering? Strange, don't know why that would be a problem. What version of XCode are you using? I'll check my 10.8 environment. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by ctreleaven@…): I've built successfully with XCode 4.6 (Feb 2013). Any chance one of you could downgrade and try again? That would at least confirm or eliminate this as the source of the issue. I will try with 4.6.3 but it may take me a couple of days. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by macsforever2000@…): Xcode 3.2.6 has never been supported on Mac OS X 10.8. It should be [http://pushkararora.com/how-to/how-to-uninstall-xcode-completely/ uninstalled]. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by sbturner@…): I have XCode 4.6.3 installed. I'll try to downgrade to 4.6.0 but it may take a few days. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by ctreleaven@…): Sorry for the delay--hardware problems with my 10.8 environment. However, I upgraded my 10.7.5 environment to XCode 4.6.3 and was able to build successfully. It will take me longer to get 10.8 up again...have to get a drive replaced. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by douglas.brockett@…): Replying to [comment:5 ctreleaven@…]:
I've built successfully with XCode 4.6 (Feb 2013). Any chance one of you could downgrade and try again? That would at least confirm or eliminate this as the source of the issue. I will try with 4.6.3 but it may take me a couple of days.
I downgraded to Xocde Version 4.6 (4H127) on MacOS 10.8.4 (12e55) - didn't work - same error Correcting library entries in executables... install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) Command failed: install_name_tool -change libmythpostproc.dylib /opt/local/lib/libmythpostproc.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg Exit code: 1 -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by ctreleaven@…): Well, this is not good. Under 10.8.4, I can get past the install_name_tool problem by either adding --ld=${configure.cc} or --disable-ffmpeg to the configure args. However, in either case, mythfrontend now crashes during launch. Appears to be similar to the issue reported in: https://trac.macports.org/ticket/40137 Not that it helps, but this is quite similar to #35934--which I had believed to be fixed in r107034 Need to test with 10.6 and 10.7. I DO NOT understand why we have this problem with MacPorts when the osx-packager-sdk.pl version does not. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by douglas.brockett@…): FYI... I did build with 4.6.3 on a 10.7.5 machine. The build seemed to complete without any obvious errors, but I haven't checked the resulting executables with any level of diligence... -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by ctreleaven@…): Douglas: it is a run time problem. Myth seems to build OK with different compilers but (so far), under 10.8, only runs OK if built with clang-3.0. All: please see 40137 for a potential solution/workaround. https://trac.macports.org/ticket/40137 All followups will be in that ticket. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by douglas.brockett@…): Thanks for the help! I did install clang-3.0, and issued: sudo port -d install mythtv-core.26 configure.compiler=macports-clang-3.0 as suggest in 4013 Unfortunately, I got the same result on my 10.8.4 machine and xcode 4.6: DEBUG: Change libmythpostproc.dylib to /opt/local/lib/libmythpostproc.dylib install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names) Command failed: install_name_tool -change libmythpostproc.dylib /opt/local/lib/libmythpostproc.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mythtv-core.26/mythtv- core.26/work/destroot/opt/local/bin/mythffmpeg Exit code: 1 Error: org.macports.destroot for port mythtv-core.26 returned: command execution failed DEBUG: Error code: NONE DEBUG: Backtrace: command execution failed while executing "$post $targetname" Warning: targets not executed for mythtv-core.26: org.macports.activate org.macports.destroot org.macports.install Please see the log file for port mythtv-core.26 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_multimedia_mythtv-core.26/mythtv-core.26/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port mythtv-core.26 failed I'll need a little more time than I have tonight to dig further - could well be that I've messed something else up along the way. I've posted this to 40136 since the workaround from 40137 didn't seem to take - I hope that's the right protocol. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by ctreleaven@…): Douglas, could you please do a clean build and post your main.log? {{{ sudo port clean mythtv-core.26 && sudo port install mythtv-core.26 }}} If you are comfortable editing a portfile, you can try adding "-- ld=${configure.cc}" to the configure args and re-run. Seemed to fix it for me. -- Ticket URL: <https://trac.macports.org/ticket/40136#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#40136: mythtv-core.26 @0.26-Fixes-20130720_0: install_name_tool failure during destroot -----------------------------+-------------------------- Reporter: sbturner@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: mythtv-core.26 | -----------------------------+-------------------------- Comment (by douglas.brockett@…): And indeed, that does seemed to have to have fixed the build problem (clang-3.0 and remembering to clean) enough to get me to: Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2) from mythbackend, which is likely to be a completely different issue. I suggest closing this - with many thanks from me for your help/patience! Now on to other yummy myth issues, like fixing mylogserver crash/restart, and getting the backend to like working with myth_stop_start in my environment... Replying to [comment:14 ctreleaven@…]:
Douglas, could you please do a clean build and post your main.log?
{{{ sudo port clean mythtv-core.26 && sudo port install mythtv-core.26 }}}
If you are comfortable editing a portfile, you can try adding "-- ld=${configure.cc}" to the configure args and re-run. Seemed to fix it for me.
-- Ticket URL: <https://trac.macports.org/ticket/40136#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts