Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glibc: detect from "Free Software Foundation" not "gnu" #44154

Merged
merged 1 commit into from
May 13, 2024

Conversation

haampie
Copy link
Member

@haampie haampie commented May 13, 2024

Closes #44145

ld.so --version and ldd --version do not always contain gnu but seem to
consistently mention the free software foundation, so let's use that for
detection.

@spackbot-app spackbot-app bot added core PR affects Spack core functionality utilities labels May 13, 2024
@haampie haampie added this to the v0.22.1 milestone May 13, 2024
Copy link
Member

@alecbcs alecbcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks for the quick fix @haampie

@haampie haampie merged commit 4f11165 into develop May 13, 2024
34 of 35 checks passed
@haampie haampie deleted the fix/glibc-regex branch May 13, 2024 18:11
@preney
Copy link

preney commented May 13, 2024

I would like to confirm that everything now works that did not work in #44145 , i.e., this fix appears to work. :-)

haampie added a commit that referenced this pull request May 16, 2024
@haampie haampie mentioned this pull request May 16, 2024
16 tasks
zzzoom pushed a commit to zzzoom/spack that referenced this pull request May 20, 2024
gartung added a commit to FNALssi/spack that referenced this pull request May 31, 2024
commit a5e657a
Author: Harmen Stoppels <me@harmenstoppels.nl>
Date:   Fri May 24 13:25:59 2024 +0200

    Prefer libiconv for iconv (spack#44335)

    `glibc` and `musl` provide a basic implementation of `iconv` (`iconv`,
    `iconv_open`, `iconv_close`), but in practice the installation may be
    missing the character encoding methods to make them usable. On Fedora
    for example, users need to

    ```yum install glibc-gconv-extra```

    to get the character encodings that `gettext` requires during configure,
    namely EUC-JP. Users may not have permissions to install the missing
    parts of glibc.

    Since Spack can install `libiconv`, it is simpler to use that by
    default.

commit 1da8a67
Author: Harmen Stoppels <me@harmenstoppels.nl>
Date:   Wed May 22 17:36:42 2024 +0200

    gcc: use -rpath {rpath_dir} not -rpath={rpath dir} (spack#44315)

    to make macOS's linker happy.

commit d957b6c
Author: Mosè Giordano <giordano@users.noreply.github.com>
Date:   Thu May 16 10:07:18 2024 +0100

    suite-sparse: improve setting of the `libs` property (spack#44214)

    on some distros it is in lib64/

commit 5bb34a3
Author: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Date:   Tue May 21 14:09:29 2024 +0200

    Demote a warning to debug message, if C compiler is not there (spack#44182)

commit 8584ca5
Author: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Date:   Tue May 21 08:41:09 2024 +0200

    ASP-based solver: fix version optimization for roots (spack#44272)

    This fixes a bug occurring when two root specs need to select
    old versions, and these versions have the same penalty in the
    optimization. This sometimes caused an older version to be
    preferred to a more recent one.

    The issue was the omission of `PackageNode` in the optimization
    tuple.

commit cfe36fc
Author: Chris Green <greenc@fnal.gov>
Date:   Sat May 18 04:32:06 2024 -0500

    git: bump v2.39 to 2.45; deprecate unsafe versions (spack#44248)

commit 17668b1
Author: Scott Wittenburg <scott.wittenburg@kitware.com>
Date:   Sat May 18 03:57:53 2024 -0600

    oci buildcache: handle pagination of tags (spack#43136)

    This fixes an issue where ghcr, gitlab and possibly other container registries paginate tags by default, which violates the OCI spec v1.0, but is common practice (the spec was broken itself). After this commit, you can create build cache indices of > 100 specs on ghcr.

    Co-authored-by: Harmen Stoppels <me@harmenstoppels.nl>

commit 88b71b9
Author: Harmen Stoppels <me@harmenstoppels.nl>
Date:   Fri May 17 12:29:56 2024 +0200

    build_environment.py: deal with rpathing identical packages (spack#44219)

    When multiple gcc-runtime packages exist in the same link sub-dag, only rpath
    the latest.

commit c6ea242
Author: Howard Pritchard <hppritcha@gmail.com>
Date:   Thu May 16 07:18:44 2024 -0700

    py-matplotlib: qualify when to do a post install (spack#44191)

    * py-matplotlib: qualify when to do a post install

    Older versions of py-matplotlib don't seem to have some of the
    files that the post install step is trying to install.
    Looks like the files first appeared in 3.6.0 and later.

    Signed-off-by: Howard Pritchard <hppritcha@gmail.com>

    * Change install paths for older matplotlib

    ---------

    Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
    Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

commit d840607
Author: Alec Scott <hi@alecbcs.com>
Date:   Tue May 14 08:14:34 2024 -0700

    rust: fix v1.78.0 instructions (spack#44127)

commit 1a5786f
Author: Harmen Stoppels <me@harmenstoppels.nl>
Date:   Mon May 13 20:11:27 2024 +0200

    glibc: detect from "Free Software Foundation" not "gnu" (spack#44154)

    which should be more generic
arezaii pushed a commit to arezaii/spack that referenced this pull request May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core PR affects Spack core functionality utilities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

From a clean install Spack cannot build/install anything.
3 participants