Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92093 - dev-lisp/drscheme-208 doesn't compile
Summary: dev-lisp/drscheme-208 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 02:23 UTC by Tero Pelander
Modified: 2005-07-30 13:00 UTC (History)
0 users

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 Tero Pelander 2005-05-10 02:23:59 UTC
When trying to install drscheme everyting looks ok until this...

....
setup-plt: Installing Help
setup-plt: Installing Draw Teachpack
setup-plt: Installing ProfessorJ
setup-plt: Post-Installing MrEd
setup-plt: Done setting up
setup-plt: 
setup-plt: Error during Compiling .zos for sgl (/home/portage-tmp/portage/drscheme-208/image/usr/share/drscheme/collects/sgl)
setup-plt:   default-load-handler: cannot open input file: "/home/portage-tmp/portage/drscheme-208/image/usr/share/drscheme/collects/sgl/gl-vectors/gl-double-vector.ss" (No such file or directory; errno=2)
setup-plt: Error during Early Install for sgl (/home/portage-tmp/portage/drscheme-208/image/usr/share/drscheme/collects/sgl)
setup-plt:   make: Failed to make gl-vectors/compiled/native/i386-linux/gl-double-vector.so; compile-extension: command failed
install: Errors in compilation process! (1)
make[1]: *** [copy-finish] Error 1
make[1]: Leaving directory `/home/portage-tmp/portage/drscheme-208/work/plt/src'
make: *** [install] Error 2
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-10 02:28:00 UTC
Reopen once you have posted emerge --info output like you were instructed to when filing the bug.
Comment 2 Tero Pelander 2005-05-10 03:18:34 UTC
emerge --info

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20040808-r1,glibc-2.3.4.20041102-r1, 2.6.10-brk+badness i686)
=================================================================
System uname: 2.6.10-brk+badness i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.5 [2.3.5 (#1, May  8 2005, 17:48:14)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r1, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage-tmp"
PORTDIR="/opt/sys/portage"
PORTDIR_OVERLAY="/opt/sys/portage2"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage/"
USE="x86 X apache2 bitmap-fonts cjk crypt cscope cups curl emboss foomaticdb fortran gd gdbm gif gtk2 guile imagemagick imap ipv6 java jpeg justify ldap libg++ mad mbox mp3 mysql ncurses nls nptl pam perl png python readline sdl slang sse ssl tcpd tetex tiff truetype-fonts type1-fonts unicode xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-10 03:40:28 UTC
Hmm, try without -Os in your CFLAGS... Also, try a couple more times. Otherwise, this looks like a dupe of Bug 84196 which was unreproducible. :/
Comment 4 Tero Pelander 2005-05-11 00:06:50 UTC
After more thorough reading of the compilation revealed this....

make: making gl-vectors/compiled/native/i386-linux/gl-double-vector.so
gl-vectors/compiled/native/i386-linux/gl-double-vector.so
compile-extension: (/usr/bin/gcc -c -O2 -fPIC -I/usr/X11R6/include -I/usr/X/incl
ude -I/home/portage-tmp/portage/drscheme-208/image/usr/share/drscheme/collects/c
ompiler -I/home/portage-tmp/portage/drscheme-208/image/usr/share/drscheme/includ
e gl-vectors/gl-double-vector.c -o gl-vectors/gl-double-vector.o)
gl-vectors/gl-double-vector.c:8:19: GL/gl.h: No such file or directory
In file included from gl-vectors/gl-double-vector.c:21:
gl-vectors/gl-double-vector.h:9: error: syntax error before "GLdouble"
...

It doesn't stop here. Much later trying to install the failed file creates an error that stops the ebuild. That is why I didn't notice it earlier.

Even "USE=-opengl" tries to compile and install this part. On the other hand command opengl-update informs on this system: "There are 0 available implementations." (This is after I installed opengl-update. "opengl" is NOT in my USE flags.)


Unfortunately even adding "$(use_enable opengl gl)" to the econf line in ebuild doesn't seem to stop it from trying to compile and install this part.

I'm currently using xorg-x11-6.8.2-r1.
Comment 5 Martin 2005-05-14 07:10:06 UTC
Just want to admit that I got the same error on my PPC system. Installing with:
  CFLAGS="-Os -pipe -mcpu=750" emerge drscheme
worked.
Comment 6 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2005-06-12 14:51:36 UTC
Can either of you test if this is still the same with 209?
Comment 7 Tero Pelander 2005-06-15 05:23:24 UTC
No luck using 209 without glopen support

...
checking GL/glx.h usability... no
checking GL/glx.h presence... no
checking for GL/glx.h... no
could not find GL/glx.h header; disabling GL support
...
make: making compiled/native/i386-linux
make: making gl-vectors/compiled/native/i386-linux
make: making gl-vectors/gl-double-vector.c
make: making gl-vectors/compiled/native/i386-linux/gl-double-vector.so
gl-vectors/compiled/native/i386-linux/gl-double-vector.so
compile-extension: (/usr/bin/gcc -c -O2 -fPIC -I/usr/X11R6/include -I/usr/X/incl
ude -I/home/portage-tmp/portage/drscheme-209/image/usr/share/drscheme/collects/c
ompiler -I/home/portage-tmp/portage/drscheme-209/image/usr/share/drscheme/includ
e gl-vectors/gl-double-vector.c -o gl-vectors/gl-double-vector.o)
gl-vectors/gl-double-vector.c:8:19: GL/gl.h: No such file or directory
In file included from gl-vectors/gl-double-vector.c:21:
gl-vectors/gl-double-vector.h:9: error: syntax error before "GLdouble"
...[lots of errors here]...
...
make: Failed to make gl-vectors/compiled/native/i386-linux/gl-double-vector.so; 
compile-extension: command failed
...
setup-plt:   default-load-handler: cannot open input file: "/home/portage-tmp/po
rtage/drscheme-209/image/usr/share/drscheme/collects/sgl/gl-vectors/gl-double-ve
ctor.ss" (No such file or directory; errno=2)
setup-plt: Error during Early Install for sgl (/home/portage-tmp/portage/drschem
e-209/image/usr/share/drscheme/collects/sgl)
setup-plt:   make: Failed to make gl-vectors/compiled/native/i386-linux/gl-doubl
e-vector.so; compile-extension: command failed
install: Errors in compilation process! (1)
Comment 8 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2005-07-30 13:00:15 UTC
I've played around with it a bit, and the best solution seems to be to force
opengl on. I've removed the useflag.