Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 873628

Summary: dev-libs/rocr-runtime-5.1.3 does not compile if xxd is not installed
Product: Gentoo Linux Reporter: Peter Asplund <azpegath>
Component: Current packagesAssignee: Craig Andrews <candrews>
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Peter Asplund 2022-09-30 10:06:40 UTC
I'm running nvim instead of vim, which might be what is causing this issue.

I tried installing rocm-opencl-runtime (according to the Gentoo Wiki on OpenCL) but it failed to build rocr-runtime-5.1.3.

I don't have the build log (since I managed to build it successfully by installing dev-util/xxd from the 'guru' overlay.

The build failed with the message 'xxd not found'.

Reproducible: Always

Steps to Reproduce:
1. Try to install rocm-opencl-runtime while not having vim/vim-core/xxd installed
2. Build fails for rocr-runtime
Comment 1 Peter Asplund 2022-09-30 10:12:40 UTC
It's weird, since I can see that the rocm-runtime actually BDEPENDS on vim-core, but it isn't installed on my system:

# emerge -s vim-core
[ Results for search key : vim-core ]

*  app-editors/vim-core
      Latest version available: 9.0.0099
      Latest version installed: [ Not Installed ]
      Size of files: 16,324 KiB
      Description:   vim and gvim shared files
      License:       vim
Comment 2 Yiyang Wu 2023-01-27 12:17:56 UTC
Is this resolved?

xxd should be installed if vim-core is emerged. vim-core is in ${BDEPEND}, so there shouldn't be any issue unless your portage misbhaves.
Comment 3 Peter Asplund 2023-03-03 12:30:41 UTC
You are right that the depends is there, but my system didn't have vim-core installed since I'm using neovim instead.

But now when thinking about it, I realized it was probably my fault. And when investigating that was certainly the case:

I had added vim-core and vim to my package.provided, to not have to pull vim in (since I wan't neovim to replace it completely.

So you can close this as "No a bug".