Subject: bug#8017: Error compiling coreutils

From: Toni Venters <[email-masked]>
Date: Fri, 11 Feb 2011 11:53:26 -0500

Hi,

The update for coreutils doesn't seem to want to compile.  It appears to be
failing one of the tests that it runs.  I've copied some of the print out
below.

Thanks,
Tonia Venters

make  check-TESTS
SKIP: test-file-has-acl.sh
SKIP: test-set-mode-acl.sh
SKIP: test-copy-acl.sh
PASS: test-alignof
PASS: test-alloca-opt
PASS: test-areadlink
PASS: test-areadlink-with-size
PASS: test-areadlinkat
PASS: test-argmatch
PASS: test-argv-iter
PASS: test-arpa_inet
PASS: test-base64
PASS: test-binary-io.sh
PASS: test-bitrotate
PASS: test-btowc1.sh
PASS: test-btowc2.sh
PASS: test-c-ctype
PASS: test-c-strcase.sh
PASS: test-calloc-gnu
PASS: test-canonicalize
PASS: test-chown
PASS: test-cloexec
PASS: test-closein.sh
PASS: test-md5
PASS: test-sha1
PASS: test-ctype
PASS: test-di-set
PASS: test-dirent-safer
PASS: test-dirent
PASS: test-dirname
PASS: test-dup2
PASS: test-environ
PASS: test-errno
PASS: test-exclude1.sh
PASS: test-exclude2.sh
PASS: test-exclude3.sh
PASS: test-exclude4.sh
PASS: test-exclude5.sh
PASS: test-exclude6.sh
PASS: test-exclude7.sh
PASS: test-exclude8.sh
PASS: test-fadvise
PASS: test-fchdir
PASS: test-fcntl-h
PASS: test-fcntl-safer
PASS: test-fcntl
PASS: test-fdopendir
PASS: test-fdutimensat
PASS: test-fflush
PASS: test-fflush2.sh
PASS: test-filenamecat
PASS: test-filevercmp
PASS: test-fnmatch
PASS: test-fopen-safer
PASS: test-fopen
PASS: test-fpending.sh
PASS: test-fpurge
PASS: test-freadahead.sh
PASS: test-freading
PASS: test-freadptr.sh
PASS: test-freadptr2.sh
PASS: test-freadseek.sh
PASS: test-freopen-safer
PASS: test-freopen
PASS: test-frexp-nolibm
PASS: test-frexpl-nolibm
PASS: test-fseeko.sh
PASS: test-fseeko2.sh
PASS: test-fseterr
PASS: test-fsync
PASS: test-ftell.sh
PASS: test-ftell2.sh
PASS: test-ftell3
PASS: test-ftello.sh
PASS: test-ftello2.sh
PASS: test-ftello3
PASS: test-futimens
PASS: test-getaddrinfo
PASS: test-getcwd
PASS: test-getdelim
PASS: test-getdtablesize
PASS: test-getgroups
PASS: test-gethostname
PASS: test-getline
PASS: test-getndelim2
PASS: test-getopt
PASS: test-gettimeofday
PASS: test-hash
PASS: test-i-ring
PASS: test-iconv-h
PASS: test-iconv
PASS: test-ignore-value
PASS: test-inet_ntop
PASS: test-inet_pton
PASS: test-ino-map
PASS: test-inttostr
PASS: test-inttypes
PASS: test-isblank
PASS: test-isnand-nolibm
PASS: test-isnanf-nolibm
PASS: test-isnanl-nolibm
PASS: test-langinfo
PASS: test-lchown
PASS: test-link
PASS: test-linkat
PASS: test-locale
PASS: test-lock
PASS: test-lseek.sh
PASS: test-lstat
PASS: test-malloc-gnu
PASS: test-malloca
PASS: test-math
PASS: test-mbrtowc1.sh
PASS: test-mbrtowc2.sh
PASS: test-mbrtowc3.sh
PASS: test-mbrtowc4.sh
PASS: test-mbsalign
SKIP: test-mbscasecmp.sh
PASS: test-mbsinit.sh
PASS: test-mbsrtowcs1.sh
PASS: test-mbsrtowcs2.sh
PASS: test-mbsrtowcs3.sh
PASS: test-mbsrtowcs4.sh
PASS: test-mbsstr1
PASS: test-mbsstr2.sh
PASS: test-mbsstr3.sh
PASS: test-memcasecmp
PASS: test-memchr
PASS: test-memchr2
PASS: test-memcoll
PASS: test-memrchr
PASS: test-mkdir
PASS: test-nanosleep
PASS: test-netdb
PASS: test-netinet_in
PASS: test-nl_langinfo.sh
PASS: test-open
PASS: test-openat-safer
PASS: test-fchownat
PASS: test-fstatat
PASS: test-mkdirat
PASS: test-openat
PASS: test-unlinkat
PASS: test-parse-datetime
PASS: test-perror.sh
PASS: test-pipe
FAIL: test-posixtm
PASS: test-printf-frexp
PASS: test-printf-frexpl
PASS: test-priv-set
PASS: test-quotearg-simple
PASS: test-rand-isaac
PASS: test-read-file
PASS: test-readlink
PASS: test-readlinkat
PASS: test-realloc-gnu
PASS: test-remove
PASS: test-rename
PASS: test-rmdir
PASS: test-sched
SKIP: test-select
PASS: test-select-in.sh
PASS: test-select-out.sh
PASS: test-setenv
PASS: test-sigaction
PASS: test-signal
PASS: test-signbit
PASS: test-sleep
PASS: test-snprintf
PASS: test-sockets
PASS: test-stat
PASS: test-stat-time
PASS: test-stdbool
PASS: test-stddef
PASS: test-stdint
PASS: test-stdio
PASS: test-stdlib
PASS: test-strerror
PASS: test-striconv
PASS: test-string
PASS: test-strnlen
PASS: test-strsignal
PASS: test-strtod
PASS: test-symlink
PASS: test-symlinkat
PASS: test-sys_ioctl
PASS: test-sys_select
PASS: test-sys_socket
PASS: test-sys_stat
PASS: test-sys_time
PASS: test-sys_utsname
PASS: test-sys_wait
PASS: test-termios
PASS: test-time
PASS: test-tls
PASS: test-u64
PASS: test-uname
PASS: test-dup-safer
PASS: test-unistd
PASS: test-u8-uctomb
PASS: test-uc_width
PASS: uniwidth/test-uc_width2.sh
PASS: test-unlink
PASS: test-unsetenv
PASS: test-update-copyright.sh
PASS: test-userspec
PASS: test-usleep
PASS: test-utimens
PASS: test-utimensat
PASS: test-vasnprintf
PASS: test-vasprintf-posix
PASS: test-vasprintf
SKIP: test-vc-list-files-git.sh
PASS: test-vc-list-files-cvs.sh
PASS: test-verify
PASS: test-verify.sh
PASS: test-version-etc.sh
PASS: test-vfprintf-posix.sh
PASS: test-vprintf-posix.sh
PASS: test-wchar
PASS: test-wcrtomb.sh
PASS: test-wctype
PASS: test-wcwidth
PASS: test-xalloc-die.sh
PASS: test-xprintf-posix.sh
PASS: test-xstrtoimax.sh
PASS: test-xstrtol.sh
PASS: test-xstrtoumax.sh
PASS: test-xvasprintf
PASS: test-yesno.sh
=====================================================
   GNU coreutils 8.10: gnulib-tests/test-suite.log
