me
/
guix
Archived
1
0
Fork 0
Commit Graph

75885 Commits (8d9aece8c499e536d36c97f11fa8a55325ad4db6)

Author SHA1 Message Date
Chris Marusich 8d9aece8c4
ci: %cross-targets: Add powerpc64le-linux-gnu.
* gnu/ci.scm (%cross-targets): Add an entry for powerpc64le-linux-gnu.
2021-03-23 23:19:58 -07:00
Chris Marusich c29bfbfc78
syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux.
This fixes the failing test add-to-entropy-count in tests/syscalls.scm on
powerpc64le-linux.

* guix/build/syscalls.scm (RNDADDTOENTCNT): When %host-type starts with
"powerpc64le", set this to #x80045201.  Otherwise, set it to #x40045201 as
before.
2021-03-23 23:19:58 -07:00
Chris Marusich b57de27d03
syscalls: Fix clone on powerpc64le-linux.
This makes the clone procedure work correctly and fixes some test failures on
powerpc64le-linux, including tests/containers.scm.

* guix/build/syscalls.scm (clone): Add an entry for ppc64le.
2021-03-23 23:19:57 -07:00
Chris Marusich a16eb6c5f9
Add powerpc64le-linux as a supported Guix architecture.
This makes powerpc64le-linux a supported architecture for Guix, but not for
Guix System.

* Makefile.am (SUPPORTED_SYSTEMS): Add an entry for powerpc64le-linux.
* etc/guix-install.sh (chk_sys_arch): Same.
* guix/packages.scm (%supported-systems): Same.
* m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): Same.
* tests/guix-build.sh (all_systems): Same.
2021-03-23 23:19:57 -07:00
Leo Le Bouter b50f426803
gnu: libelf: Fix compilation for powerpc64le-linux.
* gnu/packages/elf.scm (libelf)[arguments]: Modify replacement 'configure phase
to invoke "./configure" with "--host=powerpc64le-unknown-linux-gnu" on
powerpc64le-linux.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:57 -07:00
Leo Le Bouter 1a0f4013d3
gnu: texlive-latex-base: Fix compilation on powerpc64le*.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: LuaJIT is not ported to
powerpc64le* yet. Update replacement 'build phase to add "luajittex" within the
"disabled-formats" list on powerpc64le*.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:57 -07:00
Leo Le Bouter e9938dc8f0
gnu: texlive-bin: Fix compilation on powerpc64le*.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Append "--disable-luajittex"
and "--disable-mfluajit" to keyword argument "#:configure-flags" on
powerpc64le* because LuaJIT is not ported to powerpc64le* yet. Also set
"#:tests?" to "#f" on powerpc64le*.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:57 -07:00
Leo Le Bouter 69b3907adf
gnu: guile-avahi: Fix compilation on powerpc64le-linux.
* gnu/packages/guile-xyz.scm (guile-avahi)[arguments]: Parallel builds fail on
powerpc64le-linux. Set "#:parallel-build?" to "#f".

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:56 -07:00
Leo Le Bouter 4cc2d2aa59
gnu: bdb-4.8: Fix configure on powerpc64le-linux.
* gnu/packages/dbm.scm (bdb-4.8)[arguments]: Modify 'configure phase to append
"--build=powerpc64le-unknown-linux-gnu" to configure's flags when compiling for
powerpc64le-linux.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
2021-03-23 23:19:56 -07:00
Chris Marusich be4b1cf53b
gnu: binutils-final: Support more Power architectures.
* gnu/packages/commencement.scm (binutils-final)[arguments]: When checking if
the system is a Power architecture, instead of hard-coding "powerpc-linux",
use the target-powerpc? procedure so it works on more Power architectures.
[inputs]: Likewise.
2021-03-23 23:19:56 -07:00
Efraim Flashner 060478c32c
gnu: binutils-final: Provide bash for binary on powerpc-linux.
* gnu/packages/commencement.scm (binutils-final)[arguments]: On
powerpc-linux allow a reference to static-bash-for-glibc.
[inputs]: On powerpc-linux add static-bash-for-glibc.
2021-03-23 23:19:56 -07:00
Chris Marusich b2135b5d57
gnu: gcc-boot0: Enable 128-bit long double for POWER9.
* gnu/packages/commencement.scm (gcc-boot0) [#:configure-flags]: Add
--with-long-double-128 when the boot triplet is "powerpc64le-guix-linux-gnu",
instead of "powerpc64le-linux-gnu", which is incorrect.  The actual triplet
used during bootstrapping is "powerpc64le-guix-linux-gnu".
2021-03-23 23:19:56 -07:00
Leo Le Bouter 6e98e9ca92
gnu: glibc: Fix ldd path on powerpc*.
This should avoid some problems, such as "not a dynamic executable" errors.

* gnu/packages/patches/glibc-ldd-powerpc.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/base.scm: (glibc)[native-inputs]: Add it.
[arguments]: When building for powerpc* apply it.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash,
glibc-final)[native-inputs]: Add patch conditionally.

