[MacPorts] #27085: automoc does not build after qt4-mac upgrade
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- I have just upgraded my qt4-mac to 4.7.0 and now it appears that automoc will not build (although I am not positive the two things are related.) Here is the portion of the debug info where something seems to go wrong: ---- -- Configuring incomplete, errors occurred! shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_OSX_ARCHITECTURES="x86_64;i386" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_LIBRARY_DIR=/opt/local/lib -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib ../automoc4-0.9.88 " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed DEBUG: Backtrace: configure failure: shell command failed while executing "$procedure $targetname" Warning: the following items did not execute (for automoc): org.macports.destroot org.macports.configure org.macports.build Log for automoc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/main.log DEBUG: 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]" Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> -- Ticket URL: <https://trac.macports.org/ticket/27085> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- Description changed by ryandesign@…: Old description:
I have just upgraded my qt4-mac to 4.7.0 and now it appears that automoc will not build (although I am not positive the two things are related.) Here is the portion of the debug info where something seems to go wrong:
---- -- Configuring incomplete, errors occurred! shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_OSX_ARCHITECTURES="x86_64;i386" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_LIBRARY_DIR=/opt/local/lib -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib ../automoc4-0.9.88 " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed DEBUG: Backtrace: configure failure: shell command failed while executing "$procedure $targetname" Warning: the following items did not execute (for automoc): org.macports.destroot org.macports.configure org.macports.build Log for automoc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/main.log DEBUG: 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]" Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
New description: I have just upgraded my qt4-mac to 4.7.0 and now it appears that automoc will not build (although I am not positive the two things are related.) Here is the portion of the debug info where something seems to go wrong: {{{ -- Configuring incomplete, errors occurred! shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_OSX_ARCHITECTURES="x86_64;i386" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_LIBRARY_DIR=/opt/local/lib -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib ../automoc4-0.9.88 " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed DEBUG: Backtrace: configure failure: shell command failed while executing "$procedure $targetname" Warning: the following items did not execute (for automoc): org.macports.destroot org.macports.configure org.macports.build Log for automoc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/main.log DEBUG: 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]" Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Please remember to use WikiFormatting. automoc builds fine for me with qt4-mac 4.7.0. Please attach the complete main.log. -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- Comment(by shane.wilkins@…): textfile of the complete error message, but I couldn't find main.log? thanks -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- Comment(by shane.wilkins@…): Sorry, I am a stupid, I found the main.log and attached it. best, sw -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- Changes (by jmr@…): * cc: michaelld@… (added) -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- Comment(by michaelld@…): @shane.wilkins: Does "/opt/local/bin/qmake" exist on your install? If you do "port installed qt4-mac" what is returned? The issue is, obviously, that CMake isn't finding Qt's install. I need to look up the CMake file that's doing the looking to see how else to debug. -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- Comment(by markus.doits@…): {{{ sudo port activate qt4-mac @4.7.0 }}} was the solution for me. an upgrade before deactivated the old qt4-mac, but did not active the new one properly (i remember it gave an error but continued to upgrade other packages - that's why i didn't investigate it further) -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade -------------------------------------+-------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: automoc -------------------------------------+-------------------------------------- Comment(by shane.wilkins@…): markus's solution worked for me too--I couldn't activate qt4-mac 4.7.0 directly: macports threw some weird error message, but it activated just fine when i did: {{{ sudo port install qt4-mac@4.7.0 }}} then automoc configured and built just fine. thanks much. -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade --------------------------------------+------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: automoc | --------------------------------------+------------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => invalid Comment: You're welcome. -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27085: automoc does not build after qt4-mac upgrade --------------------------------------+------------------------------------- Reporter: shane.wilkins@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: invalid | Keywords: Port: automoc | --------------------------------------+------------------------------------- Comment(by ryandesign@…): Has duplicate #29102. -- Ticket URL: <https://trac.macports.org/ticket/27085#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts