Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74929 - app-arch/cpio-2.5.90 failed
Summary: app-arch/cpio-2.5.90 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on: 79788
Blocks:
  Show dependency tree
 
Reported: 2004-12-19 04:53 UTC by Roberto Griso
Modified: 2006-04-12 10:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
replaces isnumber by cpio_isnumber (2.5.90-isnumber.patch,709 bytes, patch)
2004-12-29 06:49 UTC, Peter Gerbrandt
Details | Diff
fixes the linker error (2.5.90-argp.patch,590 bytes, patch)
2004-12-29 06:51 UTC, Peter Gerbrandt
Details | Diff
the modified ebuild (cpio-2.5.90.ebuild,1.05 KB, patch)
2004-12-29 06:51 UTC, Peter Gerbrandt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roberto Griso 2004-12-19 04:53:12 UTC
>>> md5 src_uri ;-) cpio-2.5.90.tar.bz2
>>> Unpacking source...
>>> Unpacking cpio-2.5.90.tar.bz2 to /var/tmp/portage/cpio-2.5.90/work
 * Applying 2.5.90-gnulib.patch ...                                                                     [ ok ]
 * Applying 2.5.90-makepath.patch ...                                                                   [ ok ]
 * Applying 2.5.90-rili-big-files.patch ...                                                             [ ok ]
