[MacPorts] #35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 --------------------------------------+------------------------------------- Reporter: jess.morecroft@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: qt4 | Port: --------------------------------------+------------------------------------- As per subject, building on OS X 10.8, XCode 4.4 Fails to build due to a link issue it appears (see attachment). ---> Computing dependencies for qt4-mac ---> Fetching archive for qt4-mac ---> Attempting to fetch qt4-mac-4.8.2_0+quartz.darwin_12.x86_64.tbz2 from http://packages.macports.org/qt4-mac ---> Fetching distfiles for qt4-mac ---> Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://releases.qt-project.org/qt4/source/ ---> Verifying checksum(s) for qt4-mac ---> Extracting qt4-mac ---> Applying patches to qt4-mac ---> Configuring qt4-mac ---> Building qt4-mac Error: org.macports.build for port qt4-mac returned: command execution failed -- Ticket URL: <https://trac.macports.org/ticket/35430> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 --------------------------------------+------------------------------------- Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: qt4-mac --------------------------------------+------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => michaelld@… * keywords: qt4 => * port: => qt4-mac Old description:
As per subject, building on OS X 10.8, XCode 4.4
Fails to build due to a link issue it appears (see attachment). ---> Computing dependencies for qt4-mac ---> Fetching archive for qt4-mac ---> Attempting to fetch qt4-mac-4.8.2_0+quartz.darwin_12.x86_64.tbz2 from http://packages.macports.org/qt4-mac ---> Fetching distfiles for qt4-mac ---> Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://releases.qt-project.org/qt4/source/ ---> Verifying checksum(s) for qt4-mac ---> Extracting qt4-mac ---> Applying patches to qt4-mac ---> Configuring qt4-mac ---> Building qt4-mac Error: org.macports.build for port qt4-mac returned: command execution failed
New description: As per subject, building on OS X 10.8, XCode 4.4 Fails to build due to a link issue it appears (see attachment). {{{ ---> Computing dependencies for qt4-mac ---> Fetching archive for qt4-mac ---> Attempting to fetch qt4-mac-4.8.2_0+quartz.darwin_12.x86_64.tbz2 from http://packages.macports.org/qt4-mac ---> Fetching distfiles for qt4-mac ---> Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://releases.qt-project.org/qt4/source/ ---> Verifying checksum(s) for qt4-mac ---> Extracting qt4-mac ---> Applying patches to qt4-mac ---> Configuring qt4-mac ---> Building qt4-mac Error: org.macports.build for port qt4-mac returned: command execution failed }}} -- Comment: In the future, please fill in the Port field, Cc the port maintainer(s) and use WikiFormatting. -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 --------------------------------------+------------------------------------- Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: qt4-mac --------------------------------------+------------------------------------- Comment(by zeus.jay@…): I have the same issue. I've tried the same 'fixes' that were mentioned in http://trac.macports.org/ticket/35313 still doesn't seem to work. I noticed something strange... The directory all the fixes were meant to change was for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac instead I have /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac I've attached main2.log... I tried the fixes anyway... -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 --------------------------------------+------------------------------------- Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: qt4-mac --------------------------------------+------------------------------------- Comment(by stas@…): Cc me! -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 --------------------------------------+------------------------------------- Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: qt4-mac --------------------------------------+------------------------------------- Changes (by eborisch@…): * cc: stas@… (added) Comment: Replying to [comment:5 stas@…]:
Cc me!
You can "cc yourself" by using the "cc me" button. (In the description box at the top.) -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 --------------------------------------+------------------------------------- Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: qt4-mac --------------------------------------+------------------------------------- Comment(by matt@…): qt4-mac @4.8.2 fails for me also but with a different error: {{{ :info:build Command failed: 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.8.2" && /usr/bin/make -j8 -w all :info:build Exit code: 2 :error:build org.macports.build for port qt4-mac returned: command execution failed :debug:build Error code: CHILDSTATUS 44392 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for qt4-mac: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install qt4-mac :debug:build 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]" }}} -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 --------------------------------------+------------------------------------- Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: qt4-mac --------------------------------------+------------------------------------- Comment(by rvr@…): The errors responsible for the failed execution are: Undefined symbols for architecture x86_64: "_objc_msgSend_fixup", referenced from: l_objc_msgSend_fixup_autorelease in qlocale_mac.o CC Me, please -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 ---------------------------------------+------------------------------------ Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: qt4-mac | ---------------------------------------+------------------------------------ Changes (by eborisch@…): * cc: rvr@… (added) * status: new => closed * resolution: => duplicate Comment: To be CC'd, click the button in the ticket description pane at the top Duplicate of #35313 -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 ---------------------------------------+------------------------------------ Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: qt4-mac | ---------------------------------------+------------------------------------ Comment(by zeus.jay@…): Just mentioning as above I tried the 'fixes' for #35313 and they don't seem to work? -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 ---------------------------------------+------------------------------------ Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: qt4-mac | ---------------------------------------+------------------------------------ Comment(by eborisch@…): You've tried the patches updated last night on the ticket? Others have reported success on #35313 this morning. -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 ---------------------------------------+------------------------------------ Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: qt4-mac | ---------------------------------------+------------------------------------ Comment(by eborisch@…): To be clear, there is a patch for the portfile (attachment:ticket:35313:Portfile.diff), and a file (attachment:ticket:35313:patch-ML-fixes.diff) to be added to the files/ directory in the qt4-mac directory. -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 ---------------------------------------+------------------------------------ Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: qt4-mac | ---------------------------------------+------------------------------------ Comment(by mymacports@…): Replying to [comment:20 eborisch@…]:
To be clear, there is a patch for the portfile (attachment:ticket:35313:Portfile.diff), and a file (attachment:ticket:35313:patch-ML-fixes.diff) to be added to the files/ directory in the qt4-mac directory.
(i might be wrong) I put these files into the /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/qt4-mac/files folder, still get the same error: {{{ :info:build Undefined symbols for architecture x86_64: :info:build "_objc_msgSend_fixup", referenced from: :info:build l_objc_msgSend_fixup_autorelease in qlocale_mac.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build collect2: ld returned 1 exit status :info:build make[1]: *** [../../lib/libQtCore.4.8.2.dylib] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.8.2/src/corelib' :info:build make: *** [sub-corelib-all-ordered] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.8.2' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/work /qt-everywhere-opensource-src-4.8.2" && /usr/bin/make -j4 -w all :info:build Exit code: 2 :error:build org.macports.build for port qt4-mac returned: command execution failed :debug:build Error code: CHILDSTATUS 87115 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for qt4-mac: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port qt4-mac for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 ---------------------------------------+------------------------------------ Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: qt4-mac | ---------------------------------------+------------------------------------ Comment(by eborisch@…): The patch-ML-fixes.diff can just be dropped in files/, but the Portfile.diff must be manually applied: {{{patch -p0 < Portfile.diff}}} while in the qt4-mac directory. -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 ---------------------------------------+------------------------------------ Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: qt4-mac | ---------------------------------------+------------------------------------ Comment(by eborisch@…): Hopefully addressed in r96204. -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35430: qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4 ---------------------------------------+------------------------------------ Reporter: jess.morecroft@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: qt4-mac | ---------------------------------------+------------------------------------ Comment(by zeus.jay@…): Thanks everyone the new patches including the libWebKitSystemInterfaceMountainLion.a and update to the Makefile worked. -- Ticket URL: <https://trac.macports.org/ticket/35430#comment:26> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts