Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921709 - dev-util/intel_clc lacks sys-libs/libunwind in RDEPEND (and DEPEND?), can break compilation of media-libs/mesa-23.3.2
Summary: dev-util/intel_clc lacks sys-libs/libunwind in RDEPEND (and DEPEND?), can bre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 920055
  Show dependency tree
 
Reported: 2024-01-10 14:46 UTC by Sebastian Pipping
Modified: 2024-01-10 15:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2024-01-10 14:46:33 UTC
dev-util/intel_clc turned out to miss a dependency on sys-libs/libunwind as can be proven using lddtree:

  # lddtree /usr/bin/intel_clc \
    | grep -E '^[[:space:]]{4}[^[:space:]]' \
    | awk '{print $3}' \
    | xargs qfile \
    | sort \
    | awk -F: '{print $1}' \
    | sort -u
  dev-util/spirv-llvm-translator
  dev-util/spirv-tools
  sys-devel/clang
  sys-devel/gcc
  sys-devel/llvm
  sys-libs/glibc
  sys-libs/libunwind  <--!!
  sys-libs/zlib
  x11-libs/libdrm

I learned about it from issues compiling media-libs/mesa-23.3.2 where the build failed with this runtime error:

  /usr/bin/intel_clc: error while loading shared libraries: libunwind.so.8: cannot open shared object file: No such file or directory

Please add the missing dependency, thanks!
Comment 1 Larry the Git Cow gentoo-dev 2024-01-10 15:50:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81284dece192a56d0e73bddc6aa0bdfd5fde9ae1

commit 81284dece192a56d0e73bddc6aa0bdfd5fde9ae1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-10 15:49:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-10 15:49:24 +0000

    dev-util/intel_clc: add missing libunwind dep
    
    Closes: https://bugs.gentoo.org/921709
    Bug: https://bugs.gentoo.org/920055
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{intel_clc-23.3.1.ebuild => intel_clc-23.3.1-r1.ebuild}        | 7 +++++--
 .../{intel_clc-23.3.2.ebuild => intel_clc-23.3.2-r1.ebuild}        | 7 +++++--
 dev-util/intel_clc/intel_clc-9999.ebuild                           | 7 +++++--
 3 files changed, 15 insertions(+), 6 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2024-01-10 15:54:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f9bd5202c4061677798509afe2a8f3846d7643

commit 31f9bd5202c4061677798509afe2a8f3846d7643
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-01-10 15:54:02 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-01-10 15:54:49 +0000

    dev-util/intel_clc: Disable libunwind
    
    Closes: https://bugs.gentoo.org/921709
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild | 1 +
 dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild | 1 +
 dev-util/intel_clc/intel_clc-9999.ebuild      | 1 +
 3 files changed, 3 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-01-10 15:57:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4356d82e62c01d9fd090f6c2c3315df91de713

commit 8c4356d82e62c01d9fd090f6c2c3315df91de713
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-10 15:56:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-10 15:56:55 +0000

    dev-util/intel_clc: drop libunwind
    
    Mid-air collision...
    
    Bug: https://bugs.gentoo.org/921709
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/intel_clc/intel_clc-23.3.1-r1.ebuild | 5 +----
 dev-util/intel_clc/intel_clc-23.3.2-r1.ebuild | 5 +----
 dev-util/intel_clc/intel_clc-9999.ebuild      | 5 +----
 3 files changed, 3 insertions(+), 12 deletions(-)