Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 336717

Summary: dev-scheme/bigloo-3.3a_p5[-emacs] calls emacs at configure time
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: [OLD] DevelopmentAssignee: Scheme Project <scheme>
Status: RESOLVED FIXED    
Severity: normal CC: emacs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 330977, 335898    

Description Ulrich Müller gentoo-dev 2010-09-10 12:28:12 UTC
bigloo-3.3a_p5 calls emacs at configure time, in spite of USE="-emacs". If /usr/bin/emacs is anything else than GNU Emacs (e.g. Zile), then configure will hang:

   executing ./autoconf/dirname -> dirname
   executing ./autoconf/doubleprec -> 14
   executing ./autoconf/ldstaticopt -> 
   executing ./autoconf/ldsharedopt -> 

   Configuring bmacs/bmacs-config.el:
   executing ./autoconf/emacsbrand -> 

The following change to the ebuild fixes it for me:

--- bigloo-3.3a_p5.ebuild~
+++ bigloo-3.3a_p5.ebuild
@@ -66,6 +66,7 @@
 		--customgc=no \
 		--coflags="" \
 		--strip=no \
+		--emacs=$(use emacs && echo emacs || echo false)
 		--bee=$(if use emacs; then echo full; else echo partial; fi) \
 		$(use_enable threads fthread) \
 		$(use_enable threads pthread) \
Comment 1 Ulrich Müller gentoo-dev 2010-09-10 12:30:19 UTC
Oops, somehow the trailing backslash got lost. The line should read:

        --emacs=$(use emacs && echo emacs || echo false) \
Comment 2 Tomás Touceda (RETIRED) gentoo-dev 2010-10-06 19:19:31 UTC
Version 3.4a has been committed with this issue solved. 3.3a is no longer in the tree. 
Thanks Ulrich.