summaryrefslogtreecommitdiff
path: root/gnu/packages/commencement.scm
AgeCommit message (Expand)Author
2016-03-16gnu: Fix definitions of gcc-toolchain-4.8 and gcc-toolchain-4.9....* gnu/packages/commencement.scm (gcc-toolchain-4.8): Use gcc-4.8, not gcc-final. (gcc-toolchain-4.9): Use gcc-final, not gcc-4.9. * gnu/packages/gcc.scm (gcc): Add reminder comment for the future. Mark H Weaver
2016-03-03gnu: perl: Replace with patched version [fixes CVE-2016-2381]....* gnu/packages/patches/perl-CVE-2016-2381.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/perl.scm (perl)[replacement]: New field. (perl-fixed): New variable. * gnu/packages/commencement.scm (perl-boot0)[replacement]: New field. Leo Famulari
2016-01-13Merge branch 'master' into core-updatesLudovic Courtès
2016-01-06build-system/gnu: Make 'package-with-explicit-inputs' idempotent....* guix/build-system/gnu.scm (package-with-explicit-inputs): Use 'ensure-keyword-arguments' instead of appending to ARGS. * gnu/packages/commencement.scm (static-bash-for-glibc): Add missing #:guile argument. Ludovic Courtès
2015-12-19gnu: commencement: Build Bison deterministically....Before that entries in liby.a would contain the build time. * gnu/packages/commencement.scm (bison-boot1): Add #:make-flags. Ludovic Courtès
2015-12-18gnu: commencement: Build the final Bash with "bison-boot1"....This removes a round of Bison + Flex + M4 + Perl rebuild. * gnu/packages/commencement.scm (bash-final): Add 'native-inputs' field pointing to BISON-BOOT1. Ludovic Courtès
2015-12-18gnu: commencement: Avoid redundant Perl rebuild....This removes a redundant (yet different) "perl-boot0" node from the early derivation graph. * gnu/packages/commencement.scm (bison-boot1): Move 'native-inputs' field to the final package. Previously PERL-BOOT0 got rebuilt with %BOOT0-INPUTS, leading to a different derivation. (static-bash-for-glibc): Likewise. Ludovic Courtès
2015-12-18gnu: commencement: Add "-boot0" to early packages....* gnu/packages/commencement.scm (diffutils-boot0)[name]: New field. * gnu/packages/commencement.scm (findutils-boot0, file-boot0, perl-boot0): Change 'name' field to include "-boot0". Ludovic Courtès
2015-12-18gnu: commencement: Use GMP 6.0.0a for bootstrapping....* gnu/packages/multiprecision.scm (gmp-6.0): New variable. * gnu/packages/commencement.scm (gcc-boot0, gcc-final): Use it. * gnu/packages/patches/gmp-arm-asm-nothumb.patch: New file, reinstated from before e414a7d. * gnu-system.am (dist_patch_DATA): Add it. Ludovic Courtès
2015-12-15gnu: grep: Add missing dependency on Perl....* gnu/packages/base.scm (grep)[native-inputs]: New field. * gnu/packages/commencement.scm (grep-final): Likewise. Ludovic Courtès
2015-12-13gnu: commencement: Initial Texinfo uses initial Perl....* gnu/packages/commencement.scm (texinfo-boot0)[inputs]: Use PERL-BOOT0. Ludovic Courtès
2015-12-13gnu: perl: Update to 5.22.0....* gnu/packages/perl.scm (perl)[source]: Update to 5.22.0. Remove "perl-module-pluggable-search.patch" since Module::Pluggable appears to be gone. [arguments] <configure-phase>: Adjust Cwd.pm file name. Replace -std=c89 with -std=gnu89. * gnu/packages/commencement.scm (perl-boot0): Add 'disable-pthreads' phase. * gnu/packages/patches/perl-no-sys-dirs.patch: Update. * gnu/packages/patches/perl-module-pluggable-search.patch: Remove. * gnu-system.am (dist_patch_DATA): Adjust accordingly. Ludovic Courtès
2015-12-11gnu: gcc: Use the system zlib....* gnu/packages/gcc.scm (gcc-4.7) <configure-flags>: Pass '--with-system-zlib'. * gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove '--with-system-zlib' from the configure flags. * gnu/packages/commencement.scm (zlib-final): New variable. (gcc-final)[arguments]: Add ZLIB-FINAL to #:allowed-references. Pass -L and -Wl,-rpath for zlib in LDFLAGS, as a configure flag. [inputs]: Add LD-WRAPPER-BOOT3 and ZLIB-FINAL. Ludovic Courtès
2015-12-11gnu: gcc-final: Remove unnecessary CPPFLAGS....* gnu/packages/commencement.scm (gcc-final)[arguments]: Remove unnecessary CPPFLAGS from #:make-flags. Ludovic Courtès
2015-12-10gnu: commencement: Restrict allowed references for libstdc++....* gnu/packages/commencement.scm (libstdc++)[arguments]: Add #:allowed-references. Ludovic Courtès
2015-10-04gnu: commencement: Remove the tricky locale compatibility handling....This is made unnecessary by the use of 'GUIX_LOCPATH'. * gnu/packages/commencement.scm (locale-proof-package): Remove. (%boot5-inputs): Add on GLIBC-UTF8-LOCALES-FINAL. This reverts parts of commit 28cbc58. * gnu/packages/gawk.scm (gawk): Set 'GUIX_LOCPATH' instead of 'LOCPATH'. Ludovic Courtès
2015-09-15gnu: gcc-toolchain: Don't try to delete OUT/bin/sh, which no longer exists....* gnu/packages/commencement.scm (gcc-toolchain)[arguments]: Remove code that deletes OUT/bin/sh and OUT/bin/bash, since those files no longer exist in our libc package. Mark H Weaver
2015-09-06gnu: coreutils-light: Rename to coreutils-minimal....* gnu/packages/base.scm (coreutils-light): Rename to ... (coreutils-minimal): ...this. * gnu/packages/commencement.scm (%boot5-inputs): Use it. Alex Kost
2015-09-02gnu: glibc: Upgrade to 2.22....* gnu/packages/base.scm (glibc): Upgrade to 2.22. (coreutils-light): New variable. * gnu/packages/commencement.scm (locale-proof-package): New procedure. (%boot5-inputs): Add LD-WRAPPER, BINUTILS-FINAL, BASH-FINAL, GNU-MAKE, DIFFUTILS, FINDUTILS, COREUTILS-LIGHT (pass through 'new-libc-package'), and %BOOTSTRAP-COREUTILS&CO (passed through 'locale-proof-package'.) Ludovic Courtès
2015-08-29gnu: glibc: Do not copy static Bash binary to bin/....This avoids problems when installing 'glibc' in a profile, where glibc's limited 'bash' would take precedence over the valid 'bash'. * gnu/packages/base.scm (glibc)[arguments]: Do not copy STATIC-BASH to OUT/bin. Instead, simply refer to it directly. [inputs]: Use STATIC-BASH instead of BASH-LIGHT. * gnu/packages/commencement.scm (static-bash-for-glibc): Likewise. (glibc-final)[arguments]: Add STATIC-BASH-FOR-GLIBC to #:allowed-references. (gcc-final)[arguments]: Likewise. [native-inputs]: Add "static-bash". Ludovic Courtès
2015-07-19gnu: gcc-5.1, gcc-toolchain-5.1, libstdc++-doc-5.1: Rename to *-5....This reflects the new version numbering scheme for GCC 5 and up. See <https://gcc.gnu.org/develop.html>. * gnu/packages/gcc.scm (gcc-5.1): Rename to ... (gcc-5): ... this. (libstdc++-doc-5.1): Rename to ... (libstdc++-doc-5): ... this, and use gcc-5. * gnu/packages/commencement.scm (gcc-toolchain-5.1): Rename to ... (gcc-toolchain-5): ... this, and use gcc-5. * build-aux/hydra/gnu-system.scm (%core-packages): Use gcc-5. Mark H Weaver
2015-07-11gnu: texinfo: Add procps to native-inputs to fix tests....* gnu/packages/texinfo.scm (texinfo)[native-inputs]: Add procps. (texinfo-5, texinfo-4)[native-inputs]: Override to be empty. * gnu/packages/commencement.scm (texinfo-boot0)[texinfo]: Override native-inputs to be empty. 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-22gnu: commencement: Make a few variables private....This removes ambiguity warnings when installing these packages. * gnu/packages/commencement.scm (glibc-final, gcc-final, glibc-utf8-locales-final): Make private. Ludovic Courtès
2015-06-21Merge branch 'master' into core-updatesMark H Weaver
2015-06-19gnu: Add libstdc++ as a standalone package....* gnu/packages/gcc.scm (make-libstdc++): New procedure. (libstdc++-4.9): New variable. * gnu/packages/commencement.scm (libstdc++): Add TODO comment. 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-10Merge branch 'master' into core-updatesMark H Weaver
2015-06-10gnu: commencement: Remove "debug" output of GCC-FINAL....Fixes a regression introduced in 9063ef0. * gnu/packages/commencement.scm (gcc-final)[outputs]: New field. Ludovic Courtès
2015-06-08gnu: commencement: Use our Binutils as soon as possible....* gnu/packages/commencement.scm (binutils-boot0)[arguments]: Add 'add-symlinks' phase. Mark H Weaver
2015-06-04gnu: Switch to GCC 4.9 as the default compiler....* gnu/packages/commencement.scm: Replace all occurrences of "gcc-4.8" with "gcc-4.9". (gcc-boot0)[arguments]: Add --disable-libcilkrts --disable-libvtv. Ludovic Courtès
2015-05-18gnu: gcc-toolchain: Remove 'bin/sh' and 'bin/bash'....* gnu/packages/commencement.scm (gcc-toolchain)[arguments] <#:builder>: Delete 'bin/sh' and 'bin/bash'. Ludovic Courtès
2015-04-26Merge branch 'master' into core-updates.Andreas Enge
2015-04-23gnu: Add gcc-5.1.0 and gcc-toolchain-5.1.0....* gnu/packages/gcc.scm (gcc-5.1): New variable. * gnu/packages/commencement.scm (gcc-toolchain-5.1): New variable. Mark H Weaver
2015-04-23gnu: gcc: Do not always disable RUNPATH validation....* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Remove explicit #:validate-runpath? #f. * gnu/packages/commencement.scm (gcc-boot0)[arguments]: Remove case for #:validate-runpath?. (gcc-final)[arguments]: Add literal #:validate-runpath? #f. * gnu/packages/cross-base.scm (cross-gcc-arguments): Remove case for #:validate-runpath?. Ludovic Courtès
2015-04-23gnu: commencement: Remove unneeded configure flag for bootstrap gettext....* gnu/packages/commencement.scm (gettext-boot0): Remove unneeded --disable-threads. Ludovic Courtès
2015-04-21gnu: glibc: Add dependency on Gettext, to install the message catalogs....This fixes a bug whereby the libc.mo files were not installed, and thus translations of libc's messages were not available. * gnu/packages/commencement.scm (gettext-boot0): New variable. (glibc-final)[native-inputs]: New field. * gnu/packages/base.scm (glibc)[native-inputs]: Add GNU-GETTEXT. Ludovic Courtès
2015-04-21gnu: Rename ld-wrapper2 to ld-wrapper....* gnu/packages/ld-wrapper2.in: Rename to... * gnu/packages/ld-wrapper.in: ... this. * gnu-system.am (MISC_DISTRO_FILES): Remove ld-wrapper2.in. * gnu/packages/commencement.scm (fixed-ld-wrapper): Remove. (gcc-toolchain): Restore pre-77db91ad inputs. Ludovic Courtès
2015-04-16gnu: Add second ld-wrapper to work around readlink dereferencing bug....Suggested by Mark H Weaver. * gnu/packages/ld-wrapper2.in: New file. * gnu-system.am (MISC_DISTRO_FILES): Add it. * gnu/packages/commencement.scm (fixed-ld-wrapper): New procedure. Ludovic Courtès
2015-04-08Merge branch 'master' into core-updates宋文武
2015-04-07gnu: gcc: Disable RUNPATH validation for native builds....* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Pass #:validate-runpath? #f. * gnu/packages/commencement.scm (gcc-boot0)[arguments]: Override #:validate-runpath? with 'substitute-keyword-arguments'. (gcc-final)[arguments]: Likewise. * gnu/packages/cross-base.scm (cross-gcc-arguments): Likewise. Ludovic Courtès
2015-04-05Remove unused module import (gnu packages ed) from (gnu packages commencement)....* gnu/packages/commencement.scm: Remove (gnu packages ed) module import. Mark H Weaver
2015-04-03gnu: Add 'make-ld-wrapper' procedure....* gnu/packages/base.scm (make-ld-wrapper): New procedure. Abstracted from... * gnu/packages/commencement.scm (ld-wrapper-boot3): ... here. Use it. Ludovic Courtès
2015-04-02gnu: commencement: Turn off RUNPATH checks for 'gcc-final'....* gnu/packages/commencement.scm (gcc-final)[arguments]: Add #:validate-runpath? #f. Ludovic Courtès
2015-03-21gnu: Use 'glibc-utf8-locales-final' in the default patching inputs....* gnu/packages/commencement.scm (glibc-utf8-locales-final): Make public. * guix/packages.scm (%standard-patch-inputs): Use GLIBC-UTF8-LOCALES-FINAL instead of GLIBC-UTF8-LOCALES. Ludovic Courtès
2015-03-01gnu: commencement: Make UTF-8 locales available right after 'guile-final'....In <http://hydra.gnu.org/build/263170>, we see: 153: 12 [patch-usr-bin-file #:native-inputs #f ...] [...] ?: 1 [regexp-exec # ...] In ice-9/boot-9.scm: 106: 0 [#<procedure 1998ec0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> encoding-error ...] ice-9/boot-9.scm:106:20: In procedure #<procedure 1998ec0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>: ice-9/boot-9.scm:106:20: Throw to key `encoding-error' with args `("scm_to_stringn" "cannot convert narrow string to output locale" 84 #f #f)'. This is due to that fact that 'patch-/usr/bin/file' read a line containing a byte sequence with bytes > 127 (namely a copyright sign.) But this build was running with a C locale, and so those bytes cannot be represented in that locale, hence this error. This commit makes the UTF-8 locales available earlier such that everything can be represented in locale encoding. * gnu/packages/commencement.scm (glibc-utf8-locales-final): Move earlier; change "gzip" input to GZIP built with %BOOT4-INPUTS. (%boot5-inputs): Define to %BOOT4-INPUTS plus GLIBC-UTF8-LOCALES-FINAL. (gnu-make-final, coreutils-final, grep-final): Use it instead of %BOOT4-INPUTS. (gzip-final): Remove. (%boot6-inputs): New variable. (%final-inputs): Use it instead of %BOOT5-INPUTS. Don't rely on GZIP-FINAL. Ludovic Courtès
2015-02-26gnu: Add glibc-utf8-locales to the implicit inputs....Suggested by Mark H Weaver and Andreas Enge at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00356.html>. * gnu/packages/commencement.scm (gzip-final, glibc-utf8-locales-final): New variables. (%final-inputs): Use them. Ludovic Courtès
2015-01-07gnu: gmp: Apply fixes for armhf....* gnu/packages/patches/gmp-arm-asm-nothumb.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/multiprecision.scm (gmp): Add patch. Include --build triplet in configure args when building natively. * gnu/packages/commencement.scm (gcc-final): Use bootstrap guile to build gmp-source. Mark H Weaver
2015-01-07Move 'nix-system->gnu-triplet' to (guix utils) and export it....* gnu/packages/commencement.scm (nix-system->gnu-triplet): Move to... * guix/utils.scm (nix-system->gnu-triplet): ... here. Fix docstring typo. Mark H Weaver