>>> Source unpacked.
./configure --prefix=/usr --host=powerpc-apple-darwin --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --bindir=/bin --with-rmt=/usr/sbin/rmt
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for powerpc-apple-darwin-strip... no
checking for strip... strip
checking for style of include used by make... GNU
checking for powerpc-apple-darwin-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... 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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
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 powerpc-apple-darwin-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for powerpc-apple-darwin-ranlib... no
checking for ranlib... ranlib
checking for function prototypes... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking return type of signal handlers... void
checking whether sys/types.h defines makedev... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for gid_t... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for working alloca.h... yes
checking for alloca... yes
checking for inline... inline
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... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
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 for flockfile... yes
checking for funlockfile... yes
checking for iswprint... yes
checking for mbsinit... yes
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking linewrap.h usability... no
checking linewrap.h presence... no
checking for linewrap.h... no
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 unistd.h... (cached) yes
checking whether system is Windows or MSDOS... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for mbstate_t... yes
checking for ssize_t... yes
checking whether closedir returns void... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking for _getopt_long_only_r... no
checking for error_at_line... no
checking for working GNU fnmatch... no
checking whether getenv is declared... yes
checking for btowc... yes
checking for mbsrtowcs... yes
checking for mempcpy... no
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... no
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... no
checking for mempcpy... (cached) no
checking for mbstate_t... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for C/C++ restrict keyword... __restrict
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strchrnul... no
checking for strndup... no
checking whether strnlen is declared... no
checking for working strnlen... no
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking sys/mtio.h usability... yes
checking sys/mtio.h presence... yes
checking for sys/mtio.h... yes
checking which ioctl field to test for reversed bytes... mt_type
checking whether to build rmt... no, use /usr/sbin/rmt instead
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/io/trioctl.h usability... no
checking sys/io/trioctl.h presence... no
checking for sys/io/trioctl.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for getopt.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for bcopy... yes
checking for mkdir... yes
checking for strdup... yes
checking for strerror... yes
checking for sys_errlist and sys_nerr... yes
checking whether errno is declared... yes
checking whether sys_nerr is declared... yes
checking whether sys_errlist is declared... yes
checking whether getpwnam is declared... yes
checking whether getgrnam is declared... yes
checking whether getgrgid is declared... yes
checking whether strdup is declared... yes
checking whether strerror is declared... yes
checking whether getenv is declared... (cached) yes
checking whether atoi is declared... yes
checking whether exit is declared... yes
checking for working fnmatch... no
checking for lchown... no
checking for endpwent... yes
checking for endgrent... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for gethostname in -lnsl... no
checking for setsockopt in -lsocket... no
checking whether NLS is requested... yes
checking for msgfmt... ./configure: line 13782:  4155 Trace/BPT trap          $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1
no
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... ./configure: line 13892:  4160 Trace/BPT trap          $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1
no
checking for msgmerge... ./configure: line 13962:  4166 Trace/BPT trap          $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1
no
./configure: line 13983:  4168 Trace/BPT trap          $GMSGFMT --statistics /dev/null >/dev/null 2>&1
found gmsgfmt program is not GNU msgfmt; ignore it
checking build system type... powerpc-apple-darwin7.7.0
checking host system type... powerpc-apple-darwin
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking how to link with libiconv... /usr/lib/libiconv.dylib
checking for GNU gettext in libintl... no
checking whether to use NLS... no
configure: creating ./config.status
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating headers/Makefile
config.status: creating lib/Makefile
config.status: creating rmt/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: linking ./headers/fnmatch.h to src/fnmatch.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing tests/atconfig commands
make  all-recursive
make[1]: Entering directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90'
Making all in doc
make[2]: Entering directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/doc'
Making all in headers
make[2]: Entering directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/headers'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/headers'
Making all in lib
make[2]: Entering directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/lib'
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
cp ./fnmatch_.h fnmatch.h-t
mv fnmatch.h-t fnmatch.h
cp ./getopt_.h getopt.h-t
mv getopt.h-t getopt.h
make  all-am
make[3]: Entering directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/lib'
echo '#define LOCALEDIR "/usr/share/locale"' >localedir.h
echo "#ifndef DEFAULT_RMT_COMMAND" >> localedir.h
echo "# define DEFAULT_RMT_COMMAND \"/usr/libexec/`echo \"rmt\" | sed 's,^.*/,,;s,x,x,'`\"" >> localedir.h
cp ./sysexit_.h sysexits.h-t
mv sysexits.h-t sysexits.h
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \
then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi
echo "#endif" >> localedir.h
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \
then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT fnmatch.o -MD -MP -MF ".deps/fnmatch.Tpo" -c -o fnmatch.o fnmatch.c; \
then mv -f ".deps/fnmatch.Tpo" ".deps/fnmatch.Po"; else rm -f ".deps/fnmatch.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT mempcpy.o -MD -MP -MF ".deps/mempcpy.Tpo" -c -o mempcpy.o mempcpy.c; \
then mv -f ".deps/mempcpy.Tpo" ".deps/mempcpy.Po"; else rm -f ".deps/mempcpy.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT strchrnul.o -MD -MP -MF ".deps/strchrnul.Tpo" -c -o strchrnul.o strchrnul.c; \
then mv -f ".deps/strchrnul.Tpo" ".deps/strchrnul.Po"; else rm -f ".deps/strchrnul.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT strndup.o -MD -MP -MF ".deps/strndup.Tpo" -c -o strndup.o strndup.c; \
then mv -f ".deps/strndup.Tpo" ".deps/strndup.Po"; else rm -f ".deps/strndup.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT strnlen.o -MD -MP -MF ".deps/strnlen.Tpo" -c -o strnlen.o strnlen.c; \
then mv -f ".deps/strnlen.Tpo" ".deps/strnlen.Po"; else rm -f ".deps/strnlen.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT rtapelib.o -MD -MP -MF ".deps/rtapelib.Tpo" -c -o rtapelib.o rtapelib.c; \
then mv -f ".deps/rtapelib.Tpo" ".deps/rtapelib.Po"; else rm -f ".deps/rtapelib.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argmatch.o -MD -MP -MF ".deps/argmatch.Tpo" -c -o argmatch.o argmatch.c; \
then mv -f ".deps/argmatch.Tpo" ".deps/argmatch.Po"; else rm -f ".deps/argmatch.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-ba.o -MD -MP -MF ".deps/argp-ba.Tpo" -c -o argp-ba.o argp-ba.c; \
then mv -f ".deps/argp-ba.Tpo" ".deps/argp-ba.Po"; else rm -f ".deps/argp-ba.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-eexst.o -MD -MP -MF ".deps/argp-eexst.Tpo" -c -o argp-eexst.o argp-eexst.c; \
then mv -f ".deps/argp-eexst.Tpo" ".deps/argp-eexst.Po"; else rm -f ".deps/argp-eexst.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-fmtstream.o -MD -MP -MF ".deps/argp-fmtstream.Tpo" -c -o argp-fmtstream.o argp-fmtstream.c; \
then mv -f ".deps/argp-fmtstream.Tpo" ".deps/argp-fmtstream.Po"; else rm -f ".deps/argp-fmtstream.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-fs-xinl.o -MD -MP -MF ".deps/argp-fs-xinl.Tpo" -c -o argp-fs-xinl.o argp-fs-xinl.c; \
then mv -f ".deps/argp-fs-xinl.Tpo" ".deps/argp-fs-xinl.Po"; else rm -f ".deps/argp-fs-xinl.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-help.o -MD -MP -MF ".deps/argp-help.Tpo" -c -o argp-help.o argp-help.c; \
then mv -f ".deps/argp-help.Tpo" ".deps/argp-help.Po"; else rm -f ".deps/argp-help.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-parse.o -MD -MP -MF ".deps/argp-parse.Tpo" -c -o argp-parse.o argp-parse.c; \
then mv -f ".deps/argp-parse.Tpo" ".deps/argp-parse.Po"; else rm -f ".deps/argp-parse.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-pv.o -MD -MP -MF ".deps/argp-pv.Tpo" -c -o argp-pv.o argp-pv.c; \
then mv -f ".deps/argp-pv.Tpo" ".deps/argp-pv.Po"; else rm -f ".deps/argp-pv.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-pvh.o -MD -MP -MF ".deps/argp-pvh.Tpo" -c -o argp-pvh.o argp-pvh.c; \
then mv -f ".deps/argp-pvh.Tpo" ".deps/argp-pvh.Po"; else rm -f ".deps/argp-pvh.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT argp-xinl.o -MD -MP -MF ".deps/argp-xinl.Tpo" -c -o argp-xinl.o argp-xinl.c; \
then mv -f ".deps/argp-xinl.Tpo" ".deps/argp-xinl.Po"; else rm -f ".deps/argp-xinl.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT dirname.o -MD -MP -MF ".deps/dirname.Tpo" -c -o dirname.o dirname.c; \
then mv -f ".deps/dirname.Tpo" ".deps/dirname.Po"; else rm -f ".deps/dirname.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT basename.o -MD -MP -MF ".deps/basename.Tpo" -c -o basename.o basename.c; \
then mv -f ".deps/basename.Tpo" ".deps/basename.Po"; else rm -f ".deps/basename.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT stripslash.o -MD -MP -MF ".deps/stripslash.Tpo" -c -o stripslash.o stripslash.c; \
then mv -f ".deps/stripslash.Tpo" ".deps/stripslash.Po"; else rm -f ".deps/stripslash.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT exitfail.o -MD -MP -MF ".deps/exitfail.Tpo" -c -o exitfail.o exitfail.c; \
then mv -f ".deps/exitfail.Tpo" ".deps/exitfail.Po"; else rm -f ".deps/exitfail.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT full-write.o -MD -MP -MF ".deps/full-write.Tpo" -c -o full-write.o full-write.c; \
then mv -f ".deps/full-write.Tpo" ".deps/full-write.Po"; else rm -f ".deps/full-write.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT quote.o -MD -MP -MF ".deps/quote.Tpo" -c -o quote.o quote.c; \
then mv -f ".deps/quote.Tpo" ".deps/quote.Po"; else rm -f ".deps/quote.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT quotearg.o -MD -MP -MF ".deps/quotearg.Tpo" -c -o quotearg.o quotearg.c; \
then mv -f ".deps/quotearg.Tpo" ".deps/quotearg.Po"; else rm -f ".deps/quotearg.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT safe-read.o -MD -MP -MF ".deps/safe-read.Tpo" -c -o safe-read.o safe-read.c; \
then mv -f ".deps/safe-read.Tpo" ".deps/safe-read.Po"; else rm -f ".deps/safe-read.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT safe-write.o -MD -MP -MF ".deps/safe-write.Tpo" -c -o safe-write.o safe-write.c; \
then mv -f ".deps/safe-write.Tpo" ".deps/safe-write.Po"; else rm -f ".deps/safe-write.Tpo"; exit 1; fi
argp-help.c:1673:4: warning: #warning No reasonable value to return
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT savedir.o -MD -MP -MF ".deps/savedir.Tpo" -c -o savedir.o savedir.c; \
then mv -f ".deps/savedir.Tpo" ".deps/savedir.Po"; else rm -f ".deps/savedir.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \
then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT xstrdup.o -MD -MP -MF ".deps/xstrdup.Tpo" -c -o xstrdup.o xstrdup.c; \
then mv -f ".deps/xstrdup.Tpo" ".deps/xstrdup.Po"; else rm -f ".deps/xstrdup.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -MT xalloc-die.o -MD -MP -MF ".deps/xalloc-die.Tpo" -c -o xalloc-die.o xalloc-die.c; \
then mv -f ".deps/xalloc-die.Tpo" ".deps/xalloc-die.Po"; else rm -f ".deps/xalloc-die.Tpo"; exit 1; fi
rm -f libcpio.a
ar cru libcpio.a rtapelib.o argmatch.o argp-ba.o argp-eexst.o argp-fmtstream.o argp-fs-xinl.o argp-help.o argp-parse.o argp-pv.o argp-pvh.o argp-xinl.o dirname.o basename.o stripslash.o exitfail.o full-write.o quote.o quotearg.o safe-read.o safe-write.o savedir.o xmalloc.o xstrdup.o xalloc-die.o getopt.o getopt1.o error.o fnmatch.o mempcpy.o strchrnul.o strndup.o strnlen.o 
ranlib libcpio.a
make[3]: Leaving directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/lib'
make[2]: Leaving directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/lib'
Making all in rmt
make[2]: Entering directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/rmt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/rmt'
Making all in src
make[2]: Entering directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT copyin.o -MD -MP -MF ".deps/copyin.Tpo" -c -o copyin.o copyin.c; \
then mv -f ".deps/copyin.Tpo" ".deps/copyin.Po"; else rm -f ".deps/copyin.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT copyout.o -MD -MP -MF ".deps/copyout.Tpo" -c -o copyout.o copyout.c; \
then mv -f ".deps/copyout.Tpo" ".deps/copyout.Po"; else rm -f ".deps/copyout.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT copypass.o -MD -MP -MF ".deps/copypass.Tpo" -c -o copypass.o copypass.c; \
then mv -f ".deps/copypass.Tpo" ".deps/copypass.Po"; else rm -f ".deps/copypass.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT defer.o -MD -MP -MF ".deps/defer.Tpo" -c -o defer.o defer.c; \
then mv -f ".deps/defer.Tpo" ".deps/defer.Po"; else rm -f ".deps/defer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT dstring.o -MD -MP -MF ".deps/dstring.Tpo" -c -o dstring.o dstring.c; \
then mv -f ".deps/dstring.Tpo" ".deps/dstring.Po"; else rm -f ".deps/dstring.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT global.o -MD -MP -MF ".deps/global.Tpo" -c -o global.o global.c; \
then mv -f ".deps/global.Tpo" ".deps/global.Po"; else rm -f ".deps/global.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT tar.o -MD -MP -MF ".deps/tar.Tpo" -c -o tar.o tar.c; \
then mv -f ".deps/tar.Tpo" ".deps/tar.Po"; else rm -f ".deps/tar.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT filemode.o -MD -MP -MF ".deps/filemode.Tpo" -c -o filemode.o filemode.c; \
then mv -f ".deps/filemode.Tpo" ".deps/filemode.Po"; else rm -f ".deps/filemode.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT idcache.o -MD -MP -MF ".deps/idcache.Tpo" -c -o idcache.o idcache.c; \
then mv -f ".deps/idcache.Tpo" ".deps/idcache.Po"; else rm -f ".deps/idcache.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT makepath.o -MD -MP -MF ".deps/makepath.Tpo" -c -o makepath.o makepath.c; \
then mv -f ".deps/makepath.Tpo" ".deps/makepath.Po"; else rm -f ".deps/makepath.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../lib     -O2 -pipe -MT userspec.o -MD -MP -MF ".deps/userspec.Tpo" -c -o userspec.o userspec.c; \
then mv -f ".deps/userspec.Tpo" ".deps/userspec.Po"; else rm -f ".deps/userspec.Tpo"; exit 1; fi
userspec.c:75: error: parse error before '(' token
userspec.c:77: warning: data definition has no type or storage class
userspec.c:77: error: parse error before '++' token
userspec.c: In function `parse_user_spec':
userspec.c:139: warning: passing arg 1 of `__istype' makes integer from pointer without a cast
userspec.c:185: warning: passing arg 1 of `__istype' makes integer from pointer without a cast
make[2]: *** [userspec.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/private/var/tmp/portage/cpio-2.5.90/work/cpio-2.5.90'
make: *** [all] Error 2

!!! ERROR: app-arch/cpio-2.5.90 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r8 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0
Power Macintosh)
=================================================================
System uname: 7.7.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distlocks"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X gif imlib2 ipv6 java javascript jpeg latex nls png ppc-macos ssl tiff
unicode"
Comment 1 Peter Gerbrandt 2004-12-29 06:49:37 UTC
Created attachment 47113 [details, diff]
replaces isnumber by cpio_isnumber
Comment 2 Peter Gerbrandt 2004-12-29 06:51:18 UTC
Created attachment 47114 [details, diff]
fixes the linker error
Comment 3 Peter Gerbrandt 2004-12-29 06:51:54 UTC
Created attachment 47115 [details, diff]
the modified ebuild
Comment 4 Peter Gerbrandt 2004-12-29 06:52:48 UTC
I had the same problem.
The problem is that the function isnumber() and its two calls are replaced by a macro which is defined if neither _ANSI_SOURCE nor _POSIX_SOURCE are defined.
IMO, the best thing to do is to replace the function name, because it's only used in this file.

After you've fixed that you'll run into the next problem.
The linker claims that the symbol _argp_program_version_hook is missing. This problem was already fixed. (cpio seems to have a copy of the file..)
http://lists.nongnu.org/archive/html/bug-tar/2004-09/msg00023.html

Finally the not gzipped manpage of gentoos cpio collides with the one from apples cpio.

I don't know if it makes any sense to install the cpio package since apple provides it already (even if it seems to be a pretty old bsd cpio). But here are my patches and the slightly modified ebuild.
Comment 5 Peter Gerbrandt 2004-12-29 07:02:21 UTC
err..
the ebuild needs "doman ${D}/usr/share/man/man1/cpio.1" instead of "doman cpio.1"
(sorry)
Comment 6 SpanKY gentoo-dev 2005-01-03 18:26:08 UTC
please try out cpio-2.6 in portage
Comment 7 blubbfisch 2005-01-04 16:20:26 UTC
2.6.0 doesn't need the linker (argp) patch anymore. It builds with the isnumber-patch applied in addition to the rili-big-files patch that's already in the ebuild.
Comment 8 Hasan Khalil (RETIRED) gentoo-dev 2005-01-19 19:48:45 UTC
Fixed in CVS. Thanks.

doman ${D}/usr/share/man/man1/cpio.1

as well as the isnumber patch are both in CVS.

I left both without a `use ppc-macos &&` because the changes worked great on my x86 test box.
Comment 9 SpanKY gentoo-dev 2005-01-19 19:56:32 UTC
has the isnumber patch been sent upstream ?

also, wtf do you have that doman command ? it makes no sense
Comment 10 Hasan Khalil (RETIRED) gentoo-dev 2005-01-20 02:59:32 UTC
on the patch being sent upstream:
I believe this ML thread takes care of it, which is dated a few days ago.
Should not be a problem in the next upstream release.
http://lists.gnu.org/archive/html/bug-cpio/2005-01/msg00010.html

on the doman line:
from what I can see, doman also gzips the manpage, renaming the file
to cpio.1.gz, which in turn avoids the collision problem on mac os x.
Seeing as how some other manpages are also gzipped, I figured i'd
leave it in global scope. Please let me know if this is wrong.
Comment 11 SpanKY gentoo-dev 2005-01-20 06:02:40 UTC
doman is NOT for gzipping manfiles, it's for installing them

that's the point of `prepman` and `prepallman`, see the ebuild(5) manpage

regardless, you still dont need to do it because portage should auto compress the manpages before $D is merged to / (it does on my machine)

ive punted the doman line, ive youve added that to other ebuilds, i'd suggest you do the same for those too
Comment 12 Hasan Khalil (RETIRED) gentoo-dev 2005-01-20 17:58:35 UTC
existing file /usr/share/man/man1/cpio.1 is not owned by this package

above is the output of emerge with the ebuild as stands after vapier's modification.

vapier: could you perhaps modify the cpio-2.6 ebuild to gzip that man page?
it would get rid of the above collision. as you said, doman isn't the preferred
way to do this, so perhaps prepman, etc. are the way to go? or even just a raw
gzip command (ugly)? up to you: whatever you'd like to use in order to get the
job done. if you'd prefer I do it, please let me know what your preference is, and I can.
Comment 13 SpanKY gentoo-dev 2005-01-20 18:31:25 UTC
you shouldnt have 'cpio.1' ...

adding 'prepallman' would be the clean solution, but it shouldnt be needed

i assume this is some OS X specific problem ?
Comment 14 Hasan Khalil (RETIRED) gentoo-dev 2005-01-20 20:49:59 UTC
sorry I didn't make the problem clear: macos provides an older, outdated,
bsd version of cpio (according to what I've heard and seen). The only file
collision between macos' cpio and portage's cpio is the said manpage. would
prepallman be allright to add to the ebuild, then?
Comment 15 SpanKY gentoo-dev 2005-01-20 20:54:03 UTC
portage shouldnt have installed 'cpio.1', it should have installed 'cpio.1.gz':

>>> Install cpio-2.5 into /var/tmp/portage/cpio-2.5/image/ category app-arch
man:
prepallstrip:
<snip>
>>> Merging app-arch/cpio-2.5 to /
--- /usr/
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/cpio.1.gz
Comment 16 Hasan Khalil (RETIRED) gentoo-dev 2005-01-20 21:07:15 UTC
Could you please check that this is the same behaviour with the 2.6 version?
With 2.5, I get the gzipped manpage. With 2.6, I don't.
Comment 17 SpanKY gentoo-dev 2005-01-20 21:13:18 UTC
err, sorry, here's the 2.6 output (but it's the same behavior):
make[1]: Leaving directory `/var/tmp/portage/cpio-2.6/work/cpio-2.6'
man:
gzipping man page: cpio.1
info:
gzipping GNU info page: cpio.info
prepallstrip:
<snip>
>>> Merging app-arch/cpio-2.6 to /
--- /usr/
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/cpio.1.gz
Comment 18 Hasan Khalil (RETIRED) gentoo-dev 2005-01-20 21:21:00 UTC
man:
info:
gzipping GNU info page: cpio.info
prepallstrip:
strip: strip --strip-unneeded
...
>>> Completed installing cpio-2.6 into /var/tmp/portage/cpio-2.6/image/

* checking 22 files for package collisions
existing file /usr/share/man/man1/cpio.1 is not owned by this package
* spent 0.236688137054 seconds checking for file collisions

this is very odd, no?
Comment 19 SpanKY gentoo-dev 2005-01-20 22:00:21 UTC
what version of portage are you using ?

portage guys: any ideas on this discrepancy in behavior ?
Comment 20 Mathew O'Gorman 2005-01-25 22:53:18 UTC
I had same probelm with macos x 10.3.7 with latest image at main meta site, adding in the doman ${D}/usr/share/man/man1/cpio.1 line into my ebuild fixed it up just fine though.
Comment 21 SpanKY gentoo-dev 2005-01-27 09:20:12 UTC
ok, this is a known issue (portage not gzipping manpages)  file a new bug (if one isnt filed already) and talk to kito since he's up to-speed on the issue
Comment 22 Lina Pezzella (RETIRED) gentoo-dev 2005-01-27 16:19:10 UTC
This package will not compile correctly until the portage bug is resolved. (bugs.g.o is MAKING me write a comment here)
Comment 23 Kito (RETIRED) gentoo-dev 2005-03-04 13:25:09 UTC
fixed in current portage release