| Summary: | dev-util/darcs missing dev-libs/gmp RDEPEND | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Asfand Yar Qazi <ayqazi> |
| Component: | New packages | Assignee: | Gentoo's Haskell Language team <haskell> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Asfand Yar Qazi
2007-03-07 22:40:49 UTC
dev-util/darcs doesn't depend on gmp at all, read the ebuilds. Darcs does not directly depend on gmp, but it needs it:
$ ldd /usr/bin/darcs
libcurl.so.3 => /usr/lib/libcurl.so.3 (0x00002b6d28349000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00002b6d28486000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00002b6d285ce000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b6d28849000)
libz.so.1 => /lib/libz.so.1 (0x00002b6d2894d000)
libncurses.so.5 => /lib/libncurses.so.5 (0x00002b6d28a63000)
libreadline.so.5 => /lib/libreadline.so.5 (0x00002b6d28bc2000)
libm.so.6 => /lib/libm.so.6 (0x00002b6d28d00000)
libgmp.so.3 => /usr/lib/libgmp.so.3 (0x00002b6d28e55000)
libc.so.6 => /lib/libc.so.6 (0x00002b6d28f95000)
/lib64/ld-linux-x86-64.so.2 (0x00002b6d2822d000)
The point it that, when installed via binaries, the haskell compiler used to compile darcs, ghc is not installed. ghc depends on libgmp. In a compilation build, darcs depends on libgmp through ghc, but if ghc isn't there (like in the case of a binary installation), it doesn't infer the dependancy.
i.e. Portage needs to know that something was pulled in via a binary package, and so even though a link in the chain of dependancies is missing, it should some how account for it and count (in this case) gmp as a dependant of darcs. That's what this bug is about.
Or should darcs depend on gmp?
(In reply to comment #2) > Or should darcs depend on gmp? If it links to it? Sure... Fixed, thanks. |