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

Bug 81105

Summary: psmisc-21.4 fails to compile
Product: Gentoo Linux Reporter: John Shaw <jtshaw>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fixed ebuild

Description John Shaw 2005-02-07 05:49:49 UTC
I'm building a Hardened Gentoo system starting from stage 1.  Bootstrapping and everything went great.  Emerge system had problems with the psmisc-21.4 package.  It failed to configured with the error "libtool is a different version from ltmain.sh".  I had to manually run libtoolize --copy --force in the build directory.

Reproducible: Always
Steps to Reproduce:
1. emerge system

Actual Results:  
Libtool and ltmain.sh had issues with a version mismatch.

Expected Results:  
psmisc compile and install.

I'm still not completely up and running on that system so I don't have an easy
way to get emerge info here.  I'm running Portage 2.0.51-r15 and I am not using
the ~x86 flag.  The profile is selinux/2004.1/x86/hardened.  Compiler is
gcc-3.3.5 w/ glibc-2.3.4-20040808-r1.

Using the ACCEPT_KEYWORDS="~x86" for the build of psmisc only, I was able to
compile and install psmisc 21.5 through emerge without any problems.

I could also manually finish the install of psmisc 21.4 by running libtoolize
--copy --force in the build directory and then running make && make install.

I suppose, if there are no issues I'm not aware of with psmisc-21.5 it will be
getting marked stable soon and this problem won't be an issue anymore, but I
thought I'd post the bug anyway just in case.

Oh ya... one last thing...  I used the stage1-x86-selinux-pie-ssp-20041123 stage
file in case that makes any kind of difference to anyone.
Comment 1 John Shaw 2005-02-07 05:58:04 UTC
Created attachment 50615 [details]
Fixed ebuild

Ok, I took a look at the difference between the 21.5 and 21.4 ebuild files. 
Seams like the 21.5 ebuild does run libtoolize --copy --force after it applies
the selinux patch and that is why it works while the other one didn't.

For the sake of maybe saving you guys some time, I've fixed the psmisc 21.4
ebuild and attached it here as psmisc-21.4-r1.ebuild.
Comment 2 SpanKY gentoo-dev 2005-02-07 07:27:15 UTC

*** This bug has been marked as a duplicate of 80726 ***