#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