[MacPorts] #41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed
#41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed ------------------------------------------------+-------------------------- Reporter: ctu_gino@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: install_name_tool malformed object | Version: 2.2.1 | Port: py27-pyqt4 ------------------------------------------------+-------------------------- I've encountered this problem when I try to install py27-pyqt4. I searched Google but got nothing, I am wondering if anybody know how to solve this. Any help or clues are appreciated. {{{ install_name_tool: object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- pyqt4/py27-pyqt4/work/destroot/opt/local/share/qt4/plugins/designer/libpy27qt4.dylib malformed object (unknown load command 4) Command failed: install_name_tool -id libpy27qt4.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- pyqt4/py27-pyqt4/work/destroot/opt/local/share/qt4/plugins/designer/libpy27qt4.dylib Exit code: 1 Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed Warning: targets not executed for py27-pyqt4: org.macports.activate org.macports.destroot org.macports.install Please see the log file for port py27-pyqt4 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py-pyqt4/py27-pyqt4/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port py27-pyqt4 failed }}} -- Ticket URL: <https://trac.macports.org/ticket/41615> MacPorts <http://www.macports.org/> Ports system for OS X
#41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed -------------------------+------------------------- Reporter: ctu_gino@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-pyqt4 | -------------------------+------------------------- Changes (by ryandesign@…): * cc: ctu_gino@… (removed) * keywords: install_name_tool malformed object => * owner: macports-tickets@… => michaelld@… Comment: My first Google hit for this error was [http://stackoverflow.com/questions/10390186/install-name-tool-reporting- malformed-object this page], which says what I anticipated: your `install_name_tool` command is probably too old for the version of OS X you're running. Reinstall it by reinstalling the Xcode command line tools. -- Ticket URL: <https://trac.macports.org/ticket/41615#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed -------------------------+------------------------- Reporter: ctu_gino@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-pyqt4 | -------------------------+------------------------- Comment (by ctu_gino@…): Replying to [comment:2 ryandesign@…]:
My first Google hit for this error was [http://stackoverflow.com/questions/10390186/install-name-tool-reporting- malformed-object this page], which says what I anticipated: your `install_name_tool` command is probably too old for the version of OS X you're running. Reinstall it by reinstalling the Xcode command line tools.
Thanks, but it doesn't work. Actually I've tried this before.[[BR]] My mac runs Mavericks and Xcode 5.0.2. [[BR]] Xcode->Preference...->Location says "Command Line Tools: Xcode 5.0.2(5A3005)" [[BR]] I also checked this: {{{ pkgutil --file-info /usr/bin/install_name_tool }}} and it shows {{{ volume: / path: /usr/bin/install_name_tool pkgid: com.apple.pkg.Essentials pkg-version: 10.9.0.1.1.1306847324 install-time: 1383442489 uid: 0 gid: 0 mode: 755 }}} I installed my Command Line Tool provided by Apple: {{{ https://developer.apple.com/downloads/index.action?=command%20line%20tools# }}} because I failed to run this {{{ xcode-select --install }}} -- Ticket URL: <https://trac.macports.org/ticket/41615#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed -------------------------+------------------------- Reporter: ctu_gino@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-pyqt4 | -------------------------+------------------------- Comment (by michaelld@…): If you start Xcode.app running, go into "Preferences...", click on "Downloads", is "Command Line Tools" checked? If not, then the correct CLTs are not yet installed. I just have Xcode install everything, without using the command-line utilities (e.g., xcode-select, xcodebuild, ...). -- Ticket URL: <https://trac.macports.org/ticket/41615#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed -------------------------+------------------------- Reporter: ctu_gino@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-pyqt4 | -------------------------+------------------------- Comment (by ctu_gino@…): Replying to [comment:4 michaelld@…]:
If you start Xcode.app running, go into "Preferences...", click on "Downloads", is "Command Line Tools" checked? If not, then the correct CLTs are not yet installed. I just have Xcode install everything, without using the command-line utilities (e.g., xcode-select, xcodebuild, ...). Yes, it was checked. Anyway, I'm reinstalling Xcode to see if it works.
-- Ticket URL: <https://trac.macports.org/ticket/41615#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed -------------------------+------------------------- Reporter: ctu_gino@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-pyqt4 | -------------------------+------------------------- Comment (by ctu_gino@…): Replying to [comment:4 michaelld@…]:
If you start Xcode.app running, go into "Preferences...", click on "Downloads", is "Command Line Tools" checked? If not, then the correct CLTs are not yet installed. I just have Xcode install everything, without using the command-line utilities (e.g., xcode-select, xcodebuild, ...). unfortunately, reinstall Xcode and Macports do not help. I again encountered the problem above.
{{{ install_name_tool: object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- pyqt4/py27-pyqt4/work/destroot/opt/local/share/qt4/plugins/designer/libpy27qt4.dylib malformed object (unknown load command 4) Command failed: install_name_tool -id libpy27qt4.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_python_py- pyqt4/py27-pyqt4/work/destroot/opt/local/share/qt4/plugins/designer/libpy27qt4.dylib Exit code: 1 Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed }}} -- Ticket URL: <https://trac.macports.org/ticket/41615#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed -------------------------+------------------------- Reporter: ctu_gino@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-pyqt4 | -------------------------+------------------------- Comment (by ctu_gino@…): Replying to [comment:4 michaelld@…]:
If you start Xcode.app running, go into "Preferences...", click on "Downloads", is "Command Line Tools" checked? If not, then the correct CLTs are not yet installed. I just have Xcode install everything, without using the command-line utilities (e.g., xcode-select, xcodebuild, ...).
Problem solved by install Port {{{cctool}}}, I guess there're some issues with new Xcode's Command Line Tools. Thank you all the same. -- Ticket URL: <https://trac.macports.org/ticket/41615#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41615: Error: org.macports.destroot for port py27-pyqt4 returned: command execution failed -------------------------+------------------------- Reporter: ctu_gino@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: py27-pyqt4 | -------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => worksforme Comment: Interesting; I'm glad it working now for you, no matter how strange the reason, -- Ticket URL: <https://trac.macports.org/ticket/41615#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts