Commit c6d33a9 provided an incorrect fix, whereby the "linux-headers" key
would be used twice in %BUILD-INPUTS and the 'set-cross-path' phase would
refer to the first one of them, which happened to be the native headers, and
not the target headers. This patch solves the problem by removing the
ambiguity.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[set-cross-path]: Remove to
"xlinux-headers" instead of "linux-headers".
(cross-gcc): When LIBC is true, add explicit "xlinux-headers" input, taken
from LIBC's propagated inputs.
This is a followup to 47f315a.
* gnu/packages/patches/ninja-zero-mtime.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/ninja.scm (ninja)[source]: Reinstate 'patches' field and add
this patch.
[arguments]: Remove 'apply-ninja-tests.patch' phase.
This is a followup to 161094c, which gets rid of the "a/b" notation for
propagated inputs.
* gnu/packages/version-control.scm (package-transitive-propagated-labels*):
Do not prepend the package name to its input label.
(package-propagated-input-refs): Delete duplicate labels.
(git)[arguments]: Adjust wrapping of git-send-email accordingly.
Removing the 'snippet' allows us to avoid 'patch-and-repack', which resets all
the mtimes, thereby breaking the expectation tested in
'test-is-public-builtin.c' that the mtime returned by 'psl_builtin_file_time'
is non-zero.
* gnu/packages/web.scm (libpsl): Update to 0.7.1.
[source]: Remove 'modules' and 'snippet'.
[native-inputs]: Add PKG-CONFIG.
The added patch from upstream didn't help, nor did downgrading to SQLite
3.8.9. Thus, shamelessly skip the offending test.
* gnu/packages/patches/subversion-sqlite-3.8.9-fix.patch: Add one hunk to skip
the faulty test, and another one from upstream.
* gnu/packages/tls.scm (perl-net-ssleay)[source]: Move patch to ...
[native-inputs]: ... here, and also add the 'patch' program.
[arguments]: Use 'modify-phases'. Add 'apply-patch' phase. Return
boolean result from 'set-ssl-prefix' phase.
* gnu/packages/python.scm (python-2)[arguments]: Use 'modify-phases'. Return
true from phases where needed. Add 'set-source-file-times-to-1980' phase.
Add (ice-9 ftw) to #:modules.
* gnu/packages/ccache.scm (ccache): Update to 3.2.2.
[arguments]: Rename 'patch-test-shebangs phase to 'setup-tests. Set the
SHELL environment variable.
* emacs/guix-info.el (guix-package-info-fill-heading): New variable.
(guix-package-info-insert-heading): Fill heading if needed.
Co-authored-by: Alex Kost <alezost@gmail.com>
This is a followup to 161094c, which gets rid of the "a/b" notation for
propagated inputs.
* gnu/packages/cross-base.scm (cross-gcc-arguments): Change reference from
"libc/linux-headers" to "linux-headers".
* gnu/packages/emacs.scm (magit-svn): Change "magit/git-modes" to
"git-modes".
Fixes <http://bugs.gnu.org/19778>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/system/file-systems.scm (%uuid-rx): New variable.
(string->uuid): New procedure.
(uuid): New macro.
* tests/file-systems.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
* doc/guix.texi (File Systems): Give an example of UUID.
* gnu/build/file-systems.scm (read-ext2-superblock*, partition-predicate): New
procedures.
(partition-label-predicate): Rewrite in terms of 'partition-predicate'.
(partition-uuid-predicate, find-partition-by-uuid, uuid->string): New
procedures.
(%network-byte-order): New macro.
(canonicalize-device-spec)[canonical-title]: Check whether SPEC is a string.
[resolve]: New procedure.
Add 'uuid' case and use it.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/ssh.scm (corkscrew)[arguments]: In custom configure phase,
accept 'build' keyword argument and pass it to configure in --build argument
and, if not cross-compiling, the --host argument. Previously, the nix
system string was passed.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/video.scm (liba52)[arguments]: Remove --build from configure
flags.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/linux.scm (sysfsutils-1)[arguments]: Remove field.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Remove field.
This is a followup to commit 3c7d023d64,
"build-system/gnu: Pass --build=<triplet> to configure by default"
* gnu/packages/multiprecision.scm (gmp)[arguments]: Remove field.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Accept #:build
keyword argument. Pass it to 'gnu-build' on the build side.
* guix/build/gnu-build-system.scm (configure): Accept #:build keyword
argument. Unless it is false, pass --build to configure.
* gnu/packages/patches/boost-mips-avoid-m32.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/boost.scm (boost): Use it.