Gentoo Archives: gentoo-osx

From: m h <sesquile@×××××.com>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] [PREFIX] Creating a profile (package.provided)
Date: Thu, 16 Mar 2006 23:28:43
Message-Id: e36b84ee0603161528o766bae68n256185f28d387f00@mail.gmail.com
In Reply to: Re: [gentoo-osx] [PREFIX] Creating a profile (package.provided) by m h
1 Status update. Sorry this is kind of stream of conciousness writing.
2 Basic story is stuff is installing, though apparently not into PREFIX
3 (see bottom).
4
5
6 Emerge of patch failed:
7 >>> Emerging (1 of 53) sys-devel/patch-2.5.9-r1 to /
8 !!! EBUILD_PHASE=clean
9 !!! D=/tmp/Mar16
10 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
11 !!! PREFIX=/tmp/Mar16
12 !!! ROOT=/tmp/Mar16
13 *** Adjusting cvs-src permissions for portage user...
14 >>> Downloading http://distfiles.gentoo.org/distfiles/patch-2.5.9.tar.gz
15 --16:27:30-- http://distfiles.gentoo.org/distfiles/patch-2.5.9.tar.gz
16 => `/tmp/Mar16/usr/portage/distfiles/patch-2.5.9.tar.gz'
17 Resolving distfiles.gentoo.org... 156.56.247.195, 216.165.129.135,
18 64.50.236.52, ...
19 Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected.
20 HTTP request sent, awaiting response... 200 OK
21 Length: 201,926 [application/x-gzip]
22
23 100%[====================================>] 201,926 106.26K/s
24
25 16:27:32 (105.92 KB/s) -
26 `/tmp/Mar16/usr/portage/distfiles/patch-2.5.9.tar.gz' saved
27 [201,926/201,926]
28
29 >>> checksums files ;-) patch-2.5.9-r1.ebuild
30 >>> checksums files ;-) files/patch-2.5.9-cr-stripping.patch
31 >>> checksums files ;-) files/digest-patch-2.5.9-r1
32 >>> checksums files ;-) files/digest-patch-2.5.9
33 >>> checksums src_uri ;-) patch-2.5.9.tar.gz
34 !!! EBUILD_PHASE=setup
35 !!! D=/tmp/Mar16
36 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
37 !!! PREFIX=/tmp/Mar16
38 !!! ROOT=/tmp/Mar16
39 !!! EBUILD_PHASE=unpack
40 !!! D=/tmp/Mar16
41 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
42 !!! PREFIX=/tmp/Mar16
43 !!! ROOT=/tmp/Mar16
44 >>> Unpacking source...
45 >>> Unpacking patch-2.5.9.tar.gz to
46 /tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/work
47 * Applying patch-2.5.9-cr-stripping.patch ... [ ok ]
48 >>> Source unpacked.
49 !!! EBUILD_PHASE=compile
50 !!! D=/tmp/Mar16
51 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
52 !!! PREFIX=/tmp/Mar16
53 !!! ROOT=/tmp/Mar16
54 >>> Compiling source in
55 /tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/work/patch-2.5.9 ...
56 ./configure --prefix=/tmp/Mar16/usr --host=i686-pc-linux-gnu
57 --mandir=/tmp/Mar16/usr/share/man --infodir=/tmp/Mar16/usr/share/info
58 --datadir=/tmp/Mar16/usr/share --sysconfdir=/tmp/Mar16/etc
59 --localstatedir=/tmp/Mar16/var/lib --build=i686-pc-linux-gnu
60 checking for i686-pc-linux-gnu-gcc... no
61 checking for gcc... gcc
62 checking for C compiler default output... a.out
63 checking whether the C compiler works... yes
64 checking whether we are cross compiling... no
65 checking for suffix of executables...
66 checking for suffix of object files... o
67 checking whether we are using the GNU C compiler... yes
68 checking whether gcc accepts -g... yes
69 checking for gcc option to accept ANSI C... none needed
70 checking how to run the C preprocessor... gcc -E
71 checking for a BSD-compatible install... /usr/bin/install -c
72 checking whether make sets $(MAKE)... yes
73 checking for ed... /bin/ed
74 checking for egrep... grep -E
75 checking for AIX... no
76 checking for ANSI C header files... yes
77 checking for sys/types.h... yes
78 checking for sys/stat.h... yes
79 checking for stdlib.h... yes
80 checking for string.h... yes
81 checking for memory.h... yes
82 checking for strings.h... yes
83 checking for inttypes.h... yes
84 checking for stdint.h... yes
85 checking for unistd.h... yes
86 checking minix/config.h usability... no
87 checking minix/config.h presence... no
88 checking for minix/config.h... no
89 checking for library containing strerror... none required
90 checking for special C compiler options needed for large files... no
91 checking for _FILE_OFFSET_BITS value needed for large files... 64
92 checking for _LARGE_FILES value needed for large files... no
93 checking for function prototypes... yes
94 checking for an ANSI C-conforming const... yes
95 checking for dirent.h that defines DIR... yes
96 checking for library containing opendir... none required
97 checking for ANSI C header files... (cached) yes
98 checking fcntl.h usability... yes
99 checking fcntl.h presence... yes
100 checking for fcntl.h... yes
101 checking limits.h usability... yes
102 checking limits.h presence... yes
103 checking for limits.h... yes
104 checking for string.h... (cached) yes
105 checking for unistd.h... (cached) yes
106 checking utime.h usability... yes
107 checking utime.h presence... yes
108 checking for utime.h... yes
109 checking varargs.h usability... no
110 checking varargs.h presence... no
111 checking for varargs.h... no
112 checking for mode_t... yes
113 checking for off_t... yes
114 checking for pid_t... yes
115 checking return type of signal handlers... void
116 checking for size_t... yes
117 checking for stdbool.h that conforms to C99... yes
118 checking for _Bool... yes
119 checking sys/time.h usability... yes
120 checking sys/time.h presence... yes
121 checking for sys/time.h... yes
122 checking for utime.h... (cached) yes
123 checking whether time.h and sys/time.h may both be included... yes
124 checking for struct utimbuf... yes
125 checking whether closedir returns void... no
126 checking for limits.h... (cached) yes
127 checking for stdlib.h... (cached) yes
128 checking for string.h... (cached) yes
129 checking whether getenv is declared... yes
130 checking whether malloc is declared... yes
131 checking whether system is Windows or MSDOS... no
132 checking for unistd.h... (cached) yes
133 checking for d_ino member in directory struct... yes
134 checking for long file names... (cached) yes
135 checking for pathconf... yes
136 checking for vprintf... yes
137 checking for _doprnt... no
138 checking for error_at_line... yes
139 checking for strerror... yes
140 checking whether strerror is declared... yes
141 checking whether strerror_r is declared... yes
142 checking for strerror_r... yes
143 checking whether strerror_r returns char *... yes
144 checking for memchr... yes
145 checking whether stat file-mode macros are broken... no
146 checking for rmdir... yes
147 checking for stdlib.h... (cached) yes
148 checking for GNU libc compatible malloc... yes
149 checking for stdlib.h... (cached) yes
150 checking for GNU libc compatible realloc... yes
151 checking stddef.h usability... yes
152 checking stddef.h presence... yes
153 checking for stddef.h... yes
154 checking wchar.h usability... yes
155 checking wchar.h presence... yes
156 checking for wchar.h... yes
157 checking wctype.h usability... yes
158 checking wctype.h presence... yes
159 checking for wctype.h... yes
160 checking for iswprint... yes
161 checking for mbsinit... yes
162 checking for mbstate_t... yes
163 checking whether mbrtowc and mbstate_t are properly declared... yes
164 checking for pathconf... (cached) yes
165 checking for limits.h... (cached) yes
166 checking for string.h... (cached) yes
167 checking for unistd.h... (cached) yes
168 checking whether free is declared... yes
169 checking whether getenv is declared... (cached) yes
170 checking whether malloc is declared... (cached) yes
171 checking whether mktemp is declared... yes
172 checking for _doprintf... no
173 checking for geteuid... yes
174 checking for getuid... yes
175 checking for isascii... yes
176 checking for memcmp... yes
177 checking for mktemp... yes
178 checking for pathconf... (cached) yes
179 checking for raise... yes
180 checking for sigaction... yes
181 checking for sigprocmask... yes
182 checking for sigsetmask... yes
183 checking for strerror... (cached) yes
184 checking for mkdir... yes
185 checking for strncasecmp... yes
186 checking for _LARGEFILE_SOURCE value needed for large files... no
187 checking for fseeko... yes
188 checking whether clearerr_unlocked is declared... yes
189 checking whether feof_unlocked is declared... yes
190 checking whether ferror_unlocked is declared... yes
191 checking whether fflush_unlocked is declared... yes
192 checking whether fgets_unlocked is declared... yes
193 checking whether fputc_unlocked is declared... yes
194 checking whether fputs_unlocked is declared... yes
195 checking whether fread_unlocked is declared... yes
196 checking whether fwrite_unlocked is declared... yes
197 checking whether getc_unlocked is declared... yes
198 checking whether getchar_unlocked is declared... yes
199 checking whether putc_unlocked is declared... yes
200 checking whether putchar_unlocked is declared... yes
201 checking whether closedir returns void... (cached) no
202 checking for fcntl.h... (cached) yes
203 checking for unistd.h... (cached) yes
204 checking for DOS-style setmode... no
205 checking for vprintf... (cached) yes
206 checking for _doprnt... (cached) no
207 checking for mkdir... (cached) yes
208 checking whether mkdir takes only one argument... no
209 checking whether system is Windows or MSDOS... (cached) no
210 checking for long file names... (cached) yes
211 configure: creating ./config.status
212 config.status: creating Makefile
213 config.status: creating config.h
214 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
215 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 addext.c
216 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
217 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 argmatch.c
218 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
219 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 backupfile.c
220 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
221 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 basename.c
222 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
223 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 dirname.c
224 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
225 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 getopt.c
226 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
227 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 getopt1.c
228 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
229 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 inp.c
230 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
231 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 maketime.c
232 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
233 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 partime.c
234 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
235 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 patch.c
236 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
237 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 pch.c
238 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
239 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 quote.c
240 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
241 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 quotearg.c
242 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
243 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 quotesys.c
244 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
245 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 util.c
246 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
247 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 version.c
248 gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2
249 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 xmalloc.c
250 gcc -o patch -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500
251 addext.o argmatch.o backupfile.o basename.o dirname.o getopt.o
252 getopt1.o inp.o maketime.o partime.o patch.o pch.o quote.o quotearg.o
253 quotesys.o util.o version.o xmalloc.o
254 patch.o(.text+0xf03): In function `make_temp':
255 : warning: the use of `mktemp' is dangerous, better use `mkstemp'
256 >>> Source compiled.
257 !!! EBUILD_PHASE=test
258 !!! D=/tmp/Mar16
259 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
260 !!! PREFIX=/tmp/Mar16
261 !!! ROOT=/tmp/Mar16
262 >>> Test phase [not enabled]: sys-devel/patch-2.5.9-r1
263 !!! EBUILD_PHASE=install
264 !!! D=/tmp/Mar16
265 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
266 !!! PREFIX=/tmp/Mar16
267 !!! ROOT=/tmp/Mar16
268
269 >>> Install patch-2.5.9-r1 into /tmp/Mar16 category sys-devel
270 /bin/sh ./mkinstalldirs /tmp/Mar16/usr/bin /tmp/Mar16/usr/share/man/man1
271 mkdir -p -- /tmp/Mar16/usr/share/man/man1
272 /usr/bin/install -c patch /tmp/Mar16/usr/bin/`echo patch | sed 's,x,x,'`
273 /usr/bin/install -c -m 644 ./patch.man
274 /tmp/Mar16/usr/share/man/man1/`echo patch | sed 's,x,x,'`.1
275 >>> Completed installing patch-2.5.9-r1 into /tmp/Mar16
276
277 !!! EBUILD_PHASE=
278 !!! D=/tmp/Mar16
279 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
280 !!! PREFIX=/tmp/Mar16
281 !!! ROOT=/tmp/Mar16
282 man:
283 gzipping man page: patch.1
284 scanelf(1) not found, skipping...
285 >>> Merging sys-devel/patch-2.5.9-r1 to /
286 !!! EBUILD_PHASE=preinst
287 !!! D=/tmp/Mar16
288 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
289 !!! PREFIX=/tmp/Mar16
290 !!! ROOT=/tmp/Mar16
291 !!! EBUILD_PHASE=
292 !!! D=/tmp/Mar16
293 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/
294 !!! PREFIX=/tmp/Mar16
295 !!! ROOT=/tmp/Mar16
296 find: /tmp/Mar16//tmp/Mar16/: No such file or directory
297 find: /tmp/Mar16//tmp/Mar16/: No such file or directory
298 !!! Initializing global counter.
299 Traceback (most recent call last):
300 File "/tmp/Mar16/usr/bin/emerge", line 3304, in ?
301 mydepgraph.merge(pkglist)
302 File "/tmp/Mar16/usr/bin/emerge", line 2020, in merge
303 retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
304 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 2891, in doebuild
305 return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["DEST"],mysettings["PORTAGE_BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"],mytree=tree)
306 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 3065, in merge
307 return mylink.merge(pkgloc,infloc,myroot,myebuild)
308 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6372, in merge
309 return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
310 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 5962, in treewalk
311 counter = db["/"]["vartree"].dbapi.counter_tick(self.myroot,mycpv=self.mycpv)
312 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 4029, in counter_tick
313 return self.counter_tick_core(myroot,incrementing=1,mycpv=mycpv)
314 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 4092, in
315 counter_tick_core
316 write_atomic(cpath, str(counter))
317 File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 601, in
318 write_atomic
319 f.close()
320 File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 565, in close
321 apply_stat_permissions(self.name, os.stat(self._real_name))
322 OSError: [Errno 2] No such file or directory:
323 '//tmp/Mar16/var/cache/edb/counter'
324
325 I created a bogus counter file with 0 in it and tried again:
326
327 SNIP/SNIP
328 !!! PREFIX=/tmp/Mar16
329 !!! ROOT=/tmp/Mar16
330 Traceback (most recent call last):
331 File "/tmp/Mar16/usr/bin/emerge", line 3304, in ?
332 mydepgraph.merge(pkglist)
333 File "/tmp/Mar16/usr/bin/emerge", line 2020, in merge
334 retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree")
335 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 2891, in doebuild
336 return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["DEST"],mysettings["PORTAGE_BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"],mytree=tree)
337 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 3065, in merge
338 return mylink.merge(pkgloc,infloc,myroot,myebuild)
339 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6372, in merge
340 return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
341 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6060, in treewalk
342 env_update(makelinks=(not downgrade))
343 File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 586, in env_update
344 myfd.close()
345 File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 565, in close
346 apply_stat_permissions(self.name, os.stat(self._real_name))
347 OSError: [Errno 2] No such file or directory: '/tmp/Mar16/etc/ld.so.conf'
348
349 So I touched that file and continued on. It proceeded to try to merge ncurses.
350
351 I'm watching right now and it appears that the libraries are n't going
352 into PREFIX...
353
354 ...
355 fixing man page symlink: new_menu.3x.gz
356 scanelf(1) not found, skipping...
357 making executable: //lib/libncurses.so.5.5
358 making executable: //usr/lib/libform.so.5.5
359 making executable: //usr/lib/libmenu.so.5.5
360 making executable: //usr/lib/libpanel.so.5.5
361 removing executable bit: //usr/lib/libncurses++.a
362
363 The saga continues ;) It's still running...
364
365 matt
366
367 --
368 gentoo-osx@g.o mailing list

Replies

Subject Author
Re: [gentoo-osx] [PREFIX] Creating a profile (package.provided) m h <sesquile@×××××.com>