e2fsprogs-libs provides the files of sys-libs/com_err and sys-libs/ss and therefore e2fsprogrs-libs blocks both packages. mit-krb5 should allow both and depend on either ss and com_err or on e2fsprogs-libs.
Created attachment 163055 [details, diff] mit-krb5-1.6.3-r2.ebuild Hi, Thats to fix gone raelly easiely, but now it compiles any more because the hole package try ~80 times to include the "com_err.h" but its now "et/com_err.h".
kerberos team, also take a look at bug 234907
Created attachment 163074 [details, diff] Patch to fix dependecies problem with e2fsprogs-libs Hi guys, please check this patch. It works with installed e2fsprogs-libs (required by e2fsprogs-1.41.0), but I didn't check it with e2fsproges-1.40.11 require sys-libs/ss and sys-libs/com_err. Please check before bug #234957: http://bugs.gentoo.org/show_bug.cgi?id=234957 Regards, Rafal Lalik
*** Bug 234957 has been marked as a duplicate of this bug. ***
workaround for compile problem: # cd /usr/include # ln -s et/com_err.h .
(In reply to comment #5) > workaround for compile problem: > > # cd /usr/include > # ln -s et/com_err.h . > instead, I added the following to src_compile: export CPPFLAGS="${CPPFLAGS} -I/usr/include/et" and that worked fine.
Another solution, for now, is to push an mit-krb5-1.6.3-r2.ebuild which is keyworded only ~arch, and DEPENDs in only e2fsprogs-libs. This way, we separate people running stable from people running ~arch. The maintainer will decide. Patch follows.
Created attachment 163133 [details, diff] patch for krb5-1.6.3-r1.ebuild, to create the -r2 ebuild
(In reply to comment #8) > Created an attachment (id=163133) [edit] > patch for krb5-1.6.3-r1.ebuild, to create the -r2 ebuild > Ok, but problem still exist if you use <=e2fsprogs-1.40.11 which depend on sys-libs/ss and sys-libs/com_err. My patch works with both cases: sys-libs/ss or e2fsprogs-libs
And copy the file from /usr/include/et/ to .. is absolutly the wrong way. The symlink is a dirty hack too and should remove on when the upstream has make or patch or release.
*** Bug 235110 has been marked as a duplicate of this bug. ***
Created attachment 163274 [details, diff] patch for e2fsprogs-libs compatibility please test!
$ grep -R '#include "com_err.h"' * | wc -l 76 That's a lot of code for us to patch. I've decided to make some kind of combination of the suggested solutions. See either the attached patch or the ebuild in the overlay. It'd be nice if you could test it! Thanks in advance, mueli
(In reply to comment #13) > Created an attachment (id=163274) [edit] > patch for e2fsprogs-libs compatibility In the long term, you should probably use "$(pkg-config --cflags com_err)" instead of the hardcoded "-I/usr/include/et". However pkg-config returns the wrong result for e2fsprogs-libs-1.41.0. I've commented at bug 234957 about that problem.
bug is fixed now also in repository .... will include the pkg-config call as soon it is fixed in bug #234957.
mit-krb5-1.6.3-r2 still has rdepend com_err ss with is causing paludis problems
paludis -ip mit-krb5 Building target list... paludis@1219199791: [WARNING e.vdb.provides.no_package] In program paludis -ip mit-krb5: ... When performing install action from command line: ... When adding install target 'mit-krb5': ... When parsing user package dep spec 'mit-krb5': ... When parsing generic package dep spec 'mit-krb5': ... When disambiguating package name 'mit-krb5': ... When finding all versions in some arbitrary order from packages matching */mit-krb5 with filter all matches filtered through supports action install: ... When finding category names containing package 'mit-krb5': ... When loading names for virtuals repository: ... When finding provided packages for 'installed': ... No package available for 'media-libs/libquicktime 1.0.2' * I can't find //usr/bin/update-eix-functions.sh, aborting Building dependency list... These packages will be installed: * sys-libs/com_err [N 1.40.11] Reasons: *app-crypt/mit-krb5-1.6.3-r2:0::gentoo, *sys-libs/ss-1.40.11:0::gentoo "common error display library" nls * sys-libs/ss [N 1.40.11] Reasons: *app-crypt/mit-krb5-1.6.3-r2:0::gentoo "Subsystem command parsing library" nls * app-crypt/mit-krb5 [R 1.6.3-r2] <target> Reasons: dev-libs/openssl-0.9.8h-r1:0::installed -doc -krb4 Total: 3 packages (2 new, 1 rebuild)
(In reply to comment #17) > mit-krb5-1.6.3-r2 still has rdepend com_err ss with is causing paludis problems If you look in the ebuild then you'll see that it has e2fsprogs-libs listed as an alternative choice: || ( ( sys-libs/com_err sys-libs/ss ) ( >sys-libs/e2fsprogs-libs-1.40.11 ) ) I had the same problem with portage, but it solved automatically after I masked the sys-libs/com_err and sys-libs/ss packages in /etc/portage/package.mask: $ emerge -pv mit-krb5 e2fsprogs These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] sys-libs/e2fsprogs-libs-1.41.0 USE="nls" 476 kB [ebuild U ] sys-fs/e2fsprogs-1.41.0 [1.40.11] USE="nls (-static%)" 4,161 kB [blocks b ] <sys-fs/e2fsprogs-1.41 (is blocking sys-libs/e2fsprogs-libs-1.41.0) [ebuild N ] app-crypt/mit-krb5-1.6.3-r2 USE="-doc -krb4" 11,636 kB [uninstall ] sys-libs/com_err-1.40.11 USE="nls" [blocks b ] sys-libs/com_err (is blocking sys-libs/e2fsprogs-libs-1.41.0) [uninstall ] sys-libs/ss-1.40.11 USE="nls" [blocks b ] sys-libs/ss (is blocking sys-libs/e2fsprogs-libs-1.41.0)
I'd also suggest the solution of zmedico as I want to leave the deps as they are to give also stable users the possibility to use ~ mit-krb5. thx and greets, mueli