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

Replies