I have tried tar-1.29 and tar-1.27.1 (from https://ftp.gnu.org/gnu/tar/) with 
same 'make check' error popping up all over the test suite. This error ends up 
percolating into other programs that use tar also. 

I've commented comments w/ '##', and output with '#'.

The error is:
# value 771780898 out of uid_t range 0..2097151

I thought UIDs should be in the range [0..(2^21 - 1)]? Why test with 771780898? 
Is this a negative int getting expressed as unsigned?

The build commands are:
./configure --prefix=$HOME/opt/tar
make -j 10
## so far so good
make check
## many failed tests follow, all with same message. I understand that this may 
not be a critical error, but it makes the testing output almost useless, as 
there are so many failures it is hard to find anything that might actually 
matter. 
##   furthermore, the errors percolate into other tool builds, like automake, 
which generates hundreds of errors during 'make check', all of the ones which 
I've checked repeating this same basic uid_t error.

I've attached one of the error test log files (002 -- the first place the error 
shows up), along with the overall test summary.

some system info:

uname -a
# Linux ... 2.6.32-696.1.1.el6.x86_64 #1 SMP Tue Mar 21 12:19:18 EDT 2017 
x86_64 x86_64 x86_64 GNU/Linux

gcc -v
# Using built-in specs.
# Target: x86_64-redhat-linux
# Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla 
--enable-bootstrap --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-gnu-unique-object 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
#   --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre 
--enable-libgcj-multifile --enable-java-maintainer-mode 
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib 
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 
--build=x86_64-redhat-linux
# Thread model: posix
# gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)

## BTW, I tried very recent gcc version too with no success (same error). I've 
also tried ./configure --prefix=$HOME/opt/tar DEFAULT_ARCHIVE_FORMAT=POSIX
## I also tried setting flags --without-posix-acls and --without-xattrs without 
resolving the issue.

## More recent gcc config:
~/opt/gcc/bin/gcc -v
# Using built-in specs.
# COLLECT_GCC=/home/mkostich/opt/gcc/bin/gcc
# 
COLLECT_LTO_WRAPPER=/home/mkostich/opt/gcc/libexec/gcc/x86_64-pc-linux-gnu/7.1.0/lto-wrapper
# Target: x86_64-pc-linux-gnu
# Configured with: /home/mkostich/opt/gcc/src/gcc-7.1.0/configure 
--prefix=/home/mkostich/opt/gcc --enable-languages=all --enable-threads=posix 
--enable-bootstrap --enable-shared --with-system-zlib --enable-checking=release 
--enable-__cxa_atexit --disable-multilib
# Thread model: posix
# gcc version 7.1.0 (GCC) 

make --version
# GNU Make 3.81 ...
# This program built for x86_64-redhat-linux-gnu

Not sure what other info you may need. I'm new to bug reporting.

Many thanks for your time,

Mitch Kostich
#                             -*- compilation -*-
2. pipe.at:29: testing decompressing from stdin ...
/home/mkostich/opt/tar/src/tar-1.29/tests/pipe.at:33:
mkdir v7
(cd v7
TEST_TAR_FORMAT=v7
export TEST_TAR_FORMAT
TAR_OPTIONS="-H v7"
export TAR_OPTIONS
rm -rf *


test -z "`sort < /dev/null 2>&1`" || exit 77


mkdir directory
genfile --length 10240 --pattern zeros --file directory/file1
genfile --length 13 --file directory/file2
tar cf archive directory
mv directory orig
cat archive | tar xfv - --warning=no-timestamp | sort
echo "separator"
cmp orig/file1 directory/file1
echo "separator"
cmp orig/file2 directory/file2)
--- /dev/null	2017-05-18 10:08:31.689821721 -0400
+++ /home/mkostich/opt/tar/build/tests/testsuite.dir/at-groups/2/stderr	2017-06-21 16:23:41.757527684 -0400
@@ -0,0 +1,4 @@
+tar: value 771780898 out of uid_t range 0..2097151
+tar: Exiting with failure status due to previous errors
+cmp: directory/file1: No such file or directory
+cmp: directory/file2: No such file or directory
--- -	2017-06-21 16:23:41.764803725 -0400
+++ /home/mkostich/opt/tar/build/tests/testsuite.dir/at-groups/2/stdout	2017-06-21 16:23:41.761527852 -0400
@@ -1,6 +1,3 @@
-directory/
-directory/file1
-directory/file2
 separator
 separator
 
/home/mkostich/opt/tar/src/tar-1.29/tests/pipe.at:33: exit code was 2, expected 0
2. pipe.at:29: 2. decompressing from stdin (pipe.at:29): FAILED (pipe.at:33)
## ------------------------ ##
## GNU tar 1.29 test suite. ##
## ------------------------ ##

testsuite: command line was:
  $ /home/mkostich/opt/tar/src/tar-1.29/tests/testsuite 

## ---------- ##
## ChangeLog. ##
## ---------- ##

| 2016-05-16  Sergey Poznyakoff  <g...@gnu.org.ua>
| 
| 	Version 1.29
| 
| 	Minor fix
| 	* src/names.c (new_name): rename to make_file_name. All uses
| 	changed.
| 
| 2016-04-14  Sergey Poznyakoff  <g...@gnu.org.ua>
| 

