net-misc/ubridge-0.9.18 needs to be rebuilt after updating its dependency dev-libs/iniparser:4. However, it's not possible since net-misc/ubridge ebuild applies a patch to use a slotted version of iniparser: src/ubridge.c:29:10: fatal error: iniparser4/iniparser.h: No such file or directory 29 | #include <iniparser4/iniparser.h> | ^~~~~~~~~~~~~~~~~~~~~~~~ dev-libs/iniparser-4.2.2 altered its file paths, e.g. the aforementioned header file is installed to /usr/include/iniparser/iniparser.h Trying to emerge iniparser:0 also leads to a file collision: * Detected file collision(s): * * /usr/lib64/libiniparser.so * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-libs/iniparser-4.2.2:4::gentoo * /usr/lib64/libiniparser.so * * Package 'dev-libs/iniparser-3.1-r3' NOT merged due to file collisions. Reproducible: Always
*** Bug 933611 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e730035656b234cb1204e6d593677f8625296b28 commit e730035656b234cb1204e6d593677f8625296b28 Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2024-06-05 14:50:44 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2024-06-05 14:53:11 +0000 dev-libs/iniparser: unkeyword 4.2.2 Slotting logic isn't in place yet. Bug: https://bugs.gentoo.org/933610 Signed-off-by: Ben Kohler <bkohler@gentoo.org> dev-libs/iniparser/iniparser-4.2.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Ideally should get rid of slots entirely, a lot of packages depend on the old one not because they are not compatible with the new (I'd hope so anyway), but because they need a workaround to find the "modified" iniparser with slotting logic. e.g. media-sound/cava is forced to use a patch to use the old iniparser:4, and 4.2.2 allowed me to drop that patch (well, it's still there for now but limited to <4.2.2, not that I couldn't drop that if slot logic is re-added).
Going to have a look at unslotting this myself (all SLOT=0) and bump to 4.2.5. Not looked too closely yet, but all revdeps should be fine and nothing needs iniparser3 anymore (so no point in having both), but need to drop the workarounds caused by the slots. Also need binding operators (4.1 should be 0/1, 4.2 be 0/4, and 3 can stay 0/0 -- not that we'll keep <4.2 once stabilized)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a578f5c02f2611e2497179e91a465b7de8f4b4f1 commit a578f5c02f2611e2497179e91a465b7de8f4b4f1 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-01-07 02:58:14 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-01-07 05:18:50 +0000 dev-libs/iniparser: drop 4.2.2 This spent most of its time in the tree unkeyworded, and has SLOT="4". May as well just drop it and add the latest 4.2.5 with SLOT=0 instead. Closes: https://bugs.gentoo.org/933610 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-libs/iniparser/Manifest | 1 - dev-libs/iniparser/iniparser-4.2.2.ebuild | 27 --------------------------- 2 files changed, 28 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb6cdad026664900b2e2a8dd16d86f0a757a4742 commit bb6cdad026664900b2e2a8dd16d86f0a757a4742 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-01-07 04:12:53 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-01-07 05:18:50 +0000 dev-libs/iniparser: add 4.2.5 Bug: https://bugs.gentoo.org/933610 Closes: https://bugs.gentoo.org/933379 Closes: https://bugs.gentoo.org/933586 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-libs/iniparser/Manifest | 1 + dev-libs/iniparser/iniparser-4.2.5.ebuild | 37 +++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cadec7738558a8297ef441886014756e0028426 commit 1cadec7738558a8297ef441886014756e0028426 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2025-01-07 02:44:15 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2025-01-07 05:18:50 +0000 dev-libs/iniparser: unslot iniparser-4.1 Unslot straight-to-stable to avoid headaches, only has a handful of minor revdeps so not really critical. Would've been simpler to drop 4.1 and just do 4.2.x but can let that one go through normal stabilization (changes build system). Bug: https://bugs.gentoo.org/933610 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-libs/iniparser/iniparser-4.1-r1.ebuild | 75 ------------------------------ dev-libs/iniparser/iniparser-4.1-r2.ebuild | 58 +++++++++++++++++++++++ 2 files changed, 58 insertions(+), 75 deletions(-)