#9402 closed enhancement (fixed)
UPDATE: qt3-mac 3.3.6 portfile update
Reported by: | hoanqui@… | Owned by: | leimy@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | markd@…, tonycpsu@…, screen@… | |
Port: |
Description
The current portfile for qt3-mac is for version 3.3.4, which builds OK on MacIntels... but crashes when any Qt app is run.
I've done the minimalest change possible to the portfile so it builds version 3.3.6 (latest), which according to Qt's changelog seems to be the first one useable on MacIntels.
Those changes are: -bumped version number, -updated MD5, -commented out patches used on 3.3.4
After a bit of testing, seems to work OK!
I'd guess that the new portfile will work on PPC macs too.
Attachments (1)
Change History (9)
Changed 18 years ago by hoanqui@…
Attachment: | update.diff added |
---|
comment:1 Changed 18 years ago by markd@…
Cc: | markd@… added |
---|
Very nice. Also, there is a patch in bug #2255 that would knock out bug #2255 so if that or something equivalent could be done by a committer at the same time it would be great.
Additionally, when qt3-mac is updated think bug #7575 should either be fixed or unvalidated. It isn't clear to me it is actually a problem.
Finally, updating this will probably allow closing this bug also: #8450
comment:2 Changed 18 years ago by rhwood@…
blocked: | → 2255, 7575, 8450 |
---|---|
Owner: | changed from darwinports-bugs@… to leimy@… |
Summary: | qt3-mac 3.3.6 portfile update → UPDATE: qt3-mac 3.3.6 portfile update |
Reassigning to maintainer.
comment:3 Changed 18 years ago by tonycpsu@…
Cc: | tonycpsu@… added |
---|
(In reply to comment #0)
I agree that #8450 can be closed (since it's against 3.3.4) but I'm still having no luck building 3.3.6 with the new Portfile. The error I'm getting is pretty much the same as in 8450, a "non-virtual thunk" error:
sudo port install ---> Building qt3-mac with target symlinks src-qmake src-moc sub-src sub-tools Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.6" && QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH="/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.6/lib" make symlinks src-qmake src-moc sub-src sub-tools" returned error 2 Command output: make: Nothing to be done for `symlinks'. cd qmake && make make[1]: `qmake' is up to date. cd src/moc && make make[1]: Nothing to be done for `first'. cd src && make make[1]: Nothing to be done for `first'. cd plugins/src && make cd accessible && make -f Makefile cd widgets && make -f Makefile test -d ../../../accessible/ || mkdir -p ../../../accessible/ rm -f libqtwidgets.dylib c++ -headerpad_max_install_names -bundle -o libqtwidgets.dylib .obj/release-shared-mt/main.o .obj/release-shared-mt/qaccessiblewidget.o .obj/release-shared-mt/qaccessiblemenu.o -L/opt/local/lib -L/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.6/lib -lqt-mt -lz -framework OpenGL -framework AGL /usr/bin/ld: warning -prebind has no effect with -bundle /usr/bin/ld: Undefined symbols: QAccessible::queryAccessibleInterface(QObject*, QAccessibleInterface**) QAccessibleObject::queryInterface(QUuid const&, QUnknownInterface**) QAccessibleObject::QAccessibleObject(QObject*) QAccessibleObject::~QAccessibleObject() QAccessibleObject::object() const QAccessibleObject::isValid() const typeinfo for QAccessibleObject non-virtual thunk to QAccessibleObject::queryInterface(QUuid const&, QUnknownInterface**) non-virtual thunk to QAccessibleObject::isValid() const collect2: ld returned 1 exit status make[3]: *** [../../../accessible/libqtwidgets.dylib] Error 1 make[2]: *** [sub-widgets] Error 2 make[1]: *** [sub-accessible] Error 2 make: *** [sub-plugins] Error 2
This is on a Macbook Pro, OS X 10.4.6. Any ideas?
comment:4 Changed 18 years ago by screen@…
Cc: | screen@… added |
---|
(In reply to comment #4)>
Same problem here on a macbook pro using 10.4.7, all ports up to date with patch for 3.3.6.
gcc --version i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)
comment:5 Changed 18 years ago by markd@…
Type: | defect → enhancement |
---|
comment:6 Changed 18 years ago by moll@…
The ticket should really be changed back to defect. On Intel Mac apps compiled with Qt 3.3.4 crash. Google for "qt_macFamilyName" to see some examples.
comment:7 Changed 18 years ago by markd@…
There are multiple qt3-mac bugs. Ticket #8450 is a defect on Intel Macs. I just changed the title to include "Intel" for clarity.
comment:8 Changed 18 years ago by markd@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
This has been updated to 3.3.7.
updated portfile to use version 3.3.6 of qt3-mac