conda-forge / conda-forge/compilers-feedstock

binutils not exported in compilers-2.0.0

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
12
Forks
19
Avg merge
1h 6m
Merged PRs (30d)
2

Description

### Solution to issue cannot be found in the documentation.

- [x] I checked the documentation.

### Issue

It seems that some tools from `binutils` are not exported by `compilers-2.0.0`. Is that intended and should I just add `binutils` explicitly to my dependencies?

To reproduce, create the following environment
```
mamba env create -n test-compilers compilers
mamba activate test-compilers
```

Then verify that `ar` for example is not available on the command line

```
which ar
/usr/bin/ar # from host system, not from conda env
echo $AR
# empty
```

The binaries are present though

```
ls $CONDA_PREFIX/bin/
x86_64-conda-linux-gnu-gcc-ar
x86_64-conda-linux-gnu-ld
...
```

### Installed packages

```shell
# Name Version Build Channel
_openmp_mutex 4.5 20_gnu conda-forge
binutils_impl_linux-64 2.46.1 default_hfdba357_102 conda-forge
c-compiler 2.0.0 ha29393d_0 conda-forge
compilers 2.0.0 ha770c72_0 conda-forge
conda-gcc-specs 15.3.0 h8846f6e_4 conda-forge
cxx-compiler 2.0.0 hdab9b82_0 conda-forge
fortran-compiler 2.0.0 h0f4f740_0 conda-forge
gcc 15.3.0 hc6a0c74_4 conda-forge
gcc_impl_linux-64 15.3.0 h6f13dc8_4 conda-forge
gfortran 15.3.0 hc6a0c74_4 conda-forge
gfortran_impl_linux-64 15.3.0 h27ced10_4 conda-forge
gxx 15.3.0 hc6a0c74_4 conda-forge
gxx_impl_linux-64 15.3.0 h90d9265_4 conda-forge
kernel-headers_linux-64 4.18.0 he073ed8_9 conda-forge
ld_impl_linux-64 2.46.1 default_hbd61a6d_102 conda-forge
libgcc 16.2.0 ha9f2e26_4 conda-forge
libgcc-devel_linux-64 15.3.0 h2b852eb_104 conda-forge
libgfortran5 16.2.0 h6b99dfc_4 conda-forge
libgomp 16.2.0 he0feb66_4 conda-forge
libsanitizer 15.3.0 h54950a5_4 conda-forge
libstdcxx 16.2.0 h934c35e_4 conda-forge
libstdcxx-devel_linux-64 15.3.0 hb2c5482_104 conda-forge
libzlib 1.3.2 h25fd6f3_3 conda-forge
sysroot_linux-64 2.28 h4ee821c_9 conda-forge
tzdata 2026c h151e31d_0 conda-forge
zstd 1.5.7 hb78ec9c_7 conda-forge
```

### Environment info

```shell
active environment : test-compilers
shell level : 1
conda version : 26.5.2
conda-build version : not installed
python version : 3.12.9.final.0
solver : libmamba (default)
virtual packages : __archspec=1=zen4
__conda=26.5.2=0
__glibc=2.28=0
__linux=4.18.0=0
__unix=0=0
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
temporary directory : /tmp
platform : linux-64
user-agent : conda/26.5.2 requests/2.32.4 CPython/3.12.9 Linux/4.18.0-553.44.1.el8_10.x86_64 rocky/8.10 glibc/2.28 solver/libmamba conda-libmamba-solver/25.3.0 libmambapy/2.8.1
UID:GID : 13865:16016
offline mode : False
```

Contributor guide

Open the contributing guide

Research direction

Start by creating the reported test-compilers environment with `mamba env create -n test-compilers compilers`, then check whether `ar` and the other binutils tools are available from `$CONDA_PREFIX/bin`. No source file or test is named; the issue is resolved when the intended dependency/export behavior is confirmed and the environment exposes the expected tools or documents the required dependency.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.