1 |
Andrew Gaffney wrote: |
2 |
> John Eckhart wrote: |
3 |
>> I'm trying to build a generic stage1 using the |
4 |
>> stage3-x86-2006.1.tar.bz2 as a seed and the 20070319 portage |
5 |
>> snapshot. I can get all the way up to the building of glibc |
6 |
>> (glibc-2.5 as per the portage snapshot), which fails with the |
7 |
>> following error: |
8 |
>> |
9 |
>> * i386 CHOSTs are no longer supported. |
10 |
>> * Chances are you don't actually want/need i386. |
11 |
>> * Please read http://www.gentoo.org/doc/en/change-chost.xml |
12 |
>> |
13 |
>> !!! ERROR: sys-libs/glibc-2.5 failed. |
14 |
>> |
15 |
>> |
16 |
>> I wonder how the release team is producing the stage1's for 2007.0. |
17 |
>> Are they masking glibc-2.5 or have they moved the sub-architecture |
18 |
>> for stage1-x86 to something newer like i586? |
19 |
> |
20 |
> There is a build problem with glibc-2.5 for the i386 CHOST. Rather |
21 |
> than fix it (which would be a lot of work for virtually no benefit), |
22 |
> the minimum supported CHOST has been changed to i486. Just set 'chost: |
23 |
> i486-pc-linux-gnu' in your stage1.spec. Unless you're planning on |
24 |
> installing on an actual 386, this will work fine for 486 and up. |
25 |
> |
26 |
|
27 |
Andrew, |
28 |
Thanks, that helps. I am also seeing another build error when |
29 |
building nano for the stage 1. It appears that the stage2 and stage3 |
30 |
seeds from 2006.1 are built without unicode support in ncurses, yet nano |
31 |
is trying to build with unicode. |
32 |
|
33 |
I've attached my spec file, here is a summary: |
34 |
building: stage1-x86 |
35 |
seed: stage2-x86-2006.1 |
36 |
snapshot: 20070319 |
37 |
catalyst: 2.0.3 |
38 |
|
39 |
I'm not sure if I did something wrong, or it's because I am using the |
40 |
latest portage snapshot, etc. If the problem has to do with the snapshot |
41 |
then I can think of a few ways to fix it: add -unicode to the nano use |
42 |
flags, pull the unicode nano requirement when USE="build", add a command |
43 |
in the stage1-chroot.sh to update the seed and rebuild curses with unicode. |
44 |
|
45 |
Here is the excerpt from my build log: |
46 |
|
47 |
... |
48 |
configure: error: |
49 |
*** UTF-8 support was requested, but insufficient UTF-8 support was |
50 |
*** detected in your curses and/or C libraries. Please verify that your |
51 |
*** slang was built with UTF-8 support or your curses was built with |
52 |
*** wide character support, and that your C library was built with wide |
53 |
*** character support. |
54 |
|
55 |
!!! Please attach the following file when filing a report to |
56 |
bugs.gentoo.org: |
57 |
!!! /var/tmp/portage/app-editors/nano-2.0.3/work/nano-2.0.3/config.log |
58 |
|
59 |
!!! ERROR: app-editors/nano-2.0.3 failed. |
60 |
Call stack: |
61 |
ebuild.sh, line 1614: Called dyn_compile |
62 |
ebuild.sh, line 971: Called qa_call 'src_compile' |
63 |
environment, line 1238: Called src_compile |
64 |
nano-2.0.3.ebuild, line 44: Called econf '--bindir=/bin' |
65 |
'--enable-color' '--enable-multibuffer' '--enable-nanorc' '--disable-wr |
66 |
apping-as-root' '--disable-spell' '--disable-justify' '--disable-debug' |
67 |
'--disable-nls' '--enable-utf8' '--disable-tiny' '--without- |
68 |
slang' |
69 |
ebuild.sh, line 577: Called die |
70 |
|
71 |
!!! econf failed |
72 |
!!! If you need support, post the topmost build error, and the call |
73 |
stack if relevant. |
74 |
!!! A complete build log is located at |
75 |
'/var/tmp/portage/app-editors/nano-2.0.3/temp/build.log'. |
76 |
|
77 |
|
78 |
!!! catalyst: run script failed. |
79 |
|
80 |
|
81 |
Traceback (most recent call last): |
82 |
File "modules/generic_stage_target.py", line 1047, in run_local |
83 |
cmd("/bin/bash "+self.settings["controller_file"]+" run","run script |
84 |
failed.",env=self.env) |
85 |
File "/usr/lib/catalyst/modules/catalyst_support.py", line 485, in cmd |
86 |
raise CatalystError,myexc |
87 |
CatalystError: <unprintable instance object> |
88 |
None |
89 |
|
90 |
!!! catalyst: Stage build aborting due to error. |
91 |
|
92 |
|
93 |
Catalyst aborting.... |