Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202160 - dev-scheme/mit-scheme-20070909 is missing app-crypt/mhash dependency in ebuild
Summary: dev-scheme/mit-scheme-20070909 is missing app-crypt/mhash dependency in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
: 209066 209502 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-13 17:52 UTC by Antek Grzymała (antoszka)
Modified: 2008-03-22 08:53 UTC (History)
5 users (show)

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


Attachments
mit-scheme-c-20070909.ebuild (mit-scheme-c-20070909.ebuild,928 bytes, text/plain)
2008-02-06 16:51 UTC, Marijn Schouten (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antek Grzymała (antoszka) 2007-12-13 17:52:50 UTC
The mit-scheme binary requires the mhash library:

$ ldd /opt/mit-scheme/bin/scheme
        linux-gate.so.1 =>  (0xffffe000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7f14000)
        libmhash.so.2 => not found
[...]

hence it should be included as a dependency in the ebuild.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-13 17:55:18 UTC
Err, ldd is useless for this.

Post the output of readelf -d /opt/mit-scheme/bin/scheme | grep NEEDED
Comment 2 Antek Grzymała (antoszka) 2007-12-13 17:59:23 UTC
Here you go:

$ readelf -d /opt/mit-scheme/bin/scheme | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libgdbm.so.3]
 0x00000001 (NEEDED)                     Shared library: [libmhash.so.2]
 0x00000001 (NEEDED)                     Shared library: [libcrypto.so.0.9.7]
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
Comment 3 Dawid Węgliński (RETIRED) gentoo-dev 2008-01-15 01:25:17 UTC
Fixed in cvs.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-05 23:49:02 UTC
*** Bug 209066 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-02-05 23:53:00 UTC
Eh, this like... doesn't work on amd64, perhaps this shouldn't be keyworded there in the first place?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2008-02-06 10:46:45 UTC
This also clearly requires libcrypto.so.0.9.7 a.k.a. openssl-0.9.7 which we don't have any more! And why is this not compiled from source?
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2008-02-06 16:51:54 UTC
Created attachment 142837 [details]
mit-scheme-c-20070909.ebuild

uninstall mit-scheme first
Comment 8 Reid Kleckner 2008-02-06 17:02:00 UTC
(In reply to comment #7)
> Created an attachment (id=142837) [edit]
> mit-scheme-c-20070909.ebuild
> 
> uninstall mit-scheme first
> 

Make sure to add mhash as a dependency.  It's not in your mit-scheme-c ebuild.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-02-06 17:03:32 UTC
Ditto for openssl. :)
Comment 10 Marijn Schouten (RETIRED) gentoo-dev 2008-02-06 17:08:01 UTC
I'll make sure to add those before I commit this.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2008-02-10 11:17:03 UTC
*** Bug 209502 has been marked as a duplicate of this bug. ***
Comment 12 Pun 2008-02-20 21:21:15 UTC
/opt/mit-scheme/bin/scheme: error while loading shared libraries: libcrypto.so.0.9.7: cannot open shared object file: No such file or directory
Comment 13 Marijn Schouten (RETIRED) gentoo-dev 2008-03-14 13:50:11 UTC
updated mit-scheme-c ebuilds are now in our overlay. Unfortunately you need a lot of memory to compile it. More than I have currently (2GB RAM + 2GB swap).
Comment 14 Marijn Schouten (RETIRED) gentoo-dev 2008-03-14 18:13:50 UTC
mit-scheme masked for removal
Comment 15 Ulrich Müller gentoo-dev 2008-03-22 08:53:35 UTC
I've removed mit-scheme (edwin) from virtual/editor.