Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 237193

Summary: sys-apps/paludis-0.30.0 fails to compile mit-krb5-1.6.3-r3 because of missing /usr/libexec/paludis/utils/sed
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: [OLD] Core systemAssignee: Robert Piasek (RETIRED) <dagger>
Status: RESOLVED OBSOLETE    
Severity: normal CC: david
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harris Landgarten 2008-09-09 15:34:04 UTC
emerge of mit-krb5-1.6.3-r3 with paludis fails when it can't find /usr/libexec/paludis/utils/sed. Symlinking /bin/sed to /usr/libexec/paludis/utils/sed fixes the problem. I don't know whether the problem is in paludis-0.30.0 or mit-krb5-1.6.3-r3

Reproducible: Always
Comment 1 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-09-09 15:37:05 UTC
This is due to a bug in libtool, please rebuild libtool.

*** This bug has been marked as a duplicate of bug 236758 ***
Comment 2 Harris Landgarten 2008-09-09 15:39:56 UTC
libtool had already been rebuilt on both boxes that had the problem. I think this is a different issue.
Comment 3 Harris Landgarten 2008-09-09 15:47:06 UTC
Just to be sure I removed the symlink in to sed from /usr/libexec/paludis/utils and rebuilt libtool again. This is the error encountered when trying to rebuild mit-krb5-1.6.3-r3:



make[2]: Entering directory `/var/tmp/paludis/app-crypt-mit-krb5-1.6.3-r3/work/krb5-1.6.3/src/kadmin/cli'
x86_64-pc-linux-gnu-gcc   -I../../include -I./../../include -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1  -march=core2 -O2 -msse4.1 -pipe -I/usr/include/et -pthread -c kadmin.c
mk_cmds kadmin_ct.ct
/usr/bin/mk_cmds: line 51: /usr/libexec/paludis/utils/sed: No such file or directory
x86_64-pc-linux-gnu-gcc   -I../../include -I./../../include -I. -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1  -march=core2 -O2 -msse4.1 -pipe -I/usr/include/et -pthread -c kadmin_ct.c
kadmin_ct.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssu00001'
kadmin_ct.c:5: warning: data definition has no type or storage class
kadmin_ct.c:5: error: 'ssu00001' undeclared here (not in a function)
kadmin_ct.c:5: warning: excess elements in scalar initializer
kadmin_ct.c:5: warning: (near initialization for 'ss_request_table')
make[2]: *** [kadmin_ct.o] Error 1
make[2]: Leaving directory `/var/tmp/paludis/app-crypt-mit-krb5-1.6.3-r3/work/krb5-1.6.3/src/kadmin/cli'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/var/tmp/paludis/app-crypt-mit-krb5-1.6.3-r3/work/krb5-1.6.3/src/kadmin'
make: *** [all-recurse] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2
Comment 4 Harris Landgarten 2008-09-09 17:15:52 UTC
I found the cause of the problem. It is fixed by rebuilding e2fsprogs-libs with paludis-0.30.0. There should be explicit instructions to rebuild libtools and e2fsprog-libs when paludis-0.3.0 is installed.

The rebuild changed /usr/bin/mk_cmds from

SED=/usr/libexec/paludis/utils/sed

to

SED=/bin/sed
Comment 5 Wormo (RETIRED) gentoo-dev 2008-09-09 20:03:14 UTC
Thanks for reporting the solution -- sounds like an ewarn would be appropriate.

Assigning to paludis maintainers.
Comment 6 Mike Smyth 2008-09-17 03:58:22 UTC
(In reply to comment #4)
> I found the cause of the problem. It is fixed by rebuilding e2fsprogs-libs with
> paludis-0.30.0. There should be explicit instructions to rebuild libtools and
> e2fsprog-libs when paludis-0.3.0 is installed.
> 
> The rebuild changed /usr/bin/mk_cmds from
> 
> SED=/usr/libexec/paludis/utils/sed
> 
> to
> 
> SED=/bin/sed
> 

On my system, the file /usr/bin/mk_cmds comes from the package sys-libs/ss, not libtool or e2fsprog-lib:

archibald ~ # paludis --owner /usr/bin/mk_cmds
* /usr/bin/mk_cmds
    sys-libs/ss-1.40.9::installed
        /usr/bin/mk_cmds

I fixed this by paludis --install --preserve-world --continue-on-failure if-independent sys-libs/ss
(the --continue-on-failure was needed because paludis kept trying to build php first, and failing with the same error message you had for mit-krb5)
Comment 7 Tim Ruffing 2008-09-28 17:02:43 UTC
I had the same problem (also with PHP) but rebuilding libtool AND ss helped I don't know if ss was needed, but remerging only ss didn't fix it.
Comment 8 David Raison 2008-09-29 20:37:41 UTC
I have neither e2fsprogs-libs nor ss installed, and rebuild libtool, so it can't be either of them.. :(
Comment 9 David Raison 2008-09-29 20:47:50 UTC
the symlink works, but I'd definitely like to know what to rebuild to fix it once and for at
Comment 10 Pacho Ramos gentoo-dev 2012-04-06 14:48:50 UTC
Is this still valid with 0.72.2? If not, feel free to close this bug
Comment 11 Robert Piasek (RETIRED) gentoo-dev 2012-04-21 20:13:31 UTC
paludis-0.30.0 is no longer part of portage tree. If you can re-produce this problem with current version of paludis, please re-open this ticket.