GNU bug report logs - #8017
Error compiling coreutils

Previous Next

Package: coreutils;

Reported by: Toni Venters <toni.venters <at> gmail.com>

Date: Fri, 11 Feb 2011 16:48:01 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8017 in the body.
You can then email your comments to 8017 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8017; Package coreutils. (Fri, 11 Feb 2011 16:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Toni Venters <toni.venters <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 11 Feb 2011 16:48:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Toni Venters <toni.venters <at> gmail.com>
To: "fink-beginners <at> lists.sourceforge.net >> fink beginners mailing list"
	<fink-beginners <at> lists.sourceforge.net>
Cc: bug-coreutils <at> gnu.org
Subject: Error compiling coreutils
Date: Fri, 11 Feb 2011 11:53:26 -0500
[Message part 1 (text/plain, inline)]
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 bug-coreutils <at> gnu.org
======================================
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 <fink-devel <at> lists.sourceforge.net>

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.
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8017; Package coreutils. (Fri, 11 Feb 2011 18:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 8017 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Toni Venters <toni.venters <at> gmail.com>
Cc: "fink-beginners <at> lists.sourceforge.net >> fink beginners mailing list"
	<fink-beginners <at> lists.sourceforge.net>,
	bug-gnulib <bug-gnulib <at> gnu.org>, 8017 <at> debbugs.gnu.org
Subject: posixtm failure [was: bug#8017: Error compiling coreutils]
Date: Fri, 11 Feb 2011 11:19:22 -0700
[Message part 1 (text/plain, inline)]
On 02/11/2011 09:53 AM, Toni Venters wrote:
> 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 for the report.

First, coreutils _did_ compile, it's just the test that failed.  You can
probably install it anyways.

> FAIL: test-posixtm (exit: 1)
> ============================
> 
> 000001010000.00 mismatch (-: actual; +:expected)
> --62167132800
> +-62167219200
> 000012312359.59 return value mismatch: got 0, expected 1
> 

This particular test comes from gnulib, so I've added bug-gnulib in case
someone there has better ideas on how to troubleshoot if it is a
weakness in the test or a bug in fink's implementation of posixtm() that
gnulib should be working around.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8017; Package coreutils. (Fri, 11 Feb 2011 19:10:03 GMT) Full text and rfc822 format available.

Message #11 received at 8017 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-gnulib <at> gnu.org
Cc: Toni Venters <toni.venters <at> gmail.com>,
	"fink-beginners <at> lists.sourceforge.net >> fink beginners mailing list"
	<fink-beginners <at> lists.sourceforge.net>,
	Eric Blake <eblake <at> redhat.com>, 8017 <at> debbugs.gnu.org
Subject: Re: posixtm failure
Date: Fri, 11 Feb 2011 20:18:33 +0100
Hi Eric,

Eric Blake wrote:
> > FAIL: test-posixtm (exit: 1)
> > ============================
> > 
> > 000001010000.00 mismatch (-: actual; +:expected)
> > --62167132800
> > +-62167219200
> > 000012312359.59 return value mismatch: got 0, expected 1
> > 
> 
> This particular test comes from gnulib, so I've added bug-gnulib in case
> someone there has better ideas on how to troubleshoot if it is a
> weakness in the test or a bug in fink's implementation of posixtm() that
> gnulib should be working around.

There was no explicit mention of the platform, but from the word "fink" I
guess it's MacOS X. The report was then already half analyzed in this
thread:
<http://lists.gnu.org/archive/html/bug-gnulib/2010-04/msg00168.html>

The problem appears to be inside gnulib's __mktime_internal. It is still
present after Paul's recent patches: On MacOS X 10.5, after configuring
with CC="gcc -m64", I get:

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

Whereas with CC="gcc -m32", I get a different failure:

  skipping 000001010000.00: result is out of range of your time_t
  skipping 000012312359.59: result is out of range of your time_t
  skipping 000101010000.00: result is out of range of your time_t
  190112132045.51 return value mismatch: got 0, expected 1
  skipping 190112132045.52: result is out of range of your time_t
  skipping 203801190314.08: result is out of range of your time_t
  skipping 999912312359.59: result is out of range of your time_t
  skipping 6812131415.16: result is out of range of your time_t
  FAIL: test-posixtm

Bruno
-- 
In memoriam Rudolf Hilferding <http://en.wikipedia.org/wiki/Rudolf_Hilferding>




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8017; Package coreutils. (Fri, 11 Feb 2011 19:20:03 GMT) Full text and rfc822 format available.

Message #14 received at 8017 <at> debbugs.gnu.org (full text, mbox):

From: Alexander Hansen <alexanderk.hansen <at> gmail.com>
To: Eric Blake <eblake <at> redhat.com>
Cc: Toni Venters <toni.venters <at> gmail.com>,
	"fink-beginners <at> lists.sourceforge.net >> fink beginners mailing list"
	<fink-beginners <at> lists.sourceforge.net>,
	bug-gnulib <bug-gnulib <at> gnu.org>, 8017 <at> debbugs.gnu.org
Subject: Re: [Fink-beginners] posixtm failure [was: bug#8017: Error compiling
	coreutils]
Date: Fri, 11 Feb 2011 14:21:01 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/11/11 1:19 PM, Eric Blake wrote:
> On 02/11/2011 09:53 AM, Toni Venters wrote:
>> 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 for the report.
> 
> First, coreutils _did_ compile, it's just the test that failed.  You can
> probably install it anyways.

Incorrect, as far as Fink goes.  We generate binary packages for
installation, and we don't provide for resumption of the package build
process.

One could in principle install the package by hand from the build
directory, or try to perform the steps that Fink does manually, but it's
probably easier just not to force the testsuite.

> 
>> FAIL: test-posixtm (exit: 1)
>> ============================
>>
>> 000001010000.00 mismatch (-: actual; +:expected)
>> --62167132800
>> +-62167219200
>> 000012312359.59 return value mismatch: got 0, expected 1
>>
> 
> This particular test comes from gnulib, so I've added bug-gnulib in case
> someone there has better ideas on how to troubleshoot if it is a
> weakness in the test or a bug in fink's implementation of posixtm() that
> gnulib should be working around.
> 
> 
> 
> 

Builds are on Mac OS X, by the way.

As far as I can tell, the only occurrence of posixtm in Fink is in the
coreutils tarball, and we don't patch lib/posixtm.h or lib/posixtm.c in
the build process, so I don't see how it could be our implementation.

The failure occurs for me when building on OS 10.6.4 (Intel), 64-bit
(I'm not sure what Toni has).  The test passes on 10.5/32-bit and
10.6/32-bit for me with the same package description--32 bit and 64 bit
use identical procedures.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1VjBwACgkQB8UpO3rKjQ+3rwCfeWEN5+fBMdsF56l4zPoYbAqM
LAYAoJRpURq/8OzijAUdXEc+a77m0GRn
=sTbV
-----END PGP SIGNATURE-----




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8017; Package coreutils. (Fri, 11 Feb 2011 20:14:02 GMT) Full text and rfc822 format available.

Message #17 received at 8017 <at> debbugs.gnu.org (full text, mbox):

From: Toni Venters <toni.venters <at> gmail.com>
To: Alexander Hansen <alexanderk.hansen <at> gmail.com>
Cc: bug-gnulib <bug-gnulib <at> gnu.org>,
	"fink-beginners <at> lists.sourceforge.net >> fink beginners mailing list"
	<fink-beginners <at> lists.sourceforge.net>,
	Eric Blake <eblake <at> redhat.com>, 8017 <at> debbugs.gnu.org
Subject: Re: [Fink-beginners] posixtm failure [was: bug#8017: Error compiling
	coreutils]
Date: Fri, 11 Feb 2011 15:22:13 -0500
[Message part 1 (text/plain, inline)]
Sorry, I forgot to tell you that my OS is 10.6.6, 64-bit.

~Toni

On Fri, Feb 11, 2011 at 2:21 PM, Alexander Hansen <
alexanderk.hansen <at> gmail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2/11/11 1:19 PM, Eric Blake wrote:
> > On 02/11/2011 09:53 AM, Toni Venters wrote:
> >> 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 for the report.
> >
> > First, coreutils _did_ compile, it's just the test that failed.  You can
> > probably install it anyways.
>
> Incorrect, as far as Fink goes.  We generate binary packages for
> installation, and we don't provide for resumption of the package build
> process.
>
> One could in principle install the package by hand from the build
> directory, or try to perform the steps that Fink does manually, but it's
> probably easier just not to force the testsuite.
>
> >
> >> FAIL: test-posixtm (exit: 1)
> >> ============================
> >>
> >> 000001010000.00 mismatch (-: actual; +:expected)
> >> --62167132800
> >> +-62167219200
> >> 000012312359.59 return value mismatch: got 0, expected 1
> >>
> >
> > This particular test comes from gnulib, so I've added bug-gnulib in case
> > someone there has better ideas on how to troubleshoot if it is a
> > weakness in the test or a bug in fink's implementation of posixtm() that
> > gnulib should be working around.
> >
> >
> >
> >
>
> Builds are on Mac OS X, by the way.
>
> As far as I can tell, the only occurrence of posixtm in Fink is in the
> coreutils tarball, and we don't patch lib/posixtm.h or lib/posixtm.c in
> the build process, so I don't see how it could be our implementation.
>
> The failure occurs for me when building on OS 10.6.4 (Intel), 64-bit
> (I'm not sure what Toni has).  The test passes on 10.5/32-bit and
> 10.6/32-bit for me with the same package description--32 bit and 64 bit
> use identical procedures.
> - --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk1VjBwACgkQB8UpO3rKjQ+3rwCfeWEN5+fBMdsF56l4zPoYbAqM
> LAYAoJRpURq/8OzijAUdXEc+a77m0GRn
> =sTbV
> -----END PGP SIGNATURE-----
>
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8017; Package coreutils. (Fri, 11 Feb 2011 20:42:02 GMT) Full text and rfc822 format available.

Message #20 received at 8017 <at> debbugs.gnu.org (full text, mbox):

From: Alexander Hansen <alexanderk.hansen <at> gmail.com>
To: Toni Venters <toni.venters <at> gmail.com>
Cc: "fink-beginners <at> lists.sourceforge.net >> fink beginners mailing list"
	<fink-beginners <at> lists.sourceforge.net>, 8017 <at> debbugs.gnu.org
Subject: Re: [Fink-beginners] posixtm failure [was: bug#8017: Error compiling
	coreutils]
Date: Fri, 11 Feb 2011 15:50:09 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/11/11 3:22 PM, Toni Venters wrote:
> Sorry, I forgot to tell you that my OS is 10.6.6, 64-bit.
> 
> ~Toni
> 

Do a selfupdate, and you should get a new revision of the package which
doesn't require the tests.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1VoQEACgkQB8UpO3rKjQ+lzgCfVQRMxT97c9cQtxMR9q9CF+41
aNsAnjXhnn2zHH/NaSPIl6jzVuVGLGqj
=epF0
-----END PGP SIGNATURE-----




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8017; Package coreutils. (Sat, 12 Feb 2011 03:04:02 GMT) Full text and rfc822 format available.

Message #23 received at 8017 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruno Haible <bruno <at> clisp.org>
Cc: Toni Venters <toni.venters <at> gmail.com>, Eric Blake <eblake <at> redhat.com>,
	"fink-beginners <at> lists.sourceforge.net >> fink beginners mailing list"
	<fink-beginners <at> lists.sourceforge.net>, bug-gnulib <at> gnu.org,
	8017 <at> debbugs.gnu.org
Subject: Re: posixtm failure
Date: Fri, 11 Feb 2011 19:12:40 -0800
On 02/11/2011 11:18 AM, Bruno Haible wrote:
> The problem appears to be inside gnulib's __mktime_internal. It is still
> present after Paul's recent patches: On MacOS X 10.5, after configuring
> with CC="gcc -m64", I get:
> 
>   000001010000.00 mismatch (-: actual; +:expected)
>   --62167132800
>   +-62167219200
>   000012312359.59 return value mismatch: got 0, expected 1

Those same two tests fail on 64-bit Solaris up through at
least Solaris 10.  It's probably the same think-o inside
localtime.  (Programmers get confused near the year zero,
for some reason.  :-)  It's probably not worth worrying about.

> Whereas with CC="gcc -m32", I get a different failure:
> 
>   ...
> skipping 000101010000.00: result is out of range of your time_t
> 190112132045.51 return value mismatch: got 0, expected 1
> skipping 190112132045.52: result is out of range of your time_t

That's a weird one.  What type is time_t on that platform,
exactly?  Signed or unsigned?  32- or 64-bit?

That test is depending on undefined behavior at the C level,
since it assumes signed integer overflow wraps around; it could
be that we're running afoul of that.




Information forwarded to bug-coreutils <at> gnu.org:
bug#8017; Package coreutils. (Fri, 19 Oct 2018 00:07:02 GMT) Full text and rfc822 format available.

Message #26 received at 8017 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
Cc: 8017 <at> debbugs.gnu.org
Subject: Re: bug#8017: posixtm failure
Date: Thu, 18 Oct 2018 18:05:53 -0600
tags 8017 moreinfo
close 8017
stop

(triaging old bugs)

On 11/02/11 08:12 PM, Paul Eggert wrote:
> That's a weird one.  What type is time_t on that platform,
> exactly?  Signed or unsigned?  32- or 64-bit?
> 
> That test is depending on undefined behavior at the C level,
> since it assumes signed integer overflow wraps around; it could
> be that we're running afoul of that.

With no further follow-ups in 7 years (and Mac OS X 10.6.6 being
quite out-dated), I'm closing this bug.

-assaf




Added tag(s) moreinfo. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 19 Oct 2018 00:07:05 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 8017 <at> debbugs.gnu.org and Toni Venters <toni.venters <at> gmail.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 19 Oct 2018 00:07:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 16 Nov 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.