[Pkg-javascript-devel] Bug#1054161: node-ast-types: ftbfs: error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher

Tianyu Chen sweetyfish at deepin.org
Wed Oct 18 13:15:14 BST 2023


Source: node-ast-types
Version: 0.15.2-3
Severity: important
Tags: ftbfs

Hi,

During a rebuild of your package in unstable, your package fails to
build from source.

Full log can be accessed at:

	https://build.opensuse.org/package/live_build_log/home:utsweetyfish:node-ast-types/node-ast-types/Debian_Unstable/x86_64

Tail of log for your package:

	dh binary
	   dh_update_autotools_config
	   dh_autoreconf
	   dh_auto_configure --buildsystem=nodejs
	Link ./node_modules/@babel/types -> /usr/share/nodejs/@babel/types
	Link ./node_modules/tslib -> /usr/share/nodejs/tslib
	Link ./node_modules/@types/estree -> /usr/share/nodejs/@types/estree
	Not found
	### @types/minimatch is required by debian/nodejs/./extlinks but not available
	# Typescript definition detected, Fallback to main module
	### You SHOULD update your debian/nodejs/./extlinks file!
	Link ./node_modules/minimatch -> /usr/share/nodejs/minimatch
	Link ./node_modules/@types/mocha -> /usr/share/nodejs/@types/mocha
	Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
	Copy /usr/share/nodejs/@babel/parser -> ./node_modules/@babel
	Copy /usr/share/nodejs/@types/esprima -> ./node_modules/@types
	Copy /usr/share/nodejs/@types/glob -> ./node_modules/@types
	   debian/rules override_dh_auto_build
	make[1]: Entering directory '/usr/src/packages/BUILD'
	tsc
	../../../share/nodejs/minimatch/dist/cjs/ast.d.ts(4,5): error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
	make[1]: *** [debian/rules:7: override_dh_auto_build] Error 2
	make[1]: Leaving directory '/usr/src/packages/BUILD'
	make: *** [debian/rules:4: binary] Error 2
	dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Thanks!
Tianyu Chen @ deepin



More information about the Pkg-javascript-devel mailing list