pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-wip NetBSD 3.0/i386 bulk build results 20060215.1754



> pkgsrc bulk build results
> NetBSD 3.0/i386
>
[...]
> wip/c2hs                           emil%math.su.se@localhost

This fails due to a problem with wip/cabal (which is needed to build c2hs=
)
that I will try to explain, in the hope of getting some feedback on how t=
o
solve it:

Background:
The haskell compiler ghc has a file listing all installed packages
'${PREFIX}/lib/ghc-${PKGVERSION}/package.conf' This file has to be update=
d
after the installation of wip/cabal (this is now done  via cabal's INSTAL=
L
script).

Why the bulk build of wip/c2hs breaks is because wip/cabal is installed
by the bulk script before lang/ghc is installed, so the aforementioned
INSTALL script cannot modify package.conf which leads to the failure of
the c2hs build.

I can see two possible solutions:

1): remove the line

BUILDLINK_DEPMETHOD.ghc?=3D       build

from lang/ghc/buildlink3.mk

2): Create a new pkgsrc-specific package.conf file
in ${PREFIX}/etc that wip/cabal could modify instead of the
lib/ghc-x.x.x/package.conf file.

The second possible solution seems more appealing to me, but would maybe
necessitate that /usr/pkg/bin/ghc instead of being a symlink to
/usr/pkg/bin/ghc-x.x.x would have to be a little wrapper script that
called the binary with the configuration file as an argument.

Any suggestions?

/emil


--=20
Emil Sk=F6ldberg
Dept. of Mathematics
National University of Ireland, Galway




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index