Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Haskell packages and keeptemp
Date: Mon, 21 Sep 2015 05:30:00
Message-Id: 2059EB40-3511-4B55-849E-94E73A334801@antarean.org
In Reply to: [gentoo-user] Haskell packages and keeptemp by Bryan Gardiner
1 On 21 September 2015 05:58:20 CEST, Bryan Gardiner <bog@××××××.net> wrote:
2 >Hi gentoo-users,
3 >
4 >I thought I would set FEATURES=keeptemp in make.conf so I would have
5 >build logs around for reference. This causes problems with Haskell
6 >packages, which fail during the second build after setting this,
7 >because the build's temp/ hasn't been cleaned from the previous build:
8 >
9 >> >>> Install http-client-tls-0.2.2 into
10 >/var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/ category
11 >dev-haskell
12 >> ./setup copy
13 >--destdir=/var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/
14 >> Installing library in
15 >>
16 >/var/tmp/portage/dev-haskell/http-client-tls-0.2.2/image/usr/lib64/http-client-tls-0.2.2/ghc-7.10.2
17 >> Creating package registration file:
18 >>
19 >/var/tmp/portage/dev-haskell/http-client-tls-0.2.2/temp/http-client-tls-0.2.2.conf
20 >> ghc-pkg: cannot create:
21 >/var/tmp/portage/dev-haskell/http-client-tls-0.2.2/temp/http-client-tls-0.2.2.conf.d
22 >already exists
23 >> * ERROR: dev-haskell/http-client-tls-0.2.2::haskell failed (install
24 >phase):
25 >> * Failed to initialize empty local db
26 >
27 >Am I wrong in expecting ${T} to be wiped at the start of a build,
28 >regardless of the package, so that this isn't a problem? I'm not sure
29 >why you'd want old temp/ state to carry forward to the next build.
30 >
31 >- Bryan
32
33 Build logs usually (I didn't change anything for that) end up in
34 /var/log/portage
35
36 Did you check there?
37
38 --
39 Joost
40 --
41 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] Haskell packages and keeptemp Bryan Gardiner <bog@××××××.net>