Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71862 - app-sci/glpk-4.2 fails to compile
Summary: app-sci/glpk-4.2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-20 10:27 UTC by Andreas Korinek
Modified: 2004-11-22 15:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Korinek 2004-11-20 10:27:36 UTC
there are tons of errors at some point of the compilation like this:

glpk.c: At top level:
glpk.c:1214: error: parse error before "jdouble"
glpk.c:1215: error: parse error before '*' token
glpk.c: In function `Java_org_gnu_glpk_GlpkSolver_evalActivity':
glpk.c:1219: error: `env' undeclared (first use in this function)
glpk.c:1220: error: `jint' undeclared (first use in this function)
glpk.c:1220: error: `ndxEls' undeclared (first use in this function)
glpk.c:1220: error: `ndx' undeclared (first use in this function)
glpk.c:1221: error: `jdouble' undeclared (first use in this function)
glpk.c:1221: error: `valEls' undeclared (first use in this function)
glpk.c:1221: error: `val' undeclared (first use in this function)
glpk.c:1223: error: `len' undeclared (first use in this function)
glpk.c:1228: error: parse error before "ret"
glpk.c: At top level:
glpk.c:1231: error: syntax error before "void"
glpk.c:1232: error: parse error before '*' token
glpk.c: In function `Java_org_gnu_glpk_GlpkSolver_estimObjChg':
glpk.c:1235: error: `env' undeclared (first use in this function)
glpk.c:1236: error: `jclass' undeclared (first use in this function)
glpk.c:1236: error: parse error before "cls"
glpk.c:1237: error: `jint' undeclared (first use in this function)
glpk.c:1237: error: `ndxEls' undeclared (first use in this function)
glpk.c:1238: error: `jdouble' undeclared (first use in this function)
glpk.c:1238: error: `valEls' undeclared (first use in this function)
glpk.c:1240: error: `jfieldID' undeclared (first use in this function)
glpk.c:1240: error: parse error before "fidDnChg"
glpk.c:1241: error: `fidDnChg' undeclared (first use in this function)
glpk.c:1241: error: `cls' undeclared (first use in this function)
glpk.c:1242: error: `fidUpChg' undeclared (first use in this function)
glpk.c:1245: error: `ndx' undeclared (first use in this function)
glpk.c:1246: error: `val' undeclared (first use in this function)
glpk.c:1248: error: `k' undeclared (first use in this function)
glpk.c:1248: error: `dn_val' undeclared (first use in this function)
glpk.c:1248: error: `up_val' undeclared (first use in this function)
glpk.c:1254: error: `chg' undeclared (first use in this function)
glpk.c:1254: error: parse error before "dn_chg"
glpk.c:1255: error: parse error before "up_chg"
make[1]: *** [glpk.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/glpk-4.2/work/glpk-4.2/contrib/jni/c'
make: *** [libglpk_jni.so] Error 2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.6.6 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://mirror.switch.ch/mirror/gentoo/ http://mir.zyrianes.net/gentoo/ 
http://gentoo.mirror.solnet.ch 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="3dnow X aalib acpi adns alsa apache2 arts artswrappersuid avi bcmath 
berkdb bitmap-fonts bootsplash bzlib cdparanoia cdr codecs crypt cups dba dga 
divx4linux dvd encode esd exif f77 fam fftw flac foomaticdb fortran gd gdbm 
gif gimp gimpprint gnuplot gphoto2 gpm gsl gtk gtk2 hbci imagemagick imlib 
java jpeg junit kde latex libg++ libwww mad mikmod mmx motif moznoirc 
moznomail mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pcre pdflib 
perl php png ppds python qt quicktime readline rtc scanner sdl session 
simplexml slang soap spell spl sqlite ssl svg svga tcltk tcpd tetex tiff 
truetype usb v4l2 x86 xine xml xml2 xmms xosd xsl xv zlib video_cards_matrox"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-21 18:45:24 UTC
I've put 4.7 in CVS, which bypasses the issue.

It no longer contains Java support (removed by upstream due to license issues).
If it works for you, I'll remove 4.2 from the tree.
Comment 2 Andreas Korinek 2004-11-22 07:55:41 UTC
4.7 works fine for me, also works on amd64 now, please add ~amd64
Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2004-11-22 15:51:31 UTC
Added to ~amd64, thanks for info.