[MacPorts] #16109: qt3-mac fails to build
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | --------------------------------+------------------------------------------- qt3-mac appears to reject a computer running leopard, although the changes seem to be deeper then that, as when I forced the configure file to believe I was running tiger, it still failed. -- Ticket URL: <http://trac.macports.org/ticket/16109> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build ---------------------------------+------------------------------------------ Reporter: dented42@gmail.com | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: qt3-mac leopard ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * owner: macports-tickets@lists.macosforge.org => blair@macports.org * priority: High => Normal Comment: Assigning to maintainer. I see this issue too. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build ---------------------------------+------------------------------------------ Reporter: dented42@gmail.com | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: qt3-mac leopard ---------------------------------+------------------------------------------ Comment(by blair@macports.org): Please supply the output from the command that's failing, with sufficient context to see what's going on. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build ---------------------------------+------------------------------------------ Reporter: dented42@gmail.com | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: qt3-mac leopard ---------------------------------+------------------------------------------ Comment(by macsforever2000@macports.org): Here's what I see. Let me know if you want more detail. {{{ ---> Configuring qt3-mac Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8" && echo yes | ./configure --prefix=/opt/local -v -prefix '/opt/local' -docdir '/opt/local/share/doc/qt3-mac/html' -datadir '/opt/local/share/qt3' -headerdir '/opt/local/include/qt3' -plugindir '/opt/local/lib/qt3-plugins' -release -shared -fast -thread -stl -qt-gif -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-nis -no-cups -no-ipv6 -largefile -system-zlib -system-libpng -system-libjpeg -system-libmng '-I/opt/local/include' '-L/opt/local/lib' " returned error 2 Command output: PostgreSQL auto-detection... Could not find libpq.* anywhere in /lib /usr/lib /opt/local/lib PostgreSQL disabled. Testing Mac version... mac_version.cpp:5: error: missing terminating " character mac_version.cpp:6: error: missing terminating " character mac_version.cpp: In function 'int main()': mac_version.cpp:7: error: expected primary-expression before 'return' Mac version cannot be detected! This is the Qt/Mac Open Source Edition. You are licensed to use this software under the terms of the GNU General Public License (GPL). Type 'G' to view the GNU General Public License. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of the license? Creating qmake. Please wait... c++ -c -o project.o -pipe -DQT_MACOSX_VERSION= -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8/include/qmake -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8/mkspecs/macx-g++ -DHAVE_QCONFIG_CPP project.cpp In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8/include/qtl.h:42, from /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8/include/qvaluelist.h:42, from /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8/include/qstringlist.h:42, from project.h:39, from project.cpp:36: /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_aqua_qt3-mac/work /qt-mac-free-3.3.8/include/qglobal.h:187:6: error: #error "This version of Mac OS X is unsupported" gmake: *** [project.o] Error 1 qmake failed to build. Aborting. Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build ---------------------------------+------------------------------------------ Reporter: dented42@gmail.com | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: qt3-mac leopard ---------------------------------+------------------------------------------ Comment(by blair@macports.org): I don't have any cycles to look at this, but if you supply a patch then I can put it in the Port. You may also want to Google around for patches that already fix this for 10.5. I'm sure somebody has solved it. If you supply a patch, please link the URL where you got it from. Thanks, Blair -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build ---------------------------------+------------------------------------------ Reporter: dented42@gmail.com | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: qt3-mac leopard Port: qt3-mac | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * port: => qt3-mac -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by cedayiv@…): I've attached a patch file that fixes the problem for me. It is based on the one used for fink, found here: http://fink.cvs.sourceforge.net/*checkout*/fink/dists/10.4/unstable/main/fin... Of course, one must also add the patch in the Portfile so it gets used. Hope this helps! -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by cedayiv@…): FYI: I do still get a warning when installing, but I don't think it has anything to do with the patch that I attached: 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_0 ---> Activating qt3-mac @3.3.8_0 ---> Cleaning qt3-mac -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by miranda@…): I have tried both the patch-leopard and qt3mac.patch2 patches (separately) and I still get a failure message that this version of OS X (10.5) is not supported. Is there anything else I can do? Thanks. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by cedayiv@…): Replying to [comment:12 miranda@…]:
I have tried both the patch-leopard and qt3mac.patch2 patches (separately) and I still get a failure message that this version of OS X (10.5) is not supported. Is there anything else I can do? Thanks.
The qt3mac.patch2 won't work for you because it is designed for fink. You should use patch-leopard which is the same thing but adapted for MacPorts. Don't forget to add the patch to the list of patches in your Portfile, or it won't be used. The command is: sudo port edit qt3-mac There are two lines in there that need be edited to look like shown below. On the first line you just have to add the backslash at the end. Then add the second line right after it: {{{ patch-mkspecs-qmake.conf \ patch-leopard }}} -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by miranda@…): Thanks for the help. I got a little farther, but I get these errors now: {{{ ---> 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: Status 1 encountered during processing. }}} Do I need to install something else before I can install qt3-mac? Thanks. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by cedayiv@…): Hmm, I'm afraid I can't help with that one. The patch-leopard was all I needed to get it to compile and install. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by miranda@…): It worked after I uninstalled qt3 which I had installed in a desperate attempt to get the libqt...dylib libraries. Unfortunately the program which I am trying to run that uses the library says it's for the wrong architecture. Could that have something to do with the patch I had to apply? -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by janp@…): I've made the change to the portfile but now it's telling me it can't find the patch do I need to dowload it and put it somewhere in the build directory? ---> Fetching qt3-mac ---> Attempting to fetch patch-leopard from http://svn.macports.org/repository/macports/distfiles/qt3-mac ---> Attempting to fetch patch-leopard from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch patch-leopard from http://svn.macports.org/repository/macports/downloads/qt3-mac Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by cedayiv@…): Replying to [comment:18 janp@…]:
I've made the change to the portfile but now it's telling me it can't find the patch do I need to dowload it and put it somewhere in the build directory?
You definitely need to download it, but I don't remember where it goes... it goes wherever the patches go. ;) Try searching your system for one of the other patches and put it in the same place: {{{ find / -name patch-mkspecs-qmake.conf }}} -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by macsforever2000@…): You put it in the directory named "files" where the portfile resides. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build --------------------------------+------------------------------------------- Reporter: dented42@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: qt3-mac leopard | Port: qt3-mac --------------------------------+------------------------------------------- Comment(by janp@…): Thanks it seems to build OK now but I get warning messages ---> 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_0 Then when I try to install qucs sudo port install qucs Password: Error: Unable to execute port: couldn't change working directory to "/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/qt3": no such file or directory -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build ---------------------------------+------------------------------------------ Reporter: dented42@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: duplicate | Keywords: qt3-mac leopard Port: qt3-mac | ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * status: new => closed * resolution: => duplicate Comment: This appears to be a duplicate of #13208. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16109: qt3-mac fails to build ---------------------------------+------------------------------------------ Reporter: dented42@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: duplicate | Keywords: qt3-mac leopard Port: qt3-mac | ---------------------------------+------------------------------------------ Comment(by macsforever2000@…): Replying to [comment:21 janp@…]:
Then when I try to install qucs sudo port install qucs Password: Error: Unable to execute port: couldn't change working directory to "/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/qt3": no such file or directory
This is not a qt3-mac problem. You should open a new ticket against the qucs port. -- Ticket URL: <http://trac.macports.org/ticket/16109#comment:24> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts