Gentoo Archives: gentoo-portage-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] EbuildProcess logs poll-error to already removed $T (on AIX)
Date: Fri, 25 Mar 2011 08:22:26
Message-Id: 4D8C5087.8020004@gentoo.org
1 Hi Zac (et al),
2
3 while this problem occurs on AIX only (for now?), I doubt this problem is
4 introduced in prefix-portage.
5
6 With recent prefix-portage-2.2.01.18125 (Fabian, how do you calculate the
7 version numbers since moving to git?), the "EbuildProcess" spits this
8 every now and then during "emerge mime-types" fex:
9
10 * EbuildProcess received strange poll event: 16384
11
12 While I don't understand (yet) why this is there on AIX at all, it does
13 trigger an IOError when trying to log this message to $T/build.log after
14 $WORKDIR has been cleaned up. When I avoid the logging of this message,
15 everything (seems to) work fine.
16
17 For the attached logfile, I've added these two lines to usr/lib/portage/bin/ebuild.sh:
18 @@ -1,3 +1,5 @@
19 #!/big5tk/local/gprefix/bin/bash
20 # Copyright 1999-2011 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22 +echo "ebuild.sh: $0 $@" >&2
23 +echo "ebuild.sh: WORKDIR: ${WORKDIR}" >&2
24 @@
25
26 Any idea?
27
28 Thank you!
29 /haubi/
30 --
31 Michael Haubenwallner
32 Gentoo on a different level

Attachments

File name MIME type
aix-strange-poll-event-16384-ioerror.log text/plain

Replies