pkgsrc-WIP-discuss archive

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

Re: pkgsrc-wip NetBSD 3.0_BETA/i386 bulk build results 2005-11-19



On Sun, Nov 20, 2005 at 02:59:00AM +0100, Thomas Klausner wrote:
> On Sat, Nov 19, 2005 at 09:14:22PM +0100, Krister Walfridsson wrote:
> > pkgsrc bulk build results
> > NetBSD 3.0_BETA/i386

> > wip/c2hs                           emil%math.su.se@localhost
>
>  =3D=3D=3D> Configuring for c2hs-0.14.3
>  *** Exception: Line 21: Unknown field 'hs-source-dirs'
>  *** Error code 1
>
>

>From the log file I see the following:

###
### Sat Nov 19 14:40:08 GMT 2005:
### /usr/bin/make bulk-package for c2hs-0.14.3
### Current pkg count:  2 installed packages: caml-light-0.74
digest-20050731 ###
BULK> Full rebuild in progress...
=3D=3D=3D> Cleaning for c2hs-0.14.3
BULK> Removing installed packages which are not needed to build
c2hs-0.14.3 BULK> Keeping BULK_PREREQ: digest-20050731 (pkgtools/digest)
/usr/sbin/pkg_delete -K /var/db/pkg -r caml-light-0.74
BULK> Installing packages which are required to build c2hs-0.14.3. BULK>
WARNING: could not find package name for directory lang/ghc
BULK>  /usr/sbin/pkg_add -K /var/db/pkg=20
/usr/pkgsrc/packages/All/cabal-1.1.3.tg z
./+INSTALL: /usr/pkg/bin/ghc-pkg: not found


c2hs needs wip/cabal to build, and wip/cabal needs to register itself wit=
h
the ghc-compiler by doing a 'ghc-pkg add ...' command, this is done in th=
e
INSTALL script for c2hs. The registering of the package modifies the file=
s
'package.conf' and 'package.conf.old', both
belonging to lang/ghc.

So:

In general: Should this be handled in some other way? (Or should
lang/ghc somehow be made aware of that 'package.conf' might be
modified by other packages?)

In this case: Why is not lang/ghc installed before wip/cabal so
ghc-pkg can be found? Should the dependencies of wip/c2hs be
differently specified?

/emil



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


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




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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