Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375359 - >=dev-scheme/slib-3.2.2 ebuild scripts cannot find installed drscheme
Summary: >=dev-scheme/slib-3.2.2 ebuild scripts cannot find installed drscheme
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-16 12:19 UTC by Paul Osmialowski
Modified: 2017-07-31 12:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Osmialowski 2011-07-16 12:19:31 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2011-07-16 12:40:11 UTC
please attach a build log to see this issue
Comment 2 Paul Osmialowski 2011-07-16 23:30:51 UTC
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.
Comment 3 Agostino Sarubbo gentoo-dev 2011-07-16 23:36:16 UTC
fails also to remove slib.info.gz
Comment 4 Paul Osmialowski 2013-02-06 06:05:35 UTC
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...