Gentoo Archives: gentoo-alt

From: Alan Hourihane <alanh@×××××××××××.uk>
To: gentoo-alt <gentoo-alt@l.g.o>
Subject: [gentoo-alt] portage bug with summary.log
Date: Wed, 10 Mar 2010 11:55:39
Message-Id: 1268222128.19683.61.camel@jetpack.demon.co.uk
1 Hi Fabian,
2
3 Since we changed my EPREFIX to "" I've been getting summary.log
4 droppings in odd locations.
5
6 It turns out that the code in mod_save_summary.py has this...
7
8 if mysettings["PORT_LOGDIR"] != "":
9 elogdir = os.path.join(mysettings["PORT_LOGDIR"],
10 "elog")
11 else:
12 elogdir = os.path.join(EPREFIX, "var", "log", "portage",
13 "elog")
14
15 And because my EPREFIX is "" then we never get a "/" in front of var so
16 it creates var/log/portage/elog/summary.log in the place you emerge the
17 package.
18
19 We need a leading "/" here.
20
21 Can you fix ?
22
23 Alan.

Replies

Subject Author
Re: [gentoo-alt] portage bug with summary.log Fabian Groffen <grobian@g.o>