Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877785 - dev-scheme/guile-lib-0.2.7 - make[1]: [Makefile:<snip>: graph/topological-sort.go] Error 1
Summary: dev-scheme/guile-lib-0.2.7 - make[1]: [Makefile:<snip>: graph/topological-sor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-10-20 20:11 UTC by Toralf Förster
Modified: 2024-12-29 10:51 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.23 KB, text/plain)
2022-10-20 20:11 UTC, Toralf Förster
Details
dev-scheme:guile-lib-0.2.7:20221020-041336.log (dev-scheme:guile-lib-0.2.7:20221020-041336.log,11.28 KB, text/plain)
2022-10-20 20:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,199.97 KB, text/plain)
2022-10-20 20:11 UTC, Toralf Förster
Details
environment (environment,23.47 KB, text/plain)
2022-10-20 20:11 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.29 KB, application/x-bzip)
2022-10-20 20:11 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.20 KB, application/x-bzip)
2022-10-20 20:11 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,10.43 KB, application/x-bzip)
2022-10-20 20:11 UTC, Toralf Förster
Details
patch (may require guile 3.0) (primes.scm.diff,941 bytes, patch)
2024-05-24 00:08 UTC, Zack Weinberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-29 10:19:10 UTC
https://lists.gnu.org/archive/html/guile-devel/2024-05/msg00012.html

I'm bumping it to 0.2.8.1 now but sadly it never made it in. Let me see.
Comment 12 Larry the Git Cow gentoo-dev 2024-12-29 10:51:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4cda180db47d0ef76d223f4ea66296eb5f18179

commit a4cda180db47d0ef76d223f4ea66296eb5f18179
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-29 10:49:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-29 10:51:36 +0000

    dev-scheme/guile-lib: add 0.2.8.1
    
    This includes Zack Weinberg's patch to fix tests w/ guile-3.0, which
    I've only applied for 3.0.
    
    But in the course of spending a while to get the ebuild working with
    two impls and only patching one, I found that 2-2 was clearly not cared
    for upstream anymore as I hit two different issues and one of them
    had an unreplied-to patch on the ML, so I gave up. Just declare compat
    w/ 3-0 and worry about older later for this version on the offchance
    someone requests it.
    
    Closes: https://bugs.gentoo.org/877785
    Closes: https://bugs.gentoo.org/941404
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-scheme/guile-lib/Manifest                      |  1 +
 .../files/guile-lib-0.2.8.1-guile3-primes.patch    | 26 ++++++++
 dev-scheme/guile-lib/guile-lib-0.2.8.1.ebuild      | 75 ++++++++++++++++++++++
 3 files changed, 102 insertions(+)