## --------- ##
## Platform. ##
## --------- ##

hostname = d2626usofmko801.cin.epa.gov
uname -m = x86_64
uname -r = 2.6.32-696.1.1.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Tue Mar 21 12:19:18 EDT 2017

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/mkostich/opt/tar/build/tests
PATH: /home/mkostich/opt/tar/src/tar-1.29/tests
PATH: /home/mkostich/opt/tar/build/src
PATH: /home/mkostich/opt/tar/src/tar-1.29/build-aux
PATH: /home/mkostich/opt/tar/build
PATH: /home/mkostich/opt/tar/src/tar-1.29/.
PATH: /home/mkostich/local/bin
PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin

testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2012 Free Software Foundation, Inc.
| 
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
| abs_builddir='/home/mkostich/opt/tar/build/tests'
| at_srcdir='/home/mkostich/opt/tar/src/tar-1.29/tests'
| abs_srcdir='/home/mkostich/opt/tar/src/tar-1.29/tests'
| at_top_srcdir='/home/mkostich/opt/tar/src/tar-1.29'
| abs_top_srcdir='/home/mkostich/opt/tar/src/tar-1.29'
| at_top_build_prefix='../'
| abs_top_builddir='/home/mkostich/opt/tar/build'
| 
| # Backward compatibility with Autotest <= 2.59b:
| at_top_builddir=$at_top_build_prefix
| 
| AUTOTEST_PATH='tests'
| 
| SHELL=${CONFIG_SHELL-'/bin/sh'}

testsuite: atlocal:
| # tests/atlocal.  Generated from atlocal.in by configure.                                     -*- shell-script -*-
| # Configurable variable values for tar test suite.
| # Copyright 2004, 2006, 2013-2014, 2016 Free Software Foundation, Inc.
| 
| # This file is part of GNU tar.
| 
| # GNU tar is free software; you can redistribute it and/or modify
| # it under the terms of the GNU General Public License as published by
| # the Free Software Foundation; either version 3 of the License, or
| # (at your option) any later version.
| 
| # GNU tar is distributed in the hope that it will be useful,
| # but WITHOUT ANY WARRANTY; without even the implied warranty of
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
| # GNU General Public License for more details.
| 
| # You should have received a copy of the GNU General Public License
| # along with this program.  If not, see <http://www.gnu.org/licenses/>.
| 
| PATH=/home/mkostich/opt/tar/build/tests:/home/mkostich/opt/tar/build/src:/home/mkostich/opt/tar/src/tar-1.29/build-aux:$top_srcdir:$srcdir:$PATH
| 
| XFAILFILE=$abs_builddir/.badversion
| 
| trap "test -r $XFAILFILE && cat $XFAILFILE; exit $?" 1 2 13 15
| 
| TEST_DATA_URL=ftp://download.gnu.org.ua/pub/tests/tar
| if test -z "$TEST_DATA_DIR"; then
|   TEST_DATA_DIR=$abs_builddir/download
| fi
| 
| STAR_DATA_URL=$TEST_DATA_URL/star
| if test -z "$STAR_TESTSCRIPTS"; then
|   STAR_TESTSCRIPTS=$TEST_DATA_DIR
| fi
| 
| # tarball_prereq file sum dir url
| tarball_prereq() {
|   if ! test -d "$3"; then
|     mkdir "$3"
|     cat > "$3/README" <<EOF
| This directory contains test data downloaded during full check.
| You can remove it, if you wish.
| EOF
|   fi
|   if test -r $3/$1; then
|     :
|   elif test -n "$FULL_TEST"; then
|     wget -q -O $3/$1 $4/$1
|   fi
|   echo "$2  $3/$1" | md5sum --status --check - >/dev/null 2>&1
| }
| 
| decho() {
|   echo $*
|   echo >&2 $*
| }
| 
| mkexcltest() {
|   mkdir $1 $1/subdir
|   genfile --file=$1/top-level-file
|   genfile --file=$1/subdir/excludeme
|   genfile --file=$1/subdir/subdir-file
| }
|   

## ---------------- ##
## Tested programs. ##
## ---------------- ##

/home/mkostich/opt/tar/src/tar-1.29/tests/testsuite.at:197: /home/mkostich/opt/tar/build/src/tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

## ------------------ ##
## Running the tests. ##
## ------------------ ##
testsuite: starting at: Wed Jun 21 16:23:41 EDT 2017
1. tar version (version.at:20): ok     (0m0.003s 0m0.004s)
4. interspersed options (options02.at:27): ok     (0m0.004s 0m0.008s)
5. occurrence compatibility (opcomp01.at:21): ok     (0m0.002s 0m0.002s)
6. occurrence compatibility (opcomp02.at:21): ok     (0m0.001s 0m0.003s)
7. --verify compatibility (opcomp03.at:21): ok     (0m0.002s 0m0.000s)
8. compress option compatibility (opcomp04.at:21): ok     (0m0.005s 0m0.012s)
9. --pax-option compatibility (opcomp05.at:21): ok     (0m0.000s 0m0.003s)
10. --pax-option compatibility (opcomp06.at:21): ok     (0m0.008s 0m0.020s)
testsuite:18: WARNING: caught signal INT, bailing out

Reply via email to