#18939 closed defect (duplicate)
qt3-mac 3.3.8 Fails to build
Reported by: | ralph@… | Owned by: | blair (Blair Zajac) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | build | Cc: | |
Port: | qt3-mac |
Description
---> Building qt3-mac Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-mac-free-3.3.8" && make symlinks src-qmake src-moc sub-src sub-tools " returned error 2 Command output: QAccessibleWidget::queryParent(QAccessibleInterface**) const in qaccessiblewidget.o QAccessibleWidgetStack::queryChild(int, QAccessibleInterface**) constin qaccessiblewidget.o "non-virtual thunk to QAccessibleObject::isValid() const", referenced from: vtable for QAccessibleWidgetin qaccessiblewidget.o vtable for QAccessibleWidgetStackin qaccessiblewidget.o vtable for QAccessibleButtonin qaccessiblewidget.o vtable for QAccessibleRangeControlin qaccessiblewidget.o vtable for QAccessibleSpinWidgetin qaccessiblewidget.o vtable for QAccessibleScrollBarin qaccessiblewidget.o vtable for QAccessibleSliderin qaccessiblewidget.o vtable for QAccessibleTextin qaccessiblewidget.o vtable for QAccessibleDisplayin qaccessiblewidget.o vtable for QAccessibleHeaderin qaccessiblewidget.o vtable for QAccessibleTabBarin qaccessiblewidget.o vtable for QAccessibleComboBoxin qaccessiblewidget.o vtable for QAccessibleTitleBarin qaccessiblewidget.o vtable for QAccessibleViewportin qaccessiblewidget.o vtable for QAccessibleScrollViewin qaccessiblewidget.o vtable for QAccessibleListBoxin qaccessiblewidget.o vtable for QAccessibleListViewin qaccessiblewidget.o vtable for QAccessibleIconViewin qaccessiblewidget.o vtable for QAccessibleTextEditin qaccessiblewidget.o vtable for QAccessiblePopupin qaccessiblemenu.o vtable for QAccessibleMenuBarin qaccessiblemenu.o ld: symbol(s) not found 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 Error: The following dependencies failed to build: qt3-mac Error: Unable to upgrade port: 1
Change History (15)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to blair@… |
---|
comment:2 Changed 16 years ago by mf2k (Frank Schima)
comment:3 Changed 16 years ago by ralph@…
Self-updating, cleaning and re-installing gave the same error as reported above.
port installed qt3 reports
port installed qt3 The following ports are currently installed: qt3 @3.3.8_5+darwin_8+darwin_9 (active)
comment:4 Changed 16 years ago by mf2k (Frank Schima)
Try the following:
sudo port deactivate qt3 sudo port clean qt3-mac sudo port install qt3-mac
comment:5 Changed 16 years ago by ralph@…
That (more or less) worked:
laptop:~ ralph$ sudo port deactivate qt3 ---> Deactivating qt3 laptop:~ ralph$ sudo port clean qt3-mac ---> Cleaning qt3-mac laptop:~ ralph$ sudo port install qt3-mac ---> Fetching qt3-mac ---> Verifying checksum(s) for qt3-mac ---> Extracting qt3-mac ---> Applying patches to qt3-mac ---> Configuring qt3-mac ---> Building qt3-mac ---> Staging qt3-mac into destroot Warning: violation by /opt/local/translations Warning: qt3-mac violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing qt3-mac @3.3.8_1 ---> Activating qt3-mac @3.3.8_1 ---> Cleaning qt3-mac
comment:7 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
I think you can have only one installed at a time. You can try it and see.
comment:9 Changed 16 years ago by ralph@…
Your observation is correct. If I now try to activate qt3, I get:
---> Activating qt3 Error: port activate failed: Image error: /opt/local/bin/lrelease is being used by the active qt3-mac port. Please deactivate this port first, or use the -f flag to force the activation.
Conversely, if I try to run qucs with qt3-mac active instead of qt3, I get:
-> qucs dyld: Symbol not found: __ZN12QPaintDevice10setX11DataEPK19QPaintDeviceX11Data Referenced from: /opt/local/bin/qucs Expected in: /opt/local/lib/libqt-mt.3.dylib
How do I now resolve this issue?
comment:10 Changed 16 years ago by mf2k (Frank Schima)
I don't know, but you should open a new bug report for it so it can be assigned to the qucs maintainer.
comment:11 Changed 16 years ago by ralph@…
Why is the a bug report against qucs? qucs says it requires qt3, and with that it runs OK. It is qt3-mac which doesn't build in the presence of qt3, not qucs which doesn't work.
comment:12 Changed 16 years ago by mf2k (Frank Schima)
The latest version of qucs has a dependency on qt3-mac, not qt3. If you want qucs to work, you should file a bug against the qucs port. In any event, this particular bug report was against building qt3-mac which works now, so it's not relevant here.
comment:13 Changed 16 years ago by ralph@…
So what is going on here then?
laptop:~ ralph$ port deps qucs qucs has library dependencies on: qt3-mac freehdl laptop:~ ralph$ sudo port remove qt3 Password: Unrecognized action "remove" laptop:~ ralph$ sudo port uninstall qt3 ---> Unable to uninstall qt3 3.3.8_5+darwin_8+darwin_9, the following ports depend on it: ---> qucs Error: port uninstall failed: Please uninstall the ports that depend on qt3 first.
I'll agree this is not the original bug, but I don't understand this at all, and it probably needs reporting as a new bug. If you can help me understand it, I'll report it.
comment:14 Changed 16 years ago by mf2k (Frank Schima)
The registry is confused, try:
sudo port uninstall qucs sudo port install qucs sudo port uninstall qt3
This looks like a dup of #13208. Try the following:
Also, what is the result of: