Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182901 - bigloo should provide an option to build the Bee
Summary: bigloo should provide an option to build the Bee
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Scheme Project
URL: http://www-sop.inria.fr/mimosa/fp/Big...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 16:09 UTC by Marijn Schouten (RETIRED)
Modified: 2010-10-06 19:20 UTC (History)
2 users (show)

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


Attachments
make compile-bee no longer exits on error if ran just after make (bigloo-compilebee.patch,1.04 KB, patch)
2009-02-06 17:04 UTC, Cyprien Nicolas (fulax)
Details | Diff
patch for bigloo-3.2b_p2.ebuild (bigloo-3.2b_p2.patch,1.59 KB, patch)
2009-09-10 23:55 UTC, Tomás Touceda (RETIRED)
Details | Diff
patch for bdb's Makefile (biglooinstall.patch,1.23 KB, patch)
2009-09-10 23:55 UTC, Tomás Touceda (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Schouten (RETIRED) gentoo-dev 2007-06-22 16:09:19 UTC
bigloo should provide an option to build the Bee
Comment 1 Cyprien Nicolas (fulax) 2009-02-06 17:04:16 UTC
Created attachment 181175 [details, diff]
make compile-bee no longer exits on error if ran just after make

Hello, I have made a patch for bigloo sources that correct the BFLAGS used in the makefiles used by the compile-bee target.

It can be applied on Bigloo from 3.1a, 3.1b, 3.2a, 3.2a-2 (no ebuild exist for this version) and the upstream 3.2b-alpha.

It makes possible to run make compile-bee after make compile, which allow now the fullbee flag for bigloo to work correctly.

I didn't make patches for the ebuild, as I don't really understand the emacs flag's code.

Hope that helps to have fullbee with bigloo in gentoo. :)
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2009-02-09 00:23:44 UTC
Thanks Cyprien, I read on the list that Manuel accepted your patch. I'll try to add new ebuilds soon.
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2009-02-11 15:47:55 UTC
I have added 3.2a_p2 even though the diff seems substanceless:

$ diff -ur /var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/ /var/tmp/portage/dev-scheme/bigloo-3.2a_p2/work/bigloo3.2a-2/
diff -ur /var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/configure /var/tmp/portage/dev-scheme/bigloo-3.2a_p2/work/bigloo3.2a-2/configure
--- /var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/configure   2009-01-06 18:38:46.000000000 +0100
+++ /var/tmp/portage/dev-scheme/bigloo-3.2a_p2/work/bigloo3.2a-2/configure      2009-01-14 17:49:32.000000000 +0100
@@ -1,10 +1,10 @@
 #!/bin/sh
 #*=====================================================================*/
-#*    serrano/prgm/project/bigloo/configure                            */
+#*    serrano/prgm/distrib/bigloo3.2a/configure                        */
 #*    -------------------------------------------------------------    */
 #*    Author      :  Manuel Serrano                                    */
 #*    Creation    :  Tue Jan 25 16:05:10 1994                          */
-#*    Last change :  Tue Jan  6 17:42:40 2009 (serrano)                */
+#*    Last change :  Wed Jan 14 17:49:32 2009 (serrano)                */
 #*    Copyright   :  1994-2009 Manuel Serrano, see LICENSE file        */
 #*    -------------------------------------------------------------    */
 #*    The Bigloo configuration file                                    */
@@ -53,10 +53,8 @@
 bflags="-O3 -q"
 bootflags=""
 featureflags=
-coflags=
-if [ "$CFLAGS " != " " ]; then
-  coflags="-O3"
-fi
+coflags=-O3
+
 cstrip="-s"
 cpicflags="demanded" # Possible values for cpicflags are:
              #  - "no" not to use position independent code (recommended)
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2009-02-11 16:08:47 UTC
the BEE won't compile for me yet, working with upstream.
Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2009-02-13 13:26:13 UTC
the bee compiles, but I'm not sure how to invoke it yet.
Comment 6 Tomás Touceda (RETIRED) gentoo-dev 2009-09-10 23:54:30 UTC
I upload here a patch to bigloo-3.2b_p2.ebuild, and a patch to bdb's Makefile.

The first patch fixes some building issues, and applies the second patch.
And the latest fixes some installation problems, as $(DESTDIR) is appended in every variable except FILDIR and BINDIR, things like $(DESTDIR)$(LIBDIR) cause QA problems in portage as it tries to install in ${D}/${D}

More info on this latest issue:

Bigloo's Changelog:

*** !!! Important !!!: FILDIR is now relative to LIBDIR in
Makefile.config. It used to be an absolute path, it is now relative.
In consequence, former use of $(FILDIR) must now be replaced with
$(LIBDIR)/$(FILDIR). $(DESTDIR)$(FILDIR) must also be replaced
with $(LIBDIR)/$(FILDIR) (since LIBDIR contains DESTDIR in its
definition).

Bigloo's configure script:

# Directories
echo "DESTDIR=" >> $makefile_cfg
echo "BINDIR=$bindir" >> $makefile_cfg
echo 'LIBDIR=$(DESTDIR)'"$libdir" >> $makefile_cfg
echo "FILDIR=$fildir" >> $makefile_cfg
echo 'ZIPDIR=$(DESTDIR)'"$zipdir" >> $makefile_cfg
echo 'SYSZIPDIR=$(DESTDIR)'"$syszipdir" >> $makefile_cfg
echo 'DLLDIR=$(DESTDIR)'"$dlldir" >> $makefile_cfg
echo 'SYSDLLDIR=$(DESTDIR)'"$sysdlldir" >> $makefile_cfg
echo 'MANDIR=$(DESTDIR)'"$mandir" >> $makefile_cfg
echo 'INFODIR=$(DESTDIR)'"$infodir" >> $makefile_cfg
echo 'DOCDIR=$(DESTDIR)'"$docdir" >> $makefile_cfg
echo "TMP=$tmp" >> $makefile_cfg
echo >> $makefile_cfg
Comment 7 Tomás Touceda (RETIRED) gentoo-dev 2009-09-10 23:55:29 UTC
Created attachment 203748 [details, diff]
patch for bigloo-3.2b_p2.ebuild
Comment 8 Tomás Touceda (RETIRED) gentoo-dev 2009-09-10 23:55:59 UTC
Created attachment 203750 [details, diff]
patch for bdb's Makefile
Comment 9 Tomás Touceda (RETIRED) gentoo-dev 2010-10-06 19:20:31 UTC
bigloo-3.4a takes care of installing bee properly and a lot more already. This is no longer an issue.