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

Bug 596322

Summary: >=dev-scheme/guile-2.0.12-r1[-regex] fails to build
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Scheme Project <scheme>
Status: RESOLVED FIXED    
Severity: normal CC: unhappy-ending
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-scheme:guile-2.0.12-r1:20161006-073104.log

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-10-06 07:40:19 UTC
Created attachment 449300 [details]
dev-scheme:guile-2.0.12-r1:20161006-073104.log

So I'm trying to reduce guile into a sane subset that I could be able to compile in less than half a day, and just hit a build failure with USE=-regex.

cat alist.doc arbiters.doc array-handle.doc array-map.doc arrays.doc async.doc backtrace.doc boolean.doc bitvectors.doc bytevectors.doc chars.doc control.doc continuations.doc debug.doc deprecated.doc deprecation.doc dynl.doc dynwind.doc eq.doc error.doc eval.doc evalext.doc expand.doc extensions.doc feature.doc filesys.doc fluids.doc foreign.doc fports.doc gc-malloc.doc gc.doc gettext.doc generalized-arrays.doc generalized-vectors.doc goops.doc gsubr.doc guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc list.doc load.doc macros.doc mallocs.doc memoize.doc modules.doc numbers.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc promises.doc r6rs-ports.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc srfi-1.doc srfi-4.doc srfi-13.doc srfi-14.doc srfi-60.doc stackchk.doc stacks.doc stime.doc strings.doc strorder.doc strports.doc struct.doc symbols.doc threads.doc throw.doc trees.doc unicode.doc uniform.doc values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc dynl.doc posix.doc net_db.doc socket.doc | GUILE_INSTALL_LOCALE=1 GUILE_AUTO_COMPILE=0 ../meta/build-env guild snarf-check-and-output-texi          > guile-procedures.texi || { rm guile-procedures.texi; false; }
Backtrace:
In unknown file:
   ?: 11 [apply-smob/1 #<boot-closure 101fae0 (_ _ _)> #t ...]
   ?: 10 [apply-smob/1 #<catch-closure 10f00e0>]
   ?: 9 [primitive-eval ((@ # %) (begin # # #))]
   ?: 8 [primitive-load "/var/tmp/portage/dev-scheme/guile-2.0.12-r1/work/guile-2.0.12/meta/guild"]
   ?: 7 [primitive-eval (define-module (guild) #:use-module ...)]
   ?: 6 [apply-smob/1 #<boot-closure 1011b00 (_)> (define-module # # # ...)]
   ?: 5 [apply-smob/1 #<boot-closure 10d21a0 ()>]
   ?: 4 [apply-smob/1 #<boot-closure 10d2160 ()>]
   ?: 3 [apply-smob/1 #<boot-closure 10db380 ()>]
   ?: 2 [primitive-eval #<struct:ff78c0 pwpwpwpwpw ff4f00>]
   ?: 1 [primitive-load-path "ice-9/getopt-long" #<boot-closure 110a4c0 ()>]
   ?: 0 [primitive-eval (define short-opt-rx (make-regexp "^-([a-zA-Z]+)(.*)"))]

ERROR: make[3]: *** [Makefile:3757: guile-procedures.texi] Error 1
Comment 1 Amy Liffey gentoo-dev 2017-03-06 08:32:17 UTC
*** Bug 611836 has been marked as a duplicate of this bug. ***
Comment 2 Amy Liffey gentoo-dev 2017-07-17 18:19:21 UTC
Yes upstream does not recommend to turn off regexp it is unpredictable.
Comment 3 Amy Liffey gentoo-dev 2017-08-05 11:52:16 UTC
commit 84883d3646f5b600733bd5a571caf94565cc86b0 
Author: Amy Liffey <amynka@gentoo.org>
Date:   Sat Aug 5 13:50:36 2017 +0200

    dev-scheme/guile: add regex as required bug #596322