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

Bug 877785

Summary: dev-scheme/guile-lib-0.2.7 - make[1]: [Makefile:<snip>: graph/topological-sort.go] Error 1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Scheme Project <scheme>
Status: CONFIRMED ---    
Severity: normal CC: xgqt, zack+gentoobugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-scheme:guile-lib-0.2.7:20221020-041336.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
patch (may require guile 3.0)

Description Toralf Förster gentoo-dev 2022-10-20 20:11:50 UTC
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: bitvector-set!
make[1]: *** [Makefile:722: graph/topological-sort.go] Error 1
make[1]: *** Waiting for unfinished jobs....
wrote `math/minima.go'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20221018-160121

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.3
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit a800e851911b542a2aab1722ebe639cf153f4f19
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 20 01:46:50 2022 +0000

    2022-10-20 01:46:50 UTC

emerge -qpvO dev-scheme/guile-lib
[ebuild  N    ] dev-scheme/guile-lib-0.2.7
Comment 1 Toralf Förster gentoo-dev 2022-10-20 20:11:51 UTC
Created attachment 824873 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-20 20:11:52 UTC
Created attachment 824875 [details]
dev-scheme:guile-lib-0.2.7:20221020-041336.log
Comment 3 Toralf Förster gentoo-dev 2022-10-20 20:11:54 UTC
Created attachment 824877 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-20 20:11:55 UTC
Created attachment 824879 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-20 20:11:56 UTC
Created attachment 824881 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-20 20:11:57 UTC
Created attachment 824883 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-20 20:11:58 UTC
Created attachment 824885 [details]
temp.tar.bz2
Comment 8 Zack Weinberg 2024-05-24 00:08:37 UTC
Created attachment 894087 [details, diff]
patch (may require guile 3.0)

This is a bug in the upstream primes.scm.  The attached patch fixes it for me but I have only tested with Guile 3.0 (which I need for other reasons).  I have also sent it to guile-devel.
Comment 9 Maciej Barć gentoo-dev 2024-05-25 13:11:57 UTC
I tested with dev-scheme/guile 2.2.7-r1, 3.0.9 and 3.0.8-r1. Could not reproduce.
Comment 10 Maciej Barć gentoo-dev 2024-05-25 13:12:27 UTC
(In reply to Zack Weinberg from comment #8)
> Created attachment 894087 [details, diff] [details, diff]
> patch (may require guile 3.0)
> 
> This is a bug in the upstream primes.scm.  The attached patch fixes it for
> me but I have only tested with Guile 3.0 (which I need for other reasons). 
> I have also sent it to guile-devel.

Yes, this needs >=3.0, as bitvector-bit-set? is not in 2.2.