Jump to content
  • 0
Sign in to follow this  
kundor

Debian-sources fails to emerge

Question

When following the directions for a new 1.4 install at https://www.funtoo.org/Install/Kernel, I tried 

# echo "sys-kernel/debian-sources binary" > /etc/portage/package.use
# emerge -av debian-sources

But this failed with ERROR: LUKS support cannot be included: no file /sbin/cryptsetup.

I noticed the output included

Running with options: --no-save-config --no-oldconfig ... --disklabel --lvm --luks --mdadm --no-btrfs --no-zfs ...

and the --lvm --luks part seemed wrong, since my system doesn't have either of those things.

After comparing debian-sources-5.2.9_p2-r2.ebuild to debian-sources-lts-4.19.67_p2-r1.ebuild, which had built successfully in the previous step, I changed lines 224 and 225 of the ebuild from

      --lvm \
      --luks \

to 

      $(usex lvm --lvm --no-lvm ) \
      $(usex luks --luks --no-luks ) \

and after that it emerged successfully.

 

It looks like the ebuild has updated to 5.2.17_p1 since I synced, but those lines are still the same, so perhaps the same fix would be beneficial for others?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...