summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* bug#66866: Grafting breaks cross-compilationissue-70492Ludovic Courtès2024-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, dan <i@dan.games> skribis: > I spent some time digging into the rabbit hole. After changing > the lower function of the copy-build-system to look more like the > lower function of the gnu-build-system, I'm able to cross compile > alsa-lib without the --no-grafts flag. The changes I made are > like: > > diff --git a/guix/build-system/copy.scm > b/guix/build-system/copy.scm > index d58931b33c..74304b4bfb 100644 > --- a/guix/build-system/copy.scm > +++ b/guix/build-system/copy.scm > @@ -66,13 +66,13 @@ (define* (lower name > (bag > (name name) > (system system) > - (host-inputs `(,@(if source > + (build-inputs `(,@(if source > `(("source" ,source)) > '()) > - ,@inputs > + ,@native-inputs > ;; Keep the standard inputs of > 'gnu-build-system'. > ,@(standard-packages))) > - (build-inputs native-inputs) > + (host-inputs inputs) > (outputs outputs) > (build copy-build) > (arguments (strip-keyword-arguments private-keywords > arguments)))) > > Can we put everything inside build-inputs? From my understanding, > copy-build-system shouldn't care about cross-compilation at all. Intuitively, if ‘copy-build-system’ is about copying architecture-independent files, then it should do the same thing whether or not we are cross-compiling. However, users can and do add phases whose result is architecture-dependent. Small sample: • ‘desec-certbot-hook’ captures a reference to curl, so it would get the wrong one when cross-compiling if we assumed build-inputs = host-inputs. • ‘chez-scheme-for-racket-bootstrap-bootfiles’ builds stuff when cross-compiling. Philip, could you explain the intent and what you expect here? So it would seem we can’t just assume everything is a native input like https://issues.guix.gnu.org/70492 does. Now, as David and you found out, the use of inputs in build-system/copy.scm:lower is bogus. It seems that it can be fixed by following the intended definition of build/host inputs, as David suggested: But wait! That’s all theoretical because the bag always has (target #f) and ‘copy-build’ bundles build and host inputs together, as if doing a native build. So it seems like https://issues.guix.gnu.org/70492 (putting everything in ‘build-inputs’) is OK, after all. But still, there seem to be some expectation that ‘copy-build-system’ can support cross-compilation for real, so maybe we should add a ‘copy-cross-build’ procedure in addition to the patch above. Thoughts? Ludo’.
* nls: Update translations.base-for-issue-70719base-for-issue-70709base-for-issue-70706base-for-issue-70705base-for-issue-70703base-for-issue-70701base-for-issue-70492base-for-issue-69513Florian Pelz2024-05-01
| | | | | | | * po/packages/sv.po: New file. * po/packages/LINGUAS: Add it. Change-Id: I2ad4dfcb935ba0a4e79c15b86cee6826c6580729
* news: Add entry for removing linux-libre 6.7 (EoL).Wilko Meyer2024-04-30
| | | | | | | * etc/news.scm: Add entry for linux-libre 6.7 removal. Change-Id: I8fe3eb3f68023e85fcac7549c06d2cc26cd8e810 Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu: Remove linux-libre 6.7.Wilko Meyer2024-04-30
| | | | | | | | | | | | | | * gnu/packages/linux.scm (linux-libre-6.7-version, linux-libre-6.7-gnu-revision, deblob-scripts-6.7, linux-libre-6.7-pristine-source, linux-libre-6.7-source, linux-libre-headers-6.7, linux-libre-6.7): Remove variables. * gnu/packages/aux-files/linux-libre/6.7-arm.conf, gnu/packages/aux-files/linux-libre/6.7-arm64.conf, gnu/packages/aux-files/linux-libre/6.7-i686.conf, gnu/packages/aux-files/linux-libre/6.7-x86_64.conf: Delete files. * Makefile.am (AUX_FILES): Remove aforementioned .conf files. Change-Id: Ic69a65e1fbfa59d893e85d26950f33195ea9fbe1 Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu: Add psfex.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (psfex): New variable. Change-Id: I073df933b244811cd09343ea4951f481ad76b075
* gnu: Add scamp.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (scamp): New variable. Change-Id: If32adb281017858b0e7d5816cecb509af3cec835
* gnu: python-stsci-stimage: Adjust test steps.Sharlatan Hellseher2024-04-30
| | | | | | | | | | * gnu/packages/astronomy.scm (python-stsci-stimage): [arguments]: <#:test-flags>: Add them. <#:phases>: Fail over to default 'check phase and add 'waf-configure-build phase before check. [native-inputs]: Remove python-codecov and, python-pytest-cov. [description]: Fix indentation. Change-Id: I350c4ced2cb4afaff72d4d4941d198932cd888f5
* gnu: python-stsci-stimage: Update to 0.2.8.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-stsci-stimage): Update to 0.2.8. Change-Id: Ib2f8b9544bc732959d87527d2c55f274dab4393b
* gnu: python-crds: Update to 11.17.20.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-crds): Update to 11.17.20. Change-Id: I426241c2e216b0261787117a10ceab36197dff12
* gnu: python-asdf: Adjust inputs.Sharlatan Hellseher2024-04-30
| | | | | | | | | | | | | | | | | | | | | | | | python-asdf requires python-semantic-version during runtime which may be reproduced by: guix shell python-asdf python -- python3 -c 'import asdf' <...> ModuleNotFoundError: No module named 'semantic_version' * gnu/packages/astronomy.scm (python-asdf): Adjust inputs. [native-inputs]: Remove python-semantic-version. [propagated-inputs]: Add python-semantic-version. (python-asdf-astropy, python-asdf-compression, python-asdf-coordinates-schemas, python-asdf-wcs-schemas, python-asdf-zarr, python-astroalignn, python-ccdproc, python-crds, python-ginga, python-gwcs, python-photutils, python-rad, python-reproject, python-roman-datamodels, python-spectral-cube, python-specutils, python-stcal, python-stdatamodels, python-stpipe, python-stsynphot, python-sunpy, python-synphot, python-tweakwcs): Remove python-semantic-version from native or propagated inputs. Change-Id: I96bf57f77c327f4ff208e0b173e84bcdd4c287da Reported-by: Iliya Tikhonenko <tikhonenko@mpe.mpg.de>
* gnu: python-reproject: Enable tests.Sharlatan Hellseher2024-04-30
| | | | | | | | | | * gnu/packages/astronomy.scm (python-reproject): Enable tests. [arguments]: <#:tests-flags>: Add them as seen in tox.ini. <#:phases>: Rename 'writable-home to 'prepare-test-environment to reflect purpose and build extension before tests. [native-inputs]: Add python-xdist. Change-Id: I7a5454e3ce241b7a54626f8aba27602b4965c25b
* gnu: python-reproject: Update to 0.13.1.Sharlatan Hellseher2024-04-30
| | | | | | | | * gnu/packages/astronomy.scm (python-reproject): Update to 0.13.1. [arguments]: <#:phases>: Add 'create-setup.py phase. [native-inputs]: Remove python-cython; add python-cython-3. Change-Id: I77845fa1a9748901bc08235ba95060d39b64e467
* gnu: python-photutils: Update to 1.12.Sharlatan Hellseher2024-04-30
| | | | | | | * gnu/packages/astronomy.scm (python-photutils): Update to 1.12. [arguments]: <#:phases>: Add 'create-setup.py phase. Change-Id: I94908eda0eb7741cb23d2d4dc969c91cdbd08fa2
* gnu: python-specutils: Update to 1.14.0.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-specutils): Update to 1.14.0. Change-Id: Ied7078bc28d7b995574fb228797f1d046ea52feb
* gnu: python-casa-formats-io: Update to 0.3.0.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-casa-formats-io): Update to 0.3.0. Change-Id: I3f8ca4c981ac31cc955d374b4e4735e53af4c868
* gnu: python-roman-datamodels: Update to 0.19.1.Sharlatan Hellseher2024-04-30
| | | | | | | * gnu/packages/astronomy.scm (python-roman-datamodels): Update to 0.19.1. [propagated-inputs]: Remove python-asdf-standard. Change-Id: I30e2adef137bb95f37dd7651ebf8c5e6f9e6155f
* gnu: python-regions: Update to 0.9.Sharlatan Hellseher2024-04-30
| | | | | | | | | * gnu/packages/astronomy.scm (python-regions): Update to 0.9. [arguments] <#:phases>: Add 'create-setup.py phase, rename 'prepare-test-environment to 'build-extensions to reflect purpose. [native-inputs]: Remove python-cython; add python-cython-3. Change-Id: Ia634f93336eb7658c4eaeeb7ddb6539c2e0adee3
* gnu: python-rad: Update to 0.19.2.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-rad): Update to 0.19.2. Change-Id: I4de8e8228f6d7ae1ae28cac726fcce5f2058f928
* gnu: python-astroplan: Update to 0.10.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-astroplan): Update to 0.10. Change-Id: I80a988262e417f8a5501d02db5e16a93b5d037b4
* gnu: python-sunpy: Update to 5.1.2.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-sunpy): Update to 5.1.2. Change-Id: I275445d688dfb3c3c3da18a37d7d21d79814f8ef
* gnu: python-skyfield: Enable tests.Sharlatan Hellseher2024-04-30
| | | | | | | | | * gnu/packages/astronomy.scm (python-skyfield): Enable tests. [source]: Swap to git checkout containing test data. [build-system]: Swap to pyproject-build-system. [native-inputs]: Add python-assay and python-pandas. Change-Id: Ia4604ab2e44860dcf1294688639d3c54881f8d8c
* gnu: Add python-assay.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/python-check.scm (python-assay): New variable. Change-Id: I0ec910d8c37000ff08119a33e3f42af2269fa494
* gnu: python-bayesicfitting: Update to 3.2.1.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-bayesicfitting): Update to 3.2.1. Change-Id: I97bfc44920a3e8f7c2040088f284a38e0a66aa88
* gnu: python-bayesicfitting: Refresh package style.Sharlatan Hellseher2024-04-30
| | | | | | | | | | * gnu/packages/astronomy.scm (python-bayesicfitting): Adjust indentation. [build-system]: Swap to pyproject-build-system. [arguments] <#:test-flags>: Add them. <#:phases>: Use test flags in 'check phase. Change-Id: Iffc8591199bbaf2a0da95b6b22476e34121dbe79
* gnu: python-gatspy: Refresh package style.Sharlatan Hellseher2024-04-30
| | | | | | | | | * gnu/packages/astronomy.scm (python-gatspy): Adjust indentetion. [arguments]: Use #~ qutation style. <#:test-flags>: Activate tests for supersmoother. [propagated-inputs]: Add python-supersmoother. Change-Id: Ibbaae0f87693f5f4aa6e3f92d567881ad58dbfba
* gnu: python-ginga: Set HOME for sanity check.Sharlatan Hellseher2024-04-30
| | | | | | | * gnu/packages/astronomy.scm (python-ginga) [arguments] <#:phases>: Add 'set-home phase. Change-Id: I7fc9b043ae8ac465645215dabc9d8643b8e08fe2
* gnu: python-ginga: Update to 5.0.1.Sharlatan Hellseher2024-04-30
| | | | | | | | | | * gnu/packages/astronomy.scm (python-ginga): Update to 5.0.1. [arguments] <#:phases>: Add 'relax-requirements phase. [propagated-inputs]: Add opencv, python-exif-read python-packaging, python-pyyaml, and python-tomli. [native-inputs]: Add python-pytest-astropy-header. Change-Id: I314bbd9a037b134a03f5a4a174ab878e9523e4b6
* gnu: python-tweakwcs: Update to 0.8.7.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-tweakwcs): Update to 0.8.7. Change-Id: I2ef8f29839a99ec3b40efc34a61f57bc32216c8e
* gnu: python-tweakwcs: Adjust indentation.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-tweakwcs): Adjust indentation. Change-Id: Ic8c79addbd0253c2364382e6a0e632945eafb05a
* gnu: python-synphot: Update to 1.4.0.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-synphot): Update to 1.4.0. Change-Id: I070381de76cfe1bf057d1c8032d2145d5c346fa2
* gnu: python-synphot: Add custom check phase.Sharlatan Hellseher2024-04-30
| | | | | | | * gnu/packages/astronomy.scm (python-synphot): [arguments] <#:phases>: Remove 'prepare-test-environment phase; add custom 'check phase. Change-Id: I9cb6d65c226a555ccd62a3a6c08d00868a66f109
* gnu: python-stsci-image: Refresh package style.Sharlatan Hellseher2024-04-30
| | | | | | | * gnu/packages/astronomy.scm (python-stsci-image): Adjust indentation. [description]: Fix grammar. Change-Id: I1f4bf751720a3be324644bf417104e36510c62a6
* gnu: python-stsci-imagestats: Update to 1.8.2.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-stsci-imagestats): Update to 1.8.2. Change-Id: I13bb6eab789a8aa365f6bf0f0f892d8a17e3cc66
* gnu: python-stdatamodels: Update to 1.10.1.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-stdatamodels): Update to 1.10.1. Change-Id: Ib1626de00fbd060212b125c3a52e116aa126727e
* gnu: python-stcal: Update to 1.7.0.Sharlatan Hellseher2024-04-30
| | | | | | | * gnu/packages/astronomy.scm (python-stcal): Update to 1.7.0. [native-inputs]: Remove python-pytest-openfiles. Change-Id: Ib33bb72ff73fcf569a2519b3353260461b63c143
* gnu: python-jwst: Update to 1.14.0.Sharlatan Hellseher2024-04-30
| | | | | | | | | * gnu/packages/astronomy.scm (python-jwst): Update to 1.14.0. [propagated-inputs]: Remove python-asdf-transform-schemas; add python-importlib-metadata, python-packaging, python-pysiaf, and python-synphot. Change-Id: I0310e0680457a7851d07fa14406edf079000fcd5
* gnu: python-astropy-healpix: Update to 1.0.3.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-astropy-healpix): Update to 1.0.3. Change-Id: Iffc1d537bd8b3ec10fbb5ddb7c2fd6251813ccde
* gnu: python-astropy: Update to 6.0.1.Sharlatan Hellseher2024-04-30
| | | | | | | | | | | * gnu/packages/astronomy.scm (python-astropy): Update to 6.0.1. [arguments]: <#:test-flags>: Enable recently failing tests; disable some new one. [propagated-inputs]: Add python-matplotlib and python-scipy. [native-inputs]: Remove python-matplotlib and python-scipy; add python-threadpoolctl. Change-Id: Iaa48c84565d11c944444ecd1fd77291f4b3c8c3c
* gnu: python-astropy: Symplify package.Sharlatan Hellseher2024-04-30
| | | | | | | | | * gnu/packages/astronomy.scm (python-astropy): Simplify package. [build-system]: Swap to pyproject-build-system. [arguments] <#:phases>: Merge 'prepare-test-environment into custom 'check phase and move test arguments to <#:test-arguments>. Change-Id: I80098c3eb4e9d95ef2c651d5416196165be3f7c0
* gnu: python-astropy-iers-data: Update to 0.2024.4.15.2.45.49.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-astropy-iers-data): Update to 0.2024.4.15.2.45.49. Change-Id: Iaf902a0f506f149682868d0df0710d400b21f7e6
* gnu: python-asdf-astropy: Update to 0.6.1.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-asdf-astropy): Update to 0.6.1. Change-Id: I06f00006fcba1d0e385e6bc3f82f7a85403d94a9
* gnu: python-asdf: Update to 3.2.0.Sharlatan Hellseher2024-04-30
| | | | | | | | | * gnu/packages/astronomy.scm (python-asdf): Update to 3.2.0. [arguments] <#:phases>: Replace 'fix-tests-setup with 'patch-pyprojectct-toml phase and add one more substitution rule. [propagated-inputs]: Remove python-asdf-unit-schemas. Change-Id: I9e7a0282ed0a9eb82a20988762792e10ae33496b
* gnu: Add python-supersmoother.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/python-science.scm (python-supersmoother): New variable. Change-Id: I8fb43d746757014e3b773c07458b777b893adb4a
* gnu: Add python-pysiaf.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (python-pysiaf): New variable. Change-Id: Ide732d666bccad885ed3e8c78d62df7e74524b9a
* gnu: python-exif-read: Update to 3.0.0.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/python-xyz.scm (python-exif-read): Update to 3.0.0. Change-Id: I19e0a19041aa943a9f3ecf262077328d52ef4d1d
* gnu: parfive: Update to 2.1.0.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/python-web.scm (parfive): Update to 2.1.0. Change-Id: I6207150e012c03943d4553854123831d1bba3e55
* gnu: python-pytest-socket: Update to 0.7.0.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/python-check.scm (python-pytest-socket): Update to 0.7.0. Change-Id: I879064eba2f4d93d2e2b519ebdf613685d5b5df9
* gnu: libxisf: Update to 0.2.12.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (libxisf): Update to 0.2.12. Change-Id: Ide88155581b317cdb74683f49d2ec8b87c6bc5de
* gnu: indi-2.0: Update to 2.0.7.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (indi-2.0): Update to 2.0.7. Change-Id: Ia134449cc18a0c70dcba962b0ea51e2341d34e98
* gnu: stellarium: Update to 24.1.Sharlatan Hellseher2024-04-30
| | | | | | * gnu/packages/astronomy.scm (stellarium): Update to 24.1. Change-Id: I53dea0e03a3b7c4d78b4946a2bbc9a13f9fbec6f