Gentoo Archives: gentoo-user

From: Jeffrey Walton <noloader@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to fix license error during install?
Date: Sat, 21 Mar 2020 02:19:06
Message-Id: CAH8yC8n2S6qfADfg8LNiWZJo-wG_VgWPPS8GDjYY7CX=jTJQng@mail.gmail.com
In Reply to: Re: [gentoo-user] How to fix license error during install? by John Covici
1 On Fri, Mar 20, 2020 at 10:16 PM John Covici <covici@××××××××××.com> wrote:
2 >
3 > On Fri, 20 Mar 2020 21:16:10 -0400,
4 > Jeffrey Walton wrote:
5 > >
6 > > Hi Everyone,
7 > >
8 > > I'm having trouble installing Gentoo in a Virtual Box VM for testing.
9 > > It is a x86_64 guest. I selected a hardened profile to test PaX, which
10 > > means I selected 18 in 'eselect profile'.
11 > >
12 > > I'm at "Configuring the Linux kernel" in the Handbook
13 > > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
14 > > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
15 > > not report errors. The genkernel part fails.
16 > >
17 > > The specific error is:
18 > >
19 > > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
20 > > sys-kernel/genkernel 2>&1 | tee kernel.txt
21 > > $ cat kernel.txt
22 > >
23 > > * IMPORTANT: 6 config files in '/etc/portage' need updating.
24 > > Calculating dependencies * See the CONFIGURATION FILES and
25 > > CONFIGURATION FILES UPDATE TOOLS
26 > > * sections of the emerge man page to learn how to update config files.
27 > > ... done!
28 > > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls"
29 > > [ebuild N ] sys-kernel/linux-firmware-20200316
30 > > USE="redistributable -initramfs -savedconfig (-unknown-license)"
31 > > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)"
32 > >
33 > > The following license changes are necessary to proceed:
34 > > (see "package.license" in the portage(5) man page for more details)
35 > > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
36 > > # required by genkernel (argument)
37 > > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code
38 > >
39 > > Autounmask changes successfully written.
40 > >
41 > > * IMPORTANT: 7 config files in '/etc/portage' need updating.
42 > > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
43 > > * sections of the emerge man page to learn how to update config
44 > > files.Here is the
45 > >
46 > > Here is the portage(5) man page:
47 > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
48 > > is the part about package.license:
49 > >
50 > > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
51 > > for a single package.
52 > >
53 > > Format:
54 > >
55 > > - comment lines begin with # (no inline comments)
56 > > - one DEPEND atom per line followed by additional licenses or groups
57 > >
58 > > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
59 > >
60 > > The information provided in portage(5) and package.license leaves a
61 > > lot to be desired.
62 > >
63 > > What is the problem and how do I fix it?
64 > >
65 >
66 > Well, you need to change your config files as portage asked you to do
67 > before proceeding. There are several utilities to do that, I use
68 > etc-update, but there are several others.
69
70 Thanks John.
71
72 The Handbook does not say to make any configuration changes. That
73 seems safe to me since I have no idea what changes to make.
74
75 Jeff

Replies

Subject Author
Re: [gentoo-user] How to fix license error during install? madscientistatlarge <madscientistatlarge@××××××××××.com>
Re: [gentoo-user] How to fix license error during install? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] How to fix license error during install? John Covici <covici@××××××××××.com>
Re: [gentoo-user] How to fix license error during install? Michael <confabulate@××××××××.com>