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
Status update.  Sorry this is kind of stream of conciousness writing. 
Basic story is stuff is installing, though apparently not into PREFIX
(see bottom).


Emerge of patch failed:
>>> Emerging (1 of 53) sys-devel/patch-2.5.9-r1 to /
!!! EBUILD_PHASE=clean !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16 *** Adjusting cvs-src permissions for portage user... --16:27:30-- http://distfiles.gentoo.org/distfiles/patch-2.5.9.tar.gz => `/tmp/Mar16/usr/portage/distfiles/patch-2.5.9.tar.gz' Resolving distfiles.gentoo.org... 156.56.247.195, 216.165.129.135, 64.50.236.52, ... Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 201,926 [application/x-gzip] 100%[====================================>] 201,926 106.26K/s 16:27:32 (105.92 KB/s) - `/tmp/Mar16/usr/portage/distfiles/patch-2.5.9.tar.gz' saved [201,926/201,926]
>>> checksums files ;-) patch-2.5.9-r1.ebuild >>> checksums files ;-) files/patch-2.5.9-cr-stripping.patch >>> checksums files ;-) files/digest-patch-2.5.9-r1 >>> checksums files ;-) files/digest-patch-2.5.9 >>> checksums src_uri ;-) patch-2.5.9.tar.gz
!!! EBUILD_PHASE=setup !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16 !!! EBUILD_PHASE=unpack !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16
>>> Unpacking source... >>> Unpacking patch-2.5.9.tar.gz to
/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/work * Applying patch-2.5.9-cr-stripping.patch ... [ ok ]
>>> Source unpacked.
!!! EBUILD_PHASE=compile !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16
>>> Compiling source in
/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/work/patch-2.5.9 ... ./configure --prefix=/tmp/Mar16/usr --host=i686-pc-linux-gnu --mandir=/tmp/Mar16/usr/share/man --infodir=/tmp/Mar16/usr/share/info --datadir=/tmp/Mar16/usr/share --sysconfdir=/tmp/Mar16/etc --localstatedir=/tmp/Mar16/var/lib --build=i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for ed... /bin/ed checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for library containing strerror... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking for function prototypes... yes checking for an ANSI C-conforming const... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for utime.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for struct utimbuf... yes checking whether closedir returns void... no checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking whether getenv is declared... yes checking whether malloc is declared... yes checking whether system is Windows or MSDOS... no checking for unistd.h... (cached) yes checking for d_ino member in directory struct... yes checking for long file names... (cached) yes checking for pathconf... yes checking for vprintf... yes checking for _doprnt... no checking for error_at_line... yes checking for strerror... yes checking whether strerror is declared... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for memchr... yes checking whether stat file-mode macros are broken... no checking for rmdir... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for iswprint... yes checking for mbsinit... yes checking for mbstate_t... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for pathconf... (cached) yes checking for limits.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking whether free is declared... yes checking whether getenv is declared... (cached) yes checking whether malloc is declared... (cached) yes checking whether mktemp is declared... yes checking for _doprintf... no checking for geteuid... yes checking for getuid... yes checking for isascii... yes checking for memcmp... yes checking for mktemp... yes checking for pathconf... (cached) yes checking for raise... yes checking for sigaction... yes checking for sigprocmask... yes checking for sigsetmask... yes checking for strerror... (cached) yes checking for mkdir... yes checking for strncasecmp... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking whether fputc_unlocked is declared... yes checking whether fputs_unlocked is declared... yes checking whether fread_unlocked is declared... yes checking whether fwrite_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether getchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether closedir returns void... (cached) no checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking for DOS-style setmode... no checking for vprintf... (cached) yes checking for _doprnt... (cached) no checking for mkdir... (cached) yes checking whether mkdir takes only one argument... no checking whether system is Windows or MSDOS... (cached) no checking for long file names... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 addext.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 argmatch.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 backupfile.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 basename.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 dirname.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 getopt.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 getopt1.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 inp.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 maketime.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 partime.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 patch.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 pch.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 quote.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 quotearg.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 quotesys.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 util.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 version.c gcc -c -DHAVE_CONFIG_H -Ded_PROGRAM=\"/bin/ed\" -I. -I. -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 xmalloc.c gcc -o patch -O2 -mcpu=i686 -pipe -DLINUX -D_XOPEN_SOURCE=500 addext.o argmatch.o backupfile.o basename.o dirname.o getopt.o getopt1.o inp.o maketime.o partime.o patch.o pch.o quote.o quotearg.o quotesys.o util.o version.o xmalloc.o patch.o(.text+0xf03): In function `make_temp': : warning: the use of `mktemp' is dangerous, better use `mkstemp'
>>> Source compiled.
!!! EBUILD_PHASE=test !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16
>>> Test phase [not enabled]: sys-devel/patch-2.5.9-r1
!!! EBUILD_PHASE=install !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16
>>> Install patch-2.5.9-r1 into /tmp/Mar16 category sys-devel
/bin/sh ./mkinstalldirs /tmp/Mar16/usr/bin /tmp/Mar16/usr/share/man/man1 mkdir -p -- /tmp/Mar16/usr/share/man/man1 /usr/bin/install -c patch /tmp/Mar16/usr/bin/`echo patch | sed 's,x,x,'` /usr/bin/install -c -m 644 ./patch.man /tmp/Mar16/usr/share/man/man1/`echo patch | sed 's,x,x,'`.1
>>> Completed installing patch-2.5.9-r1 into /tmp/Mar16
!!! EBUILD_PHASE= !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16 man: gzipping man page: patch.1 scanelf(1) not found, skipping...
>>> Merging sys-devel/patch-2.5.9-r1 to /
!!! EBUILD_PHASE=preinst !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16 !!! EBUILD_PHASE= !!! D=/tmp/Mar16 !!! DEST=/tmp/Mar16/var/tmp/portage/patch-2.5.9-r1/image/ !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16 find: /tmp/Mar16//tmp/Mar16/: No such file or directory find: /tmp/Mar16//tmp/Mar16/: No such file or directory !!! Initializing global counter. Traceback (most recent call last): File "/tmp/Mar16/usr/bin/emerge", line 3304, in ? mydepgraph.merge(pkglist) File "/tmp/Mar16/usr/bin/emerge", line 2020, in merge retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree") File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 2891, in doebuild return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["DEST"],mysettings["PORTAGE_BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"],mytree=tree) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 3065, in merge return mylink.merge(pkgloc,infloc,myroot,myebuild) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6372, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 5962, in treewalk counter = db["/"]["vartree"].dbapi.counter_tick(self.myroot,mycpv=self.mycpv) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 4029, in counter_tick return self.counter_tick_core(myroot,incrementing=1,mycpv=mycpv) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 4092, in counter_tick_core write_atomic(cpath, str(counter)) File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 601, in write_atomic f.close() File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 565, in close apply_stat_permissions(self.name, os.stat(self._real_name)) OSError: [Errno 2] No such file or directory: '//tmp/Mar16/var/cache/edb/counter' I created a bogus counter file with 0 in it and tried again: SNIP/SNIP !!! PREFIX=/tmp/Mar16 !!! ROOT=/tmp/Mar16 Traceback (most recent call last): File "/tmp/Mar16/usr/bin/emerge", line 3304, in ? mydepgraph.merge(pkglist) File "/tmp/Mar16/usr/bin/emerge", line 2020, in merge retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="porttree") File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 2891, in doebuild return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["DEST"],mysettings["PORTAGE_BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"],mytree=tree) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 3065, in merge return mylink.merge(pkgloc,infloc,myroot,myebuild) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6372, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 6060, in treewalk env_update(makelinks=(not downgrade)) File "/tmp/Mar16/usr/lib/portage/pym/portage.py", line 586, in env_update myfd.close() File "/tmp/Mar16/usr/lib/portage/pym/portage_util.py", line 565, in close apply_stat_permissions(self.name, os.stat(self._real_name)) OSError: [Errno 2] No such file or directory: '/tmp/Mar16/etc/ld.so.conf' So I touched that file and continued on. It proceeded to try to merge ncurses. I'm watching right now and it appears that the libraries are n't going into PREFIX... ... fixing man page symlink: new_menu.3x.gz scanelf(1) not found, skipping... making executable: //lib/libncurses.so.5.5 making executable: //usr/lib/libform.so.5.5 making executable: //usr/lib/libmenu.so.5.5 making executable: //usr/lib/libpanel.so.5.5 removing executable bit: //usr/lib/libncurses++.a The saga continues ;) It's still running... matt -- gentoo-osx@g.o mailing list

Replies

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