Summary: | lang/ghc does not install with synth | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Walter Schwarzenfeld <w.litter> |
Component: | Individual Port(s) | Assignee: | Gabor Pali <pgj> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | marino, pgj, portmaster |
Priority: | --- | Flags: | pgj:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Walter Schwarzenfeld
2016-01-31 14:01:13 UTC
(In reply to Walter Schwarzenfeld from comment #0) > Lang/ghc does not install with synth. Error Message > ===> Building package for ghc-7.10.2 > actual-package-depends: dependency on /lib/libutil.so.9 not registered > (normal if it belongs to base) > > In the port installs ,althrough this message. > > The problem is here: > LIB_DEPENDS+= libutil.so.9:${PORTSDIR}/misc/compat9x > > The compat9x port has no libutil* file in its source. > > If I comment this line, it works. > > Either we can remove this line, or it is need to add the libutil file to the > compat9x port. Hello, Walter. I think we discussed this on the FreeBSD forums. I had no difficulty building this on my box, when building/installing ports-mgmt/synth *but* I built a custom kernel for this box, and KERNCONF includes the following: options COMPAT_FREEBSD9 Interestingly, so does GENERIC. It's probably also worth noting; I don't have misc/compat9x installed (why would I?). FWIW I'm tracking -CURRENT. Are you on 10? Just thought it all worth mentioning, in case any of it helps track down the issue(s). --Chris I have 10.2-RELEASE amd64. The dependency on misc/compat9x was introduced because the bootstrap compiler used in the compilation of lang/ghc was built for FreeBSD 9.x (to minimize the need for providing a separate bootstrap compiler for each major versions), so it could work on later systems safely. However, I can accept that this might actually be redundant, and it is not needed. I will investigate this. Hi Gabor, I just checked the compat9x port pkg-plists and it doesn't even contain libutil (any version). So it's not a case of the base library satisfying the requirement and thus compat9x doesn't come it, it's a case that the requirement cannot be satisfied by compat9x under any circumstance. If you can confirm that I didn't overlook something silly, I think you'll have enough proof to remove the line. Thanks, John Okay, I have checked that none of the following libraries, which might be used by the bootstrap compiler, present in misc/compat9x: libc.so.7 libcharset.so.1 libiconv.so.2 libm.so.5 libncurses.so.8 librt.so.1 libthr.so.3 libutil.so.9 That is, in conclusion, the dependency on misc/compat9x is indeed redundant, and it appears to be safe to remove. is haskell@ planning to make this change the port? (In reply to John Marino from comment #6) Yes. A commit references this bug: Author: pgj Date: Fri Feb 19 20:25:34 UTC 2016 New revision: 409200 URL: https://svnweb.freebsd.org/changeset/ports/409200 Log: - Remove the superfluous dependency on misc/compat9x PR: 206794 Submitted by: Walter Schwarzenfeld <w.litter@aon.at> Obtained from: FreeBSD Haskell Changes: head/lang/ghc/Makefile It has been now fixed. Thank you for reporting this problem! |