Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102698 - util-linux: doesn't build right with both USE=crypt and USE=old-crypt
Summary: util-linux: doesn't build right with both USE=crypt and USE=old-crypt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 04:05 UTC by Zak Kipling
Modified: 2005-08-16 15:10 UTC (History)
0 users

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


Attachments
Patch (util-linux-2.12q-r1.ebuild.diff,327 bytes, patch)
2005-08-16 04:07 UTC, Zak Kipling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zak Kipling 2005-08-16 04:05:13 UTC
If you emerge with USE="crypt -old-crypt", you get binaries that support
loop-AES but not cryptoloop.

If you emerge with USE="-crypt old-crypt", you get binaries that support
cryptoloop but not loop-AES.

If you emerge with USE="crypt old-crypt", you get two sets of binaries (one of
them suffixed -old-crypt), but neither supports loop-AES.

I have a one-line patch to the 2.12q-r1 ebuild (to follow) which appears to fix
this, causing the main binaries to support loop-AES and the additional
-old-crypt ones to support cryptoloop -- which I presume was the intention.

This bug appears to have been present at least since 2.12p-r1 (the earliest
loop-AES-supporting version currently in portage -- 2.12i-r1 has the loop-AES
stuff commented out).


Reproducible: Always
Steps to Reproduce:
1. USE="crypt old-crypt" emerge util-linux
2. losetup -a
3. losetup-old-crypt -a
Actual Results:  
Neither version of losetup supported the loop-AES -a option

Expected Results:  
losetup should have had the loop-AES support, which losetup-old-crypt should
have been the cryptoloop version.
Comment 1 Zak Kipling 2005-08-16 04:07:04 UTC
Created attachment 66069 [details, diff]
Patch
Comment 2 SpanKY gentoo-dev 2005-08-16 15:10:29 UTC
left over from when USE=old-crypt didnt produce a second set of binaries

fixed in cvs, thanks