bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make-4.2.1 fails wildcard.diff.4 and wildcard.diff.5 on Debian testing f


From: Dennis Clarke
Subject: make-4.2.1 fails wildcard.diff.4 and wildcard.diff.5 on Debian testing for ppc64
Date: Sun, 13 Jan 2019 23:29:02 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Thunderbird/65.0


In actual fact I see these failures on multiple systems today while
trying to run the testsuite.

One item of logistics is this gem :

hydra$ cat ../../src/make_4.2.1_patch_01.u
*** configure.ac_backup Mon Jun  6 12:27:31 2016
--- configure.ac        Mon Apr  2 16:57:41 2018
***************
*** 399,408 ****
  #include <glob.h>
  #include <fnmatch.h>

- #define GLOB_INTERFACE_VERSION 1
  #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
  # include <gnu-versions.h>
! # if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
     gnu glob
  # endif
  #endif],
--- 399,407 ----
  #include <glob.h>
  #include <fnmatch.h>

  #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
  # include <gnu-versions.h>
! # if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2
     gnu glob
  # endif
  #endif],
hydra$
hydra$
hydra$ /usr/bin/patch --backup --verbose -p0 -i ../../src/make_4.2.1_patch_01.u
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** configure.ac_backup        Mon Jun  6 12:27:31 2016
|--- configure.ac       Mon Apr  2 16:57:41 2018
--------------------------
patching file configure.ac
Using Plan A...
Hunk #1 succeeded at 399.
done
hydra$

That is *needed* on any up to date system with glibc and thus I have to
 run autoconf again to get configure and that runs fine :

hydra$
hydra$ ./configure --prefix=/opt/bw --program-prefix=g --disable-silent-rules --enable-dependency-tracking --with-gnu-ld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking dependency style of /usr/bin/gcc... gcc3
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) /usr/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc accepts -g... (cached) yes
checking for /usr/bin/gcc option to accept ISO C89... (cached) none needed
checking whether /usr/bin/gcc understands -c and -o together... (cached) yes
checking dependency style of /usr/bin/gcc... (cached) gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for ar... ar
checking for perl... perl
checking the archiver (ar) interface... ar
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking for library containing strerror... none required
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by /usr/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing getpwnam... none required
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for unsigned long long int... yes
checking for uintmax_t... yes
checking for nanoseconds field of struct stat... st_mtim.tv_nsec
checking whether to use high resolution file timestamps... yes
checking for library containing clock_gettime... none required
checking whether system uses MSDOS-style paths... no
checking for standard gettimeofday... yes
checking for strdup... yes
checking for strndup... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for fdopen... yes
checking for fileno... yes
checking for dup... yes
checking for dup2... yes
checking for getcwd... yes
checking for realpath... yes
checking for sigsetmask... yes
checking for sigaction... yes
checking for getgroups... yes
checking for seteuid... yes
checking for setegid... yes
checking for setlinebuf... yes
checking for setreuid... yes
checking for setregid... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for setvbuf... yes
checking for pipe... yes
checking for strerror... yes
checking for strsignal... yes
checking for lstat... yes
checking for readlink... yes
checking for atexit... yes
checking for isatty... yes
checking for ttyname... yes
checking for pselect... yes
checking whether bsd_signal is declared... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcmpi... no
checking for strncmpi... no
checking for stricmp... no
checking for strnicmp... no
checking for working strcoll... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GUILE... no
checking for GUILE... no
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking whether sys_siglist is declared... yes
checking whether _sys_siglist is declared... yes
checking whether __sys_siglist is declared... no
checking for sys/wait.h... yes
checking for waitpid... yes
checking for wait3... yes
checking for union wait... no
checking for SA_RESTART... yes
checking whether dlopen is declared... yes
checking whether dlsym is declared... yes
checking whether dlerror is declared... yes
checking for library containing dlopen... -ldl
checking If the linker accepts -Wl,--export-dynamic... yes
checking for location of SCCS get command... get
checking if system libc has GNU glob... yes
checking if malloc debugging is wanted... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glob/Makefile
config.status: creating po/Makefile.in
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating w32/Makefile
config.status: creating tests/config-flags.pm
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating build.sh
hydra$
hydra$

This is on a fresh install system with minimal software just for
building GNU make. Mostly because it has been failing all day in
various ways.  Well, mostly the same way. Compile is fine and testing
fails :

