First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 234886
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Kerberos Maintainers <kerberos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lars Strojny <lars@strojny.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mit-krb5-1.6.3-r2.ebuild mit-krb5-1.6.3-r2.ebuild patch Steffen 'j0inty' Stollfuß 2008-08-16 16:18 0000 2.58 KB Details | Diff
mit-krb5-1.6.3-r1_e2fsprogs-libs_compatible.patch Patch to fix dependecies problem with e2fsprogs-libs patch Rafal Lalik 2008-08-16 20:21 0000 449 bytes Details | Diff
mit-krb5-1.6.3-r2.ebuild.patch patch for krb5-1.6.3-r1.ebuild, to create the -r2 ebuild patch Panagiotis Christopoulos 2008-08-17 19:40 0000 717 bytes Details | Diff
mit-krb5-1.6.3-r2.patch patch for e2fsprogs-libs compatibility patch Michael Hammer 2008-08-19 07:58 0000 1.35 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 234886 depends on: Show dependency tree
Bug 234886 blocks: 234907
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-08-16 07:36 0000
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.

------- Comment #1 From Steffen 'j0inty' Stollfuß 2008-08-16 16:18:06 0000 -------
Created an attachment (id=163055) [details]
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".

------- Comment #2 From Panagiotis Christopoulos 2008-08-16 19:50:52 0000 -------
kerberos team,
also take a look at bug 234907 

------- Comment #3 From Rafal Lalik 2008-08-16 20:21:14 0000 -------
Created an attachment (id=163074) [details]
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

------- Comment #4 From Panagiotis Christopoulos 2008-08-16 20:50:51 0000 -------
*** Bug 234957 has been marked as a duplicate of this bug. ***

------- Comment #5 From gfl3162+gbugzilla@gmail.com 2008-08-17 05:17:56 0000 -------
workaround for compile problem:

# cd /usr/include
# ln -s et/com_err.h .

------- Comment #6 From Denys Duchier 2008-08-17 12:15:54 0000 -------
(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.

------- Comment #7 From Panagiotis Christopoulos 2008-08-17 19:36:52 0000 -------
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.

------- Comment #8 From Panagiotis Christopoulos 2008-08-17 19:40:11 0000 -------
Created an attachment (id=163133) [details]
patch for krb5-1.6.3-r1.ebuild, to create the -r2 ebuild

------- Comment #9 From Rafal Lalik 2008-08-17 20:56:53 0000 -------
(In reply to comment #8)
> Created an attachment (id=163133) [edit] [details]
> 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

------- Comment #10 From Steffen 'j0inty' Stollfuß 2008-08-17 21:22:55 0000 -------
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.

------- Comment #11 From Rafal Lalik 2008-08-17 22:47:09 0000 -------
(In reply to comment #8)
> Created an attachment (id=163133) [edit] [details]
> 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

------- Comment #12 From Panagiotis Christopoulos 2008-08-18 17:38:08 0000 -------
*** Bug 235110 has been marked as a duplicate of this bug. ***

------- Comment #13 From Michael Hammer 2008-08-19 07:58:41 0000 -------
Created an attachment (id=163274) [details]
patch for e2fsprogs-libs compatibility

please test!

------- Comment #14 From Michael Hammer 2008-08-19 07:59:13 0000 -------
$ 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

------- Comment #15 From Ulrich Müller 2008-08-19 10:51:21 0000 -------
(In reply to comment #13)
> Created an attachment (id=163274) [edit] [details]
> 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.

------- Comment #16 From Michael Hammer 2008-08-19 12:59:34 0000 -------
bug is fixed now also in repository .... will include the pkg-config call as
soon it is fixed in bug #234957.

------- Comment #17 From Harris Landgarten 2008-08-20 02:33:54 0000 -------
mit-krb5-1.6.3-r2 still has rdepend com_err ss with is causing paludis problems

------- Comment #18 From Harris Landgarten 2008-08-20 02:38:38 0000 -------
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)

------- Comment #19 From Zac Medico 2008-08-20 04:50:43 0000 -------
(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)

------- Comment #20 From Michael Hammer 2008-08-20 06:41:15 0000 -------
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

First Last Prev Next    No search results available      Search page      Enter new bug