summaryrefslogtreecommitdiff
path: root/gnu/packages/make-bootstrap.scm
AgeCommit message (Expand)Author
2018-02-28gnu: guile-static-stripped: Remove dependency on bash-minimal....Previously guile-static-stripped, which is embedded in the initrd, would depend on 'bash-minimal' and 'glibc'; the closure size was 77 MiB. Now the closure size is down to 45.7 MiB. Reported by Danny Milosavljevic <dannym@scratchpost.org> in <https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00505.html>. * gnu/packages/make-bootstrap.scm (%guile-static): Remove the 'pre-configure' phase. (%guile-static-stripped)[arguments]: Add #:allowed-references. Ludovic Courtès
2018-02-28gnu: make-bootstrap: Build grep without PCRE support....Partly fixes <https://bugs.gnu.org/24841>. Reported by Chris Marusich <cmmarusich@gmail.com>. This fixes cross-compilation of the statically-linked grep. * gnu/packages/make-bootstrap.scm (%static-inputs): Add 'inputs' field for grep. Ludovic Courtès
2018-01-10gnu: make-bootstrap: Add libc:static to the inputs....Fixes use of 'getpwnam' & co. from the statically-linked guile in the initrd, as reported by Leo Famulari <leo@famulari.name> at <https://lists.gnu.org/archive/html/guix-devel/2018-01/msg00061.html>. * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[native-inputs]: Add "libc:static". Ludovic Courtès
2017-12-31gnu: guile-static: Reuse the existing phases....This is a followup to 33c3a214a4194a34b534bccf76bdd05db8ee565b. * gnu/packages/make-bootstrap.scm (%guile-static)[arguments]: Use 'substitute-keyword-arguments'. Honor the existing phases. Ludovic Courtès
2017-07-18gnu: guile-static-stripped: Update to 2.2....* gnu/packages/make-bootstrap.scm (%guile-static): Replace GUILE-2.0 with GUILE-2.2. Use "guile-2.2-default-utf8.patch" instead of "guile-default-utf8.patch". * gnu/packages/patches/guile-2.2-default-utf8.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Ludovic Courtès
2017-07-03packages: Mark 'replacement' as an "innate" field....Suggested by Mark H Weaver at <https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00355.html>. * guix/packages.scm (<package>)[replacement]: Mark as "innate". * gnu/packages/base.scm (glibc-2.25-patched, glibc-2.24) (glibc-2.23, glibc-2.22, glibc-2.21, glibc-locales): Remove 'replacement' field, which was set to #f. * gnu/packages/commencement.scm (perl-boot0): Likewise. * gnu/packages/fontutils.scm (graphite2/fixed): Likewise. * gnu/packages/ghostscript.scm (ghostscript/fixed): Likewise. * gnu/packages/gnupg.scm (libgcrypt-1.7.8): Likewise. * gnu/packages/guile.scm (guile-2.0/fixed, guile-2.2): Likewise. * gnu/packages/icu4c.scm (icu4c/fixed): Likewise. * gnu/packages/image.scm (libpng-apng): Likewise. * gnu/packages/make-bootstrap.scm (%guile-static): Likewise. * gnu/packages/pcre.scm (pcre/fixed): Likewise. * gnu/packages/perl.scm (perl/fixed): Likewise. * gnu/packages/ruby.scm (ruby-2.3, ruby-2.2, ruby-2.1) (ruby-1.8): Likewise. * gnu/packages/tls.scm (gnutls-3.5.13, gnutls/guile-2.2): Likewise. * gnu/packages/xml.scm (expat-2.2.1): Likewise. Ludovic Courtès
2017-05-26gnu: Fix another call to cross-gcc....This is a followup to commit 7b3318e34f4e2743254a88b908859901db960e9a. * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc) [native-inputs]: Fix 'cross-gcc' call. * gnu/packages/cross-base.scm: Fix example 'cross-gcc' call in a comment. Mark H Weaver
2017-03-30Merge branch 'master' into core-updates...Most conflicts are from 6fd52309b8f52c9bb59fccffac53e029ce94b698. Marius Bakke
2017-03-30gnu: Use HTTPS for almost all gnu.org HOME-PAGEs....All HTTP gnu.org (and supported subdomain) HOME-PAGEs changed to HTTPS. Tobias Geerinckx-Rice
2017-02-17gnu: %static-inputs: Use 'grep' without custom phase....This reverts commit 1063d325ea76aa2b00dfcd3d436b16e412103df1 for during creation of the bootstrap-binaries. * gnu/packages/make-bootstrap.scm (%static-inputs): Use a custom 'grep' without the absolute path name in fgrep/egrep. Efraim Flashner
2017-01-06Merge branch 'master' into core-updatesLeo Famulari
2017-01-04gnu: gcc: Adjust for PowerPC....* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Add powerpc specific substitutions for dynamic linker and start files locations in 'pre-configure' phase. * gnu/packages/make-bootstrap.scm (%gcc-static)[arguments]: Add "gcc/config/rs6000/sysv4.h" to the list of files in 'remove-lgcc_s' phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Carlos Sánchez de La Lama
2017-01-03gnu: Use hurd-triplet? to check if GNU/Hurd....* gnu/packages/make-bootstrap.scm (hurd-triplet?): Move it from here.. * gnu/packages/hurd.scm: ..to here. New exported procedure. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash) [arguments]: Replace string-match. [inputs]: Same. * gnu/packages/cross-base.scm (cross-libc)[native-inputs]: Same. Manolis Ragkousis
2016-12-07gnu: make-bootstrap: Produce the correct %glibc-bootstrap-tarball for Hurd sy......* gnu/packages/make-bootstrap.scm (%glibc-bootstrap-tarball): Make it a procedure. (%glibc-stripped): Make it a procedure and move the kernel specific part from here to ... * guix/build/make-bootstrap.scm (make-stripped-libc): ... here. New file. * Makefile.am (MODULES): Add it. Manolis Ragkousis
2016-11-06Merge branch 'master' into core-updatesMark H Weaver
2016-11-04gnu: Remove '%final-inputs' references at the top level....Due to circular dependencies, referring to bindings exported by other modules from the top level is frowned upon. This patch addresses one of the remaining cases. * gnu/packages/base.scm (%final-inputs): New procedure. * gnu/packages/cross-base.scm: Remove (gnu packages commencement) import. (cross-gcc): Use the new '%final-inputs'. * gnu/packages/make-bootstrap.scm: Remove (gnu packages commencement) import. (package-with-relocatable-glibc): Use the new '%final-inputs'. Ludovic Courtès
2016-10-23Merge branch 'master' into core-updatesMark H Weaver
2016-10-19gnu: %static-inputs: Use bash from PATH in bootstrap tar....gnu/packages/make-bootstrap.scm (%static-inputs): Use bash from PATH. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Carlos Sánchez de La Lama
2016-10-13gnu: guile: Graft 2.0.13....* gnu/packages/guile.scm (guile-2.0.13): New variable. (guile-2.0)[replacement]: New field. (guile-2.0/fixed)[properties, replacement]: New fields. (guile-next)[replacement]: New field. * gnu/packages/make-bootstrap.scm (%guile-static)[replacement]: New field. Ludovic Courtès
2016-10-13gnu: make-bootstrap: Remove duplicate definition of 'bash-static'....* gnu/packages/make-bootstrap.scm (%bash-static): Remove. (%static-inputs): Use STATIC-BASH instead of %BASH-STATIC. Ludovic Courtès
2016-05-10gnu: glibc: Rename linux-headers input to kernel-headers....* gnu/packages/base.scm (glibc)[propagated-inputs]: Use a kernel agnostic name for the kernel headers. [arguments]: Adjust accordingly. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash) [propagated-inputs]: Adjust accordingly. * gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Adjust accordingly. (cross-gcc)[native-inputs]: Adjust accordingly. * gnu/packages/make-bootstrap.scm (%glibc-stripped)[arguments]: Adjust accordingly. [inputs]: Adjust accordingly. Manolis Ragkousis
2016-04-27gnu: Add missing synopses and descriptions....* gnu/packages/bootstrap.scm (package-from-tarball) (%bootstrap-glibc, %bootstrap-gcc): Set 'description' field. * gnu/packages/make-bootstrap.scm (%bootstrap-tarballs): Set 'synopsis' and 'description'. Ludovic Courtès
2015-09-13Merge branch 'master' into core-updatesLudovic Courtès
2015-09-06gnu: Set license of the bootstrap tools....* gnu/packages/bootstrap.scm (package-from-tarball)[license]: Set to GPL3+. * gnu/packages/make-bootstrap.scm (%static-binaries)[license]: Likewise. Ludovic Courtès
2015-09-06gnu: bash-light: Rename to bash-minimal....* gnu/packages/bash.scm (bash-light): Rename to ... (bash-minimal): ...this. (static-bash): Use it. * gnu/packages/make-bootstrap.scm (%bash-static): Use it. Alex Kost
2015-09-04gnu: make-bootstrap: Remove unneeded configure flag from %gcc-static....With this commit "guix build bootstrap-tarballs --target=i686-pc-gnu" works. * gnu/packages/make-bootstrap.scm (%gcc-static): Remove unneeded --disable-decimal-float. Manolis Ragkousis
2015-09-03Build tarballs with deterministic file ordering....* guix/packages.scm (patch-and-repack)[build], gnu/system/install.scm (self-contained-tarball)[build], gnu/packages/make-bootstrap.scm (tarball-package), gnu/packages/admin.scm (isc-dhcp), gnu/packages/video.scm (avidemux): Pass "--sort=name" to 'tar'. Mark H Weaver
2015-08-29gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases....* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools, plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'. * gnu/packages/check.scm (catch-framework): Likewise. * gnu/packages/code.scm (global): Likewise. * gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools): Likewise. * gnu/packages/engineering.scm (fastcap, fasthenry): Likewise. * gnu/packages/gnuzilla.scm (nss): Likewise. * gnu/packages/guile.scm (guile-minikanren): Likewise. * gnu/packages/java.scm (swt): Likewise. * gnu/packages/make-bootstrap.scm (%static-binaries): Likewise. * gnu/packages/maths.scm (lpsolve): Likewise. * gnu/packages/mp3.scm (mpc123): Likewise. * gnu/packages/ninja.scm (ninja): Likewise. * gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise. * gnu/packages/screen.scm (dtach): Likewise. * gnu/packages/synergy.scm (synergy): Likewise. * gnu/packages/textutils.scm (utf8proc): Likewise. * gnu/packages/version-control.scm (git-test-sequence): Likewise. * gnu/packages/wicd.scm (wicd): Likewise. Ludovic Courtès
2015-07-14gnu: Build tarballs deterministically....* gnu/packages/make-bootstrap.scm (tarball-package)[arguments]: Build tarball deterministically. * gnu/packages/admin.scm (isc-dhcp)[arguments]: In 'post-configure' phase, create bind.tar.gz deterministically. * gnu/packages/video.scm (avidemux)[arguments]: In 'repack-ffmpeg' phase, create ffmpeg-1.2.1.tar.bz2 deterministically. Mark H Weaver
2015-06-26gnu: Refer to 'gcc' instead of 'gcc-4.9'....* gnu/packages/commencement.scm (gcc-boot0, cross-gcc-wrapper, libstdc++, gcc-final): Refer to GCC instead of GCC-4.9. * gnu/packages/cross-base.scm (%xgcc): New variable. (cross-gcc-arguments, cross-gcc): Refer to %XGCC instead of GCC-4.9. * gnu/packages/llvm.scm (clang-from-llvm): Refer to GCC instead of GCC-4.9. * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc, %gcc-static, %gcc-stripped): Likewise. Ludovic Courtès
2015-06-15gnu: make-bootstrap: Build libbacktrace, required by cc1....Fixes <http://hydra.gnu.org/build/506982/nixlog/1/tail-reload>. * gnu/packages/make-bootstrap.scm (%gcc-static): Remove --disable-libbacktrace. It is needed by cc1-checksum. Ludovic Courtès
2015-06-15gnu: make-bootstrap: Update patching of gawk's configure....* gnu/packages/make-bootstrap.scm (%static-inputs)[gawk]: Change "-export-dynamic" to "-Wl,-export-dynamic" to account for current 'configure' file. Ludovic Courtès
2015-06-15gnu: make-bootstrap: Switch to GCC 4.9....* gnu/packages/make-bootstrap.scm: Replace all occurrences of "gcc-4.8" with "gcc-4.9". (%gcc-static): Add --disable-libcilkrts, --disable-libvtv, --disable-libbacktrace. Ludovic Courtès
2015-06-14Merge branch 'master' into core-updates...Conflicts: gnu/packages/commencement.scm gnu/packages/xml.scm Mark H Weaver
2015-06-11packages: Make 'location' field innate....* guix/packages.scm (<package>)[location]: Add 'innate' property. * guix/build-system/gnu.scm (static-package): Remove 'loc' parameter and 'location' field. * gnu/packages/autotools.scm (autoconf-wrapper): Remove 'location' field. * gnu/packages/commencement.scm (gnu-make-boot0, diffutils-boot0, gcc-final): Likewise. * gnu/packages/cross-base.scm (cross): Likewise. * gnu/packages/emacs.scm (emacs-no-x, emacs-no-x-toolkit): Likewise. * gnu/packages/make-bootstrap.scm (tarball-package): Likewise. * gnu/packages/maths.scm (petsc-complex): Likewise. Ludovic Courtès
2015-06-04gnu: linux-libre-headers: Do not retain reference to the bootstrap tools....* gnu/packages/linux.scm (linux-libre-headers)[install-phase]: Remove ".install" files from the output. [arguments]: Add #:allowed-references. Ludovic Courtès
2015-01-07gnu: gcc-static: Remove -lgcc_s from GNU_USER_TARGET_LIB_SPEC....* gnu/packages/make-bootstrap.scm (%gcc-static): Add 'remove-lgcc_s phase. * gnu/packages/gcc.scm (gcc-4.7): Add comment. Mark H Weaver
2014-08-28gnu: Split (gnu packages base), adding (gnu packages commencement)....* gnu/packages/base.scm (gnu-make-boot0, diffutils-boot0, findutils-boot0, %boot0-inputs, nix-system->gnu-triplet, boot-triplet, binutils-boot0, gcc-boot0, perl-boot0, linux-libre-headers-boot0, texinfo-boot0, %boot1-inputs, glibc-final-with-bootstrap-bash, cross-gcc-wrapper, static-bash-for-glibc, glibc-final, gcc-boot0-wrapped, %boot2-inputs, binutils-final, libstdc++, gcc-final, ld-wrapper-boot3, %boot3-inputs, bash-final, %boot4-inputs, guile-final, gnu-make-final, ld-wrapper, coreutils-final, grep-final, %boot5-inputs, %final-inputs, canonical-package, gcc-toolchain, gcc-toolchain-4.8, gcc-toolchain-4.9): Move to... * gnu/packages/commencement.scm: ... here. New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * build-aux/check-final-inputs-self-contained.scm: Adjust accordingly. * gnu/packages/cross-base.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * guix/build-system/cmake.scm (cmake-build): Likewise. * guix/build-system/gnu.scm (standard-packages, gnu-build, gnu-cross-build): Likewise. * guix/build-system/perl.scm (perl-build): Likewise. * guix/build-system/python.scm (python-build): Likewise. * guix/build-system/trivial.scm (guile-for-build): Likewise. * guix/download.scm (url-fetch): Likewise. * guix/gexp.scm (default-guile): Likewise. * guix/git-download.scm (git-fetch): Likewise. * guix/monads.scm (run-with-store): Likewise. * guix/packages.scm (default-guile): Likewise. * guix/scripts/package.scm (guix-package): Likewise. * guix/scripts/refresh.scm: Likewise. * guix/svn-download.scm (svn-fetch): Likewise. * tests/builders.scm (%bootstrap-inputs, %bootstrap-search-paths): Likewise. * tests/packages.scm ("GNU Make, bootstrap"): Likewise. * tests/guix-package.sh: Likewise. * gnu/services/base.scm: Use 'canonical-package' instead of xxx-final. * gnu/services/xorg.scm: Likewise. * gnu/system/vm.scm: Likewise. * guix/scripts/pull.scm (guix-pull): Likewise. Ludovic Courtès
2014-06-14gnu: make-bootstrap: Make sure %gcc-stripped binaries are usable....* gnu/packages/make-bootstrap.scm (%gcc-stripped): When (%current-target-system) is false, run gcc, g++, and cpp with --version. Ludovic Courtès
2014-06-14gnu: make-bootstrap: Build %gcc-static with --disable-lto....* gnu/packages/make-bootstrap.scm (%gcc-static): Pass --disable-lto. Ludovic Courtès
2014-06-13gnu: make-bootstrap: Build libstdc++ in '%gcc-static'....* gnu/packages/make-bootstrap.scm (%gcc-static): Re-enable C++. Ludovic Courtès
2014-06-13gnu: make-bootstrap: Use single-output GCCs....* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[native-inputs]: Add 'outputs' field for the rewritten GCC. (%gcc-stripped): Add 'outputs' field. Ludovic Courtès
2014-06-12gnu: make-bootstrap: Fix compilation of %gcc-static....* gnu/packages/make-bootstrap.scm (%gcc-static)[arguments] <#:configure-flags>: Add --disable-bootstrap --with-stage1-ldflags=-static. Remove #:make-flags. Ludovic Courtès
2014-06-09gnu: gcc: Add a "lib" output....* gnu/packages/gcc.scm (gcc-4.7)[configure-flags]: Add --with-gxx-include-dir. [outputs]: New field. [arguments] <phases>: Adjust to use the "lib" output. Add 'substitute*' calls for "libstdc++-v3/python/Makefile.in" and "gcc/config.in". * gnu/packages/base.scm (gcc-boot0) <symlink-libgcc_eh>: Use the "lib" output. (cross-gcc-wrapper): Add 'outputs' field. (glibc-final)[arguments]: Adjust #:allowed-references to list '(GCC-BOOT0 "lib"). (libstdc++): Add 'outputs' field. (gcc-final)[arguments]: Add "lib" to #:allowed-references. * gnu/packages/make-bootstrap.scm (%gcc-static): Add 'outputs' field. Ludovic Courtès
2014-05-06gnu: make-bootstrap: Add missing export....* gnu/packages/make-bootstrap.scm: Export '%guile-static-stripped'. The problem was hidden because of <http://bugs.gnu.org/17418>. Ludovic Courtès
2013-12-17gnu: gnu-build-system: Add CC_FOR_BUILD to configure flags....* guix/build/gnu-build-system.scm: Add new configure flag: CC_FOR_BUILD=gcc * gnu/packages/gnupg.scm, gnu/packages/guile.scm, gnu/packages/make-bootstrap.scm: remove CC_FOR_BUILD from these package descriptions. Signed-off-by: Ludovic Courtès <ludo@gnu.org> John Darrington
2013-11-23gnu: make-bootstrap: Add missing inputs for Canadian cross of '%gcc-static'....* gnu/packages/make-bootstrap.scm (%gcc-static): Add 'native-inputs' field. Ludovic Courtès
2013-11-20gnu: make-bootstrap: Simplify '%gcc-static'....* gnu/packages/make-bootstrap.scm (%gcc-static): Add a bunch of --disable configure flags. Remove useless 'inputs' field. Ludovic Courtès
2013-11-03gnu: make-bootstrap: Build libc and Guile without a .gnu_debuglink....* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap, %guile-static): Add 'outputs' field. Ludovic Courtès
2013-11-02gnu: make-bootstrap: Allow bit-reproducibility for 'glibc-stripped'....* gnu/packages/make-bootstrap.scm (%glibc-stripped): Remove '.install' and '..install.cmd' files. Ludovic Courtès