Bug 151029 - sci-visualization/quickplot-0.8.5 fails to compile
|
Bug#:
151029
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: cryos@gentoo.org
|
Reported By: bugs@dev.gentooexperimental.org
|
|
Component: GCC Porting
|
|
|
URL:
|
|
Summary: sci-visualization/quickplot-0.8.5 fails to compile
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-10-12 08:57 0000
|
C++ Linker Flags (LDFLAGS):
Linker (LD):
C/C++ preprocessor flags (CPPFLAGS):
Installer (INSTALL): /bin/install -c
Make (MAKE): Is not set, but that is likely OK.
Installation prefix (prefix): /usr
making about.html from about.html.in
cat about.html.in | sed \
-e "s/%PACKAGE%/quickplot/g" \
-e "s/%TARNAME%//g" \
-e "s^%HOMEPAGE%^http://quickplot.sourceforge.net/^g" \
-e "s/%VERSION%/0.8.5/g" \
-e "s^%RELEASE_DATE%^Wed Jan 5 21:25:45 EST 2005^g" \
>> about.html
cat about.html | ./html2CString about_html.cpp
make all-am
make[1]: Entering directory
`/var/tmp/portage/quickplot-0.8.5/work/quickplot-0.8.5'
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/atkmm-1.6 -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/pango-1.0
-I/usr/include/cairo -I/usr/include/atk-1.0
-DHTMLDIR=\"/usr/share/doc/quickplot-0.8.5/html\" -O2 -march=i686 -pipe -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
Field.h:98: error: ISO C++ forbids declaration of 'FieldReader' with no type
Field.h:98: error: expected ';' before '*' token
make[1]: *** [quickplot-App.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/quickplot-0.8.5/work/quickplot-0.8.5'
make: *** [all] Error 2
!!! ERROR: sci-visualization/quickplot-0.8.5 failed.
Gentoo Base System version 1.12.5
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2_pre2-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.16.16 x86_64)
=================================================================
System uname: 2.6.16.16 x86_64 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Tue, 10 Oct 2006 17:50:02 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="http://85.25.128.62
ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync12.de.gentoo.org/gentoo-portage"
USE="x86 X berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fortran
gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6
isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd
python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev
unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati
video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy
video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740
video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic
video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3
video_cards_s3virge video_cards_savage video_cards_siliconmotion
video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga
video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa
video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg
zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Maybe someone should update this? Latest is 0.8.13...
Our 0.8.5 is equivalent to 0.8.7 (I helped with patching it to install properly
on Gentoo). There seem to have been quite a few releases recently and I have
been insanely busy. I am currently getting a failure with GCC 4.1.1 on the old
and new version - I will see what I can do but it may have to wait until I can
get to it unless anyone else has time to give it some love?
from the 0.8.10 ChangeLog:
* made install_portage use Portage overlay for gentoo systems
There's a script called install_portage in the source , which generates an
ebuild and puts it in /usr/local/portage/sci-visualization/quickplot/. The
generated ebuild has the same contents as the ebuild for quickplot-0.8.5 in
portage.
Merging the quickplot-0.8.5 with gcc-4.1.1 gives me the same error as reported
previously, but quickplot-0.8.13 merges fine with the same ebuild.
Well I emailed Lance about this issue as I couldn't see how to fix it myself.
He said he would look into it but then I never heard anything back from him. As
devaway notes I am busy writing up at the moment (if anyone else wants to
fix/bump stuff for me they can) and this is the first chance I have had to try
and catch up on Gentoo bugs.
The new version compiles great here - I have bumped the version in portage.