Commit graph

87867 commits

Author SHA1 Message Date
Ricardo Wurmus
e80093153a
gnu: Add rust-spirv-types-0.4.
* gnu/packages/crates-io.scm (rust-spirv-types-0.4): New variable.
2021-11-11 15:39:12 +00:00
Ricardo Wurmus
bcbd0fc8da
gnu: Add rust-simba-0.4.
* gnu/packages/crates-io.scm (rust-simba-0.4): New variable.
2021-11-11 15:39:12 +00:00
Ricardo Wurmus
2f06d1bb51
gnu: Add rust-rand-isaac-0.3.
* gnu/packages/crates-io.scm (rust-rand-isaac-0.3): New variable.
2021-11-11 15:39:12 +00:00
Ricardo Wurmus
e182b691ea
gnu: rust-heck-0.3: Update to 0.3.2.
* gnu/packages/crates-io.scm (rust-heck-0.3): Update to 0.3.2.
2021-11-11 15:39:12 +00:00
Ricardo Wurmus
d29fa445e5
gnu: Add rust-bytemuck-1.5.
* gnu/packages/crates-io.scm (rust-bytemuck-1.5): New variable.
2021-11-11 15:39:11 +00:00
Ricardo Wurmus
c7ffcdea70
gnu: Add rust-rand-distr-0.4.
* gnu/packages/crates-io.scm (rust-rand-distr-0.4): New variable.
2021-11-11 15:39:11 +00:00
Ricardo Wurmus
0cd5039345
gnu: Add rust-special-0.8.
* gnu/packages/crates-io.scm (rust-special-0.8): New variable.
2021-11-11 15:39:11 +00:00
Ricardo Wurmus
935d53537c
gnu: Add rust-random-0.12.
* gnu/packages/crates-io.scm (rust-random-0.12): New variable.
2021-11-11 15:39:11 +00:00
Ricardo Wurmus
8be33436db
gnu: Add rust-assert-0.7.
* gnu/packages/crates-io.scm (rust-assert-0.7): New variable.
2021-11-11 15:39:11 +00:00
Ricardo Wurmus
458b1c22bf
gnu: Add rust-rand-pcg-0.3.
* gnu/packages/crates-io.scm (rust-rand-pcg-0.3): New variable.
2021-11-11 15:39:11 +00:00
Ricardo Wurmus
88319040c1
gnu: Add rust-average-0.13.
* gnu/packages/crates-io.scm (rust-average-0.13): New variable.
2021-11-11 15:39:10 +00:00
Ricardo Wurmus
de772f8bf4
gnu: Add rust-easy-cast-0.4.
* gnu/packages/crates-io.scm (rust-easy-cast-0.4): New variable.
2021-11-11 15:39:10 +00:00
Ricardo Wurmus
e326a4fbe3
gnu: Add rust-float-ord-0.3.
* gnu/packages/crates-io.scm (rust-float-ord-0.3): New variable.
2021-11-11 15:39:10 +00:00
Ricardo Wurmus
bb8a0af292
gnu: Add rust-serde-big-array-0.3.
* gnu/packages/crates-io.scm (rust-serde-big-array-0.3): New variable.
2021-11-11 15:39:10 +00:00
Ricardo Wurmus
87a1ca383a
gnu: Add rust-rand-xoshiro-0.6.
* gnu/packages/crates-io.scm (rust-rand-xoshiro-0.6): New variable.
2021-11-11 15:39:10 +00:00
Ricardo Wurmus
d487e12576
gnu: Add rust-rkyv-0.6.
* gnu/packages/crates-io.scm (rust-rkyv-0.6): New variable.
2021-11-11 15:39:09 +00:00
Ricardo Wurmus
5b6a550690
gnu: Add rust-bytecheck-0.5.
* gnu/packages/crates-io.scm (rust-bytecheck-0.5): New variable.
2021-11-11 15:39:09 +00:00
Ricardo Wurmus
11fb842ae9
gnu: Add rust-ptr-meta-0.1.
* gnu/packages/crates-io.scm (rust-ptr-meta-0.1): New variable.
2021-11-11 15:39:09 +00:00
Ricardo Wurmus
574647b855
gnu: Add rust-ptr-meta-derive-0.1.
* gnu/packages/crates-io.scm (rust-ptr-meta-derive-0.1): New variable.
2021-11-11 15:39:09 +00:00
Ricardo Wurmus
8ef352a773
gnu: Add rust-bytecheck-derive-0.5.
* gnu/packages/crates-io.scm (rust-bytecheck-derive-0.5): New variable.
2021-11-11 15:39:09 +00:00
Ricardo Wurmus
97ead3fbf3
gnu: Add rust-simba-0.5.
* gnu/packages/crates-io.scm (rust-simba-0.5): New variable.
2021-11-11 15:39:09 +00:00
Ricardo Wurmus
723ff70e21
gnu: Add rust-approx-0.5.
* gnu/packages/crates-io.scm (rust-approx-0.5): New variable.
2021-11-11 15:39:08 +00:00
Ricardo Wurmus
1a3f3879b3
gnu: Add rust-wide-0.6.
* gnu/packages/crates-io.scm (rust-wide-0.6): New variable.
2021-11-11 15:39:08 +00:00
Ricardo Wurmus
40cf0ddc29
gnu: Add rust-triple-accel-0.4.
* gnu/packages/crates-io.scm (rust-triple-accel-0.4): New variable.
2021-11-11 15:39:08 +00:00
Ricardo Wurmus
f2cbee9238
gnu: Add rust-seahash-4.
* gnu/packages/crates-io.scm (rust-seahash-4): New variable.
2021-11-11 15:39:08 +00:00
Ricardo Wurmus
3cd3703b36
gnu: Add rust-rkyv-derive-0.6.
* gnu/packages/crates-io.scm (rust-rkyv-derive-0.6): New variable.
2021-11-11 15:39:08 +00:00
Ricardo Wurmus
f20e0f6ba7
gnu: Add rust-safe-arch-0.5.
* gnu/packages/crates-io.scm (rust-safe-arch-0.5): New variable.
2021-11-11 15:39:08 +00:00
Maxim Cournoyer
6d7a0b84e2
gnu: glade3: Remove sitecustomize.py workaround.
The issue has since been resolved.

* gnu/packages/gnome.scm (glade3)[phases]{fix-tests}: Delete phase.
2021-11-11 10:31:33 -05:00
Maxim Cournoyer
874188c0ab
aux-files: sitecustomize: Cleanup and add explanatory comments.
Fixes <https://issues.guix.gnu.org/50105>.

* gnu/packages/aux-files/python/sitecustomize.py: Add a comment explaining the
general idea, and use sys.prefix instead of sys.executable.

(major_minor): Use the unpacking operator (*) to provide the arguments.
(site_packages_prefix): Use os.path.join to form the path.
(python_site): Likewise.  Use sys.prefix instead of sys.executable.
(all_sites_raw): Split on os.path.pathsep.
(sys.path): Directly splice the result in the list.

Suggested-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
Reported-by: Mathieu Othacehe <othacehe@gnu.org>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
ac4417328d
guix: packages: Fix repacking of plain tarballs.
Fixes <https://issues.guix.gnu.org/50066>.

* guix/packages.scm (patch-and-repack): Test for a tarball using tarball? and
move the plain file copy to the else clause.

Reported-by: Mathieu Othacehe <othacehe@gnu.org>
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
8a613f9d4e
gnu: gdb: Normalize indentation.
* gnu/packages/gdb.scm (gdb-10): Fix indentation and remove extraneous
newlines.  Remove trailing #t.
(gdb-minimal): Fix indentation.
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
41f058d10d
gnu: gdb: Patch references to /bin/sh and add debug output.
* gnu/packages/gdb.scm (gdb-10)[outputs]: Add a debug output.
[phases]{patch-paths}: New phase.
[inputs]: Add bash.
(gdb-9.2)[phases]{patch-paths}: Override phase.
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
472da854f1
gnu: Add ld-gold-wrapper.
* gnu/packages/commencement.scm (ld-gold-wrapper): New variable.
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
8b1dfc144b
gnu: make-ld-wrapper: Add a LINKER argument.
This allows creating wrappers for other linkers than "ld", such as "ld.gold".

* gnu/packages/base.scm (make-ld-wrapper): New variable.
[linker]: New argument.  Update doc.
<ld>: Use LINKER to derive the linker source.
2021-11-11 10:31:31 -05:00
Thiago Jung Bauermann
b04a20f77f
gnu: gcc-5: Fix powerpc64le-linux build
GCC 5 has a misaligned access to a vector pointer which causes a build failure
when using GCC 8 and later.  Backport upstream fix that was applied on the GCC
6 branch.

* gnu/packages/gcc.scm (gcc-5)[source]: Apply
gcc-5-fix-powerpc64le-build.patch.
* gnu/packages/patches/gcc-5-fix-powerpc64le-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:31 -05:00
Sarah Morgensen
460d6aca0c
gnu: curl: Honor #:tests?.
* gnu/packages/curl.scm (curl)[phases]{check}: Honor #:tests?.
2021-11-11 10:31:31 -05:00
Brendan Tildesley
3dfe45c3f1
build: qt-utils: Don't wrap .X-real files.
* guix/build/qt-utils.scm (find-files-to-wrap): Exclude already wrapped
programs.  This is forbidden in wrap-program now due to a738a663a9.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:31 -05:00
Thiago Jung Bauermann
57fd6d511c
gnu: diffutils: Update to 3.8.
‘coreutils-gnulib-tests.patch’ is applied in the gnulib version shipped
with 3.8.

