Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21442 closed defect (worksforme)

qtiplot 0.9.7.8 fails to build on Snow Leopard

Reported by: Stochasticus@… Owned by: jonas@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: qtiplot

Description

Trying to install qtiplot on Snow Leopard with Xcode Version 3.2 (1610). I patched the port file with the most recent update as it was failing with different errors before. This is the output without debug on and then I'll include the lines from the log file with debug on that include errors. I couldn't find anything by searching for the errors mentioned so I apologise if it's already out there somewhere.

--->  Computing dependencies for qtiplot
--->  Fetching qtiplot
--->  Verifying checksum(s) for qtiplot
--->  Extracting qtiplot
--->  Configuring qtiplot
--->  Building qtiplot
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_qtiplot/work/qtiplot-0.9.7.6" && /usr/bin/make -j2 all " returned error 2
Command output: src/table/Table.h: In member function 'bool Table::isColumnHidden(int)':
src/table/Table.h:148: error: 'class MyTable' has no member named 'isColumnHidden'
src/table/Table.h: In member function 'bool Table::isRowSelected(int, bool)':
src/table/Table.h:256: error: 'class MyTable' has no member named 'isRowSelected'
src/table/Table.h: In member function 'bool Table::isColumnSelected(int, bool)':
src/table/Table.h:257: error: 'class MyTable' has no member named 'isColumnSelected'
src/table/Table.h: In member function 'void Table::setColumnTypes(int)':
src/table/Table.h:268: error: 'ctl' was not declared in this scope
src/table/Table.h: In member function 'int Table::verticalHeaderWidth()':
src/table/Table.h:316: error: 'class MyTable' has no member named 'verticalHeader'
In file included from src/analysis/Filter.h:34,
                 from src/analysis/Correlation.h:32,
                 from src/analysis/Correlation.cpp:29:
src/core/ApplicationWindow.h: At global scope:
src/core/ApplicationWindow.h:484: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:489: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:681: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:870: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:872: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:881: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:884: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:890: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:893: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:938: error: 'Q3ListViewItem' was not declared in this scope
src/core/ApplicationWindow.h:938: error: template argument 1 is invalid
src/core/ApplicationWindow.h:941: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:1229: error: 'Q3ListViewItem' was not declared in this scope
src/core/ApplicationWindow.h:1229: error: template argument 1 is invalid
make[1]: *** [../tmp/qtiplot/Correlation.o] Error 1
make: *** [sub-qtiplot-all] Error 2

Error: Status 1 encountered during processing.

And these are the lines from the debug log file which contain errors:

In file included from src/analysis/Filter.h:34,
                 from src/analysis/Convolution.h:32,
                 from src/analysis/Convolution.cpp:29:
src/core/ApplicationWindow.h:36:24: error: q3listview.h: No such file or directory
In file included from src/core/ApplicationWindow.h:44,
                 from src/analysis/Filter.h:34,
                 from src/analysis/Convolution.h:32,
                 from src/analysis/Convolution.cpp:29:
src/table/Table.h:34:21: error: q3table.h: No such file or directory
src/table/Table.h:35:22: error: q3header.h: No such file or directory
src/table/Table.h:36:23: error: Q3ValueList: No such file or directory
/usr/bin/g++-4.2 -c -pipe -Os -fPIC -Wall -W -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtCore -I/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4-mac/include/QtGui -I/opt/local/libexec/qt4-mac/include -Imoc -F/opt/local/libexec/qt4-mac/lib -o obj/qwt_plot_grid.o qwt_plot_grid.cpp
In file included from /opt/local/libexec/qt4-mac/include/QtCore/qnamespace.h:45,
                 from /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Headers/qpainter.h:45,
                 from qwt_plot_grid.cpp:10:
/opt/local/libexec/qt4-mac/include/QtCore/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary"
In file included from src/core/ApplicationWindow.h:44,
                 from src/analysis/Filter.h:34,
                 from src/analysis/Convolution.h:32,
                 from src/analysis/Convolution.cpp:29:
src/table/Table.h:44: error: expected class-name before '{' token
src/table/Table.h:74: error: 'Q3TableSelection' does not name a type
src/table/Table.h:108: error: ISO C++ forbids declaration of 'Q3ValueList' with no type
src/table/Table.h:108: error: expected ';' before '<' token
src/table/Table.h:269: error: ISO C++ forbids declaration of 'Q3ValueList' with no type
src/table/Table.h:269: error: expected ';' before '<' token
src/table/Table.h:270: error: 'Q3ValueList' has not been declared
src/table/Table.h:270: error: expected ',' or '...' before '<' token
src/table/Table.h: In member function 'bool Table::isColumnHidden(int)':
src/table/Table.h:148: error: 'class MyTable' has no member named 'isColumnHidden'
src/table/Table.h: In member function 'bool Table::isRowSelected(int, bool)':
src/table/Table.h:258: error: 'class MyTable' has no member named 'isRowSelected'
src/table/Table.h: In member function 'bool Table::isColumnSelected(int, bool)':
src/table/Table.h:259: error: 'class MyTable' has no member named 'isColumnSelected'
src/table/Table.h: In member function 'void Table::setColumnTypes(int)':
src/table/Table.h:270: error: 'ctl' was not declared in this scope
src/table/Table.h: In member function 'int Table::verticalHeaderWidth()':
src/table/Table.h:318: error: 'class MyTable' has no member named 'verticalHeader'
In file included from src/analysis/Filter.h:34,
                 from src/analysis/Convolution.h:32,
                 from src/analysis/Convolution.cpp:29:
