Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941470 - dev-lang/swi-prolog-9.3.9 - [libtool] [llvm] ERROR: .../pl-wam.c:3344: int PL_next_solution_LD(PL_local_data_t , qid_t): Assertion failed: LD->exception.throw_environment
Summary: dev-lang/swi-prolog-9.3.9 - [libtool] [llvm] ERROR: .../pl-wam.c:3344: int PL...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-13 12:29 UTC by Toralf Förster
Modified: 2024-10-22 12:40 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.85 KB, text/plain)
2024-10-13 12:29 UTC, Toralf Förster
Details
dev-lang:swi-prolog-9.3.9:20241013-122544.log (dev-lang:swi-prolog-9.3.9:20241013-122544.log,142.71 KB, text/plain)
2024-10-13 12:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,205.70 KB, text/plain)
2024-10-13 12:29 UTC, Toralf Förster
Details
environment (environment,182.33 KB, text/plain)
2024-10-13 12:29 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-10-13 12:29 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.70 KB, application/x-xz)
2024-10-13 12:29 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,944 bytes, application/x-xz)
2024-10-13 12:29 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,55.89 KB, application/x-xz)
2024-10-13 12:29 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,70.11 KB, application/x-xz)
2024-10-13 12:29 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,4.73 KB, application/x-xz)
2024-10-13 12:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-10-13 12:29:10 UTC
too long lines were shrinked:

[268/1030] cd /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/home/library && /usr/bin/cmake -E create_symlink ../../../swipl-9.3.9/library/nb_set.pl ./nb_set.pl
[269/1030] cd /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/home/library && /usr/bin/cmake -E create_symlink ../../../swipl-9.3.9/library/obfuscate.pl ./obfuscate.pl
[270/1030] cd /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/src && /usr/bin/cmake -E remove -f /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/home/boot.prc && /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/src/swipl -q -O -o /var/tmp/portage/
FAILED: home/boot.prc /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/home/boot.prc 
cd /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/src && /usr/bin/cmake -E remove -f /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/home/boot.prc && /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9_build/src/swipl -q -O -o /var/tmp/portage/dev-lang/sw

ERROR: /var/tmp/portage/dev-lang/swi-prolog-9.3.9/work/swipl-9.3.9/src/pl-wam.c:3344: int PL_next_solution___LD(PL_local_data_t *, qid_t): Assertion failed: LD->exception.throw_environment == &THROW_ENV
Time: Sun Oct 13 12:27:23 2024
Inferences: 1253

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm-20241010-060009

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 19.1.1+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.1+libcxx
Python 3.12.7
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit be8862c2ec3d8f74de7246d20688ef7d3d4bba9e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 13 11:48:28 2024 +0000

    2024-10-13 11:48:27 UTC

emerge -qpvO =dev-lang/swi-prolog-9.3.9
[ebuild  N    ] dev-lang/swi-prolog-9.3.9  USE="cli gmp ipc pcre ssl -X -archive -berkdb -debug -doc -gui -java -minimal -odbc -pgo -qt6 -test -yaml"
Comment 1 Toralf Förster gentoo-dev 2024-10-13 12:29:11 UTC
Created attachment 905641 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-13 12:29:14 UTC
Created attachment 905642 [details]
dev-lang:swi-prolog-9.3.9:20241013-122544.log
Comment 3 Toralf Förster gentoo-dev 2024-10-13 12:29:17 UTC
Created attachment 905643 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-13 12:29:18 UTC
Created attachment 905644 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-13 12:29:19 UTC
Created attachment 905645 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-13 12:29:20 UTC
Created attachment 905646 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-13 12:29:21 UTC
Created attachment 905647 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-13 12:29:22 UTC
Created attachment 905648 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-13 12:29:24 UTC
Created attachment 905649 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2024-10-13 12:29:24 UTC
Created attachment 905650 [details]
var.tmp.clang.tar.xz
Comment 11 Anna Vyalkova 2024-10-14 04:54:19 UTC
To fix, append -DNDEBUG to CPPFLAGS