Gentoo Archives: gentoo-user

From: Bryan Gardiner <bog@××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Haskell packages and keeptemp
Date: Mon, 21 Sep 2015 03:58:42
1 Hi gentoo-users,
3 I thought I would set FEATURES=keeptemp in make.conf so I would have
4 build logs around for reference. This causes problems with Haskell
5 packages, which fail during the second build after setting this,
6 because the build's temp/ hasn't been cleaned from the previous build:
8 > >>> Install http-client-tls-0.2.2 into /var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/ category dev-haskell
9 > ./setup copy --destdir=/var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/
10 > Installing library in
11 > /var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/usr/lib64/http-client-tls-0.2.2/ghc-7.10.2
12 > Creating package registration file:
13 > /var/tmp/portage/dev-haskell/http-client-tls-0.2.2/temp/http-client-tls-0.2.2.conf
14 > 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
15 > * ERROR: dev-haskell/http-client-tls-0.2.2::haskell failed (install phase):
16 > * Failed to initialize empty local db
18 Am I wrong in expecting ${T} to be wiped at the start of a build,
19 regardless of the package, so that this isn't a problem? I'm not sure
20 why you'd want old temp/ state to carry forward to the next build.
22 - Bryan


Subject Author
Re: [gentoo-user] Haskell packages and keeptemp Michael Orlitzky <mjo@g.o>
Re: [gentoo-user] Haskell packages and keeptemp "J. Roeleveld" <joost@××××××××.org>