Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220493

Summary: sci-visualization/quickplot-0.8.13 fails w/ gcc-4.3.0 and with >=libsigc++-2.1
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Marcus D. Hanwell (RETIRED) <cryos>
Status: RESOLVED FIXED    
Severity: normal CC: sci
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: quickplot-0.8.13.ebuild.patch
quickplot-0.8.13-libsigc++-2.2.2.patch
quickplot-0.8.13-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 22:58:34 UTC
make[1]: Entering directory `/var/tmp/portage/sci-visualization/quickplot-0.8.13/work/quickplot-0.8.13'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0    -DHTMLDIR=\"/usr/share/doc/quickplot-0.8.13/html\" -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT quickplot-App.o -MD -MP -MF ".deps/quickplot-App.Tpo" \
          -c -o quickplot-App.o `test -f 'App.cpp' || echo './'`App.cpp; \
        then mv -f ".deps/quickplot-App.Tpo" ".deps/quickplot-App.Po"; \
        else rm -f ".deps/quickplot-App.Tpo"; exit 1; \
        fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0    -DHTMLDIR=\"/usr/share/doc/quickplot-0.8.13/html\" -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT quickplot-App_parseArgs.o -MD -MP -MF ".deps/quickplot-App_parseArgs.Tpo" \
          -c -o quickplot-App_parseArgs.o `test -f 'App_parseArgs.cpp' || echo './'`App_parseArgs.cpp; \
        then mv -f ".deps/quickplot-App_parseArgs.Tpo" ".deps/quickplot-App_parseArgs.Po"; \
        else rm -f ".deps/quickplot-App_parseArgs.Tpo"; exit 1; \
        fi
In file included from App_parseArgs.cpp:24:
Plot.h:104: error: ‘SigC’ has not been declared
Plot.h:104: error: ISO C++ forbids declaration of ‘Signal0’ with no type
Plot.h:104: error: expected ‘;’ before ‘<’ token
Plot.h:111: error: ‘SigC’ has not been declared
Plot.h:111: error: ISO C++ forbids declaration of ‘Signal2’ with no type
Plot.h:111: error: expected ‘;’ before ‘<’ token
Plot.h:121: error: ‘SigC’ has not been declared
Plot.h:121: error: ISO C++ forbids declaration of ‘Signal0’ with no type
Plot.h:121: error: expected ‘;’ before ‘<’ token
Plot.h:123: error: ‘SigC’ has not been declared
Plot.h:123: error: ISO C++ forbids declaration of ‘Signal2’ with no type
Plot.h:123: error: expected ‘;’ before ‘<’ token
Plot.h: In member function ‘void Plot::setShowLines(bool)’:
Plot.h:68: error: ‘m_signal_changed’ was not declared in this scope
Plot.h: In member function ‘void Plot::setShowPoints(bool)’:
Plot.h:74: error: ‘m_signal_changed’ was not declared in this scope
In file included from App_parseArgs.cpp:26:
Graph.h: At global scope:
Graph.h:71: error: ‘SigC’ has not been declared
Graph.h:71: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Graph.h:71: error: expected ‘;’ before ‘<’ token
Graph.h:72: error: ‘SigC’ has not been declared
Graph.h:72: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Graph.h:72: error: expected ‘;’ before ‘<’ token
Graph.h:73: error: ‘SigC’ has not been declared
Graph.h:73: error: ISO C++ forbids declaration of ‘Signal2’ with no type
Graph.h:73: error: expected ‘;’ before ‘<’ token
Graph.h:74: error: ‘SigC’ has not been declared
Graph.h:74: error: ISO C++ forbids declaration of ‘Signal0’ with no type
Graph.h:74: error: expected ‘;’ before ‘<’ token
Graph.h:108: error: ‘SigC’ has not been declared
Graph.h:108: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Graph.h:108: error: expected ‘;’ before ‘<’ token
Graph.h:110: error: ‘SigC’ has not been declared
Graph.h:110: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Graph.h:110: error: expected ‘;’ before ‘<’ token
Graph.h:111: error: ‘SigC’ has not been declared
Graph.h:111: error: ISO C++ forbids declaration of ‘Signal2’ with no type
Graph.h:111: error: expected ‘;’ before ‘<’ token
Graph.h:113: error: ‘SigC’ has not been declared
Graph.h:113: error: ISO C++ forbids declaration of ‘Signal0’ with no type
Graph.h:113: error: expected ‘;’ before ‘<’ token
In file included from App_parseArgs.cpp:28:
ValueSlider.h:23: error: ‘SigC’ has not been declared
ValueSlider.h:23: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:23: error: expected ‘;’ before ‘<’ token
ValueSlider.h:26: error: ‘SigC’ has not been declared
ValueSlider.h:26: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:26: error: expected ‘;’ before ‘<’ token
ValueSlider.h:56: error: ‘SigC’ has not been declared
ValueSlider.h:56: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:56: error: expected ‘;’ before ‘<’ token
ValueSlider.h:59: error: ‘SigC’ has not been declared
ValueSlider.h:59: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:59: error: expected ‘;’ before ‘<’ token
ValueSlider.h:91: error: ‘SigC’ has not been declared
ValueSlider.h:91: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:91: error: expected ‘;’ before ‘<’ token
ValueSlider.h:94: error: ‘SigC’ has not been declared
ValueSlider.h:94: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:94: error: expected ‘;’ before ‘<’ token
In file included from App_parseArgs.cpp:29:
PlotLister.h:27: error: ‘SigC’ has not been declared
PlotLister.h:27: error: ISO C++ forbids declaration of ‘Connection’ with no type
PlotLister.h:27: error: expected ‘;’ before ‘plotChangeConnection’
PlotLister.h:55: error: ‘SigC’ has not been declared
PlotLister.h:55: error: ISO C++ forbids declaration of ‘Connection’ with no type
PlotLister.h:55: error: expected ‘;’ before ‘valueDisplay_connection’
In file included from App_parseArgs.cpp:30:
PlotConfig.h:55: error: ‘SigC’ has not been declared
PlotConfig.h:55: error: ISO C++ forbids declaration of ‘Connection’ with no type
PlotConfig.h:55: error: expected ‘;’ before ‘plotChanged_connection’
In file included from App_parseArgs.cpp:37:
MainWindow.h:22: error: ‘SigC’ has not been declared
MainWindow.h:22: error: ISO C++ forbids declaration of ‘Signal1’ with no type
MainWindow.h:22: error: expected ‘;’ before ‘<’ token
MainWindow.h:23: error: ‘SigC’ has not been declared
MainWindow.h:23: error: ISO C++ forbids declaration of ‘Signal1’ with no type
MainWindow.h:23: error: expected ‘;’ before ‘<’ token
In file included from App_parseArgs.cpp:38:
App.h:44: error: multiple parameters named ‘argv’
In file included from App_parseArgs.cpp:40:
Source.h:53: error: ‘SigC’ has not been declared
Source.h:53: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Source.h:53: error: expected ‘;’ before ‘<’ token
Source.h:54: error: ‘SigC’ has not been declared
Source.h:54: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Source.h:54: error: expected ‘;’ before ‘<’ token
Source.h:64: error: ‘SigC’ has not been declared
Source.h:64: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Source.h:64: error: expected ‘;’ before ‘<’ token
Source.h:65: error: ‘SigC’ has not been declared
Source.h:65: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Source.h:65: error: expected ‘;’ before ‘<’ token
make[1]: *** [quickplot-App_parseArgs.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from App.cpp:16:
Plot.h:104: error: ‘SigC’ has not been declared
Plot.h:104: error: ISO C++ forbids declaration of ‘Signal0’ with no type
Plot.h:104: error: expected ‘;’ before ‘<’ token
Plot.h:111: error: ‘SigC’ has not been declared
Plot.h:111: error: ISO C++ forbids declaration of ‘Signal2’ with no type
Plot.h:111: error: expected ‘;’ before ‘<’ token
Plot.h:121: error: ‘SigC’ has not been declared
Plot.h:121: error: ISO C++ forbids declaration of ‘Signal0’ with no type
Plot.h:121: error: expected ‘;’ before ‘<’ token
Plot.h:123: error: ‘SigC’ has not been declared
Plot.h:123: error: ISO C++ forbids declaration of ‘Signal2’ with no type
Plot.h:123: error: expected ‘;’ before ‘<’ token
Plot.h: In member function ‘void Plot::setShowLines(bool)’:
Plot.h:68: error: ‘m_signal_changed’ was not declared in this scope
Plot.h: In member function ‘void Plot::setShowPoints(bool)’:
Plot.h:74: error: ‘m_signal_changed’ was not declared in this scope
In file included from App.cpp:18:
Graph.h: At global scope:
Graph.h:71: error: ‘SigC’ has not been declared
Graph.h:71: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Graph.h:71: error: expected ‘;’ before ‘<’ token
Graph.h:72: error: ‘SigC’ has not been declared
Graph.h:72: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Graph.h:72: error: expected ‘;’ before ‘<’ token
Graph.h:73: error: ‘SigC’ has not been declared
Graph.h:73: error: ISO C++ forbids declaration of ‘Signal2’ with no type
Graph.h:73: error: expected ‘;’ before ‘<’ token
Graph.h:74: error: ‘SigC’ has not been declared
Graph.h:74: error: ISO C++ forbids declaration of ‘Signal0’ with no type
Graph.h:74: error: expected ‘;’ before ‘<’ token
Graph.h:108: error: ‘SigC’ has not been declared
Graph.h:108: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Graph.h:108: error: expected ‘;’ before ‘<’ token
Graph.h:110: error: ‘SigC’ has not been declared
Graph.h:110: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Graph.h:110: error: expected ‘;’ before ‘<’ token
Graph.h:111: error: ‘SigC’ has not been declared
Graph.h:111: error: ISO C++ forbids declaration of ‘Signal2’ with no type
Graph.h:111: error: expected ‘;’ before ‘<’ token
Graph.h:113: error: ‘SigC’ has not been declared
Graph.h:113: error: ISO C++ forbids declaration of ‘Signal0’ with no type
Graph.h:113: error: expected ‘;’ before ‘<’ token
In file included from App.cpp:20:
ValueSlider.h:23: error: ‘SigC’ has not been declared
ValueSlider.h:23: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:23: error: expected ‘;’ before ‘<’ token
ValueSlider.h:26: error: ‘SigC’ has not been declared
ValueSlider.h:26: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:26: error: expected ‘;’ before ‘<’ token
ValueSlider.h:56: error: ‘SigC’ has not been declared
ValueSlider.h:56: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:56: error: expected ‘;’ before ‘<’ token
ValueSlider.h:59: error: ‘SigC’ has not been declared
ValueSlider.h:59: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:59: error: expected ‘;’ before ‘<’ token
ValueSlider.h:91: error: ‘SigC’ has not been declared
ValueSlider.h:91: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:91: error: expected ‘;’ before ‘<’ token
ValueSlider.h:94: error: ‘SigC’ has not been declared
ValueSlider.h:94: error: ISO C++ forbids declaration of ‘Signal0’ with no type
ValueSlider.h:94: error: expected ‘;’ before ‘<’ token
In file included from App.cpp:24:
PlotLister.h:27: error: ‘SigC’ has not been declared
PlotLister.h:27: error: ISO C++ forbids declaration of ‘Connection’ with no type
PlotLister.h:27: error: expected ‘;’ before ‘plotChangeConnection’
PlotLister.h:55: error: ‘SigC’ has not been declared
PlotLister.h:55: error: ISO C++ forbids declaration of ‘Connection’ with no type
PlotLister.h:55: error: expected ‘;’ before ‘valueDisplay_connection’
In file included from App.cpp:25:
PlotConfig.h:55: error: ‘SigC’ has not been declared
PlotConfig.h:55: error: ISO C++ forbids declaration of ‘Connection’ with no type
PlotConfig.h:55: error: expected ‘;’ before ‘plotChanged_connection’
In file included from App.cpp:29:
MainWindow.h:22: error: ‘SigC’ has not been declared
MainWindow.h:22: error: ISO C++ forbids declaration of ‘Signal1’ with no type
MainWindow.h:22: error: expected ‘;’ before ‘<’ token
MainWindow.h:23: error: ‘SigC’ has not been declared
MainWindow.h:23: error: ISO C++ forbids declaration of ‘Signal1’ with no type
MainWindow.h:23: error: expected ‘;’ before ‘<’ token
In file included from App.cpp:30:
App.h:44: error: multiple parameters named ‘argv’
In file included from App.cpp:32:
Source.h:53: error: ‘SigC’ has not been declared
Source.h:53: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Source.h:53: error: expected ‘;’ before ‘<’ token
Source.h:54: error: ‘SigC’ has not been declared
Source.h:54: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Source.h:54: error: expected ‘;’ before ‘<’ token
Source.h:64: error: ‘SigC’ has not been declared
Source.h:64: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Source.h:64: error: expected ‘;’ before ‘<’ token
Source.h:65: error: ‘SigC’ has not been declared
Source.h:65: error: ISO C++ forbids declaration of ‘Signal1’ with no type
Source.h:65: error: expected ‘;’ before ‘<’ token
make[1]: *** [quickplot-App.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-visualization/quickplot-0.8.13/work/quickplot-0.8.13'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 22:59:38 UTC
Created attachment 152023 [details, diff]
quickplot-0.8.13.ebuild.patch

Patch for ebuild. Added dep on >=libsigc++-2.0.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 23:00:47 UTC
Created attachment 152025 [details, diff]
quickplot-0.8.13-libsigc++-2.2.2.patch

Fix compilation with >=libsigc++-2.1.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-05 23:01:21 UTC
Created attachment 152027 [details, diff]
quickplot-0.8.13-gcc43.patch

Fix compilation with gcc-4.3.0. Snatched from Debian.
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2008-05-06 13:48:30 UTC
Thanks much Peter, I'll have a look!

Best,
Markus
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2008-05-06 14:18:26 UTC
I've just added all of this to 0.8.13-r1!
Thanks again for your help!

Best,
Markus