<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>71862</bug_id>
          
          <creation_ts>2004-11-20 10:27 0000</creation_ts>
          <short_desc>app-sci/glpk-4.2 fails to compile</short_desc>
          <delta_ts>2004-11-22 15:51:31 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>andreas.korinek@wizards-of-chemistry.net</reporter>
          <assigned_to>robbat2@gentoo.org</assigned_to>
          <cc>amd64@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>andreas.korinek@wizards-of-chemistry.net</who>
            <bug_when>2004-11-20 10:27:36 0000</bug_when>
            <thetext>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 &quot;jdouble&quot;
glpk.c:1215: error: parse error before &apos;*&apos; token
glpk.c: In function `Java_org_gnu_glpk_GlpkSolver_evalActivity&apos;:
glpk.c:1219: error: `env&apos; undeclared (first use in this function)
glpk.c:1220: error: `jint&apos; undeclared (first use in this function)
glpk.c:1220: error: `ndxEls&apos; undeclared (first use in this function)
glpk.c:1220: error: `ndx&apos; undeclared (first use in this function)
glpk.c:1221: error: `jdouble&apos; undeclared (first use in this function)
glpk.c:1221: error: `valEls&apos; undeclared (first use in this function)
glpk.c:1221: error: `val&apos; undeclared (first use in this function)
glpk.c:1223: error: `len&apos; undeclared (first use in this function)
glpk.c:1228: error: parse error before &quot;ret&quot;
glpk.c: At top level:
glpk.c:1231: error: syntax error before &quot;void&quot;
glpk.c:1232: error: parse error before &apos;*&apos; token
glpk.c: In function `Java_org_gnu_glpk_GlpkSolver_estimObjChg&apos;:
glpk.c:1235: error: `env&apos; undeclared (first use in this function)
glpk.c:1236: error: `jclass&apos; undeclared (first use in this function)
glpk.c:1236: error: parse error before &quot;cls&quot;
glpk.c:1237: error: `jint&apos; undeclared (first use in this function)
glpk.c:1237: error: `ndxEls&apos; undeclared (first use in this function)
glpk.c:1238: error: `jdouble&apos; undeclared (first use in this function)
glpk.c:1238: error: `valEls&apos; undeclared (first use in this function)
glpk.c:1240: error: `jfieldID&apos; undeclared (first use in this function)
glpk.c:1240: error: parse error before &quot;fidDnChg&quot;
glpk.c:1241: error: `fidDnChg&apos; undeclared (first use in this function)
glpk.c:1241: error: `cls&apos; undeclared (first use in this function)
glpk.c:1242: error: `fidUpChg&apos; undeclared (first use in this function)
glpk.c:1245: error: `ndx&apos; undeclared (first use in this function)
glpk.c:1246: error: `val&apos; undeclared (first use in this function)
glpk.c:1248: error: `k&apos; undeclared (first use in this function)
glpk.c:1248: error: `dn_val&apos; undeclared (first use in this function)
glpk.c:1248: error: `up_val&apos; undeclared (first use in this function)
glpk.c:1254: error: `chg&apos; undeclared (first use in this function)
glpk.c:1254: error: parse error before &quot;dn_chg&quot;
glpk.c:1255: error: parse error before &quot;up_chg&quot;
make[1]: *** [glpk.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/glpk-4.2/work/glpk-4.2/contrib/jni/c&apos;
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=&quot;x86 ~x86&quot; 
AUTOCLEAN=&quot;yes&quot; 
CFLAGS=&quot;-O2 -march=athlon-tbird -pipe -fomit-frame-pointer&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
COMPILER=&quot;&quot; 
CONFIG_PROTECT=&quot;/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&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot; 
CXXFLAGS=&quot;-O2 -march=athlon-tbird -pipe -fomit-frame-pointer&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
FEATURES=&quot;autoaddcvs autoconfig candy ccache distlocks sandbox sfperms&quot; 
GENTOO_MIRRORS=&quot;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/&quot; 
MAKEOPTS=&quot;-j2&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR=&quot;/usr/portage&quot; 
PORTDIR_OVERLAY=&quot;&quot; 
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot; 
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2004-11-21 18:45:24 0000</bug_when>
            <thetext>I&apos;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&apos;ll remove 4.2 from the tree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>andreas.korinek@wizards-of-chemistry.net</who>
            <bug_when>2004-11-22 07:55:41 0000</bug_when>
            <thetext>4.7 works fine for me, also works on amd64 now, please add ~amd64</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sekretarz@gentoo.org</who>
            <bug_when>2004-11-22 15:51:31 0000</bug_when>
            <thetext>Added to ~amd64, thanks for info.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>