hydra$
hydra$ PERL_USE_UNSAFE_INC=1 /usr/bin/time -p /usr/bin/nice -n +19 make check 2>&1 | tee ../make-4.2.1_linux-4.19.0-1-powerpc64.002.check.log
Making check in glob
make[1]: Entering directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/glob'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/glob'
Making check in config
make[1]: Entering directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/config'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/config'
Making check in po
make[1]: Entering directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/po'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/po'
Making check in doc
make[1]: Entering directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/doc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/doc' make[1]: Entering directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002'
make  loadavg
make[2]: Entering directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002' /usr/bin/gcc -DLOCALEDIR=\"/opt/bw/share/locale\" -DLIBDIR=\"/opt/bw/lib\" -DINCLUDEDIR=\"/opt/bw/include\" -DHAVE_CONFIG_H -I. -DTEST -I/opt/bw/include -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -m64 -g -Wl,-rpath=/opt/bw/lib -mcpu=970 -maltivec -mfull-toc -mregnames -MT loadavg-getloadavg.o -MD -MP -MF .deps/loadavg-getloadavg.Tpo -c -o loadavg-getloadavg.o `test -f 'getloadavg.c' || echo './'`getloadavg.c
mv -f .deps/loadavg-getloadavg.Tpo .deps/loadavg-getloadavg.Po
/usr/bin/gcc -m64 -g -Wl,-rpath=/opt/bw/lib -mcpu=970 -maltivec -mfull-toc -mregnames -Wl,--export-dynamic -o loadavg loadavg-getloadavg.o -ldl make[2]: Leaving directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002'
make  check-local
make[2]: Entering directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002' cd tests && perl ./run_make_tests.pl -srcdir /opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002 -make ../make
------------------------------------------------------------------------------
      Running tests for GNU make on Linux hydra 4.19.0-1-powerpc64 ppc64
                                GNU Make 4.2.1
------------------------------------------------------------------------------

Finding tests...

features/archives ....................................... ok     (10 passed)
features/comments ....................................... ok     (1 passed)
features/conditionals ................................... ok     (5 passed)
features/default_names .................................. ok     (3 passed)
features/double_colon ................................... ok     (14 passed)
features/echoing ........................................ ok     (4 passed)
features/errors ......................................... ok     (3 passed)
features/escape ......................................... ok     (8 passed)
features/export ......................................... ok     (12 passed)
features/include ........................................ ok     (15 passed)
features/jobserver ...................................... ok     (6 passed)
features/load ........................................... ok     (5 passed)
features/loadapi ........................................ ok     (3 passed)
features/mult_rules ..................................... ok     (2 passed)
features/mult_targets ................................... ok     (2 passed)
features/order_only ..................................... ok     (10 passed)
features/output-sync .................................... ok     (15 passed)
features/override ....................................... ok     (4 passed)
features/parallelism .................................... ok     (9 passed)
features/patspecific_vars ............................... ok     (10 passed)
features/patternrules ................................... ok     (10 passed)
features/quoting ........................................ ok     (1 passed)
features/recursion ...................................... ok     (2 passed)
features/reinvoke ....................................... ok     (5 passed)
features/rule_glob ...................................... ok     (3 passed)
features/se_explicit .................................... ok     (10 passed)
features/se_implicit .................................... ok     (11 passed)
features/se_statpat ..................................... ok     (4 passed)
features/shell_assignment ............................... ok     (4 passed)
features/statipattrules ................................. ok     (8 passed)
features/targetvars ..................................... ok     (25 passed)
features/utf8 ........................................... ok     (1 passed)
features/varnesting ..................................... ok     (2 passed)
features/vpath .......................................... ok     (2 passed)
features/vpath2 ......................................... ok     (1 passed)
features/vpath3 ......................................... ok     (1 passed)
features/vpathgpath ..................................... ok     (1 passed)
features/vpathplus ...................................... ok     (4 passed)
functions/abspath ....................................... ok     (1 passed)
functions/addprefix ..................................... ok     (1 passed)
functions/addsuffix ..................................... ok     (2 passed)
functions/andor ......................................... ok     (2 passed)
functions/basename ...................................... ok     (1 passed)
functions/call .......................................... ok     (3 passed)
functions/dir ........................................... ok     (1 passed)
functions/error ......................................... ok     (5 passed)
functions/eval .......................................... ok     (9 passed)
functions/file .......................................... ok     (15 passed)
functions/filter-out .................................... ok     (5 passed)
functions/findstring .................................... ok     (1 passed)
functions/flavor ........................................ ok     (1 passed)
functions/foreach ....................................... ok     (6 passed)
functions/guile ......................................... N/A
functions/if ............................................ ok     (1 passed)
functions/join .......................................... ok     (1 passed)
functions/notdir ........................................ ok     (1 passed)
functions/origin ........................................ ok     (1 passed)
functions/realpath ...................................... ok     (2 passed)
functions/shell ......................................... ok     (5 passed)
functions/sort .......................................... ok     (2 passed)
functions/strip ......................................... ok     (2 passed)
functions/substitution .................................. ok     (3 passed)
functions/suffix ........................................ ok     (1 passed)
functions/value ......................................... ok     (1 passed)
functions/warning ....................................... ok     (5 passed)
functions/wildcard ...................................... Error running /opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/tests/../make (expected 0; got 11): /opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/tests/../make -f work/functions/wildcard.mk.1

Caught signal 11!
Error running /opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/tests/../make (expected 0; got 11): /opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002/tests/../make -f work/functions/wildcard.mk.2