=====================================================

1 of 224 tests failed.  (6 tests were not run).

.. contents:: :depth: 2

SKIP: test-file-has-acl.sh (exit: 77)
=====================================

+ test 0 = 0
+ echo 'Skipping test: insufficient ACL support'
Skipping test: insufficient ACL support
+ exit 77

SKIP: test-set-mode-acl.sh (exit: 77)
=====================================

+ test 0 = 0
+ echo 'Skipping test: insufficient ACL support'
Skipping test: insufficient ACL support
+ exit 77

SKIP: test-copy-acl.sh (exit: 77)
=================================

+ test 0 = 0
+ echo 'Skipping test: insufficient ACL support'
Skipping test: insufficient ACL support
+ exit 77

SKIP: test-mbscasecmp.sh (exit: 77)
===================================

Skipping test: no turkish Unicode locale is installed

FAIL: test-posixtm (exit: 1)
============================

000001010000.00 mismatch (-: actual; +:expected)
--62167132800
+-62167219200
000012312359.59 return value mismatch: got 0, expected 1

SKIP: test-select (exit: 77)
============================

Unconnected socket test... passed
Connected sockets test... bind: Address already in use

SKIP: test-vc-list-files-git.sh (exit: 77)
==========================================

++
initial_cwd_=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests
gt-test-vc-list-files-git.sh.XXXX
+++ case $# in
+++ destdir_=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests
+++ template_=gt-test-vc-list-files-git.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests
gt-test-vc-list-files-git.sh.XXXX
+++
d=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk
+++ case $d in
+++ test -d
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk
++++ ls -dgo
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk
++++ tr S -
+++ perms='drwx------  2   68 Feb 11 11:43
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk'
+++ case $perms in
+++ test 0 = 0
+++ echo
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk
+++ return
++
test_dir_=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk
++ cd
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ /sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/build-aux
.
+ test 2 '!=' 0
+ path_dir_=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/build-aux
+ case $path_dir_ in
+ abs_path_dir_=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/build-aux
+ case $abs_path_dir_ in
+
PATH=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/build-aux:/sw/var/lib/fink/path-prefix-10.6:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
+ create_exe_shims_
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/build-aux
+ case $EXEEXT in
+ return 0
+ shift
+ test 1 '!=' 0
+ path_dir_=.
+ case $path_dir_ in
++ cd /sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/.
++ echo /sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests
+
abs_path_dir_=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests
+ case $abs_path_dir_ in
+
PATH=/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests:/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/build-aux:/sw/var/lib/fink/path-prefix-10.6:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin
+ create_exe_shims_
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ tmpdir=vc-git-13805
+ GIT_DIR=
+ GIT_WORK_TREE=
+ unset GIT_DIR GIT_WORK_TREE
+ fail=1
+ mkdir vc-git-13805
+ cd vc-git-13805
+ skip_ 'git not found in PATH'
+ warn_ 'test-vc-list-files-git.sh: skipped test: git not found in PATH'
+ echo 'test-vc-list-files-git.sh: skipped test: git not found in PATH'
test-vc-list-files-git.sh: skipped test: git not found in PATH
+ Exit 77
+ set +e
+ exit 77
+ exit 77
+ remove_tmp_
+ __st=77
+ cleanup_
+ :
+ cd /sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests
+ chmod -R u+rwx
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk
+ rm -rf
/sw/src/fink.build/coreutils-8.10-1/coreutils-8.10/gnulib-tests/gt-test-vc-list-files-git.sh.YLTk
+ exit 77
======================================
1 of 224 tests failed
(6 tests were not run)
See gnulib-tests/test-suite.log
Please report to [email-masked]
======================================
make[6]: *** [test-suite.log] Error 1
make[5]: *** [check-TESTS] Error 2
make[4]: *** [check-am] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
### execution of /var/tmp/tmp.1.cAMoXB failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-coreutils-8.10-1
(Reading database ... 63616 files and directories currently installed.)
Removing fink-buildlock-coreutils-8.10-1 ...
Failed: phase compiling: coreutils-8.10-1 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

None <[email-masked]>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.