[MacPorts] #31623: qt4-mac compilation fail on snow leopard
#31623: qt4-mac compilation fail on snow leopard --------------------------------+------------------------------------------- Reporter: obin.mf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: qt4-mac, universal | Port: --------------------------------+------------------------------------------- I'm trying install qt4-mac universal via macports with command: {{{ $ sudo port -d install qt4-mac +universal }}} and resulting this error: {{{ make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore' ld: warning: QPainter::fillRect(QRectF const&, Qt::GlobalColor) has different visibility (default) in .obj/debug-shared/PluginViewMac.o and (hidden) in .obj/debug-shared/GraphicsContextQt.o collect2: ld terminated with signal 10 [Bus error] lipo: can't open input file: /var/tmp//ccD8dkCB.out (No such file or directory) make[2]: *** [../../../../lib/libQtWebKit_debug.4.7.4.dylib] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore' make[1]: *** [debug-all] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore' make: *** [sub-webkit-all-ordered] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.7.4' shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.7.4" && /usr/bin/make -j2 -w all " returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) DEBUG: Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" Warning: the following items did not execute (for qt4-mac): org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} Thx for the advance. -- Ticket URL: <https://trac.macports.org/ticket/31623> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31623: qt4-mac compilation fail on snow leopard -------------------------------+-------------------------------------------- Reporter: obin.mf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qt4-mac -------------------------------+-------------------------------------------- Changes (by michaelld@…): * keywords: qt4-mac, universal => * cc: obin.mf@… (removed) * port: => qt4-mac Comment: I need the full log; can you do: {{{ sudo port clean qt4-mac sudo port -d install qt4-mac +universal > ~/Desktop/qt4-mac- install_log.txt 2>&1 bzip2 ~/Desktop/qt4-mac-install_log.txt }}} and then attach that compressed log file. -- Ticket URL: <https://trac.macports.org/ticket/31623#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31623: qt4-mac compilation fail on snow leopard -------------------------------+-------------------------------------------- Reporter: obin.mf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by obin.mf@…): After `port clean` and `install` again, I have another error, it seems unrelated with error before (not compilation issue). {{{ x ./Applications/MacPorts/Qt4/Assistant.app/Contents/Resources/ x ./Applications/MacPorts/Qt4/Assistant.app/Contents/Resources/assistant.icns x ./Applications/MacPorts/Qt4/Assistant.app/Contents/Resources/empty.lproj x ./Applications/MacPorts/Qt4/Assistant.app/Contents/MacOS/Assistant Error: Target org.macports.activate returned: Image error: /opt/local/bin/lconvert already exists and does not belong to a registered port. Unable to activate port qt4-mac. Use 'port -f activate qt4-mac' to force the activation. DEBUG: Backtrace: Image error: /opt/local/bin/lconvert already exists and does not belong to a registered port. Unable to activate port qt4-mac. Use 'port -f activate qt4-mac' to force the activation. invoked from within "throw registry::image-error "Image error: $file already exists and does not belong to a registered port. Unable to activate port [$port name]. Use 'p..." ("foreach" body line 47) invoked from within "foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be able to install links, we test if we can lst..." invoked from within "registry::write { foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be able to instal..." invoked from within "try { registry::write { foreach file $imagefiles { set srcfile "${extracted_dir}${file}" # To be ..." (procedure "_activate_contents" line 21) invoked from within "_activate_contents $requested" (procedure "portimage::activate" line 57) invoked from within "registry_activate $subport $version $revision $portvariants [array get user_options]" (procedure "portactivate::activate_main" line 4) invoked from within "$procedure $targetname" }}} I also attach full log compressed with bzip2 just following your instruction above. -- Ticket URL: <https://trac.macports.org/ticket/31623#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31623: qt4-mac compilation fail on snow leopard -------------------------------+-------------------------------------------- Reporter: obin.mf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by michaelld@…): Looks like compiling worked this time, but /opt/local/bin/lconvert already exists. What does "port provides /opt/local/bin/lconvert" return? -- Ticket URL: <https://trac.macports.org/ticket/31623#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31623: qt4-mac compilation fail on snow leopard -------------------------------+-------------------------------------------- Reporter: obin.mf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by obin.mf@…): {{{ Robin$ port provides /opt/local/bin/lconvert /opt/local/bin/lconvert is not provided by a MacPorts port. }}} any clue? -- Ticket URL: <https://trac.macports.org/ticket/31623#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31623: qt4-mac compilation fail on snow leopard -------------------------------+-------------------------------------------- Reporter: obin.mf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by michaelld@…): Probably leftover cruft from this upgrade; lconvert is supposed to be installed by Qt (3, 4). Try this: {{{ sudo rm /opt/local/bin/lconvert sudo port activate qt4-mac }}} You might have to specify the exact version of qt4-mac to activate -- you can list them via "port installed qt4-mac". -- Ticket URL: <https://trac.macports.org/ticket/31623#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31623: qt4-mac compilation fail on snow leopard -------------------------------+-------------------------------------------- Reporter: obin.mf@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: qt4-mac -------------------------------+-------------------------------------------- Comment(by obin.mf@…): Thx, now working. its looks like orphaned files from previous installed Qt exists, so i can remove it manually or force activate qt4-mac: `$ sudo port activate -f qt4-mac`, and all is done. Thx for your help :) -- Ticket URL: <https://trac.macports.org/ticket/31623#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31623: qt4-mac compilation fail on snow leopard --------------------------------+------------------------------------------- Reporter: obin.mf@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: qt4-mac | --------------------------------+------------------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Glad it's working now; I'm happy to have helped out. -- Ticket URL: <https://trac.macports.org/ticket/31623#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts