From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9BAC9138350 for ; Sat, 21 Mar 2020 02:19:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDE67E0AE1; Sat, 21 Mar 2020 02:19:00 +0000 (UTC) Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6AD7FE0969 for ; Sat, 21 Mar 2020 02:19:00 +0000 (UTC) Received: by mail-il1-x141.google.com with SMTP id h3so7736193ils.3 for ; Fri, 20 Mar 2020 19:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=l9sD4h/aZEAvLH1zqfTtT0Cj3XIAIXWZnaPLCmP0gQs=; b=cLE9m4pospHgKvuGpmjb83uiVrJbYFaBHWTEPHApakUpwjzExwAoUEXUwnqCL2eDIN FGeuP6vDjlZAq6qCkGziqJwH+gRzpW1Av4cLqBajz3D2HaQE54v4wYZjZDT0zYjHvZF6 nSUnr7n6szUeAEU/sej15SQLeTyI0rYFgWm1zlLKk6W4/RZvrAyIMp5WFqg2QuhJURU+ WWNNLUONv+z4jpv2l/ilxDH+1TvyUxIgiNRI6Wtm27GkMIgNKvJmHE/+Oe8NH2rd4qpj C08fTekH6+fwMPVUTcR+4LGC1qV0a0VWLeh/EnJw1pVhug7PQiSCFbsLv5I6U1Ytgv14 nt3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=l9sD4h/aZEAvLH1zqfTtT0Cj3XIAIXWZnaPLCmP0gQs=; b=iAtAcZO8QWJWruJgLFLeaMnjvT41EXiwV3iRRsd2SnfXoAO2vl/M6oOJdnmQyRvugU HxHcW8XKKZWXBDwpaDKB8O5cd5ZZdCnNGVbZmzklzISto9GE1nqgPSSv3fsNleLVs02g zw1KUer469meRTeRflp5Pf8QOAirLqwhr+VUzLn6ZYL+KLtZxWzx21ivh4sKEjwxRWDk wufCgdId1UIGOM+Ys66Q/R76hmz4ABogQb/RXLp67xF1pLT0Tfo4sIsOBwBF5lx1rTlU WLtsBpfpMPFYHg5RlyzS0qSSJVprJDVUcOiR6V1OCpSfHNJKlodvB/IXEfcbzrMv3WDV qDfw== X-Gm-Message-State: ANhLgQ29t4j87PGw8nQu6qvpK5NLuwxohzk4p3UY/pD5C3DJHjV5mCKq 4g93K8KHZZCDc1HJeTqtEqioAG+a6OXPdtzr0Z3GRA== X-Google-Smtp-Source: ADFU+vs05dTbw7+jgjL5UrEmQwalUcX6miiBOxcWJDgSX/AMzUbvldyE++yWpNQVd009I5ycdTVvgskE2EyrrljAPSs= X-Received: by 2002:a92:2911:: with SMTP id l17mr11983997ilg.166.1584757139407; Fri, 20 Mar 2020 19:18:59 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: Jeffrey Walton Date: Fri, 20 Mar 2020 22:18:47 -0400 Message-ID: Subject: Re: [gentoo-user] How to fix license error during install? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: cbd9c00f-48f5-44d7-b256-ed2fbb0f1f37 X-Archives-Hash: 7916795f84063eb6c13e3f0f659dcafd On Fri, Mar 20, 2020 at 10:16 PM John Covici wrote: > > On Fri, 20 Mar 2020 21:16:10 -0400, > Jeffrey Walton wrote: > > > > Hi Everyone, > > > > I'm having trouble installing Gentoo in a Virtual Box VM for testing. > > It is a x86_64 guest. I selected a hardened profile to test PaX, which > > means I selected 18 in 'eselect profile'. > > > > I'm at "Configuring the Linux kernel" in the Handbook > > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel). > > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does > > not report errors. The genkernel part fails. > > > > The specific error is: > > > > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write > > sys-kernel/genkernel 2>&1 | tee kernel.txt > > $ cat kernel.txt > > > > * IMPORTANT: 6 config files in '/etc/portage' need updating. > > Calculating dependencies * See the CONFIGURATION FILES and > > CONFIGURATION FILES UPDATE TOOLS > > * sections of the emerge man page to learn how to update config files. > > ... done! > > [ebuild N ] app-arch/cpio-2.12-r1 USE="nls" > > [ebuild N ] sys-kernel/linux-firmware-20200316 > > USE="redistributable -initramfs -savedconfig (-unknown-license)" > > [ebuild N ] sys-kernel/genkernel-4.0.4 USE="firmware (-ibm)" > > > > The following license changes are necessary to proceed: > > (see "package.license" in the portage(5) man page for more details) > > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware] > > # required by genkernel (argument) > > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code > > > > Autounmask changes successfully written. > > > > * IMPORTANT: 7 config files in '/etc/portage' need updating. > > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS > > * sections of the emerge man page to learn how to update config > > files.Here is the > > > > Here is the portage(5) man page: > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here > > is the part about package.license: > > > > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented > > for a single package. > > > > Format: > > > > - comment lines begin with # (no inline comments) > > - one DEPEND atom per line followed by additional licenses or groups > > > > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help. > > > > The information provided in portage(5) and package.license leaves a > > lot to be desired. > > > > What is the problem and how do I fix it? > > > > Well, you need to change your config files as portage asked you to do > before proceeding. There are several utilities to do that, I use > etc-update, but there are several others. Thanks John. The Handbook does not say to make any configuration changes. That seems safe to me since I have no idea what changes to make. Jeff