• [gentoo-user] portage - ERROR: setup

    From thelma@sys-concept.com@21:1/5 to All on Wed Mar 9 00:20:01 2022
    Upgrading to new portage I get an error message:
    package sys-apps/portage-3.0.30-r1 merged on ... with notice

    ERROR: setup
    Could not find a Makefile in the kernel source directory.
    Please ensure that /usr/src/linux points to a complete set of Linux sources WARN: setup
    Unable to calculate Linux Kernel version for build, attempting to use running version

    In /usr/src/linux is pointing correctly:

    linux -> linux-5.10.61-gentoo

    What am I missing?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Connell@21:1/5 to thelma@sys-concept.com on Wed Mar 9 04:50:01 2022
    On Tue, 2022-03-08 at 16:12 -0700, thelma@sys-concept.com wrote:
    In /usr/src/linux is pointing correctly:

       linux -> linux-5.10.61-gentoo

    5.10.61 isn't offered by gentoo-sources anymore. I think you probably depcleaned it at some point since then, so there are no more sources
    there.

    Suggest updating your symlink to the version you have installed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to Matt Connell on Wed Mar 9 19:50:01 2022
    On 3/8/22 20:48, Matt Connell wrote:
    On Tue, 2022-03-08 at 16:12 -0700, thelma@sys-concept.com wrote:
    In /usr/src/linux is pointing correctly:

       linux -> linux-5.10.61-gentoo

    5.10.61 isn't offered by gentoo-sources anymore. I think you probably depcleaned it at some point since then, so there are no more sources
    there.

    Suggest updating your symlink to the version you have installed.

    Correct. Thanks for pointer.
    It was removed somehow.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)