reproduce-devel
[Top][All Lists]
Advanced

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

[bug #58248] basic.mk bug


From: Boud Roukema
Subject: [bug #58248] basic.mk bug
Date: Sun, 26 Apr 2020 11:39:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.nongnu.org/bugs/?58248>

                 Summary: basic.mk bug
                 Project: Reproducible paper template
            Submitted by: boud
            Submitted on: Sun 26 Apr 2020 03:39:06 PM UTC
                Category: None
                Severity: 4 - Important
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

*DESCRIPTION:*
On commit _cb74bd9fa865d2f_, on a completely fresh download, i.e. after


git clone https://git.maneage.org/project.git
mv -iv project maneage_project
cd maneage_project
time (./project configure) |tee tmp.configure.rza20200426.log 2>&1


I got the error messages in the terminal

sed -e
'1s|#!.*/sh|#!/tmp/tmp_build_maneage_project/software/installed/bin/bash|' \
     -e
's|@@BUILD_DIR@@|/tmp/tmp_build_maneage_project/software/build-tmp/git-2.23.0|'
\
     -e 's|@@PROG@@|t/helper/test-tool|' < wrap-for-bin.sh >
bin-wrappers/test-tool && \
chmod +x bin-wrappers/test-tool
make[1]: Leaving directory '/dev/shm/tmp-maneage_project-boud/git-2.23.0'
make: ***
[//tmp/tmp_build_maneage_project/software/installed/version-info/proglib/git]
Error 2
reproduce/software/make/basic.mk:959: recipe for target
'/tmp/tmp_build_maneage_project/software/installed/version-info/proglib/git'
failed
make: Target 'all' not remade because of errors.


and in my log file, with line numbers, I have

 62989  chmod +x bin-wrappers/test-tool
 62990  make[1]: Leaving directory
'/dev/shm/tmp-maneage_project-boud/git-2.23.0'
 62991  reproduce/software/make/basic.mk:959: recipe for target
'/tmp/tmp_build_maneage_project/software/installed/version-info/proglib/git'
failed
 62992  PASS: t-toom8h
 62993  PASS: t-toom2-sqr


In basic.mk I see

   956  $(ibidir)/git: $(ibidir)/curl \
   957                 $(ibidir)/libiconv \
   958                 | $(tdir)/git-$(git-version).tar.xz
   959          if [ x$(on_mac_os) = xyes ]; then \
   960            export LDFLAGS="$$LDFLAGS -lcharset"; \
   961          fi; \
   962          $(call gbuild, git-$(git-version), static, \
   963                         --without-tcltk --with-shell=$(ibdir)/bash \
   964                         --with-iconv=$(idir), V=1) \
   965          && echo "Git $(git-version)" > $@


This system is *not* a Mac, it is Debian/stretch x86_64 GNU/Linux.

*REPRODUCE:*
I did `./project configure --existing-conf` a second and third time and got
the same error each time.

*ANALYSIS:*
Each time I try `./project configure --existing-conf`, a whole lot of
configuring and compilation is done, taking about three minutes, so the
testing cycle for tracing this bug is slow.

*DIAGNOSIS:*
After the third try:


$ ls -lt .build/software/installed/version-info/*
.build/software/installed/version-info/proglib:
total 144
-rw-r--r-- 1 boud boud 39 Apr 26 15:52 mpc
-rw-r--r-- 1 boud boud 14 Apr 26 15:51 gawk
-rw-r--r-- 1 boud boud 53 Apr 26 15:51 mpfr
-rw-r--r-- 1 boud boud 29 Apr 26 15:48 isl
-rw-r--r-- 1 boud boud 48 Apr 26 15:46 gmp
-rw-r--r-- 1 boud boud 16 Apr 26 15:42 wget
-rw-r--r-- 1 boud boud 12 Apr 26 15:41 curl
-rw-r--r-- 1 boud boud 18 Apr 26 15:41 libiconv
-rw-r--r-- 1 boud boud 18 Apr 26 15:41 glibtool
-rw-r--r-- 1 boud boud 18 Apr 26 15:41 pkg-config
-rw-r--r-- 1 boud boud 14 Apr 26 15:41 m4
-rw-r--r-- 1 boud boud 20 Apr 26 15:41 findutils
-rw-r--r-- 1 boud boud 13 Apr 26 15:40 grep
-rw-r--r-- 1 boud boud 18 Apr 26 15:40 diffutils
-rw-r--r-- 1 boud boud 12 Apr 26 15:40 sed
-rw-r--r-- 1 boud boud 13 Apr 26 15:40 libbsd
-rw-r--r-- 1 boud boud 10 Apr 26 15:40 file
-rw-r--r-- 1 boud boud 15 Apr 26 15:40 which
-rw-r--r-- 1 boud boud 19 Apr 26 15:40 coreutils
-rw-r--r-- 1 boud boud 16 Apr 26 15:39 texinfo
-rw-r--r-- 1 boud boud 12 Apr 26 15:38 perl
-rw-r--r-- 1 boud boud 15 Apr 26 15:36 openssl
-rw-r--r-- 1 boud boud 16 Apr 26 15:36 bash
-rw-r--r-- 1 boud boud 17 Apr 26 15:35 readline
-rw-r--r-- 1 boud boud 16 Apr 26 15:35 ncurses
-rw-r--r-- 1 boud boud 14 Apr 26 15:34 patchelf
-rw-r--r-- 1 boud boud 13 Apr 26 15:34 make
-rw-r--r-- 1 boud boud 13 Apr 26 15:34 tar
-rw-r--r-- 1 boud boud 12 Apr 26 15:33 bzip2
-rw-r--r-- 1 boud boud  8 Apr 26 15:33 zip
-rw-r--r-- 1 boud boud 15 Apr 26 15:33 xz
-rw-r--r-- 1 boud boud 10 Apr 26 15:33 unzip
-rw-r--r-- 1 boud boud 10 Apr 26 15:33 lzip
-rw-r--r-- 1 boud boud 14 Apr 26 15:33 gzip
-rw-r--r-- 1 boud boud 12 Apr 26 15:32 zlib
-rw-r--r-- 1 boud boud  0 Apr 26 15:31 low-level-links
-rw-r--r-- 1 boud boud 21 Apr 26 15:31 flock

.build/software/installed/version-info/tex:
total 0

.build/software/installed/version-info/cite:
total 0

.build/software/installed/version-info/python:
total 0


and 

$ cat .build/software/installed/version-info/proglib/* 
GNU Bash 5.0.11
Bzip2 1.0.6
GNU Coreutils 8.31
cURL 7.65.3
GNU Diffutils 3.7
File 5.36
GNU Findutils 4.7.0
Discoteq flock 0.2.3
GNU AWK 5.0.1
GNU Libtool 2.4.6
GNU Multiple Precision Arithmetic Library 6.1.2
GNU Grep 3.3
GNU Gzip 1.10
GNU Integer Set Library 0.18
Libbsd 0.9.1
GNU libiconv 1.16
Lzip 1.20
GNU M4 1.4.18
GNU Make 4.3
GNU Multiple Precision Complex library
GNU Multiple Precision Floating-Point Reliably 4.0.2
GNU NCURSES 6.1
OpenSSL 1.1.1a
PatchELF 0.10
Perl 5.30.0
pkg-config 0.29.2
GNU Readline 8.0
GNU Sed 4.7
GNU Tar 1.32
GNU Texinfo 6.6
Unzip 6.0
GNU Wget 1.20.3
GNU Which 2.21
XZ Utils 5.2.4
Zip 3.0
Zlib 1.2.11


After the 6th try (see below):

du -hs .build/
432M    .build/


*HYPOTHESES:*
This might be an error introduced in commit `3a49e2c`. However, after git
checking out down to commit `d91813a`, the error occurs, but on line 962:
`reproduce/software/make/basic.mk:962:`.

Trying with git checkout commit `8eb0892e`... fails at
`reproduce/software/make/basic.mk:971`.

Trying with commit `a4e2ec81d57e` from 5 April. `./project configure
--existing-conf` asked me to give the build directory again. Failure at
`reproduce/software/make/basic.mk:971`.





    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?58248>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

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