spkg-configure.m4 for gc
Closed this issue · 34 comments
Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date.
spkg-configure.m4 to be copied under build/pkgs/gc
Attachment: spkg-configure.m4.gz
With the attached spkg-configure.m4, it works for me on FreeBSD, and Sage uses the system package.
Note: ATM the FreeBSD system package is at v.8.0.4 (boehm-gc-threaded-8.0.4_1), and the pkg-config file is named bdw-gc-threaded.pc - this might be different on other systems.
It's bdw-gc.pc
on Gentoo at least, so we should check that name too.
Replying to @orlitzky:
It's
bdw-gc.pc
on Gentoo at least, so we should check that name too.
also on Debian and Fedora it is bdw-gc
.
- on Debian on needs to install
libgc-dev
- on Fedora one needs to install
gc gc-devel
Branch: u/dimpase/packages/gc/configm4
Author: Thierry Thomas, Dima Pasechnik
GH Actions run?
Works on Gentoo now, thanks!
tests run on https://github.com/dimpase/sage/pull/16
Branch pushed to git repo; I updated commit sha1. New commits:
9e334dd | more hints for libatomic_ops on distros |
as can be seen on the GH Action logs from https://github.com/dimpase/sage/actions/runs/207790649 libgc is correctly recongnised - if it can be installed
On macOS Conda, libgc is not found:
https://github.com/dimpase/sage/runs/982690154
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
ERROR: InvocationError for command /bin/bash -c 'PACKAGES=`sed "s/#.*//;" build/pkgs/*/distros/conda.txt`; . /Users/runner/work/sage/sage/.tox/local-conda-forge-macos-standard/conda/bin/activate && /Users/runner/work/sage/sage/.tox/local-conda-forge-macos-standard/conda/bin/conda install --yes --quiet $PACKAGES' (exited with code 1)
___________________________________ summary ____________________________________
ERROR: local-conda-forge-macos-standard: commands failed
##[error]Process completed with exit code 1.
Isuru, do you get an idea what's wrong here?
I will remove conda.txt
commented out conda, rebased over 9.2.beta11.
GH run please
Branch pushed to git repo; I updated commit sha1. New commits:
d5c10a5 | also no gc on conda |
ping?
Reviewer: Michael Orlitzky
LGTM, but can you just delete those conda.txt files rather than comment out their contents? If I'm looking for packages that need Gentoo information, I'm going to be checking for the existence of distros/gentoo.txt
and assume that it's correct if present.
Thanks!
As to deleting, we already have quite a few of distros/foo.txt with commented out content, e.g. build/pkgs/arb/distros/homebrew.txt
, so, no, the content of these files matters matters :-)
Changed branch from u/dimpase/packages/gc/configm4 to d5c10a5
Looks like this may have caused the breakage reported in #30629 (wsl-ubuntu-focal: ECL build fails).
If I understand the issue correctly, it's a particular libgc configuration used on Ubuntu 20.04 that is the problem.