* gnu/packages/base.scm (diffutils): Update to 3.8.
[source]: Do not apply coreutils-gnulib-tests.patch.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Thiago Jung Bauermann
f234f5b0e1
gnu: diffutils: Fix signal processing.
diffutils has a race condition in its signal processing code which is easy to
trigger on powerpc64le-linux.  More often than not, it causes the ‘colors’
test to fail and therefore the build of the package fails as well.

Add the patch proposed in Debian bug 922552 which fixes the problem.

* gnu/packages/patches/diffutils-fix-signal-processing.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (diffutils)[source]: Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Thiago Jung Bauermann
4b4e35a771
gnu: gtk+-2: Fix ‘builder’ test.
The signal callbacks in the ‘builder’ testcase have wrong prototypes.
This causes it to fail the “/Builder/Signal Autoconnect” test on
powerpc64le-linux.

Solve the problem by backporting the upstream fix that was applied to
GTK+ 3.0.

* gnu/packages/patches/gtk2-fix-builder-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (gtk+-2): Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Leo Famulari
af8b03b4e2
gnu: tzdata: Update to 2021e.
* gnu/packages/base.scm (tzdata, tzdata-for-tests): Update to 2021e.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Ludovic Courtès
8c801194b5
gnu: glibc: Look for the current timezone in /etc/localtime.
Fixes <https://issues.guix.gnu.org/50830>.
Reported by podiki on #guix.

Previously, glibc 2.33 would look for
/gnu/store/...-glibc-2.33/etc/localtime instead of /etc/localtime.

* gnu/packages/base.scm (glibc)[arguments]: Remove #:make-flags.
[phases]: In 'pre-configure', modify 'inet/Makefile' instead of
'sunrpc/Makefile' since this is where these bits are in 2.33.
(glibc-2.31)[arguments]: Add 'set-etc-rpc-installation-directory'
phase.
(glibc-2.30): Inherit from GLIBC-2.31.
* gnu/tests/base.scm (run-basic-test)["libc honors /etc/localtime"]: New
test.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:29 -05:00
Ludovic Courtès
24e5cf5184
gnu: glibc: Remove unneeded nscd patching.
This change had no effect already in glibc 2.29, which has proper
versioning.

* gnu/packages/base.scm (glibc)[arguments]: Remove obsolete
'nscd/nscd_stat.c' 'substitute*' statement.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:29 -05:00
Maxim Cournoyer
8b11b4a829
gnu: python-keras: Skip a flaky test.
* gnu/packages/machine-learning.scm (python-keras)
[phases]{check}: Also skip the test_stateful_metrics test.
2021-11-11 10:31:29 -05:00
Brice Waegeneire
7b38a96829
bluez: Update to 5.61.
* gnu/packages/linux.scm (bluez): Update to 5.61.
2021-11-11 10:31:29 -05:00
Maxim Cournoyer
a91c3d336c
gnu: libnice: Update to 0.1.18-0.47a9633 and disable test-bind test.
This resolves a build failure following the GStreamer update to 1.18.5.

* gnu/packages/networking.scm (libnice): Update to 0.1.18-0.47a9633.
[phases]{disable-failing-tests}: Comment out rather than delete
test-set-port-range; disable the bind test, which is flaky.
2021-11-11 10:31:29 -05:00
Maxim Cournoyer
81bda13ad2
gnu: dbus-c++: Fix build.
* gnu/packages/glib.scm (dbus-c++)[inputs]: Add libunwind.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer
11e7a534f7
gnu: python-keras: Enable parallel tests.
* (python-keras)[phases]: Delete trailing #t.
{check}: Honor TESTS?.  Run the tests in parallel.  Disable PEP8 lint.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer
92c3d1c3d0
gnu: tensorflow: Enable parallel build (at least partially).
There are still many parts of the build that happen sequentially, but at least
this hastens the long build somewhat.

* gnu/packages/machine-learning.scm (tensorflow)[phases]: Remove trailing #t.
{build-pip-package}: Honor the PARALLEL-BUILD? argument.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer
a91eaf1bdc
gnu: gstreamer-docs: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gstreamer-docs): Update to 1.18.5.  Delete
trailing #t.
2021-11-11 10:31:28 -05:00