src/core/ApplicationWindow.h: At global scope:
src/core/ApplicationWindow.h:493: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:498: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:692: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:881: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:883: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:892: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:895: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:901: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:904: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:949: error: 'Q3ListViewItem' was not declared in this scope
src/core/ApplicationWindow.h:949: error: template argument 1 is invalid
src/core/ApplicationWindow.h:952: error: 'Q3ListViewItem' has not been declared
src/core/ApplicationWindow.h:1242: error: 'Q3ListViewItem' was not declared in this scope
src/core/ApplicationWindow.h:1242: error: template argument 1 is invalid
make[1]: *** [../tmp/qtiplot/Convolution.o] Error 1
make: *** [sub-qtiplot-all] Error 2
make: *** Waiting for unfinished jobs....

I will attach the full log as well.

Attachments (1)

qtiplot.log (152.2 KB) - added by Stochasticus@… 15 years ago.
install log file with -d flag on for qtiplot

Download all attachments as: .zip

Change History (10)

Changed 15 years ago by Stochasticus@…

Attachment: qtiplot.log added

install log file with -d flag on for qtiplot

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jonas@…
Port: qtiplot added

comment:2 Changed 15 years ago by jonas@…

It seems that your Qt version was compiled without Qt3Support.

But an other problem is that qtpilot-0.9.7.8 can't be nuild with an up to date version sip. This has been fixed in the 0.9.7.9 release which came out this week. I'll try to update the port this weekend.

comment:3 in reply to:  2 ; Changed 15 years ago by Stochasticus@…

Replying to jonas@…:

It seems that your Qt version was compiled without Qt3Support.

Right, I didn't do that deliberately, it was simply installed as a dependency. Should I put in another report about that?

But an other problem is that qtpilot-0.9.7.8 can't be nuild with an up to date version sip. This has been fixed in the 0.9.7.9 release which came out this week. I'll try to update the port this weekend.

Okay, I can certainly wait. Thanks.

comment:4 in reply to:  3 Changed 15 years ago by jonas@…

Replying to Stochasticus@…:

Replying to jonas@…:

It seems that your Qt version was compiled without Qt3Support.

Right, I didn't do that deliberately, it was simply installed as a dependency. Should I put in another report about that?

I would say so... At a quick look at the qt4-mac port I saw that there is no variant to enable/disable qt3support, so it appears to be a bug in the Portfile. I've still got an older version installed which has qt3support.

Again this reveals a long time problem with MacPorts in general: it is not possible to depend on a certain version of a port, nor can one ensure variants on a dependency, not is it possible to have several versions of a port in the tree....

comment:5 Changed 15 years ago by Stochasticus@…

There seems to be a similar issue in this ticket #20362 which may explain it. Do you think if I reinstall qt4-mac without the cocoa variant it might solve this part of the problem?

comment:6 Changed 15 years ago by Stochasticus@…

Apparently I'm on a hiding to nothing here as it's impossible to get qt4-mac with qt3 on Snow Leopard (see #21448). So, unless a new version of qtiplot is likely to turn up that doesn't need the qt3 support then I'm out of luck.

comment:7 in reply to:  2 Changed 15 years ago by jonas@…

Resolution: worksforme
Status: newclosed

Replying to jonas@…:

But an other problem is that qtpilot-0.9.7.8 can't be nuild with an up to date version sip. This has been fixed in the 0.9.7.9 release which came out this week. I'll try to update the port this weekend.

done in r57915

I'm closing this ticket since the missing qt3support libs have nothing to do with Qtiplot itself. Getting rid of qt3support is scheduled for 1.0.0; but before that 0.9.8 and 0.9.9 are on the roadmap.

comment:8 Changed 15 years ago by jonas@…

could you please try again? Revision 2 of qt4-mac includes a patch which should add (a subset of) qt3support even on 64 bit cocoa builds. see r58937 and #20362

comment:9 Changed 15 years ago by Stochasticus@…

It works! I got an error when building qtiplot that said that it violated some standard for placing files in /usr/ but I'm afraid I don't think I've got a log file for that. is there some default log somewhere for macports? Anyway, the software seems to run fine though I get some command line errors while trying out a simple plot that I will try to replicate and post if they happen again.

Note: See TracTickets for help on using tickets.