This patch has been adjusted to apply to master.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2021-03-23 23:19:55 -07:00
Chris Marusich cac88b28b8
gnu: gcc-4.7: On powerpc64le, fix /lib64 references.
Fixes: <https://bugs.gnu.org/46253>.

* gnu/packages/gcc.scm (gcc-4.7)[#:phases][pre-configure]: When the
gcc/config/rs6000 directory exists, replace "/lib64" with "/lib" in all files
within it.  Note that this fix will be picked up by any package that re-uses
the pre-configure phase from gcc-4.7 (e.g., all the usual gcc packages).
(make-libstdc++)[#:phases][fix-rs6000-libdir]: New phase, which does the same
as above.  It was necessary to duplicate the fix here because make-libstdc++
does not re-use the pre-configure phase from gcc-4.7.
2021-03-23 23:19:55 -07:00
Chris Marusich fc7cf0c1ec
utils: Add target-powerpc? procedure.
* guix/utils.scm (target-powerpc?): New exported procedure.
2021-03-23 23:19:55 -07:00
Chris Marusich 8a1118a96c
gnu: bootstrap: Add support for powerpc64le-linux.
The bootstrap tarballs used by these bootstrap packages were created via the
following steps:

- Create a new x86_64 VM using QEMU.
- Use
  https://ftp.gnu.org/gnu/guix/guix-system-install-1.2.0.x86_64-linux.iso.xz
  to install Guix System 1.2.0 in the VM.
- Run: guix pull --no-substitutes --commit=662e7e28d576ada91fc9dec7d27c100666114f03
- Run: guix build --no-substitutes --target=powerpc64le-linux-gnu bootstrap-tarballs

With the exception of gcc-static, all bootstrap binaries contained in these
tarballs can be built reproducibly.  Unfortunately, gcc-static is not always
reproducible when everything is built from source on separate machines.
Despite investigation efforts, the cause remains unclear, so we have decided
to move forward with these binaries to unblock further bootstrapping work.
For details, see <https://bugs.gnu.org/41669>.

* gnu/packages/bootstrap.scm (%bootstrap-executables)
(bootstrap-executable-file-name, bootstrap-guile-url-path)
(bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils)
(%bootstrap-glibc, %bootstrap-gcc): Add entries for powerpc64le-linux.
(%bootstrap-executable-base-urls): Add an entry for alpha.gnu.org.
2021-03-23 23:19:53 -07:00
Leo Famulari dc68018e01
gnu: Add cbonsai.
* gnu/packages/toys.scm (cbonsai): New variable.
2021-03-24 02:03:30 -04:00
Raghav Gururajan c2a9b05f02
gnu: bcunit: Update to 3.0.2-0.74021cc and enable more features.
* gnu/packages/linphone.scm (bcunit)[source]: Switch to git repository.
[version]: Update to 3.0.2-0.74021cc.
[outputs]: Add a "doc" output.
[arguments]: Remove the tests? argument, enabling tests.
[configure-flags]: Enable curses, doc, examples, tests and memtrace.
[phases]{patch-source, move-doc}: New phases.
{check}: Override phase.
[inputs]: Add ncurses.
[description]: Fix typo.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-24 00:05:38 -04:00
Raghav Gururajan c221d49510
gnu: Add libdecaf.
* gnu/packages/crypto.scm (libdecaf): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 22:24:27 -04:00
zimoun d0429747de
gnu: python2-widgetsnbextension: Remove package.
* gnu/packages/python-xyz.scm (python2-widgetsnbextension): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:06 -04:00
zimoun d8402031af
gnu: python2-utils: Remove package.
* gnu/packages/python-xyz.scm (python2-utils): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:06 -04:00
zimoun 82c772a774
gnu: python2-tables: Remove package.
* gnu/packages/python-xyz.scm (python2-tables): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:06 -04:00
zimoun 97f4fd8a74
gnu: python2-stem: Remove package.
* gnu/packages/python-xyz.scm (python2-stem): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:05 -04:00
zimoun f68dbdadba
gnu: python2-sh: Remove package.
* gnu/packages/python-xyz.scm (python2-sh): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:05 -04:00
zimoun 7c03695a24
gnu: python2-mpd2: Remove package.
* gnu/packages/mpd.scm (python2-mpd2): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:05 -04:00
zimoun c74c4377b3
gnu: python2-rq: Remove package.
* gnu/packages/databases.scm (python2-rq): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:05 -04:00
zimoun 84950c0d06
gnu: python2-nbxmpp: Remove package.
* gnu/packages/messaging.scm (python2-nbxmpp): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:05 -04:00
zimoun f72d345e44
gnu: python2-mutagen: Remove package.
* gnu/packages/music.scm (python2-mutagen): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:05 -04:00
zimoun 4c726e0698
gnu: python2-ipywidgets: Remove package.
* gnu/packages/python-xyz.scm (python2-ipywidgets): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:05 -04:00
zimoun 5f3411e401
gnu: python2-graphql-core: Remove package.
* gnu/packages/python-xyz.scm (python2-graphql-core): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:04 -04:00
zimoun ec2384b79d
gnu: python2-furl: Remove package.
* gnu/packages/python-web.scm (python2-furl): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:04 -04:00
zimoun bce0165f7c
gnu: python2-flask: Remove package.
* gnu/packages/python-web.scm (python2-flask): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:04 -04:00
zimoun 7502c13895
gnu: python2-httpbin: Remove package.
* gnu/packages/web.scm (python2-httpbin): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:04 -04:00
zimoun dab3c57d58
gnu: python2-flask-multistatic: Remove package.
* gnu/packages/python-web.scm (python2-flask-multistatic): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:04 -04:00
zimoun f44917ea55
gnu: python2-flask-login: Remove package.
* gnu/packages/python-web.scm (python2-flask-login): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:04 -04:00
zimoun d1e421ca0d
gnu: python2-flask-htmlmin: Remove package.
* gnu/packages/python-web.scm (python2-flask-htmlmin): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:38:04 -04:00
zimoun ec1a9c61e7
gnu: python2-flask-babel: Remove package.
* gnu/packages/python-web.scm (python2-flask-babel): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:37:56 -04:00
zimoun d201983475
gnu: python2-flask-wtf: Remove package.
* gnu/packages/python-web.scm (python2-flask-wtf): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:33:20 -04:00
zimoun b5bae212d6
gnu: python2-fido2: Remove package.
* gnu/packages/security-token.scm (python2-fido2): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:33:20 -04:00
zimoun 9541682c79
gnu: python2-yubikey-manager: Remove package.
* gnu/packages/security-token.scm (python2-yubikey-manager): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:33:20 -04:00
zimoun 6a098614b8
gnu: python2-dulwich: Remove package.
* gnu/packages/python-xyz.scm (python2-dulwich): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:33:20 -04:00
zimoun 6bafc5cf1e
gnu: python2-cairocffi: Remove.
* gnu/packages/python-xyz.scm (python2-cairocffi): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:33:19 -04:00
zimoun f21da33255
gnu: python2-arrow: Remove package.
* gnu/packages/time.scm (python2-arrow): Delete.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-03-23 21:33:19 -04:00
Léo Le Bouter 8b2b546396
gnu: java-xstream: Update to 1.4.16 [security fixes].
Fixes CVE-2021-21341, CVE-2021-21342, CVE-2021-21343, CVE-2021-21344,
CVE-2021-21345, CVE-2021-21346, CVE-2021-21347, CVE-2021-21348,
CVE-2021-21349, CVE-2021-21350 and CVE-2021-21351.

* gnu/packages/xml.scm (java-xstream): Update to 1.4.16.
[inputs]: Add java-mxparser, a fork of java-xpp3 made by upstream.
Java-xpp3 is still needed.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-03-23 23:29:14 +01:00
Léo Le Bouter 08b9e0ca0b
gnu: Add java-mxparser.
* gnu/packages/xml.scm (java-mxparser): New variable.

Co-Authored-By: Julien Lepiller <julien@lepiller.eu>
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-03-23 23:29:07 +01:00
Julien Lepiller 4490dff98c
gnu: Add java-xmlpull-api-v1.
* gnu/packages/xml.scm (java-xmlpull-api-v1): New variable.
2021-03-23 23:28:54 +01:00
ZmnSCPxj d3c8aa3f82
gnu: bitcoin-core: Add 0.21.0.
* gnu/packages/finance.scm (bitcoin-core): Rename to …
(bitcoin-core-0.21): … this, and update to 0.21.
(bitcoin-core-0.20): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2021-03-23 21:44:22 +00:00
Christopher Baines aa13529baf
gnu: Add snapcast.
* gnu/packages/audio.scm (snapcast): New variable.
2021-03-23 21:11:34 +00:00
Tobias Geerinckx-Rice 042b2eb1ae
gnu: parallel: Update to 20210322.
* gnu/packages/parallel.scm (parallel): Update to 20210322.
2021-03-23 21:08:15 +01:00
Tobias Geerinckx-Rice ea27cbe113
gnu: skim: Update to 0.9.4.
* gnu/packages/crates-io.scm (skim): Update to 0.9.4.
[arguments]: Update #:cargo-inputs: add rust-atty-0.2 and update
rust-beef-0.4 to rust-beef-0.5, rust-crossbeam-0.7 to
rust-crossbeam-0.8, rust-env-logger-0.6 to rust-env-logger-0.8,
rust-nix-0.14 to rust-nix-0.19, rust-time-0.1 to rust-time-0.2, and
rust-vte-0.3 to rust-vte-0.9.
2021-03-23 21:08:15 +01:00