Subject: pkg/30860: coreutils and findutils doesn't build (may be AMD64 specific)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <wojtek@tensor.3miasto.net>
List: pkgsrc-bugs
Date: 07/29/2005 11:59:00
>Number: 30860
>Category: pkg
>Synopsis: coreutils and findutils doesn't build (may be AMD64 specific)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 29 11:59:00 +0000 2005
>Originator: Wojciech Puchar
>Release: -current
>Organization:
TENSOR ap
>Environment:
NetBSD chylonia.3miasto.net 3.99.7 NetBSD 3.99.7 (chylonia.3miasto.net) #2: Thu Jul 28 23:02:58 CEST 2005 root@chylonia.3miasto.net:/usr/src/src/sys/arch/amd64/compile/chylonia.3miasto.net amd64
>Description:
COREUTILS:
chylonia# make
===> Checking for vulnerabilities in coreutils-5.2.1nb1
=> Checksum SHA1 OK for coreutils-5.2.1.tar.bz2.
=> Checksum RMD160 OK for coreutils-5.2.1.tar.bz2.
work -> /var/tmp/pkg/sysutils/coreutils/work
===> Extracting for coreutils-5.2.1nb1
make: exec(-f) failed (No such file or directory)
*** Error code 1
Stop.
make: stopped in /usr/src/pkgsrc/sysutils/coreutils
*** Error code 1
Script started on Fri Jul 29 11:55:02 2005
chylonia# make^M
===> Checking for vulnerabilities in findutils-4.1nb4
=> Checksum SHA1 OK for findutils-4.1.tar.gz.
=> Checksum RMD160 OK for findutils-4.1.tar.gz.
work -> /var/tmp/pkg/sysutils/findutils/work
===> Extracting for findutils-4.1nb4
==========================================================================
The following variables will affect the build process of this package,
findutils-4.1nb4. Their current value is shown below:
* GNU_PROGRAM_PREFIX = g
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
===> Patching for findutils-4.1nb4
===> Applying pkgsrc patches for findutils-4.1nb4
===> Overriding tools for findutils-4.1nb4
===> Creating toolchain wrappers for findutils-4.1nb4
===> Configuring for findutils-4.1nb4
creating cache ./config.cache
checking for gcc... cc
checking whether we are using GNU C... yes
checking how to run the C preprocessor... cc -E
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for ranlib... ranlib
checking whether make sets $MAKE... yes
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for -lsun... no
checking for fcntl.h... yes
checking for string.h... yes
checking for limits.h... yeschecking whether cross-compiling... no
checking for ANSI C header files... yes
checking whether sys/types.h defines makedev... yes
checking for dirent.h that defines DIR... yes
checking for -ldir... no
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking how to get filesystem type... no
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for pid_t... yes
checking for ino_t... yes
checking for dev_t... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for working const... yes
checking for memcmp... yes
checking for memset... yes
checking for mktime... yes
checking for stpcpy... no
checking for strdup... yes
checking for strftime... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for fchdir... yes
checking for getcwd... yes
checking for strerror... yes
checking for -lintl... yes
checking for strftime... (cached) yes
checking for vprintf... yes
checking for working alloca.h... no
checking for alloca... yeschecking for -lseq... no
checking for getmntent... no
checking whether closedir returns void... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating find/Makefile
creating xargs/Makefile
creating locate/Makefile
creating doc/Makefile
creating testsuite/Makefile
creating config.h
===> Building for findutils-4.1nb4
for subdir in lib find xargs locate doc testsuite; do echo making all in $subdir ; (cd $subdir; /usr
/bin/make all); done
making all in lib
cc -c -DHAVE_CONFIG_H -I.. -I. -I/usr/include -O2 -I/usr/include regex.c
regex.c: In function `re_match_2_internal':
regex.c:3993: warning: cast from pointer to integer of different size
regex.c:3993: warning: cast from pointer to integer of different size
regex.c:3999: warning: cast to pointer from integer of different size
regex.c:3999: warning: cast to pointer from integer of different size
regex.c:4146: warning: cast to pointer from integer of different size
regex.c:4146: warning: cast to pointer from integer of different size
regex.c:4199: warning: cast to pointer from integer of different size
regex.c:4199: warning: cast to pointer from integer of different size
regex.c:4369: warning: cast from pointer to integer of different size
regex.c:4369: warning: cast from pointer to integer of different size
regex.c:4402: warning: cast to pointer from integer of different size
regex.c:4402: warning: cast to pointer from integer of different size
regex.c:4415: warning: cast to pointer from integer of different size
regex.c:4415: warning: cast to pointer from integer of different size
regex.c:4586: warning: cast from pointer to integer of different size
regex.c:4586: warning: cast from pointer to integer of different size
cc -c -DHAVE_CONFIG_H -I.. -I. -I/usr/include -O2 -I/usr/include dirname.ccc -c -DHAVE_CONFIG_H -I.. -I. -I/usr/include -O2 -I/usr/include filemode.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I/usr/include -O2 -I/usr/include getopt.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I/usr/include -O2 -I/usr/include getopt1.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I/usr/include -O2 -I/usr/include idcache.c
cc -c -DHAVE_CONFIG_H -I.. -I. -I/usr/include -O2 -I/usr/include listfile.c
listfile.c:70: error: conflicting types for `readlink'
/usr/include/unistd.h:261: error: previous declaration of `readlink'
*** Error code 1
Stop.
make: stopped in /var/tmp/pkg/sysutils/findutils/work/findutils-4.1/lib
making all in find
cc -c -DHAVE_CONFIG_H -I.. -I../lib -I/usr/include -O2 -I/usr/include find.c
find.c: In function `main':
find.c:138: warning: return type of `main' is not `int'
cc -c -DHAVE_CONFIG_H -I.. -I../lib -I/usr/include -O2 -I/usr/include fstype.c
cc -c -DHAVE_CONFIG_H -I.. -I../lib -I/usr/include -O2 -I/usr/include parser.c
cc -c -DHAVE_CONFIG_H -I.. -I../lib -I/usr/include -O2 -I/usr/include pred.c
pred.c: In function `pred_iname':
pred.c:767: warning: assignment makes pointer from integer without a cast
pred.c: In function `pred_name':
pred.c:934: warning: assignment makes pointer from integer without a cast
cc -c -DHAVE_CONFIG_H -I.. -I../lib -I/usr/include -O2 -I/usr/include tree.c
cc -c -DHAVE_CONFIG_H -I.. -I../lib -I/usr/include -O2 -I/usr/include util.c
cc -c -DHAVE_CONFIG_H -I.. -I../lib -I/usr/include -O2 -I/usr/include version.c
make: don't know how to make ../lib/libfind.a. Stop
cc -c -DHAVE_CONFIG_H -I.. -I../lib -DLOCATE_DB=\"/var/db/locate.database\" -I/usr/include -O2 -I/usr/
include locate.c
locate.c: In function `main':
locate.c:362: warning: return type of `main' is not `int'
make: don't know how to make ../lib/libfind.a. Stop
make: stopped in /var/tmp/pkg/sysutils/findutils/work/findutils-4.1/locate
making all in doc
making all in testsuite
=> Unwrapping files-to-be-installed.
.: (: not found
chylonia#
Script done on Fri Jul 29 11:55:33 2005
make: stopped in /var/tmp/pkg/sysutils/findutils/work/findutils-4.1/find
making all in xargs
cc -c -DHAVE_CONFIG_H -I.. -I../lib -I/usr/include -O2 -I/usr/include xargs.c
xargs.c: In function `main':
xargs.c:252: warning: return type of `main' is not `int'
make: don't know how to make ../lib/libfind.a. Stop
make: stopped in /var/tmp/pkg/sysutils/findutils/work/findutils-4.1/xargs
making all in locate
cc -c -DHAVE_CONFIG_H -I.. -I. -I/usr/include -O2 -I/usr/include error.c
checking for -lsun... (cached) no
>How-To-Repeat:
try to build findutils and coreutils on amd64
not checked THAT versions on i386, but about month ago's pkgsrc versions compiled fine
>Fix:
none