Caught signal 11!
FAILED (4/6 passed)
functions/word .......................................... ok     (16 passed)
misc/bs-nl .............................................. ok     (28 passed)
misc/close_stdout ....................................... ok     (1 passed)
misc/fopen-fail ......................................... ok     (1 passed)
misc/general1 ........................................... ok     (1 passed)
misc/general2 ........................................... ok     (1 passed)
misc/general3 ........................................... ok     (11 passed)
misc/general4 ........................................... ok     (6 passed)
misc/utf8 ............................................... ok     (1 passed)
options/dash-B .......................................... ok     (8 passed)
options/dash-C .......................................... ok     (2 passed)
options/dash-I .......................................... ok     (3 passed)
options/dash-W .......................................... ok     (10 passed)
options/dash-e .......................................... ok     (1 passed)
options/dash-f .......................................... ok     (4 passed)
options/dash-k .......................................... ok     (3 passed)
options/dash-l .......................................... ok     (1 passed)
options/dash-n .......................................... ok     (6 passed)
options/dash-q .......................................... ok     (11 passed)
options/dash-t .......................................... ok     (2 passed)
options/eval ............................................ ok     (3 passed)
options/general ......................................... ok     (1 passed)
options/print-directory ................................. ok     (4 passed)
options/symlinks ........................................ ok     (10 passed)
options/warn-undefined-variables ........................ ok     (2 passed)
targets/DEFAULT ......................................... ok     (1 passed)
targets/DELETE_ON_ERROR ................................. ok     (2 passed)
targets/FORCE ........................................... ok     (1 passed)
targets/INTERMEDIATE .................................... ok     (8 passed)
targets/ONESHELL ........................................ ok     (6 passed)
targets/PHONY ........................................... ok     (1 passed)
targets/POSIX ........................................... ok     (4 passed)
targets/SECONDARY ....................................... ok     (12 passed)
targets/SILENT .......................................... ok     (1 passed)
targets/clean ........................................... ok     (2 passed)
variables/CURDIR ........................................ ok     (1 passed)
variables/DEFAULT_GOAL .................................. ok     (5 passed)
variables/GNUMAKEFLAGS .................................. ok     (3 passed)
variables/INCLUDE_DIRS .................................. ok     (2 passed)
variables/LIBPATTERNS ................................... ok     (2 passed)
variables/MAKE .......................................... ok     (1 passed)
variables/MAKECMDGOALS .................................. ok     (3 passed)
variables/MAKEFILES ..................................... ok     (2 passed)
variables/MAKEFLAGS ..................................... ok     (3 passed)
variables/MAKELEVEL ..................................... ok     (1 passed)
variables/MAKE_RESTARTS ................................. ok     (3 passed)
variables/MFILE_LIST .................................... ok     (1 passed)
variables/SHELL ......................................... ok     (8 passed)
variables/automatic ..................................... ok     (7 passed)
variables/define ........................................ ok     (16 passed)
variables/flavors ....................................... ok     (8 passed)
variables/negative ...................................... ok     (4 passed)
variables/private ....................................... ok     (10 passed)
variables/special ....................................... ok     (6 passed)
variables/undefine ...................................... ok     (4 passed)
vms/library ............................................. N/A

2 Tests in 1 Category Failed (See .diff* files in work dir for details) :-(

make[2]: *** [Makefile:1372: check-regression] Error 1
make[2]: Leaving directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002'
make[1]: *** [Makefile:1113: check-am] Error 2
make[1]: Leaving directory '/opt/bw/build/make-4.2.1_linux-4.19.0-1-powerpc64.002'
make: *** [Makefile:819: check-recursive] Error 1
Command exited with non-zero status 2
real 59.02
user 9.35
sys 4.97
hydra$ find . -type f | grep 'diff'
./tests/work/functions/wildcard.diff.4
./tests/work/functions/wildcard.diff.5
hydra$
hydra$ cat ./tests/work/functions/wildcard.diff.4
*** work/functions/wildcard.base.4      Mon Jan 14 04:20:07 2019
--- work/functions/wildcard.log.4       Mon Jan 14 04:20:07 2019
***************
*** 1 ****
- file=xxx.yyy
--- 0 ----
hydra$
hydra$ cat ./tests/work/functions/wildcard.diff.5
*** work/functions/wildcard.base.5      Mon Jan 14 04:20:07 2019
--- work/functions/wildcard.log.5       Mon Jan 14 04:20:07 2019
***************
*** 1 ****
- file=
--- 0 ----
hydra$

The only other interesting bits is the segfaults thrown :

[ 3631.713587] make[22995]: segfault (11) at 7ffff07d9240 nip 7ffff07d9240 lr 7fffa8127ee4 code 2 [ 3631.713620] make[22995]: code: 00000001 3d106580 00007fff f07d9220 00007fff f07d92b0 00007fff f07d9400 [ 3631.713642] make[22995]: code: 00000001 3d0b1948 00000000 00000000 <00007fff> f07d92d0 00000000 00000000 [ 3631.725301] make[22997]: segfault (11) at 7fffd22b6a60 nip 7fffd22b6a60 lr 7fff7e937ee4 code 2 [ 3631.725333] make[22997]: code: 00000001 18556580 00007fff d22b6a40 00007fff d22b6ad0 00007fff d22b6c20 [ 3631.725355] make[22997]: code: 00000001 18501948 00000000 00000000 <00007fff> d22b6af0 00000000 00000000

So really I would like to run these two tests in gdb and see where the
 issue is.

Any feedback would be great.

Dennis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]