Hi gentoo-users, I thought I would set FEATURES=keeptemp in make.conf so I would have build logs around for reference. This causes problems with Haskell packages, which fail during the second build after setting this, because the build's temp/ hasn't been cleaned from the previous build:
> >>> Install http-client-tls-0.2.2 into
> >>> /var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/ category
> >>> dev-haskell
> ./setup copy
> --destdir=/var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/
> Installing library in
> /var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/usr/lib64/http-client-tls-0.2.2/ghc-7.10.2
> Creating package registration file:
> /var/tmp/portage/dev-haskell/http-client-tls-0.2.2/temp/http-client-tls-0.2.2.conf
> ghc-pkg: cannot create:
> /var/tmp/portage/dev-haskell/http-client-tls-0.2.2/temp/http-client-tls-0.2.2.conf.d
> already exists
> * ERROR: dev-haskell/http-client-tls-0.2.2::haskell failed (install phase):
> * Failed to initialize empty local db
Am I wrong in expecting ${T} to be wiped at the start of a build,
regardless of the package, so that this isn't a problem? I'm not sure
why you'd want old temp/ state to carry forward to the next build.
- Bryan
pgpoekGmwiLBu.pgp
Description: OpenPGP digital signature

