#35430 closed defect (duplicate)
qt4-mac @4.8.2 fails build on OS X Mountain Lion, XCode 4.4
Reported by: | jess.morecroft@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | derekathomas@…, eborisch (Eric A. Borisch), creaktive (Stanislaw Pusep), billmag687@…, zeus.jay@…, Stochasticus@…, trac.macports.org@…, l.laspada@…, dhuffkc@…, lawrence.ong@…, mymacports@…, rvr@… | |
Port: | qt4-mac |
Description (last modified by mf2k (Frank Schima))
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
Attachments (4)
Change History (30)
Changed 12 years ago by jess.morecroft@…
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | qt4 removed |
Owner: | changed from macports-tickets@… to michaelld@… |
Port: | qt4-mac added |
In the future, please fill in the Port field, Cc the port maintainer(s) and use WikiFormatting.
comment:2 Changed 12 years ago 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...
Changed 12 years ago by zeus.jay@…
comment:6 Changed 12 years ago by eborisch (Eric A. Borisch)
Cc: | stas@… added |
---|
Replying to stas@…:
Cc me!
You can "cc yourself" by using the "cc me" button. (In the description box at the top.)
comment:10 Changed 12 years ago 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]"
Changed 12 years ago by matt@…
Attachment: | main.2.log added |
---|
Changed 12 years ago by mymacports@…
Attachment: | qt4-mac error - main.log added |
---|
main.log for the "Error: org.macports.build for port qt4-mac returned: command execution failed"
comment:16 Changed 12 years ago 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
comment:17 Changed 12 years ago by eborisch (Eric A. Borisch)
Cc: | rvr@… added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
To be CC'd, click the button in the ticket description pane at the top
Duplicate of #35313
comment:18 Changed 12 years ago by zeus.jay@…
Just mentioning as above I tried the 'fixes' for #35313 and they don't seem to work?
comment:19 Changed 12 years ago by eborisch (Eric A. Borisch)
You've tried the patches updated last night on the ticket? Others have reported success on #35313 this morning.
comment:20 follow-up: 21 Changed 12 years ago by eborisch (Eric A. Borisch)
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.
comment:21 Changed 12 years ago by mymacports@…
Replying to 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
comment:22 Changed 12 years ago by eborisch (Eric A. Borisch)
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.
comment:26 Changed 12 years ago by zeus.jay@…
Thanks everyone the new patches including the libWebKitSystemInterfaceMountainLion.a and update to the Makefile worked.
Build log