Bug 1217260 - slib fails to build on Leap 15.6 - build failed in %post
Summary: slib fails to build on Leap 15.6 - build failed in %post
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Peter Simons
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-16 16:57 UTC by Lubos Kocman
Modified: 2024-05-02 14:20 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Kocman 2023-11-16 16:57:08 UTC
Hello

slib does not build on Leap 15.6. This should be fixed before Beta (Feb 2023).
https://en.opensuse.org/openSUSE:Roadmap#Schedule_for_openSUSE_Leap_15.6

Build log from Leap 15.6

https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/slib/standard/x86_64

[   26s] ERROR: In procedure open-file:
[   26s] In procedure open-file: No such file or directory: "/usr/share/guile/site/2.2/slibcat"
[   26s] ... running 50-check-binary-kernel-log
[   26s] ... running 50-check-core-files
[   26s] ... checking for core files
[   26s] ... running 50-check-debuginfo
[   26s] ... testing for empty debuginfo packages
[   26s] ... running 50-check-filelist
[   26s] ... checking filelist
[   26s] ... running 50-check-gconf-scriptlets
[   26s] ... testing GConf scriptlet presence
[   26s] ... running 50-check-installtest
[   26s] ... testing for pre/postinstall scripts that are not idempotent
[   27s] Backtrace:
[   27s]           12 (apply-smob/1 #<catch-closure 5638290ba180>)
[   27s] In ice-9/boot-9.scm:
[   27s]     705:2 11 (call-with-prompt ("prompt") #<procedure 5638290d38c0 ?> ?)
[   27s] In ice-9/eval.scm:
[   27s]     619:8 10 (_ #(#(#<directory (guile-user) 563829187140>)))
[   27s] In ice-9/command-line.scm:
[   27s]    181:18  9 (_ #<input: string 563829192a80>)
[   27s] In unknown file:
[   27s]            8 (eval (require (quote new-catalog)) #<directory (guile-?>)
[   27s] In /usr/share/slib/require.scm:
[   27s]    145:16  7 (slib:require new-catalog)
[   27s]     79:15  6 (catalog:get new-catalog)
[   27s] In /usr/share/slib/guile-2.init:
[   27s]     257:4  5 (with-load-pathname _ _)
[   27s] In ice-9/boot-9.scm:
[   27s]    2312:4  4 (save-module-excursion #<procedure 563829261990 at ice-?>)
[   27s]   3832:12  3 (_)
[   27s] In /usr/share/slib/mklibcat.scm:
[   27s]      22:2  2 (_)
[   27s] In ice-9/ports.scm:
[   27s]    461:11  1 (call-with-output-file "/usr/share/guile/site/2.2/slib?" ?)
[   27s] In unknown file:
[   27s]            0 (open-file "/usr/share/guile/site/2.2/slibcat" "w" # #f)
[   27s] 
[   27s] ERROR: In procedure open-file:
[   27s] In procedure open-file: No such file or directory: "/usr/share/guile/site/2.2/slibcat"
[   27s] postinstall script of slib-3b7-bp156.2.2.noarch.rpm failed
Comment 1 Lubos Kocman 2023-11-16 16:58:15 UTC
It does seem like a test failed on indempotency check. This can be in worst case ignored.
Comment 2 Dirk Mueller 2024-05-02 14:20:11 UTC
The postinstall script is failing, that should be fixed rather than ignored. 

In procedure open-file: No such file or directory: "/usr/share/guile/site/2.2/slibcat"

maybe we have a different guile version or that file is not there for some reason?