Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220319 - sys-fs/cryptsetup 1.0.5-r1 fails to compile
Summary: sys-fs/cryptsetup 1.0.5-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 08:06 UTC by Matthias Fechner
Modified: 2008-10-05 20:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fechner 2008-05-05 08:06:20 UTC
While emerge -av xfce4 the installation of cryptsetup 1.0.5-r1 failed with the errormessage:
i686-pc-linux-gnu-gcc: /usr/lib/libpopt.a: No such file or directory
make[2]: *** [cryptsetup] Error 1

I checked  /usr/lib and the following files are existant:
libpopt.la
libpopt.so.0.0.0 (symlink to it with libpopt.so and libpopt.so.0)

dev-libs/popt is version 1.10.7 installed.

Reproducible: Always

Steps to Reproduce:
1. Install gentoo from the 2008.0_beta2 CD
2. emerge --sync
3. emerge -av cryptsetup

Actual Results:  
Port cannot be installed:
i686-pc-linux-gnu-gcc: /usr/lib/libpopt.a: No such file or directory
make[2]: *** [cryptsetup] Error 1

Expected Results:  
Install the port.
Comment 1 Kremenev Maxim 2008-05-05 17:08:20 UTC
Maybe emerge --sync && emerge -uND sys-fs/cryptsetup (available 1.0.6 version) then u can revdep-rebuild. And if cryptsetup don't want be install again re-emerge dev-libs/popt
Comment 2 Matthias Fechner 2008-05-06 13:55:18 UTC
(In reply to comment #1)
> Maybe emerge --sync && emerge -uND sys-fs/cryptsetup (available 1.0.6 version)
> then u can revdep-rebuild. And if cryptsetup don't want be install again
> re-emerge dev-libs/popt

ok I updated now my portage with emerge --sync.
I re-emerged cryptsetup but that doesn't fixed the problem.
After reinstalling popt and then rebuild cryptsetup it builds fine.
Version installed now are:
sys-fs/cryptsetup-1.0.5-r1
dev-libs/popt-1.10.7

It is not clear for me why but it seems that the reinstallation of popt created a file libpopt.a now under /usr/lib.
Comment 3 Chris Owen 2008-05-22 04:14:16 UTC
I had the exact same error with a brand new 2008.0_beta2 CD install.  Two different emerge commands were failing because cryptsetup was a dependency

It appears that popt was not installed at all.  Installing it fixed the problem.

Looks like cryptsetup just isn't properly installing popt as a dependency.

Comment 4 Thijs Leibbrand 2008-06-27 11:11:52 UTC
(In reply to comment #3)
> I had the exact same error with a brand new 2008.0_beta2 CD install.  Two
> different emerge commands were failing because cryptsetup was a dependency
> 
> It appears that popt was not installed at all.  Installing it fixed the
> problem.
> 
> Looks like cryptsetup just isn't properly installing popt as a dependency.
> 

Popt was installed here as well, I re-emerged it, same version, and then I was able to emerge cryptsetup fine. What is causing this is unclear, I did install 2008 beta 2. if popt is a package from that then it misses the needed file for cryptsetup. If this is the case then it is a bug from the 2008 beta 2 live cd install..
Comment 5 Andrey Grozin gentoo-dev 2008-07-04 03:25:35 UTC
(In reply to comment #3)
> I had the exact same error with a brand new 2008.0_beta2 CD install.
Same here. Emerging libpopt fixed the problem.
Comment 6 Łukasz Damentko (RETIRED) gentoo-dev 2008-08-11 01:30:03 UTC
Reassigning back to herd since Benjamin has retired as a Gentoo developer (#89719).
Comment 7 SpanKY gentoo-dev 2008-10-05 20:38:52 UTC
cryptsetup-1.0.6 lists popt in DEPEND