[MacPorts] #31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion.
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- I have successfully built qt4-mac-devel under Mac OS Lion without the +debug and +universal variants, however I have recently tried and got the following error: {{{ ---> Computing dependencies for qt4-mac-devel ---> Fetching archive for qt4-mac-devel ---> Attempting to fetch qt4-mac- devel-4.8.0-beta1_0+debug+demos+examples+quartz+universal.darwin_11.i386-x86_64.tbz2 from http://packages.macports.org/qt4-mac-devel ---> Fetching qt4-mac-devel ---> Verifying checksum(s) for qt4-mac-devel ---> Extracting qt4-mac-devel ---> Applying patches to qt4-mac-devel ---> Configuring qt4-mac-devel ---> Building qt4-mac-devel Error: Target org.macports.build returned: shell command failed (see log for details) Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} However the logfile (/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4 -mac-devel/qt4-mac-devel/main.log) doesn't appear to show anything useful (uploaded anyway). Is there another logfile that give me more details? -- Ticket URL: <https://trac.macports.org/ticket/31076> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by trojanfoe@…): To clarify, I built the port using: {{{ $ port install qt4-mac-devel +debug +universal +demos +examples }}} I am using Xcode 4.1 under Mac OS Lion (10.7.1). -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => michaelld@… Comment: That looks like the wrong log. clean the port and re-attach the log. -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by michaelld@…): And, please compress the log before attaching; it'll be rather large. -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by vasily.matveev@…): I got the same error with qt4-mac-devel today. See my log in main.log.zip attachment -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by michaelld@…): (1) When attaching a log, please make it for the full install, not just the immediate error. Oftentimes providing the output from the various stages helps. So, please do: {{{ sudo port clean qt4-mac-devel sudo port -d install qt4-mac-devel [+options]> ~/Desktop/qt4-mac-devel- install_log.txt 2>&1 bzip2 ~/Desktop/qt4-mac-devel-install_log.txt }}} and then attach that compressed log file to this ticket. (2) qt4-mac-devel is up to 4.8.0-rc1, so please do: {{{ sudo port clean qt4-mac-devel sudo port selfupdate }}} and then try installing qt4-mac-devel again (via (1), in case there's an error). -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by vasily.matveev@…): I have already tried it with 4.8.0-rc1 - result is the same. Will atach a new log file in a few minutes -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by vasily.matveev@…): Log attached -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by michaelld@…): Thanks. Is it possible for you to try compiling with llvm instead of clang? I'm still working on getting clang to compile Qt correctly -- there are some features missing from clang that might be causing this issue (and, others). I think you do this via: {{{ sudo port clean qt4-mac-devel sudo port -d install qt4-mac-devel configure.compiler=llvm-gcc-4.2 > ~/Desktop/qt4-mac-devel-llvm_log.txt 2>&1 }}} and then check to see if the install worked or not. If not, bzip2 to the logfile & attach it here as well. I'll boot on 10.7 tomorrow & try to check this issue out over the next few days. -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by vasily.matveev@…): It works ok with llvm way -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. -----------------------------------+---------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Keywords: lion | Port: qt4-mac-devel -----------------------------------+---------------------------------------- Comment(by michaelld@…): Thanks; I had expected that. I'll work on tweaking both qt4-mac and qt4 -mac-devel to require llvm for now on 10.7. I'd love to support clang, but when -documented- features do not work at advertised it's kinda hard to do so. -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31076: qt4-mac-devel (4.8.0 beta 1) fails to build under Lion. ------------------------------------+--------------------------------------- Reporter: trojanfoe@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.2 Resolution: fixed | Keywords: lion Port: qt4-mac-devel | ------------------------------------+--------------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: I just checked in r85975, which forces qt4-mac-devel to use llvm instead of clang, even if clang is set as the configure.compiler. I'm closing this ticket as fixed; please reopen it if this change doesn't work. -- Ticket URL: <https://trac.macports.org/ticket/31076#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts