GNU bug report logs - #12815
[bug-coreutils] build glitches in coreutils-8.20

Previous Next

Package: coreutils;

Reported by: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>

Date: Tue, 6 Nov 2012 13:44:02 UTC

Severity: normal

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 12815 in the body.
You can then email your comments to 12815 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 bug-coreutils <at> gnu.org:
bug#12815; Package coreutils. (Tue, 06 Nov 2012 13:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Nelson H. F. Beebe" <beebe <at> math.utah.edu>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 06 Nov 2012 13:44:02 GMT) Full text and rfc822 format available.

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

From: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>
To: bug-coreutils <at> gnu.org
Cc: beebe <at> math.utah.edu
Subject: [bug-coreutils] build glitches in coreutils-8.20
Date: Tue, 6 Nov 2012 06:40:03 -0700 (MST)
I've now successfully built and installed coreutils-8.20 on about 20
flavors of Unix on several different CPU families.  The same single
build repair was needed on several systems, and was easily fixed by
manually tweaking a compiler command:

	Linking of src/factor requires addition of -liconv and -lgmp,
	because they are missing in the Makefile

Here is a summary of the test failures reported by "make check" for
those systems where I had to apply the above tweak:

System types:
	gen-ppc64	Gentoo 2.1 PowerPC-64
	gen-sparc	Gentoo 2.1 SPARC
	macosx-ppc	Mac OS X 10.5.8 PowerPC
	macosx-x64	Mac OS X 10.5.8 x86_64
	mirbsd-x86	MirBSD 10 x86
	osuse-x64	openSUSE 11.4 x86_64
	rh5-x64		Red Hat 5.8 x86_64
	rh6-x64		Red Hat 6.3 x86_64
	sol10-sparc	Solaris 10 SPARC
	sol11-x64	Solaris 11 x86_64
	ubuntu-x86	Ubuntu 11.10 x86

============================================================
failing test name (sort key)			system type
============================================================
expr                                   		rh6-x64
factor                                 		rh5-x64
factor                                 		macosx-ppc
factor                                 		rh6-x64
test-getlogin                          		gen-sparc
test-getlogin                          		osuse-x64
test-getlogin                          		ubuntu-x86
test-getlogin (exit: 134)              		gen-sparc
test-getlogin (exit: 134)              		osuse-x64
test-getlogin (exit: 134)              		ubuntu-x86
test-mbsalign                          		mirbsd-x86
test-mbsalign (exit: 134)              		mirbsd-x86
test-parse-datetime                    		mirbsd-x86
test-parse-datetime (exit: 134)        		mirbsd-x86
test-posixtm                           		mirbsd-x86
test-posixtm (exit: 1)                 		mirbsd-x86
test-select                            		mirbsd-x86
test-select (exit: 1)                  		mirbsd-x86
test-verify.sh                         		mirbsd-x86
test-verify.sh (exit: 1)               		mirbsd-x86
tests/cp/fiemap-FMR.sh                 		gen-ppc64
tests/cp/fiemap-FMR.sh (exit: 1)       		gen-ppc64
tests/cp/nfs-removal-race.sh           		macosx-ppc
tests/cp/nfs-removal-race.sh           		sol10-sparc
tests/cp/nfs-removal-race.sh (exit: 99)		macosx-ppc
tests/cp/same-file.sh                  		sol11-x64
tests/cp/sparse.sh                     		rh6-x64
tests/cp/sparse.sh (exit: 99)          		rh6-x64
tests/dd/reblock.sh                    		sol11-x64
tests/du/basic.sh                      		rh6-x64
tests/du/basic.sh (exit: 1)            		rh6-x64
tests/install/install-C.sh             		macosx-ppc
tests/install/install-C.sh (exit: 1)   		macosx-ppc
tests/ls/getxattr-speedup.sh           		macosx-ppc
tests/ls/getxattr-speedup.sh (exit: 99)		macosx-ppc
tests/ls/stat-free-color.sh            		rh6-x64
tests/ls/stat-free-color.sh (exit: 1)  		rh6-x64
tests/misc/cat-buf.sh                  		sol11-x64
tests/misc/expr.pl                     		rh6-x64
tests/misc/expr.pl (exit: 1)           		rh6-x64
tests/misc/factor.pl                   		rh5-x64
tests/misc/factor.pl                   		macosx-ppc
tests/misc/factor.pl                   		rh6-x64
tests/misc/factor.pl (exit: 1)         		rh5-x64
tests/misc/factor.pl (exit: 1)         		macosx-ppc
tests/misc/factor.pl (exit: 1)         		rh6-x64
tests/misc/help-version.sh             		rh5-x64
tests/misc/help-version.sh             		macosx-ppc
tests/misc/help-version.sh             		rh6-x64
tests/misc/help-version.sh (exit: 1)   		rh5-x64
tests/misc/help-version.sh (exit: 1)   		macosx-ppc
tests/misc/help-version.sh (exit: 1)   		rh6-x64
tests/misc/invalid-opt.pl              		rh5-x64
tests/misc/invalid-opt.pl              		rh6-x64
tests/misc/invalid-opt.pl (exit: 1)    		rh5-x64
tests/misc/invalid-opt.pl (exit: 1)    		rh6-x64
tests/misc/od-multiple-t.sh            		rh6-x64
tests/misc/od-multiple-t.sh (exit: 1)  		rh6-x64
tests/misc/sort-discrim.sh             		rh6-x64
tests/misc/sort-discrim.sh (exit: 1)   		rh6-x64
tests/misc/sort-u-FMR.sh               		gen-ppc64
tests/misc/sort-u-FMR.sh (exit: 1)     		gen-ppc64
tests/misc/stat-birthtime.sh           		rh6-x64
tests/misc/stat-birthtime.sh           		sol11-x64
tests/misc/stat-birthtime.sh (exit: 1) 		rh6-x64
tests/misc/stdbuf.sh                   		sol11-x64
tests/misc/timeout-parameters.sh       		sol10-sparc
tests/misc/timeout-parameters.sh       		rh6-x64
tests/misc/timeout-parameters.sh (exit: 1)	rh6-x64
tests/mv/i-3.sh                        		sol11-x64
tests/mv/part-symlink.sh               		sol11-x64
tests/mv/part-symlink.sh (exit: 1)     		sol11-x64
tests/mv/perm-1.sh                     		sol11-x64
tests/mv/perm-1.sh (exit: 1)           		sol11-x64
tests/rm/cycle.sh                      		sol11-x64
tests/rm/cycle.sh (exit: 1)            		sol11-x64
tests/rm/dangling-symlink.sh           		sol11-x64
tests/rm/rm1.sh                        		sol11-x64
tests/rm/rm1.sh (exit: 1)              		sol11-x64
tests/rm/unread3.sh                    		macosx-ppc
tests/rm/unread3.sh (exit: 1)          		macosx-ppc
tests/split/suffix-length.sh           		rh6-x64
tests/split/suffix-length.sh (exit: 1) 		rh6-x64
tests/tail-2/F-vs-missing.sh           		rh6-x64
tests/tail-2/F-vs-missing.sh           		sol11-x64
tests/tail-2/F-vs-missing.sh (exit: 1) 		rh6-x64
tests/tail-2/F-vs-rename.sh            		sol11-x64
tests/tail-2/flush-initial.sh          		sol11-x64
tests/tail-2/inotify-hash-abuse.sh     		rh6-x64
tests/tail-2/inotify-hash-abuse.sh     		sol11-x64
tests/tail-2/inotify-hash-abuse.sh (exit: 1)	rh6-x64
tests/tail-2/pipe-f2.sh                		rh6-x64
tests/tail-2/pipe-f2.sh                		sol11-x64
tests/tail-2/pipe-f2.sh (exit: 1)      		rh6-x64
tests/tail-2/wait.sh                   		sol11-x64
============================================================

One or more builds on these systems reported "All nnn tests passed",
with NO test failures at all:

	Fedora 17 IA-32 (Pentium)
	Red Hat 5.6 IA-32 (Pentium)
	Red Hat 5.6 IA-64 (Itanium)
	gen-sparc
	osuse-x64
	sol10-sparc
	ubuntu-x86

There is overlap between those two lists because builds were done with
different compilers and compilation options on most systems.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe <at> math.utah.edu  -
- 155 S 1400 E RM 233                       beebe <at> acm.org  beebe <at> computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------




Information forwarded to bug-coreutils <at> gnu.org:
bug#12815; Package coreutils. (Tue, 06 Nov 2012 14:21:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>
Cc: 12815 <at> debbugs.gnu.org
Subject: Re: bug#12815: [bug-coreutils] build glitches in coreutils-8.20
Date: Tue, 06 Nov 2012 14:17:12 +0000
On 11/06/2012 01:40 PM, Nelson H. F. Beebe wrote:
> I've now successfully built and installed coreutils-8.20 on about 20
> flavors of Unix on several different CPU families.  The same single
> build repair was needed on several systems, and was easily fixed by
> manually tweaking a compiler command:
>
> 	Linking of src/factor requires addition of -liconv and -lgmp,
> 	because they are missing in the Makefile

Thanks a lot for all this Nelson!
The -liconv issue should be handled by:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=88a62019

I'm surprised that -lgmp is needed, so it seems gmp.m4 is inadequate:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=blob;f=m4/gmp.m4;hb=HEAD
I notice that LIB_GMP is set within {}. Does that depend on the shell
not running that within a subshell?

> Here is a summary of the test failures reported by "make check" for
> those systems where I had to apply the above tweak:


>
> System types:
> 	gen-ppc64	Gentoo 2.1 PowerPC-64
> 	gen-sparc	Gentoo 2.1 SPARC
> 	macosx-ppc	Mac OS X 10.5.8 PowerPC
> 	macosx-x64	Mac OS X 10.5.8 x86_64
> 	mirbsd-x86	MirBSD 10 x86
> 	osuse-x64	openSUSE 11.4 x86_64
> 	rh5-x64		Red Hat 5.8 x86_64
> 	rh6-x64		Red Hat 6.3 x86_64
> 	sol10-sparc	Solaris 10 SPARC
> 	sol11-x64	Solaris 11 x86_64
> 	ubuntu-x86	Ubuntu 11.10 x86
>

Do you have tests/test-suite.log files and compile flags for the following?

> ============================================================
> failing test name (sort key)			system type
> ============================================================
> expr                                   		rh6-x64
> factor                                 		rh5-x64
> factor                                 		macosx-ppc
> factor                                 		rh6-x64

> test-getlogin                          		gen-sparc
> test-getlogin                          		osuse-x64
> test-getlogin                          		ubuntu-x86
> test-getlogin (exit: 134)              		gen-sparc
> test-getlogin (exit: 134)              		osuse-x64
> test-getlogin (exit: 134)              		ubuntu-x86

There are many reports of getlogin gnulib tests failing.
I'll send a patch to skip on some exit codes and
also provide more diagnostics

> test-mbsalign                          		mirbsd-x86
> test-mbsalign (exit: 134)              		mirbsd-x86
> test-parse-datetime                    		mirbsd-x86
> test-parse-datetime (exit: 134)        		mirbsd-x86
> test-posixtm                           		mirbsd-x86
> test-posixtm (exit: 1)                 		mirbsd-x86
> test-select                            		mirbsd-x86
> test-select (exit: 1)                  		mirbsd-x86
> test-verify.sh                         		mirbsd-x86
> test-verify.sh (exit: 1)               		mirbsd-x86
> tests/cp/fiemap-FMR.sh                 		gen-ppc64
> tests/cp/fiemap-FMR.sh (exit: 1)       		gen-ppc64
> tests/cp/nfs-removal-race.sh           		macosx-ppc
> tests/cp/nfs-removal-race.sh           		sol10-sparc
> tests/cp/nfs-removal-race.sh (exit: 99)		macosx-ppc
> tests/cp/same-file.sh                  		sol11-x64
> tests/cp/sparse.sh                     		rh6-x64
> tests/cp/sparse.sh (exit: 99)          		rh6-x64
> tests/dd/reblock.sh                    		sol11-x64
> tests/du/basic.sh                      		rh6-x64
> tests/du/basic.sh (exit: 1)            		rh6-x64
> tests/install/install-C.sh             		macosx-ppc
> tests/install/install-C.sh (exit: 1)   		macosx-ppc
> tests/ls/getxattr-speedup.sh           		macosx-ppc
> tests/ls/getxattr-speedup.sh (exit: 99)		macosx-ppc
> tests/ls/stat-free-color.sh            		rh6-x64
> tests/ls/stat-free-color.sh (exit: 1)  		rh6-x64
> tests/misc/cat-buf.sh                  		sol11-x64
> tests/misc/expr.pl                     		rh6-x64
> tests/misc/expr.pl (exit: 1)           		rh6-x64
> tests/misc/factor.pl                   		rh5-x64
> tests/misc/factor.pl                   		macosx-ppc
> tests/misc/factor.pl                   		rh6-x64
> tests/misc/factor.pl (exit: 1)         		rh5-x64
> tests/misc/factor.pl (exit: 1)         		macosx-ppc
> tests/misc/factor.pl (exit: 1)         		rh6-x64
> tests/misc/help-version.sh             		rh5-x64
> tests/misc/help-version.sh             		macosx-ppc
> tests/misc/help-version.sh             		rh6-x64
> tests/misc/help-version.sh (exit: 1)   		rh5-x64
> tests/misc/help-version.sh (exit: 1)   		macosx-ppc
> tests/misc/help-version.sh (exit: 1)   		rh6-x64
> tests/misc/invalid-opt.pl              		rh5-x64
> tests/misc/invalid-opt.pl              		rh6-x64
> tests/misc/invalid-opt.pl (exit: 1)    		rh5-x64
> tests/misc/invalid-opt.pl (exit: 1)    		rh6-x64
> tests/misc/od-multiple-t.sh            		rh6-x64
> tests/misc/od-multiple-t.sh (exit: 1)  		rh6-x64
> tests/misc/sort-discrim.sh             		rh6-x64
> tests/misc/sort-discrim.sh (exit: 1)   		rh6-x64
> tests/misc/sort-u-FMR.sh               		gen-ppc64
> tests/misc/sort-u-FMR.sh (exit: 1)     		gen-ppc64
> tests/misc/stat-birthtime.sh           		rh6-x64
> tests/misc/stat-birthtime.sh           		sol11-x64
> tests/misc/stat-birthtime.sh (exit: 1) 		rh6-x64
> tests/misc/stdbuf.sh                   		sol11-x64
> tests/misc/timeout-parameters.sh       		sol10-sparc
> tests/misc/timeout-parameters.sh       		rh6-x64
> tests/misc/timeout-parameters.sh (exit: 1)	rh6-x64
> tests/mv/i-3.sh                        		sol11-x64
> tests/mv/part-symlink.sh               		sol11-x64
> tests/mv/part-symlink.sh (exit: 1)     		sol11-x64
> tests/mv/perm-1.sh                     		sol11-x64
> tests/mv/perm-1.sh (exit: 1)           		sol11-x64
> tests/rm/cycle.sh                      		sol11-x64
> tests/rm/cycle.sh (exit: 1)            		sol11-x64
> tests/rm/dangling-symlink.sh           		sol11-x64
> tests/rm/rm1.sh                        		sol11-x64
> tests/rm/rm1.sh (exit: 1)              		sol11-x64
> tests/rm/unread3.sh                    		macosx-ppc
> tests/rm/unread3.sh (exit: 1)          		macosx-ppc
> tests/split/suffix-length.sh           		rh6-x64
> tests/split/suffix-length.sh (exit: 1) 		rh6-x64
> tests/tail-2/F-vs-missing.sh           		rh6-x64
> tests/tail-2/F-vs-missing.sh           		sol11-x64
> tests/tail-2/F-vs-missing.sh (exit: 1) 		rh6-x64
> tests/tail-2/F-vs-rename.sh            		sol11-x64
> tests/tail-2/flush-initial.sh          		sol11-x64
> tests/tail-2/inotify-hash-abuse.sh     		rh6-x64
> tests/tail-2/inotify-hash-abuse.sh     		sol11-x64
> tests/tail-2/inotify-hash-abuse.sh (exit: 1)	rh6-x64
> tests/tail-2/pipe-f2.sh                		rh6-x64
> tests/tail-2/pipe-f2.sh                		sol11-x64
> tests/tail-2/pipe-f2.sh (exit: 1)      		rh6-x64
> tests/tail-2/wait.sh                   		sol11-x64
> ============================================================
>
> One or more builds on these systems reported "All nnn tests passed",
> with NO test failures at all:
>
> 	Fedora 17 IA-32 (Pentium)
> 	Red Hat 5.6 IA-32 (Pentium)
> 	Red Hat 5.6 IA-64 (Itanium)
> 	gen-sparc
> 	osuse-x64
> 	sol10-sparc
> 	ubuntu-x86
>
> There is overlap between those two lists because builds were done with
> different compilers and compilation options on most systems.

thanks again,
Pádraig.




Information forwarded to bug-coreutils <at> gnu.org:
bug#12815; Package coreutils. (Mon, 15 Oct 2018 18:00:02 GMT) Full text and rfc822 format available.

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

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 12815 <at> debbugs.gnu.org
Subject: Re: bug#12815: [bug-coreutils] build glitches in coreutils-8.20
Date: Mon, 15 Oct 2018 11:59:37 -0600
close 12815
stop

(triaging old bugs)

Hello,

On 06/11/12 07:17 AM, Pádraig Brady wrote:
> On 11/06/2012 01:40 PM, Nelson H. F. Beebe wrote:
>> I've now successfully built and installed coreutils-8.20 on about 20
>> flavors of Unix on several different CPU families. 
> 
> Thanks a lot for all this Nelson!
> The -liconv issue should be handled by:
> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=88a62019
> 
> I'm surprised that -lgmp is needed, so it seems gmp.m4 is inadequate:
> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=blob;f=m4/gmp.m4;hb=HEAD

With test reports available for several more recent coreutils versions,
I'm closing this bug about 8.20.

-assaf








bug closed, send any further explanations to 12815 <at> debbugs.gnu.org and "Nelson H. F. Beebe" <beebe <at> math.utah.edu> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 15 Oct 2018 18:00:02 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. (Tue, 13 Nov 2018 12:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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