Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914597 - app-containers/podman-4.5.0 - file collision with app-containers/containers-common-0.56.0
Summary: app-containers/podman-4.5.0 - file collision with app-containers/containers-c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-09-24 08:33 UTC by Toralf Förster
Modified: 2023-09-25 03:54 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.01 KB, text/plain)
2023-09-24 08:33 UTC, Toralf Förster
Details
app-containers:podman-4.5.0:20230924-014225.log.xz (app-containers:podman-4.5.0:20230924-014225.log.xz,207.79 KB, application/x-xz)
2023-09-24 08:33 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,49.07 KB, application/x-xz)
2023-09-24 08:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-09-24 08:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,36.84 KB, application/x-xz)
2023-09-24 08:33 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,208.22 KB, application/x-xz)
2023-09-24 08:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-24 08:33:09 UTC
 * Press Ctrl-C to Stop
 * 
 * app-containers/containers-common-0.56.0:0::gentoo
 * 	/usr/share/containers/seccomp.json
 * 
 * Package 'app-containers/podman-4.5.0' NOT merged due to file

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-20230920-040509

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.1
Python 3.11.5
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit c682f3ad62af68fe5b5b3478ebf0fdffda3f5769
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 23 21:16:37 2023 +0000

    2023-09-23 21:16:37 UTC

emerge -qpvO app-containers/podman
[ebuild  N    ] app-containers/podman-4.5.0  USE="fuse init rootless -apparmor -btrfs -cgroup-hybrid (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2023-09-24 08:33:10 UTC
Created attachment 871228 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-24 08:33:11 UTC
Created attachment 871229 [details]
app-containers:podman-4.5.0:20230924-014225.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-24 08:33:12 UTC
Created attachment 871230 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-09-24 08:33:13 UTC
Created attachment 871231 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-24 08:33:14 UTC
Created attachment 871232 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-24 08:33:15 UTC
Created attachment 871233 [details]
logs.tar.xz
Comment 7 Thomas Schneider 2023-09-24 15:05:48 UTC
The proper solution is to skip `doins .../seccomp.json` and RDEPEND on app-containers/containers-common, as proposed in the already existing GH Pull Request[0] (refers to this bug).  See also for example Debian[1] and Fedora[2] packaging.

[0]: https://github.com/gentoo/gentoo/pull/33030
[1]: https://salsa.debian.org/debian/libpod/-/blob/290d96df7d0a86e4230bb8dc908a573de811680c/debian/control#L109
[2]: https://src.fedoraproject.org/rpms/podman/blob/fa419c3d275c31f884f0ab90180c66e540f80be0/f/podman.spec#_127
Comment 8 Rahil Bhimjiani 2023-09-24 15:33:28 UTC
Just waiting for Zac Medico to approve. Thanks for reporting.
Comment 9 Larry the Git Cow gentoo-dev 2023-09-25 03:45:21 UTC
The bug has been closed via the following commit(s):

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

commit 275aeff423d63b6cdde5b508f59d5af5248f16c0
Author:     Rahil Bhimjiani <rahil3108@gmail.com>
AuthorDate: 2023-09-24 10:49:19 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2023-09-25 03:45:17 +0000

    app-containers/podman: add 4.5.0-r1
    
    few improvements to ebuild.
    1) use shell-completion.eclass replacing bash-completino-r1
    2) add app-containers/containers-common as dep & adjust other deps
    3) dont install seccomp.json,policy.json,registries.conf as it is
    installed by containers-common
    4) removed non-amd64 keywords as containers-common is only available on
    amd64 for now
    
    I'll soon be working on podman version bump with  live version too.
    
    Closes: https://github.com/gentoo/gentoo/pull/33030
    Closes: https://bugs.gentoo.org/902569
    Closes: https://bugs.gentoo.org/849863
    Closes: https://bugs.gentoo.org/914597
    
    Signed-off-by: Rahil Bhimjiani <rahil3108@gmail.com>
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 .../containers-common-0.56.0-r1.ebuild             |  68 ++++++++++
 app-containers/podman/podman-4.5.0-r1.ebuild       | 149 +++++++++++++++++++++
 2 files changed, 217 insertions(+)