Gentoo Archives: gentoo-ppc-user

From: Calum Selkirk <cselkirk@××××××.nl>
To: gentoo-ppc-user@g.o
Subject: [gentoo-ppc-user] Re: Errors emerge'ing xfree-4.3.0-r3 (on PPC)
Date: Sat, 12 Jul 2003 11:23:10
Message-Id: 20030712112109.GG6714@xs4all.nl
In Reply to: [gentoo-ppc-user] Re: Errors emerge'ing xfree-4.3.0-r3 (on PPC) by Pieter Van den Abeele
1 * Pieter Van den Abeele [pvdabeel@g.o] [2003-07-11 21:44 +0200]:
2
3 > > > I'll remerge both and try to reproduce the error - azarah feel
4 > > > free to drop me an email if you need something tested :-)
5 > >
6 > > It wasn't azarah but luca who marked this stable.
7 >
8 > Indeed, also mentioned in the Changelog (I've read) and I can remember
9 > lu asking me about this on irc.
10 >
11 > As illustrated by my previous email, I've been using it for a while
12 > now, without any problems. The ebuild was marked stable one month ago,
13 > I have seen nil bugreports on it, except for this one, and we're on it
14 > - doing QA. xfree-r3 was last changed 3 days ago and is not marked
15 > stable on ppc. I don't see how lu could possibly have predicted one
16 > month ago that xfree-r3 was going to break using the binutils he was
17 > masking stable after a long time in unstable without problems (even
18 > today - see my previous email).
19
20 That is why you build everything from bootstrap on release of a core
21 component like binutils. It's not a matter of 'predicting' but doing
22 adequate testing before releasing as stable. How many people would you
23 say tested binutils before it was considered stable? How many people
24 built their system from the ground up with this version?
25
26 To question your time line, both xfree-4.3.0-r2 and binutils-2.14.90.0.2
27 were marked stable (or at least last touched according to the
28 Changelogs) on 04 Jun and 08 Jun respectively. Where does "xfree-r3" even
29 come into this?
30
31 I, also, have been using it (i assume you mean binutils here) 'for a
32 while', and probably upgraded shortly after it was marked stable, but
33 didn't run into problems until doing an upgrade on a separate machine
34 (which happened to also be upgrading xfree).
35
36 Of course, it's easy for something to slip through the cracks, too easy.
37 But 'how could lu have possibly predicted' seems like a strange and
38 defensive response and/or question to ask, prediction is for soothsayers
39 and other occult fanciers, QA is based on thorough testing *before* it
40 is released on the world.
41
42 That said, I can't say for sure that binutils is at issue, which is
43 partly why I made no bug report, nor attempted to contact Franz Sirl
44 (ppc binutils and gcc maintainer). All i can say is that Tuesday of this
45 week I was attempting to upgrade an install on a research fellows' TiBook
46 (I work at a University). The machine in question hadn't been touched
47 administration wise for a little over two months and there were quite a
48 number of packages to upgrade.
49
50 The first package on the list, gnome-themes, died as it required xft,
51 I had removed the package as it conflicted with the upgrade of xfree and I
52 needed to merge world so I could leave the machine unattended. When i saw
53 gnome-themes had failed I decided to build, gcc, binutils and xfree
54 first (and so replace the xft supplied by xfree).
55
56 Returning a few hours later xfree had died spitting out the following error:
57
58 6ScanPci.c
59 In file included from xf86ScanPci.c:52:
60 xf86PciIds.h:27185: parse error before '}' token
61 xf86PciIds.h:47724: `pci_ss_list_10de_0068' undeclared here (not in a function)
62 xf86PciIds.h:47724: initializer element is not constant
63 xf86PciIds.h:47724: (near initialization for `pci_dev_info_10de_0068.Subsystem')
64 make[5]: *** [xf86ScanPci.o] Error 1
65
66 and on the second attempt ..
67
68 ../../../lib/GL/dri/XF86dri.c:367: `XExtDisplayInfo' undeclared (first use in this function)
69 ../../../lib/GL/dri/XF86dri.c:367: `info' undeclared (first use in this function)
70 ../../../lib/GL/dri/XF86dri.c: In function `XF86DRICreateDrawable':
71 ../../../lib/GL/dri/XF86dri.c:389: parse error before "drmDrawablePtr"
72 ../../../lib/GL/dri/XF86dri.c:391: `XExtDisplayInfo' undeclared (first use in this function)
73 ../../../lib/GL/dri/XF86dri.c:391: `info' undeclared (first use in this function)
74 ../../../lib/GL/dri/XF86dri.c:410: invalid type argument of `unary *'
75 ../../../lib/GL/dri/XF86dri.c: In function `XF86DRIDestroyDrawable':
76 ../../../lib/GL/dri/XF86dri.c:422: `XExtDisplayInfo' undeclared (first use in this function)
77 ../../../lib/GL/dri/XF86dri.c:422: `info' undeclared (first use in this function)
78 ../../../lib/GL/dri/XF86dri.c: In function `XF86DRIGetDrawableInfo':
79 ../../../lib/GL/dri/XF86dri.c:462: `XExtDisplayInfo' undeclared (first use in this function)
80 ../../../lib/GL/dri/XF86dri.c:462: `info' undeclared (first use in this function)
81 ../../../lib/GL/dri/XF86dri.c: In function `XF86DRIGetDeviceInfo':
82 ../../../lib/GL/dri/XF86dri.c:544: parse error before "drmHandlePtr"
83 ../../../lib/GL/dri/XF86dri.c:551: `XExtDisplayInfo' undeclared (first use in this function)
84 ../../../lib/GL/dri/XF86dri.c:551: `info' undeclared (first use in this function)
85 ../../../lib/GL/dri/XF86dri.c:570: invalid type argument of `unary *'
86 ../../../lib/GL/dri/XF86dri.c:575: invalid type argument of `unary *'
87 ../../../lib/GL/dri/XF86dri.c:576: invalid type argument of `unary *'
88 ../../../lib/GL/dri/XF86dri.c:577: invalid type argument of `unary *'
89 ../../../lib/GL/dri/XF86dri.c:578: invalid type argument of `unary *'
90 ../../../lib/GL/dri/XF86dri.c:581: invalid type argument of `unary *'
91 ../../../lib/GL/dri/XF86dri.c:588: invalid type argument of `unary *'
92 ../../../lib/GL/dri/XF86dri.c:590: invalid type argument of `unary *'
93 ../../../lib/GL/dri/XF86dri.c: In function `XF86DRIOpenFullScreen':
94 ../../../lib/GL/dri/XF86dri.c:604: `XExtDisplayInfo' undeclared (first use in this function)
95 ../../../lib/GL/dri/XF86dri.c:604: `info' undeclared (first use in this function)
96 ../../../lib/GL/dri/XF86dri.c: In function `XF86DRICloseFullScreen':
97 ../../../lib/GL/dri/XF86dri.c:632: `XExtDisplayInfo' undeclared (first use in this function)
98 ../../../lib/GL/dri/XF86dri.c:632: `info' undeclared (first use in this function)
99
100 At this point I checked over the hardware, replaced the hardrive and
101 RAM, and dd'ed the old hardisk to the new (without error).
102
103 The third attempt at building xfree I wasn't able log as the
104 2.4.30-ppc-r3 crashed to MON and "x" (exit) didn't bring it back and
105 give me enough time to cut and paste the output, the kernel opps'd.
106 The errors were similar to the report made by Eric P. .. ld errors. I
107 decided at this point that perhaps the upgrade of binutils was causing
108 the problem and so downgraded to 2.13.90.0.18. I then emerge'd xfree,
109 this time the build was successful (which is why I suggested Eric P. do
110 the same)
111
112 The the next package to die was control-center-1.4.0.5-r1, with the
113 error:
114
115 X11R6/include-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char -Wall -Wunused -c file-types-capplet-dialogs.c
116 file-types-capplet.c: In function `main':
117 file-types-capplet.c:184: warning: statement with no effect
118 file-types-capplet.c:185: warning: statement with no effect
119 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../.. -I. -I../../intl -I../../intl -I../../libgnomevfs -I./../../control-center -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I/usr/include -I/usr/include/gnome-vfs-1.0 -I/usr/lib/gnome-vfs-1.0/include -I/usr/include/gnome-xml -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char -Wall -Wunused -c file-types-icon-entry.c
120 file-types-capplet.c: In function `init_mime_capplet':
121 file-types-capplet.c:716: stray '\177' in program
122 file-types-capplet.c:716: `small' undeclared (first use in this function)
123 file-types-capplet.c:716: (Each undeclared identifier is reported only once
124 file-types-capplet.c:716: for each function it appears in.)
125 file-types-capplet.c:716: parse error before "table"
126 make[4]: *** [file-types-capplet.o] Error 1
127 make[4]: *** Waiting for unfinished jobs....
128
129 Based on the error I decided to merge using MAKEOPTS="-j1" and it built
130 and installed successfully.
131
132 Then the upgrade of qt-3.1.0-r3 died, this I had encountered before,
133 in fact i had made a bug report on June 15th see:
134
135 http://bugs.gentoo.org/show_bug.cgi?id=22860
136
137 emergeing ~ppc got me past this hurdle.
138
139 Next nautilus-2.2.4 failed with:
140
141 -lcrypto /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lcdda_paranoia -lcdda_interface /usr/lib/libjpeg.so -lX11
142 nautilus-window-toolbars.o(.text+0x890): In function `create_back_or_forward_toolbar_item':
143 : undefined reference to `bonobo_ui_component_widget_set'
144 collect2: ld returned 1 exit status
145
146 At this point I was saved from having to go any further as I was
147 informed that the research fellow had arrived with his own laptop in
148 tow, and the machine went back under my desk.
149
150 > Instead of pointing fingers, I'd prefer a bug report that gives us a
151 > chance to look into this situation and in the end help the user out.
152
153 Where was I pointing fingers? I had assumed, as you had asked a question
154 of azarah, that you had bcc'd it to him and I was simply pointing out
155 that luca had arch'ed the package, I had assumed this *knowing* azarah's
156 involvement with binutils.
157
158 > Even if the bug is an upstream bug, we'll report it upstream, so don't
159 > hesitate bombing us with this kind of feedback, but please no finger
160 > pointing. <insert stuff about gentoo developers being unpaid
161 > volunteers here>
162
163 As far as a bug reporting goes, I certainly had little time that day to
164 make one. Here it is as requested. Again, no finger pointing involved.
165
166 If you plan contacting upstream developers I'd suggest contacting Franz
167 Sirl with any questions re binutils, you can normally find him on
168 #mklinux.
169
170 One more thing about QA. Working along the lines of "how could
171 <insert_developer> predict .." .. yes, how could anyone predict
172 that all of the above happened on a simple upgrade? You can't
173 .. but QA isn't based on prediction, it's way more simple than that ;)
174
175 What really constitutes "adequate" or "thorough" testing, and can this
176 be a guideline to "predicting" a package will be stable? Again,
177 unanswerable, but perhaps what we are looking for, and I mean the
178 proverbial we, is not what gets us there but *are* we getting there,
179 are our methods getting us stability (a second order cybernetic
180 methodology).
181
182 Now, perhaps there have been "nil bug reports" and that some, including
183 yourself, have "been using it for a while", but what does this tell you,
184 methodologically speaking? It might only tell you that users were failing
185 to fill out bug reports, that I am a special instance that passed the QA
186 procedure, that I am your only user, that others simply moved on to
187 using Yellow Dog or Debian when encountering this or other problems.
188 What does it really tell you?
189
190 I'm not attempting to knock you or other developers, nor pointing
191 fingers, but simply trying to show that QA is far from there. You might
192 remember my parting letter (from Gentoo) where I spoke of "an every
193 increasing semantic quagmire" when talking about the Gentoo namespace,
194 I happen to think we have a similar problem in terms of QA. QA is, imo,
195 something that is represented in the current state of the tree, it is
196 something that is suggested by the very word "stable" and not bug
197 fixing post stable.
198
199 I accept the fact that there will *always* be bugs that sneak by *any*
200 testing procedure, it is the nature of the complexity of software
201 itself, but QA is quite a different animal, again, it is represented in
202 the current state of the tree and in the methodologies used to label
203 that tree as stable. From the example shown above, there is nothing in
204 the present state of the ppc tree that would indicate that QA is in
205 place. I say that not to deride you, nor to diminish the work you, and
206 other developers, put in. It is, I hope, an unbiased appraisal, based on
207 one persons experience of upgrading.
208
209 best regards
210
211 cal
212
213 --
214 gentoo-ppc-user@g.o mailing list

Replies

Subject Author
[gentoo-ppc-user] Re: Errors emerge'ing xfree-4.3.0-r3 (on PPC) Pieter Van den Abeele <pvdabeel@g.o>