Skip to content

[bug] BazelDeps shared-library packages with chained symlinks fail to install with bazel correctly after 2.15 #19135

@moo1210

Description

@moo1210

Describe the bug

Trying to use conan packages of type shared-library that have chaining symlinks fails with conan 2.15+. This issue appears to have been introduced by #17964.

How to reproduce it

I was able to reproduce this issue with both csm/3.0.4, but I was unable to reproduce it with libsndio/1.9.0. Note their differences in symlinks.

# works
libsndio.so.7 -> libsndio.so.7.2
libsndio.so.7.0 -> libsndio.so.7.2
libsndio.so.7.2
# doesn't work
libcsmapi.so -> libcsmapi.so.3
libcsmapi.so.3 -> libcsmapi.so.3.0.4
libcsmapi.so.3.0.4

Both packages work without issue in Conan 2.14

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions