Gentoo Archives: gentoo-catalyst

From: lin pro <linforpros@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] I need generic solution to package non-building uder catalyst...
Date: Wed, 08 Jan 2014 00:57:20
Message-Id: CACU8XW=1Uj_ReV74UGYhEWsK=8oPDPGWfDs1f8VS4fe+GkB_pA@mail.gmail.com
1 Hi,
2 I have not yet managed to build a stage4 without any fatal errors when
3 packages are being built.
4
5 This time it is about help2man requiring Locale_gettext pearl module package.
6 The message in itself is very simple and clear. There is no
7 dev-utils/Locale_gettex available for emerge durring the configure
8 phase.
9 Adding it to spec file does not change anything.
10 Rerunning catalyst with an -a switch or -p -P or -T,or even deleting
11 all of the catalyst/tmp directory brings no solution.
12
13 My question is hwo to tacke those problems from within catalyst. I no
14 that one should no intervene in the catalyst build process by hand.
15 how to manupulate it with config files to solve build issues?
16
17 below please find the latest fatal error which stops the spec file.
18
19 >>> Emerging (117 of 260) sys-apps/help2man-1.40.11
20 >>> Failed to emerge sys-apps/help2man-1.40.11, Log file:
21 >>> '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/build.log'
22 * Package: sys-apps/help2man-1.40.11
23 * Repository: gentoo
24 * Maintainer: base-system@g.o
25 * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib nls
26 userland_GNU
27 * FEATURES: preserve-libs sandbox userpriv usersandbox
28 * Applying help2man-1.36.4-respect-LDFLAGS.patch ...
29 [ ok ]
30 * Applying help2man-1.38.4-linguas.patch ...
31 [ ok ]
32 checking for perl... perl
33 checking for module Locale::gettext... no
34 checking for msgfmt... /usr/bin/msgfmt
35 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
36 checking whether the C compiler works... yes
37 checking for C compiler default output file name... a.out
38 checking for suffix of executables...
39 checking whether we are cross compiling... no
40 checking for suffix of object files... o
41 checking whether we are using the GNU C compiler... yes
42 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
43 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
44 checking for library containing dlsym... -ldl
45 checking for library containing bindtextdomain... none required
46 configure: error: perl module Locale::gettext required
47
48 !!! Please attach the following file when seeking support:
49 !!! /var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11/config.log
50 * ERROR: sys-apps/help2man-1.40.11::gentoo failed (configure phase):
51 * econf failed
52 *
53 * Call stack:
54 * ebuild.sh, line 93: Called src_configure
55 * environment, line 2226: Called econf '--enable-nls'
56 * phase-helpers.sh, line 577: Called die
57 * The specific snippet of code:
58 * die "econf failed"
59 *
60 * If you need support, post the output of `emerge --info
61 '=sys-apps/help2man-1.40.11::gentoo'`,
62 * the complete build log and the output of `emerge -pqv
63 '=sys-apps/help2man-1.40.11::gentoo'`.
64 * The complete build log is located at
65 '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/build.log'.
66 * The ebuild environment file is located at
67 '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/environment'.
68 * Working directory:
69 '/var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11'
70 * S: '/var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11'
71
72 * Messages for package media-fonts/dejavu-2.33:
73
74 * The following fontconfig configuration files have been installed:
75 *
76 * 20-unhint-small-dejavu-sans-mono.conf
77 * 20-unhint-small-dejavu-sans.conf
78 * 20-unhint-small-dejavu-serif.conf
79 * 57-dejavu-sans-mono.conf
80 * 57-dejavu-sans.conf
81 * 57-dejavu-serif.conf
82 *
83 * Use `eselect fontconfig` to enable/disable them.
84
85 * Messages for package sci-astronomy/wcstools-3.8.7:
86
87 * The following execs have been renamed to avoid colliding
88 * with other packages:
89 * getdate -> wcsgetdate
90 * crlf -> wcscrlf
91 * remap -> wcsremap
92
93 * Messages for package media-fonts/urw-fonts-2.4.9:
94
95 * If you upgraded from urw-fonts-2.1-r2 some fonts will look a bit
96 * different. Take a look at bug #208990 if interested.
97
98 * Messages for package media-fonts/stix-fonts-1.0.0-r1:
99
100 * The following fontconfig configuration files have been installed:
101 *
102 * 61-stix.conf
103 *
104 * Use `eselect fontconfig` to enable/disable them.
105
106 * Messages for package app-portage/portage-utils-0.30:
107
108 * This package will overwrite one or more files that may belong to other
109 * packages (see list below).
110 *
111 * Detected file collision(s):
112 *
113 * /etc/portage/postsync.d/q-reinitialize
114 * /etc/portage/bin/post_sync
115 *
116 * Searching all installed packages for file collisions...
117 *
118 * Press Ctrl-C to Stop
119 *
120 * None of the installed packages claim the file(s).
121 *
122 * Package 'app-portage/portage-utils-0.30' merged despite file
123 * collisions. If necessary, refer to your elog messages for the whole
124 * content of the above message.
125 * /etc/portage/postsync.d/q-reinitialize has been installed for convenience
126 * If you wish for it to be automatically run at the end of every --sync:
127 * # chmod +x /etc/portage/postsync.d/q-reinitialize
128 * Normally this should only take a few seconds to run but file systems
129 * such as ext3 can take a lot longer. To disable, simply do:
130 * # chmod -x /etc/portage/postsync.d/q-reinitialize
131
132 * Messages for package x11-libs/libXi-1.7.2:
133
134 * Some special keys and keyboard layouts may stop working.
135 * To fix them, recompile xorg-server.
136
137 * Messages for package sys-apps/help2man-1.40.11:
138
139 * ERROR: sys-apps/help2man-1.40.11::gentoo failed (configure phase):
140 * econf failed
141 *
142 * Call stack:
143 * ebuild.sh, line 93: Called src_configure
144 * environment, line 2226: Called econf '--enable-nls'
145 * phase-helpers.sh, line 577: Called die
146 * The specific snippet of code:
147 * die "econf failed"
148 *
149 * If you need support, post the output of `emerge --info
150 '=sys-apps/help2man-1.40.11::gentoo'`,
151 * the complete build log and the output of `emerge -pqv
152 '=sys-apps/help2man-1.40.11::gentoo'`.
153 * The complete build log is located at
154 '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/build.log'.
155 * The ebuild environment file is located at
156 '/var/tmp/portage/sys-apps/help2man-1.40.11/temp/environment'.
157 * Working directory:
158 '/var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11'
159 * S: '/var/tmp/portage/sys-apps/help2man-1.40.11/work/help2man-1.40.11'
160
161 !!! catalyst: cmd() NON-zero return value from: Error in attempt to
162 build packages
163
164
165 !!! catalyst: stage4build aborting due to error.
166
167 --- Exeption running action sequence:build_packages
168 !!! catalyst: Error encountered during run of target stage4
169 Catalyst aborting....
170 lockfile does not exist
171 '/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/.catalyst_lock'
172
173
174 As you can clearly see at the top the gettext module is not available
175 for emerge at the time of building.
176
177 The spec file has this:
178
179 stage4/packages: dev-perl/Locale-gettext @astronomy
180
181
182 Theoretically the module should have been built before the @astronomy
183 set. And yet it is not there.
184
185 Let me mention that the stage4 file was modified to use the latest
186 snapshot 20140107.
187
188
189 If this was a regular system, not catalyst, I would diagnosed it
190 somehow. I just have no clue how to tackle it.
191 Could catalyst have build phases?
192 imagine this:
193 catalyst --phase stage4/packages -f specfile
194 catalyst --phase stage/fsscript -f specfile
195 catalyst --phase stage/rcadd -f specfile
196 catalyst --phase boot/kernel/gentoo/sources -f specfile
197
198 and so on and on.
199 this way one could step in,chroot into untarred 'phase', modify it and
200 then proceed?
201
202 this is just a thought. I am not a programmer, please do not take it
203 too seriously.
204
205 Thank for any input.
206 Ben
207
208
209
210 --
211 best regards
212 linforpros

Replies