Bug 2412244

Summary: chez-scheme testsuite failing on ppc64le and s390x
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: chez-schemeAssignee: Jens Petersen <petersen>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: petersen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: chez-scheme-10.3.0-2.fc44 chez-scheme-10.3.0-3.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-06 12:29:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2025-11-04 12:46:22 UTC
Upstream issue is https://github.com/cisco/ChezScheme/issues/956

The problem seems related with FFI perhaps.

Reproducible: Always

Steps to Reproduce:
build on ppc64le
Actual Results:
running tpb64l/bin/tpb64l/scheme to build all with output to tpb64l/mats/output-compile-0-f-f-f-simple/make.out
running tpb64l/bin/tpb64l/scheme to build all with output to tpb64l/mats/output-compile-3-f-f-f-simple/make.out
running tpb64l/bin/tpb64l/scheme to build all with output to tpb64l/mats/output-compile-3-f-t-f-cp0/make.out
-------- o=0 eoc=f simple --------
10497d10496
< foreign.mo:Error in mat foreign-fixed-types clause 106: "failed for ufoo64b on (3160763492 16867515384037724598 11102912078499199447 16617594736382045637 17470491102493706306 4445247976697827091 ...)" at line 1739, char 3 of /builddir/build/BUILD/chez-scheme-10.3.0-build/csv10.3.0/mats/foreign.ms
-------- o=3 eoc=f simple --------
27d26
< foreign.mo:Error in mat foreign-fixed-types clause 106: "failed for ufoo64b on (2571486860 15741516756233332375 3089840854819523341 7848795634663760525 11189155181275692229 3060875047502280619 ...)" at line 1739, char 3 of /builddir/build/BUILD/chez-scheme-10.3.0-build/csv10.3.0/mats/foreign.ms
-------- o=3 cp0=t cp0 --------
27d26
< foreign.mo:Error in mat foreign-fixed-types clause 106: "failed for ufoo64b on (3138420837 16323621982885559613 3642767561648055290 12299206430193278052 2756986893520554201 5111607858323376856 ...)" at line 1739, char 3 of /builddir/build/BUILD/chez-scheme-10.3.0-build/csv10.3.0/mats/foreign.ms
some output differs from expected
 in build-one
 in loop
 in module->hash
make: *** [Makefile:32: test-some-fast] Error 1


Expected Results:
Testsuite should pass

Additional Information:
This also breaks schemesh and idris2 on these archs

Comment 1 Jens Petersen 2025-11-06 12:29:32 UTC
Fixed with upstream patches by mflatt

Comment 2 Fedora Update System 2025-11-07 03:16:18 UTC
FEDORA-2025-7d67e48747 (chez-scheme-10.3.0-3.fc43, idris2-0.8.0-1.fc43, and 1 more) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7d67e48747

Comment 3 Fedora Update System 2025-11-08 02:02:34 UTC
FEDORA-2025-7d67e48747 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7d67e48747`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7d67e48747

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2025-11-16 01:19:46 UTC
FEDORA-2025-7d67e48747 (chez-scheme-10.3.0-3.fc43, idris2-0.8.0-1.fc43, and 1 more) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.