Opened 20 years ago

Closed 19 years ago

#2554 closed defect (fixed)

BUG: qt3-mac 3.3.3 fails to build on OS X

Reported by: mark.duling@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: leimy@…
Port:

Description

Fresh clean install of OS X 10.3.7 - XcodeTools 1.5 (GCC Build 1671)

DarwinPorts output:

---> Fetching qt3-mac ---> Attempting to fetch qt-mac-free-3.3.3.tar.bz2 from ftp://ftp.trolltech.com/qt/source/ ---> Verifying checksum(s) for qt3-mac ---> Extracting qt3-mac ---> Applying patches to qt3-mac ---> Configuring qt3-mac ---> Building qt3-mac with target symlinks src-qmake src-moc sub-src sub-tools Error: Target com.apple.build returned: shell command "cd "/Users/duling/darwinports/dports/aqua/ qt3-mac/work/qt-mac-free-3.3.3" && QMAKESPEC= QTDIR= DYLD_LIBRARY_PATH="/Users/duling/ darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/lib" make symlinks src-qmake src-moc sub-src sub-tools" returned error 2 Command output: cd plugins/src && make cd accessible && make -f Makefile cd widgets && make -f Makefile /Users/duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/bin/qmake -spec /Users/ duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/mkspecs/macx-g++ -o /Users/ duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/./plugins/src/accessible/widgets /Users/duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/plugins/src/accessible/ widgets/widgets.pro cd /Users/duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/./plugins/src/ accessible/widgets make Makefile make[4]: `Makefile' is up to date. c++ -c -pipe -I/opt/local/include -Wall -W -Os -fPIC -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/ Users/duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/mkspecs/macx-g++ -I. -I../../../../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/ Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared-mt/ -o .obj/release- shared-mt/main.o main.cpp c++ -c -pipe -I/opt/local/include -Wall -W -Os -fPIC -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/ Users/duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/mkspecs/macx-g++ -I. -I../../../../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/ Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared-mt/ -o .obj/release- shared-mt/qaccessiblewidget.o qaccessiblewidget.cpp c++ -c -pipe -I/opt/local/include -Wall -W -Os -fPIC -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/ Users/duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/mkspecs/macx-g++ -I. -I../../../../include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/ Library/Frameworks/AGL.framework/Versions/A/Headers -I.moc/release-shared-mt/ -o .obj/release- shared-mt/qaccessiblemenu.o qaccessiblemenu.cpp qaccessiblemenu.cpp: In member function `virtual QString

QAccessiblePopup::text(QAccessible::Text, int) const':

qaccessiblemenu.cpp:80: warning: `int id' might be used uninitialized in this

function

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/Users/duling/darwinports/dports/aqua/qt3-mac/work/qt-mac-free-3.3.3/lib -lqt-mt -lz -framework OpenGL -framework AGL ld: Undefined symbols: QAccessible::queryAccessibleInterface(QObject*, QAccessibleInterface) QAccessibleObject::queryInterface(QUuid const&, QUnknownInterface) QAccessibleObject::QAccessibleObject(QObject*) QAccessibleObject::~QAccessibleObject() QAccessibleObject::object() const QAccessibleObject::isValid() const non-virtual thunk to QAccessibleObject::queryInterface(QUuid const&, QUnknownInterface) non-virtual thunk to QAccessibleObject::isValid() const make[3]: * accessible/libqtwidgets.dylib Error 1 make[2]: * [sub-widgets] Error 2 make[1]: * [sub-accessible] Error 2 make: * [sub-plugins] Error 2

Change History (11)

comment:1 Changed 20 years ago by rshaw@…

Owner: changed from darwinports-bugs@… to rshaw@…

comment:2 Changed 20 years ago by rshaw@…

Cc: leimy@… added
Status: newassigned

comment:3 Changed 20 years ago by rshaw@…

Resolution: worksforme
Status: assignedclosed

I cannot duplicate this bug. It builds just fine on my 10.3.7 with Xcode 1.5 system (GCC build 1666).

comment:4 Changed 20 years ago by mark.duling@…

(In reply to comment #1)

I cannot duplicate this bug. It builds just fine on my 10.3.7 with Xcode 1.5 system (GCC build 1666).

Hmmn, I've since duplicated the problem on my PowerBook running 10.3.5 and Xcode 1.5 (GCC build 1671). I'll try going back to GCC build 1666 since it seems like that must be the culprit. Apple's "November 2004 GCC 3.3 Updater" puts on build 1671. I'll downgrade and post my results.

comment:5 Changed 20 years ago by nkitagawa@…

op_sys: All

(In reply to comment #0)

I've seen the same error on my machine, using gcc build 1671. I've found that adding the line

OBJECTS = $(OBJECTS) ../../../../src/.obj/release-shared-mt/qaccessible.o

in the Makefile under

aqua/qt3-mac/work/qt-mac-free-3.3.4/plugins/src/accessible/widgets

seems to make it continue with the build. It appears that for whatever reason, the linker is not linking against the "qaccessible.o" file.

I doubt this is the proper way to fix it.

comment:6 Changed 19 years ago by rshaw@…

Resolution: worksforme
Status: closedreopened

comment:7 Changed 19 years ago by rshaw@…

Status: reopenedassigned

comment:8 Changed 19 years ago by ben@…

qt3-mac has been upgraded to 3.3.4 which builds on (at least) Mac OS 10.4

comment:9 Changed 19 years ago by rshaw@…

Owner: changed from rshaw@… to darwinports-bugs@…
Status: assignednew

No longer maintaining these ports.

comment:10 Changed 19 years ago by mww@…

Summary: qt3-mac 3.3.3 fails to build on OS XBUG: qt3-mac 3.3.3 fails to build on OS X

comment:11 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed

closing - we dont have 3.3.3 anymore.

Note: See TracTickets for help on using tickets.