Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936317 - dev-libs/hipother-6.11 file collisions with dev-util/hip-5.7.1-r2:0::gentoo
Summary: dev-libs/hipother-6.11 file collisions with dev-util/hip-5.7.1-r2:0::gentoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sv. Lockal
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-19 21:44 UTC by Benjamin Schulz
Modified: 2024-08-14 14:26 UTC (History)
4 users (show)

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 Benjamin Schulz 2024-07-19 21:44:42 UTC
>>> Installing (6 of 106) dev-libs/hipother-6.1.1::gentoo
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/include/hip/nvidia_detail/nvidia_hip_math_constants.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_cooperative_groups.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_texture_types.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_bf16.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_gl_interop.h
 *      /usr/include/hip/nvidia_detail/nvidia_hiprtc.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_runtime_api.h
 *      /usr/include/hip/nvidia_detail/nvidia_channel_descriptor.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_runtime.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_atomics.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_complex.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_unsafe_atomics.h
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-util/hip-5.7.1-r2:0::gentoo
 *      /usr/include/hip/nvidia_detail/nvidia_channel_descriptor.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_atomics.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_bf16.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_complex.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_cooperative_groups.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_gl_interop.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_math_constants.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_runtime.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_runtime_api.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_texture_types.h
 *      /usr/include/hip/nvidia_detail/nvidia_hip_unsafe_atomics.h
 *      /usr/include/hip/nvidia_detail/nvidia_hiprtc.h
 * 
 * Package 'dev-libs/hipother-6.1.1' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Completed (6 of 106) dev-libs/hipother-6.1.1::gentoo

>>> Failed to install dev-libs/hipother-6.1.1, Log file:
Comment 1 Paul Zander 2024-07-19 21:52:18 UTC
hipother was moved out of hip with hip-6.

You shouldn't have <dev-util/hip-6.1 and dev-libs/hipother. Did you install hipother by hand?

Not sure we want to operate with blockers here.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-19 21:53:37 UTC
Yes, blockers are required.
Comment 3 Benjamin Schulz 2024-07-20 00:19:55 UTC
Actually, i just did an emerge -uUD world.
hipother seems to have been introduced by some package with a recent world update...

I will look at it tomorrow....
Comment 4 Benjamin Schulz 2024-07-20 19:06:27 UTC
/home/Benni # emerge -uUDpv --keep-going world --tree

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
Dependency resolution took 209.62 s (backtrack: 5/20).

[ebuild     U ~] dev-util/hip-6.1.1:0/6.1::gentoo [5.7.1-r2:0/5.7::gentoo] USE="hip%* opencl%* -debug -doc -test" LLVM_SLOT="18%*" VIDEO_CARDS="nvidia%* -amdgpu%" 0 KiB

[ebuild  rR    ] media-libs/webrtc-audio-processing-1.3-r3:1::gentoo  ABI_X86="(64) -32 (-x32)" 0 KiB

[nomerge       ] dev-util/hip-6.1.1:0/6.1::gentoo [5.7.1-r2:0/5.7::gentoo] USE="hip%* opencl%* -debug -doc -test" LLVM_SLOT="18%*" VIDEO_CARDS="nvidia%* -amdgpu%" 
[ebuild  N    ~]  dev-libs/hipother-6.1.1:0/6.1::gentoo  0 KiB


Ufed shows that i have not selected hip personally, but it seems to be brought in via the profile or something else...
Comment 5 Benjamin Schulz 2024-07-21 22:33:15 UTC
ah no. now i remember, i have put in hip manually months ago because i wanted to test some code. unmerging hip allowed me to emerge hipother.

So i unmerged hip. then emerge -uUD world went without problems. Emerging hipother manually  also went without problems.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-22 17:17:54 UTC
Blockers need to be backwards compatible for upgrading older systems, so if the files moved between packages, blockers must be added to reflect that.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-12 15:16:36 UTC
*** Bug 937818 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2024-08-14 14:26:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=963f0201991cd3d99e5ecdc76d6e7de02772aeee

commit 963f0201991cd3d99e5ecdc76d6e7de02772aeee
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-12 17:31:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-14 14:24:58 +0000

    dev-util/hip: 6.1.1, 6.1.2 fix collisions
    
    add "dev-util/hip opencl" to package.use.mask to avoid "accidents" from users
    
    Closes: https://bugs.gentoo.org/934963
    Closes: https://bugs.gentoo.org/936317
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38118
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/hip/hip-6.1.1.ebuild       | 6 ++++++
 dev-util/hip/hip-6.1.2.ebuild       | 6 ++++++
 profiles/arch/base/package.use.mask | 5 +++++
 3 files changed, 17 insertions(+)

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

commit dd79af4fb31a409006d5309b9cb032f57caa0416
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-12 15:29:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-14 14:24:58 +0000

    dev-libs/hipother: bump 6.1.1-r1 fix collisions
    
    Closes: https://bugs.gentoo.org/936317
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/hipother/{hipother-6.1.1.ebuild => hipother-6.1.1-r1.ebuild} | 4 ++++
 1 file changed, 4 insertions(+)