Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] How to fix license error during install? John Covici <covici@××××××××××.com>
Re: [gentoo-user] How to fix license error during install? Daniel Frey <djqfrey@×××××.com>