Gentoo Archives: gentoo-portage-dev

From: Amit Dor-Shifer <amitds@××××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] ebuild --debug takes forever when FEATURES contains keeptemp: detects QA warnings in build.log
Date: Tue, 08 Sep 2009 08:29:47
Message-Id: 4AA6153F.8050203@oversi.com
In Reply to: Re: [gentoo-portage-dev] ebuild --debug takes forever when FEATURES contains keeptemp: detects QA warnings in build.log by Amit Dor-Shifer
1 Attaching /tmp/bla[1234] and build.log.[1234], respective 4 consecutive
2 execution.
3 Amit
4
5 Amit Dor-Shifer wrote:
6 > Still happens:
7 >
8 > amit0 # cd /usr/lib64/portage/
9 > amit0 portage # patch -p1 bin/misc-functions.sh /tmp/debug_qa.patch
10 > amit0 portage # qcheck -v sys-apps/portage
11 > Checking sys-apps/portage-2.1.6.13 ...
12 > MD5-DIGEST: /usr/lib64/portage/bin/misc-functions.sh (recorded
13 > '0a1049bec0ee7913c48db02d0942bbca' != actual
14 > 'a2d830254da2f70ee272f986bb82c7cf')
15 > * 337 out of 338 files are good
16 > amit0 portage # rm -fr /var/tmp/portage/test/test-mkdir-1.0/temp/
17 > amit0 portage # time (ebuild --debug
18 > /usr/portage/local/myebuilds/test/test-mkdir/test-mkdir-1.0.ebuild
19 > install >& /tmp/bla)
20 >
21 > real 0m3.395s
22 > user 0m2.420s
23 > sys 0m1.013s
24 > amit0 portage # time (ebuild --debug
25 > /usr/portage/local/myebuilds/test/test-mkdir/test-mkdir-1.0.ebuild
26 > install >& /tmp/bla)
27 >
28 > real 0m3.681s
29 > user 0m2.617s
30 > sys 0m1.098s
31 > amit0 portage # time (ebuild --debug
32 > /usr/portage/local/myebuilds/test/test-mkdir/test-mkdir-1.0.ebuild
33 > install >& /tmp/bla)
34 >
35 > real 0m4.924s
36 > user 0m3.332s
37 > sys 0m1.607s
38 > amit0 portage # time (ebuild --debug
39 > /usr/portage/local/myebuilds/test/test-mkdir/test-mkdir-1.0.ebuild
40 > install >& /tmp/bla)
41 >
42 > real 0m38.698s
43 > user 0m32.135s
44 > sys 0m7.207s
45 > amit0 portage # time (ebuild --debug
46 > /usr/portage/local/myebuilds/test/test-mkdir/test-mkdir-1.0.ebuild
47 > install >& /tmp/bla)
48 > ^C^C
49 > real 3m48.985s
50 > user 3m32.271s
51 > sys 0m16.436s
52 >
53 >
54 > Amit
55 >
56 >
57 >
58 > Zac Medico wrote:
59 >> Amit Dor-Shifer wrote:
60 >>
61 >>
62 >>> amit0 ~ $ grep -m 3 ': warning:'
63 >>> /var/tmp/portage/test/test-mkdir-1.0/temp/build.log
64 >>> + msgs=(": warning: dereferencing type-punned pointer will break
65 >>> strict-aliasing rules$" ": warning: implicit declaration of function "
66 >>> ": warning: incompatible implicit declaration of built-in function " ":
67 >>> warning: is used uninitialized in this function$" ": warning:
68 >>> comparisons like X<=Y<=Z do not have their mathematical meaning$" ":
69 >>> warning: null argument where non-null required ")
70 >>> + [[ -n : warning: dereferencing type-punned pointer will break
71 >>> strict-aliasing rules$ ]]
72 >>> + m=': warning: dereferencing type-punned pointer will break
73 >>> strict-aliasing rules$'
74 >>>
75 >>
76 >> I think the attached patch should fix that. Could you test if for me?
77 >>
78 >>
79 >

Attachments

File name MIME type
ebuild.debug.output_and_logs.tar.gz application/gzip