[Pkg-javascript-devel] Bug#990282: Wrong include path to cppgc/common.h in /usr/include/nodejs/deps/v8/include/v8.h
Jonas Meurer
jonas at freesources.org
Thu Jun 24 15:00:24 BST 2021
Package: libnode-dev
Version: 14.17.0~dfsg-1
Severity: important
Hello,
The include file `/usr/include/nodejs/deps/v8/include/v8.h` from libnode-dev
(version 14.17.0~dfsg-1) tries to include `cppgc/common.h`, which cannot be
found, resulting in compile errors. The correct include path would be
`node/cppgc/common.h`.
As an example, installing the NodeJS dependencies of the Nextcloud Collectives
app[1] fails with nodejs 14 from experimental:
```
npm ERR! In file included from ../src/deasync.cc:2:
npm ERR! /usr/include/nodejs/deps/v8/include/v8.h:28:10: fatal error: cppgc/common.h: No such file or directory
npm ERR! 28 | #include "cppgc/common.h"
npm ERR! | ^~~~~~~~~~~~~~~~
npm ERR! compilation terminated.
npm ERR! make: *** [deasync.target.mk:107: Release/obj.target/deasync/src/deasync.o] Error 1
```
[1] https://gitlab.com/collectivecloud/collectives/
Cheers
jonas
-- System Information:
Debian Release: 11.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libnode-dev depends on:
ii libnode83 14.17.0~dfsg-1
ii libssl-dev 1.1.1k-1
ii libuv1-dev 1.40.0-1
libnode-dev recommends no packages.
libnode-dev suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/include/nodejs/deps/v8/include/v8.h (from libnode-dev package)
More information about the Pkg-javascript-devel
mailing list