bigloo-lib fails to build with bigloo-2.6a, however bigloo-2.5a (the old version) no longer builds with gcc 3.3.6. bigloo-lib fails to build with bigloo-2.6a with the error message: >>> Unpacking source... >>> Unpacking bigloo-lib-0.17.tar.gz to /var/tmp/portage/bigloo-lib-0.17/work >>> Source unpacked. * econf: updating bigloo-lib-0.17/config.guess with /usr/share/gnuconfig/config.guess * econf: updating bigloo-lib-0.17/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --with-gd --with-x --with-gtk --with-gtk2 --without-ldap --with-iconv --with-gettext --without-gdbm --without-mysql --with-postgres --with-expat --with-ipcs creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for bigloo... /usr/bin/bigloo checking for bigloo... bigloo checking version of bigloo... 2.6a, bad checking the Bigloo libraries location... /usr/lib/bigloo/2.6a *** ERROR:bigloo:eval: Unbound variable -- *bigloo-lib* checking for bpp... /usr/bin/bpp checking whether ln -s works... yes checking whether make sets ${MAKE}... (cached) yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=athlon-xp -fomit-frame-pointer ) works... yes checking whether the C compiler (gcc -O2 -march=athlon-xp -fomit-frame-pointer ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for working const... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes configure: error: *** Some critical program is missing or too old. *** Check the INSTALL file for required versions. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/bigloo-lib-0.17/work/bigloo-lib-0.17/config.log Now as for *bigloo-lib*, the following session gives light as to where it's comming from: ##### gtk $ bigloo ------------------------------------------------------------------------------ Bigloo (2.6a) ,--^, `a practical Scheme compiler' _ ___/ /|/ Thu Jul 10 14:28:09 CEST 2003 ,;'( )__, ) ' Inria -- Sophia Antipolis ;; // L__. email: ' \ / ' bigloo@sophia.inria.fr ^ ^ ------------------------------------------------------------------------------ Welcome to the interpreter 1:=> *default-lib-dir* /usr/lib/bigloo/2.6a 1:=> *bigloo-lib* *** ERROR:bigloo:eval: Unbound variable -- *bigloo-lib* #unspecified 1:=> ###### So It appears that *bigloo-lib* is a environment variable However, bigloo-2.5a no longer builds with gcc 3.3.6 giving the following error message: gcc -I/var/tmp/portage/bigloo-2.5a/work/bigloo2.5a/lib/2.5a -O3 -O2 -march=athlon-xp -fomit-frame-pointer -DBGL_NO_PIC -I/var/tmp/portage/bigloo-2.5a/work/bigloo2.5a/gc-boehm -I/var/tmp/portage/bigloo-2.5a/work/bigloo2.5a/gc-boehm/include -c Clib/cstring.c && mv cstring.o objs/obj_u/Clib/cstring.o In file included from Clib/cstring.c:15: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>." /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>." make[3]: *** [objs/obj_u/Clib/cstring.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/bigloo-2.5a/work/bigloo2.5a/runtime' make[2]: *** [lib-c_u] Error 2 make[2]: Leaving directory `/var/tmp/portage/bigloo-2.5a/work/bigloo2.5a/runtime' make[1]: *** [boot] Error 2 make[1]: Leaving directory `/var/tmp/portage/bigloo-2.5a/work/bigloo2.5a/runtime' make: *** [boot] Error 2 Corey P.S. config.log has: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:605: checking for a BSD compatible install configure:658: checking whether build environment is sane configure:715: checking whether make sets ${MAKE} configure:761: checking for working aclocal configure:774: checking for working autoconf configure:787: checking for working automake configure:800: checking for working autoheader configure:813: checking for working makeinfo configure:834: checking for bigloo configure:874: checking for bigloo configure:908: checking version of bigloo configure:931: checking the Bigloo libraries location configure:958: checking for bpp configure:996: checking whether ln -s works configure:1017: checking whether make sets ${MAKE} configure:1046: checking for gcc configure:1159: checking whether the C compiler (gcc -O2 -march=athlon-xp -fomit-frame-pointer ) works configure:1175: gcc -o conftest -O2 -march=athlon-xp -fomit-frame-pointer -D_REENTRANT conftest.c 1>&5 configure:1201: checking whether the C compiler (gcc -O2 -march=athlon-xp -fomit-frame-pointer ) is a cross-compiler configure:1206: checking whether we are using GNU C configure:1215: gcc -E conftest.c configure:1234: checking whether gcc accepts -g configure:1266: checking for working const configure:1320: gcc -c -O2 -march=athlon-xp -fomit-frame-pointer -D_REENTRANT conftest.c 1>&5 configure:1341: checking how to run the C preprocessor configure:1362: gcc -E -D_REENTRANT conftest.c >/dev/null 2>conftest.out configure:1421: checking for ANSI C header files configure:1434: gcc -E -D_REENTRANT conftest.c >/dev/null 2>conftest.out configure:1501: gcc -o conftest -O2 -march=athlon-xp -fomit-frame-pointer -D_REENTRANT conftest.c 1>&5
*** Bug 116632 has been marked as a duplicate of this bug. ***
- metadata.xml lists dev-scheme, while the alias is scheme. Please fix that.
The same thing happens with gcc-3.4.4: >>> Unpacking bigloo-lib-0.17.tar.gz to /var/tmp/portage/bigloo-lib-0.17/work >>> Source unpacked. * econf: updating bigloo-lib-0.17/config.guess with /usr/share/gnuconfig/config.guess * econf: updating bigloo-lib-0.17/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-gd --with-x --with-gtk --with-gtk2 --without-ldap --with-iconv --with-gettext --without-gdbm --with-mysql --without-postgres --with-expat --with-ipcs --build=i686-pc-linux-gnu creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for bigloo... /usr/bin/bigloo checking for bigloo... bigloo checking version of bigloo... 2.6a, bad checking the Bigloo libraries location... /usr/lib/bigloo/2.6a *** ERROR:bigloo:eval: Unbound variable -- *bigloo-lib* checking for bpp... /usr/bin/bpp checking whether ln -s works... yes checking whether make sets ${MAKE}... (cached) yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe ) works... yes checking whether the C compiler (gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for working const... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes configure: error: *** Some critical program is missing or too old. *** Check the INSTALL file for required versions. emerge info: emerge info Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) ================================================================= System uname: 2.6.13-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.media.mit.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo.media.mit.edu/gentoo-portage" USE="x86 X a52 aac aalib acpi aim alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr crypt cups curl dba dga dvd dvdr dvdread eds emacs emboss encode ethereal evo exif expat fam ffmpeg flac foomaticdb fortran freetype ftp gd gdbm gif glut gmp gnome gnutls gphoto gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib ipv6 jabber jack java jikes jpeg lcms libg++ libwww mad mhash mikmod mmx mng motif mozilla mozsvg mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl php png posix python quicktime readline ruby samba sdl session shared sockets socks5 speex spell sqlite sse sse2 ssl svg tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev usb v4l2 vorbis xine xml2 xmms xosd xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Note: The error I get has exactly the same config.log: $ cat /var/tmp/portage/bigloo-lib-0.17/work/bigloo-lib-0.17/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:605: checking for a BSD compatible install configure:658: checking whether build environment is sane configure:715: checking whether make sets ${MAKE} configure:761: checking for working aclocal configure:774: checking for working autoconf configure:787: checking for working automake configure:800: checking for working autoheader configure:813: checking for working makeinfo configure:834: checking for bigloo configure:874: checking for bigloo configure:908: checking version of bigloo configure:931: checking the Bigloo libraries location configure:958: checking for bpp configure:996: checking whether ln -s works configure:1017: checking whether make sets ${MAKE} configure:1046: checking for gcc configure:1159: checking whether the C compiler (gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe ) works configure:1175: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -pipe -D_REENTRANT conftest.c 1>&5 configure:1201: checking whether the C compiler (gcc -O2 -march=pentium3 -fomit-frame-pointer -pipe ) is a cross-compiler configure:1206: checking whether we are using GNU C configure:1215: gcc -E conftest.c configure:1234: checking whether gcc accepts -g configure:1266: checking for working const configure:1320: gcc -c -O2 -march=pentium3 -fomit-frame-pointer -pipe -D_REENTRANT conftest.c 1>&5 configure:1341: checking how to run the C preprocessor configure:1362: gcc -E -D_REENTRANT conftest.c >/dev/null 2>conftest.out configure:1421: checking for ANSI C header files configure:1434: gcc -E -D_REENTRANT conftest.c >/dev/null 2>conftest.out configure:1501: gcc -o conftest -O2 -march=pentium3 -fomit-frame-pointer -pipe -D_REENTRANT conftest.c 1>&5
Created attachment 76011 [details] proposed ebuild: bigloo-lib-0.17-r1
Created attachment 76012 [details, diff] configure.in patch
There were multiple problems with configure.in 1) It rejects 2.6 as version 2) There is a stray ';' that breaks configure The attached patches remedy this situation, and emerge now makes it past configure and start compiling. Unfortunately the compilation fails, with a bigloo error: make[2]: Leaving directory `/var/tmp/portage/bigloo-lib-0.17-r1/work/bigloo-lib-0.17/common' make[2]: Entering directory `/var/tmp/portage/bigloo-lib-0.17-r1/work/bigloo-lib-0.17/common' echo "(module common-evprim \ (import os time locale bigloo-compat format md5 srfi-1 string-lib misc char-hex random string-grammar-apply iconv times regex apropos gettext ipcs dl mmap ) \ (export *common-version*) \ \ (eval(export-all)) \ ) \ (define *common-version* \"0.17\")" | /usr/bin/bpp > evprim.scm if test -z ""; then \ SRC=afile.scm; \ else \ SRC=/afile.scm; \ fi ; \ bigloo -I . -L . $SRC -o afile afile.scm: ../common/afile -I . -o .afile os.scm time.scm locale.scm bigloo-compat.scm iconv.scm times.scm regex.scm gettext.scm ipcs.scm dl.scm mmap.scm readline.scm history.scm termios.scm gdbm.scm format.scm md5.scm srfi-1.scm string-lib.scm misc.scm char-hex.scm random.scm string-grammar-apply.scm crypt.scm mzcompat.scm apropos.scm evprim.scm bigloo -I . -L . -afile .afile -cgen os.scm -o os.c os.scm: *** WARNING:bigloo:(@ putenv __os) Variable overridden by -- (@ putenv os) *** WARNING:bigloo:(@ read-string __r4_input_6_10_2) Variable overridden by -- (@ read-string misc) *** WARNING:bigloo:(@ fprintf __r4_output_6_10_3) Variable overridden by -- (@ fprintf format) *** WARNING:bigloo:(@ printf __r4_output_6_10_3) Variable overridden by -- (@ printf format) *** WARNING:bigloo:(@ format __r4_output_6_10_3) Variable overridden by -- (@ format format) *** WARNING:bigloo:(@ filter __r4_control_features_6_9) Variable overridden by -- (@ filter srfi-1) *** WARNING:bigloo:(@ filter! __r4_control_features_6_9) Variable overridden by -- (@ filter! srfi-1) *** WARNING:bigloo:(@ delete __r4_pairs_and_lists_6_3) Variable overridden by -- (@ delete srfi-1) *** WARNING:bigloo:(@ delete! __r4_pairs_and_lists_6_3) Variable overridden by -- (@ delete! srfi-1) *** WARNING:bigloo:(@ member __r4_pairs_and_lists_6_3) Variable overridden by -- (@ member srfi-1) *** WARNING:bigloo:(@ assoc __r4_pairs_and_lists_6_3) Variable overridden by -- (@ assoc srfi-1) *** WARNING:bigloo:(@ any __r4_pairs_and_lists_6_3) Variable overridden by -- (@ any srfi-1) *** WARNING:bigloo:(@ every __r4_pairs_and_lists_6_3) Variable overridden by -- (@ every srfi-1) i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/bigloo/2.6a -I/usr/lib/bigloo/2.6a -D_REENTRANT -O2 -march=pentium3 -fomit-frame-pointer -pipe -c os.c bigloo -I . -L . -afile .afile -cgen time.scm -o time.c time.scm: *** WARNING:bigloo:(@ current-seconds __date) Variable overridden by -- (@ current-seconds time) *** WARNING:bigloo:(@ fprintf __r4_output_6_10_3) Variable overridden by -- (@ fprintf format) *** WARNING:bigloo:(@ printf __r4_output_6_10_3) Variable overridden by -- (@ printf format) *** WARNING:bigloo:(@ format __r4_output_6_10_3) Variable overridden by -- (@ format format) File "./time.scm", line 287, character 7303: # (set! second #t)) # ^ # *** ERROR:bigloo:loop # wrong number of argument -- ((lambda (input-port proc) (begin (letrec (( ... make[2]: *** [time.c] Error 255 rm os.c make[2]: Leaving directory `/var/tmp/portage/bigloo-lib-0.17-r1/work/bigloo-lib-0.17/common' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/bigloo-lib-0.17-r1/work/bigloo-lib-0.17' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-scheme/bigloo-lib-0.17-r1 failed. !!! Function src_compile, Line 91, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message
I'm hoping someone in the gentoo community has already developed an updated ebuild for bigloo-lib that works with the most recent bigloo ebuild and can submit it here for inclusion into portage. There seems to be a big difference between recent bigloo-lib and our bigloo-lib-0.17 and I (ie. Me, the Scheme Herd) lacks the time to develop one. I will package.mask bigloo-lib for now.
(In reply to comment #8) > I'm hoping someone in the gentoo community has already developed an updated > ebuild for bigloo-lib that works with the most recent bigloo ebuild and can > submit it here for inclusion into portage. There seems to be a big difference > between recent bigloo-lib and our bigloo-lib-0.17 and I (ie. Me, the Scheme > Herd) lacks the time to develop one. > > I will package.mask bigloo-lib for now. > I posted the configure patch to the bigloo-lib lists a while ago, and the reply was that "bigloo-lib doesnt currently work with 2.6". Since then there has been a new release for bigloo-lib (0.21a) that works with 2.6: http://sourceforge.net/forum/forum.php?forum_id=532312
It should be noted that 0.21a doesnt compile with bigloo 2.7. From the README: ... The current version of `bigloo-lib' is 0.21. It has been tested with `bigloo2.6e' and `bigloo2.6f'. It will *not* compile with `bigloo2.7*'! ... *shrug*
# Matthew Kennedy <mkennedy@gentoo.org> (06 Mar 2006) # Masked due to maintainability issues. See bug 116631. dev-scheme/bigloo-lib treecleaners, remove this please. Been masked for 7 months and it's not modular X ready either.
@mkennedy - how about removing this finally?
Scheme herd, I know/hope you're getting some new maintainers soon, any news on this?
dev-scheme/bigloo-2.7a_p2 is the oldest version (in portage) which compiles on gcc-4 and bigloo-lib-0.21a doesn't work with it, according to comment #10 and when I tried (with a minimal ebuild) anyway I got: checking the Bigloo library name... *** ERROR:eval: Unbound variable -- *bigloo-vlib* *** ERROR:eval: Unbound variable -- *bigloo-vlib* configure: error: Bigloo runtime library /usr/lib/bigloo/2.7a/lib_s-.a doesn't exist As such I consider this very low priority.
Killed