Mailing List Archive

NodeJS compiling problem
Hello list,

Am I the only one unable to install net-libs/nodejs-18.14.2? The log file has
some interesting entries:

* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Checking whether python3_11 is suitable ...
* >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ...
[ ok ]
* Using python3.11 to build (via PYTHON_COMPAT iteration)
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not detect kernel version.

But I've just built a new kernel under /usr/src/linux ( -> linux-6.2.2-
gentoo), so I know it's there. Is the problem to do with python:3.11?

$ eselect python list
Available Python interpreters, in order of preference:
[1] python3.10
[2] python3.11 (fallback)

--
Regards,
Peter.
Re: NodeJS compiling problem [ In reply to ]
On Sun, 5 Mar 2023 at 16:21, Peter Humphrey <peter@prh.myzen.co.uk> wrote:
>
> Hello list,
>
> Am I the only one unable to install net-libs/nodejs-18.14.2? The log file has
> some interesting entries:
>
> * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
> * Checking whether python3_11 is suitable ...
> * >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ...
> [ ok ]
> * Using python3.11 to build (via PYTHON_COMPAT iteration)
> * Determining the location of the kernel source code
> * Found kernel source directory:
> * /usr/src/linux
> * Could not detect kernel version.

I wouldn't think this is really the problem, as long as you get the
"found kernel source directory" message. Being able to determine the
version doesn't seem that important, depending on what the actual
compile errors are.

Regards,
Arve
Re: NodeJS compiling problem [ In reply to ]
On Sunday, 5 March 2023 16:13:24 GMT Arve Barsnes wrote:
> On Sun, 5 Mar 2023 at 16:21, Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> > Hello list,
> >
> > Am I the only one unable to install net-libs/nodejs-18.14.2? The log file
> > has>
> > some interesting entries:
> > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
> > * Checking whether python3_11 is suitable ...
> > * >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ...
> > [ ok ]
> > * Using python3.11 to build (via PYTHON_COMPAT iteration)
> > * Determining the location of the kernel source code
> > * Found kernel source directory:
> > * /usr/src/linux
> > * Could not detect kernel version.
>
> I wouldn't think this is really the problem, as long as you get the
> "found kernel source directory" message. Being able to determine the
> version doesn't seem that important, depending on what the actual
> compile errors are.

Hm. I thought it might be leading to the later error "no rule to make target
'3' ". See the attached log.

An amd64 machine compiles this version of nodejs ok, but this machine is
~amd64. I tried yanking out python 3.11, but still got the error so I put it
back in again, toute-suite.

--
Regards,
Peter.
Re: NodeJS compiling problem [ In reply to ]
On Sunday, 5 March 2023 15:21:25 GMT Peter Humphrey wrote:
> Hello list,
>
> Am I the only one unable to install net-libs/nodejs-18.14.2? The log file
> has some interesting entries:

It was a typo in /etc/portage/env.

Apologies for the noise.

--
Regards,
Peter.