Opened 12 years ago
Closed 12 years ago
#34862 closed defect (fixed)
qt4-mac fails to build on 10.5 ppc (32-bit) and x86 (32-bit)
Reported by: | mwoodj@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | Cc: | nonstop.server@… | |
Port: | qt4-mac |
Description
The new version of qt4-mac (4.8.2) fails to build on a powerpc running 10.5 Leopard. The build log is attached.
Attachments (2)
Change History (16)
Changed 12 years ago by mwoodj@…
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | MacPorts Future |
---|---|
Owner: | changed from macports-tickets@… to michaelld@… |
Port: | qt4-mac added |
comment:3 Changed 12 years ago by nonstop.server@…
Port qt4-mac also fails to upgrade from version 4.7.4_1 to 4.8.2_0 on architecture i386.
:info:build kernel/qt_cocoa_helpers_mac.mm:1015: warning: ‘NSEvent’ may not resp ond to ‘-eventRef’ :info:build kernel/qt_cocoa_helpers_mac.mm: In function ‘bool qt_mac_handleMouse Event(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*)’: :info:build kernel/qt_cocoa_helpers_mac.mm:1209: warning: ‘NSEvent’ may not resp ond to ‘-eventRef’ :info:build kernel/qt_cocoa_helpers_mac.mm:1209: error: invalid const_cast from type ‘objc_object*’ to type ‘void*’:info:build kernel/qt_cocoa_helpers_mac.mm: In function ‘bool qt_mac_handleTable tEvent(void*, void*)’: :info:build kernel/qt_cocoa_helpers_mac.mm:1313: warning: ‘NSEvent’ may not respond to ‘-eventRef’ :info:build kernel/qt_cocoa_helpers_mac.mm:1313: error: invalid const_cast from type ‘objc_object*’ to type ‘void*’ :info:build kernel/qt_cocoa_helpers_mac.mm: In function ‘void qt_mac_updateConte ntBorderMetricts(void*, const HIContentBorderMetrics&)’: :info:build kernel/qt_cocoa_helpers_mac.mm:1400: warning: ‘NSWindow’ may not respond to ‘-setContentBorderThickness:forEdge:’ :info:build kernel/qt_cocoa_helpers_mac.mm:1401: warning: ‘NSWindow’ may not res pond to ‘-setContentBorderThickness:forEdge:’ :info:build kernel/qt_cocoa_helpers_mac.mm: In function ‘void qt_mac_menu_collap seSeparators(void*, bool)’: :info:build kernel/qt_cocoa_helpers_mac.mm:1640: warning: ‘NSMenuItem’ may not r espond to ‘-setHidden:’ :info:build kernel/qt_cocoa_helpers_mac.mm:1643: warning: ‘NSMenuItem’ may not r espond to ‘-isHidden’ :info:build kernel/qt_cocoa_helpers_mac.mm:1651: warning: ‘NSMenuItem’ may not r espond to ‘-setHidden:’ :info:build kernel/qt_cocoa_helpers_mac.mm:1657: warning: ‘NSMenuItem’ may not respond to ‘-setHidden:’ :info:build kernel/qt_cocoa_helpers_mac.mm: In function ‘void qt_cocoaPostMessag e(objc_object*, objc_selector*, int, objc_object*, objc_object*)’: :info:build kernel/qt_cocoa_helpers_mac.mm:1687: warning: right shift count >= w idth of type :info:build make[1]: *** [.obj/release-shared/qt_cocoa_helpers_mac.o] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :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/gui' :info:build make: *** [sub-gui-all-ordered] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_va r_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-ma c/work/qt-everywhere-opensource-src-4.8.2' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_ma cports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/wo rk/qt-everywhere-opensource-src-4.8.2" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port qt4-mac returned: command execution fai led:debug:build Error code: CHILDSTATUS 19512 2
Version Information:
Mac OS Version: Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 Xcode Version: Xcode 3.1.4 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0 BuildVersion: 9M2809 Macports Version: Version: 2.1.1
See log 'main_i386.log' for additional information.
Changed 12 years ago by nonstop.server@…
Attachment: | main_i386.log added |
---|
build log for i368 architecture
comment:4 Changed 12 years ago by devernay (Frédéric Devernay)
-mmacosx-version-min=10.6 is hardcoded at several places in files/patch-configure.diff I think this should be changed to -mmacosx-version-min=@MACOSX_DEPLOYMENT_TARGET@
comment:5 follow-up: 8 Changed 12 years ago by michaelld (Michael Dickens)
Yes, Frederic; looks like I overlooked that re-patching. I just fixed that issue in r94298; please re-sync, clean qt4-mac, and try again. The issues for this ticket (on PPC) and those for i386 (as posted by "nonstop.server") look to be the same -- and issue with the use of Cocoa; maybe this change will fix them both?
comment:6 Changed 12 years ago by michaelld (Michael Dickens)
Summary: | qt4-mac fails to build on 10.5 ppc → qt4-mac fails to build on 10.5 ppc (32-bit) and x86 (32-bit) |
---|
comment:7 follow-up: 10 Changed 12 years ago by michaelld (Michael Dickens)
In the future, please compress log files, especially for Qt since they tend to be so large. Doing so makes uploading and downloading faster for everyone,
comment:8 Changed 12 years ago by nonstop.server@…
Replying to michaelld@…:
Changeset r94298 solved the problem for me.
After cleaning qt4-mac and syncing the ports tree I was able to upgrade to version 4.8.2_0 without any problems.
Thank you for the quick fix!
comment:9 Changed 12 years ago by michaelld (Michael Dickens)
Great! You're welcome; thanks for posting back! Let's hope it also worked for PPC 32-bit.
comment:10 Changed 12 years ago by nonstop.server@…
Replying to michaelld@…:
Yes, attaching large uncompressed logs is ill-considered, however one easily overlooks this when creating or updating a ticket.
I'll try to remember to check the size of attachments for future reports and compress them if needed.
comment:11 Changed 12 years ago by michaelld (Michael Dickens)
True; and, no problems, really. It's a habit of mine to "compress then upload"; just passing it on when applicable :)
comment:12 Changed 12 years ago by mwoodj@…
Well so far so good. It will take at least a day for my G4 to build qt4 though so I will report back when it is complete. Thanks!
comment:14 Changed 12 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Great! Thanks for posting back.
Build Log