I have installed slib on the host on which glib and drscheme were previously installed. I have also noticed that some ebuild script executed at very early stage of slib installadion tries to detect which scheme interpreters (bigloo, drsheme, guile and so on) were installed. Unfortunately, it cannot detect that drscheme (scheme interpreter with GUI, which also provides mzscheme interpreter for command line) is actually installed. Note that in Gentoo drscheme is installed by ebuild called plt-scheme. Reproducible: Always Steps to Reproduce: 1. install guile, drscheme 2. install slib 3. obseve installation messages Actual Results: slib ebuild script cannot find installed drscheme (plt-scheme) Expected Results: slib ebuild script should report that drscheme is installed when it is installed
please attach a build log to see this issue
Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-scheme/slib-3.1.5-r1 * slib3a5.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: dev-scheme/slib-3.1.5-r1 * Repository: gentoo * Maintainer: hkBst@gentoo.org scheme@gentoo.org * USE: amd64 consolekit elibc_glibc kernel_linux multilib policykit userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking slib3a5.zip to /var/tmp/portage/dev-scheme/slib-3.1.5-r1/work >>> Source unpacked in /var/tmp/portage/dev-scheme/slib-3.1.5-r1/work >>> Compiling source in /var/tmp/portage/dev-scheme/slib-3.1.5-r1/work/slib ... make -j1 Welcome to SLIB. Read "README" and "slib.info" (or "slib.texi") to learn how to install and use SLIB. make slib.info make[1]: Entering directory `/var/tmp/portage/dev-scheme/slib-3.1.5-r1/work/slib' echo @set SLIBVERSION 3a5 > version.txi echo @set SLIBDATE `date +"%B %Y"` >> version.txi makeinfo slib.texi --no-warn --no-split -o slib.info mv slib.info slib3a5.info if [ -f prevdocs/slib.info ];\ then infobar prevdocs/slib.info slib3a5.info slib.info;\ else cp slib3a5.info slib.info;fi make[1]: Leaving directory `/var/tmp/portage/dev-scheme/slib-3.1.5-r1/work/slib' >>> Source compiled. >>> Test phase [not enabled]: dev-scheme/slib-3.1.5-r1 >>> Install slib-3.1.5-r1 into /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image/ category dev-scheme make -j1 infoz mkdir -p /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/info/ cp -p slib.info /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/info/slib.info install-info /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/info/slib.info /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/info/dir rm /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/info/slib.info.gz rm: cannot remove `/var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/info/slib.info.gz': No such file or directory make: [/var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/info/slib.info] Error 1 (ignored) gzip -f /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/info/slib.info make -j1 install test -d /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr//share/man/ || mkdir /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr//share/man/ test -d /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr//share/man/man1/ || mkdir /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr//share/man/man1/ cp slib.1 /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr//share/man/man1/ test -d /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/ || mkdir /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/ test -d /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/slib/ || mkdir /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/slib/ cp bigloo.init chez.init elk.init macscheme.init mitscheme.init scheme2c.init scheme48.init gambit.init t3.init vscm.init scm.init scsh.init sisc.init pscheme.init STk.init kawa.init RScheme.init DrScheme.init umbscheme.init guile.init jscheme.init format.scm printf.scm genwrite.scm pp.scm ppfile.scm strcase.scm debug.scm trace.scm strport.scm scanf.scm qp.scm break.scm stdio.scm strsrch.scm prec.scm schmooz.scm defmacex.scm mbe.scm sort.scm comlist.scm logical.scm sc4opt.scm sc4sc3.scm sc2.scm mularg.scm mulapply.scm trnscrpt.scm withfile.scm dynwind.scm promise.scm values.scm eval.scm null.scm charplot.scm root.scm cring.scm selfset.scm limit.scm timecore.scm psxtime.scm cltime.scm timezone.scm tzfile.scm math-real.scm r4rsyn.scm scmacro.scm synclo.scm synrul.scm synchk.scm repl.scm macwork.scm mwexpand.scm mwdenote.scm mwsynrul.scm record.scm dynamic.scm process.scm hash.scm wttree.scm wttest.scm sierpinski.scm soundex.scm simetrix.scm rdms.scm alistab.scm paramlst.scm batch.scm crc.scm dbrowse.scm getopt.scm dbinterp.scm dbcom.scm dbsyn.scm colorspc.scm cie1931.xyz cie1964.xyz resenecolours.txt saturate.txt nbs-iscc.txt ciesid65.dat ciesia.dat scainit.scm scaglob.scm scamacr.scm scaoutp.scm scaexpp.scm structure.scm grapheps.scm glob.scm getparam.scm vet.scm top-refs.scm hashtab.scm chap.scm comparse.scm alist.scm ratize.scm modular.scm dirs.scm priorque.scm queue.scm srfi.scm srfi-1.scm xml-parse.scm pnm.scm http-cgi.scm htmlform.scm html4each.scm db2html.scm uri.scm dft.scm solid.scm random.scm randinex.scm obj2str.scm ncbi-dna.scm minimize.scm factor.scm determ.scm daylight.scm colornam.scm mkclrnam.scm color.scm subarray.scm dbutil.scm array.scm transact.scm arraymap.scm phil-spc.scm lineio.scm differ.scm cvs.scm tree.scm coerce.scm byte.scm bytenumb.scm matfile.scm tsort.scm manifest.scm peanosfc.scm linterp.scm math-integer.scm srfi-2.scm srfi-8.scm srfi-9.scm srfi-11.scm srfi-23.scm srfi-61.scm fluidlet.scm object.scm recobj.scm yasyn.scm collect.scm collectx.scm Makefile require.scm Template.scm syncase.sh mklibcat.scm Bev2slib.scm slib.spec slib.sh grapheps.ps slib.nsi clrnamdb.scm /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/slib/ test -d /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/ || mkdir /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/ echo '#! /bin/sh' > /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/slib echo SCHEME_LIBRARY_PATH=/var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/slib/ >> /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/slib echo S48_VICINITY=/var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/share/scheme48/ >> /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/slib echo VERSION=3a5 >> /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/slib echo export SCHEME_LIBRARY_PATH S48_VICINITY >> /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/slib cat slib.sh >> /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/slib chmod +x /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image//usr/bin/slib /var/tmp/portage/dev-scheme/slib-3.1.5-r1/work/slib/installers /var/tmp/portage/dev-scheme/slib-3.1.5-r1/work/slib echo "(set! load/suppress-loading-message? #t) (load \"/usr/share/slib/mitscheme.init\") (require 'new-catalog) (slib:report-version)" | mit-scheme --batch-mode /var/tmp/portage/dev-scheme/slib-3.1.5-r1/work/slib >>> Completed installing slib-3.1.5-r1 into /var/tmp/portage/dev-scheme/slib-3.1.5-r1/image/ ecompressdir: bzip2 -9 /usr/share/info ecompressdir: bzip2 -9 /usr/share/man >>> Installing (1 of 1) dev-scheme/slib-3.1.5-r1 * bigloo not installed, not registering... * drscheme not installed, not registering... * elk not installed, not registering... * gambit not installed, not registering... * Registering slib with guile... SLIB "3a5" on guile "1.8.8" on unix * scm not installed, not registering... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * Regenerating GNU info directory index... * Processed 287 info files.
fails also to remove slib.info.gz
Some time ago drscheme was replaced with racket (currently it is dev-scheme/racket-5.3.2 and it still provides /usr/bin/mzscheme), still slib installation stage states the same: >>> Installing (1 of 1) dev-scheme/slib-3.1.5-r1 * bigloo not installed, not registering... * drscheme not installed, not registering... * elk not installed, not registering... * gambit not installed, not registering... * Registering slib with guile... SLIB "3a5" on guile "1.8.8" on unix * scm not installed, not registering... >>> Auto-cleaning packages...
still an issue at tinderbox image 17.1_hardened-20201219-112410: >>> /usr/share/guile/1.8/ >>> /usr/share/guile/1.8/slib -> /usr/share/slib/ --- /usr/bin/ >>> /usr/bin/slib -> /usr/share/slib/slib.sh --- /usr/lib/ >>> /usr/lib/slib -> /usr/share/slib/ --- /etc/ --- /etc/env.d/ >>> /etc/env.d/50slib * Updating implementation catalogs.. SLIB "3b5" on guile "2.2.7" on unix * ERROR: dev-scheme/slib-3.2.5-r1::gentoo failed (postinst phase): * (no error message)
Not version in the tree it looks like racket support it not turned on. > * Updating implementation catalogs.. > SLIB "3b5" on guile "2.2.7" on unix > * ERROR: dev-scheme/slib-3.2.5-r1::gentoo failed (postinst phase): > * (no error message) That is a error for Guile, it was fixed in https://bugs.gentoo.org/863803
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7a3341092faf9f7f92208ef5561c92bc463b35 commit 9e7a3341092faf9f7f92208ef5561c92bc463b35 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2022-08-05 19:02:50 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2022-08-05 19:03:06 +0000 dev-scheme/slib: also support guile 2.2 Bug: https://bugs.gentoo.org/764947 Bug: https://bugs.gentoo.org/375359 Signed-off-by: Maciej Barć <xgqt@gentoo.org> dev-scheme/slib/slib-3.2.5-r2.ebuild | 3 +++ 1 file changed, 3 insertions(+)