From 2a1637a5c849e2a49fc697f52eaf32439dbc26cf Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Sun, 7 Jul 2019 22:34:44 +0100 Subject: Texinfo installed as a dependency of M4 While testing on a system with no Texinfo, we noticed that M4 depends on Texinfo. To fix this problem, with this commit, it is now included in the pipeline. While doing a clean build, a few minor issues were also found and corrected in the other rules. --- reproduce/software/make/basic.mk | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) (limited to 'reproduce/software/make') diff --git a/reproduce/software/make/basic.mk b/reproduce/software/make/basic.mk index 1c97910..bbeb13d 100644 --- a/reproduce/software/make/basic.mk +++ b/reproduce/software/make/basic.mk @@ -123,6 +123,7 @@ tarballs = $(foreach t, bash-$(bash-version).tar.lz \ readline-$(readline-version).tar.gz \ sed-$(sed-version).tar.xz \ tar-$(tar-version).tar.gz \ + texinfo-$(texinfo-version).tar.xz \ unzip-$(unzip-version).tar.gz \ wget-$(wget-version).tar.lz \ which-$(which-version).tar.gz \ @@ -173,6 +174,7 @@ $(tarballs): $(tdir)/%: | $(lockdir) elif [ $$n = readline ]; then w=http://ftp.gnu.org/gnu/readline; \ elif [ $$n = sed ]; then w=http://ftp.gnu.org/gnu/sed; \ elif [ $$n = tar ]; then w=http://ftp.gnu.org/gnu/tar; \ + elif [ $$n = texinfo ]; then w=http://ftp.gnu.org/gnu/texinfo; \ elif [ $$n = unzip ]; then \ mergenames=0; v=$$(echo $(unzip-version) | sed -e's/\.//'); \ w=ftp://ftp.info-zip.org/pub/infozip/src/unzip$$v.tgz; \ @@ -767,9 +769,8 @@ $(ibidir)/curl: $(tdir)/curl-$(curl-version).tar.gz \ # host system (especially a crash when these libraries are updated on the # host), they are disabled here. $(ibidir)/wget: $(tdir)/wget-$(wget-version).tar.lz \ - $(ibidir)/pkg-config \ $(ibidir)/coreutils \ - $(ibidir)/openssl # Coreutils only so Wget is built after it. + $(ibidir)/libiconv # We need to explicitly disable `libiconv', because of the # `pkg-config' and `libiconv' problem. @@ -787,7 +788,7 @@ $(ibidir)/wget: $(tdir)/wget-$(wget-version).tar.lz \ --without-libidn \ --disable-pcre2 \ --disable-pcre \ - --disable-iri ) \ + --disable-iri, V=1) \ && echo "GNU Wget $(wget-version)" > $@ @@ -881,7 +882,8 @@ $(ibidir)/libbsd: $(tdir)/libbsd-$(libbsd-version).tar.xz \ && echo "Libbsd $(libbsd-version)" > $@ $(ibidir)/m4: $(tdir)/m4-$(m4-version).tar.gz \ - $(ibidir)/coreutils + $(ibidir)/coreutils \ + $(ibidir)/texinfo $(call gbuild, $<, m4-$(m4-version), static) \ && echo "GNU M4 $(m4-version)" > $@ @@ -976,7 +978,7 @@ $(ibidir)/pkg-config: $(tdir)/pkg-config-$(pkgconfig-version).tar.gz \ # (and `libiconv' exists) there will be a problem. So before # re-building `pkg-config', we'll remove any installation of # `libiconv'. - rm -f $(ildir)/libiconv* + rm -f $(ildir)/libiconv* $(idir)/include/iconv.h # Some Mac OS systems may have a version of the GNU C Compiler # (GCC) installed that doesn't support some necessary features of @@ -987,7 +989,7 @@ $(ibidir)/pkg-config: $(tdir)/pkg-config-$(pkgconfig-version).tar.gz \ fi; \ $(call gbuild, $<, pkg-config-$(pkgconfig-version), static, \ $$compiler --with-internal-glib \ - --with-pc-path=$(ildir)/pkgconfig) \ + --with-pc-path=$(ildir)/pkgconfig, V=1) \ && echo "pkg-config $(pkgconfig-version)" > $@ $(ibidir)/sed: $(tdir)/sed-$(sed-version).tar.xz \ @@ -995,6 +997,15 @@ $(ibidir)/sed: $(tdir)/sed-$(sed-version).tar.xz \ $(call gbuild, $<, sed-$(sed-version), static) \ && echo "GNU Sed $(sed-version)" > $@ +$(ibidir)/texinfo: $(tdir)/texinfo-$(texinfo-version).tar.xz \ + $(ibidir)/bash + $(call gbuild, $<, texinfo-$(texinfo-version), static) \ + && if [ "x$(needpatchelf)" != x ]; then \ + $(ibdir)/patchelf --set-rpath $(ildir) $(ibdir)/info; \ + $(ibdir)/patchelf --set-rpath $(ildir) $(ibdir)/install-info; \ + fi \ + && echo "GNU Texinfo $(sed-version)" > $@ + $(ibidir)/which: $(tdir)/which-$(which-version).tar.gz \ $(ibidir)/coreutils $(call gbuild, $<, which-$(which-version), static) \ @@ -1014,7 +1025,7 @@ $(ibidir)/which: $(tdir)/which-$(which-version).tar.gz \ $(ibidir)/isl: $(tdir)/isl-$(isl-version).tar.bz2 \ $(ibidir)/gmp - $(call gbuild, $<, isl-$(isl-version), static) \ + $(call gbuild, $<, isl-$(isl-version), static, , V=1) \ && echo "GNU Integer Set Library $(isl-version)" > $@ $(ibidir)/mpc: $(tdir)/mpc-$(mpc-version).tar.gz \ -- cgit v1.2.1