Control: tags -1 + patch
On 12/12/23 09:59, Yadd wrote:
Package: node-eslint-plugin-eslint-plugin
Version: 2.3.0+~0.3.0-4
Severity: serious
Tags: ftbfs
Justification: ftbfs
Hi,
when trying to reproduce node-eslint-plugin-eslint-plugin build, sbuild
fails. Below relevant logs:
eslint --format tap Xcomposer
TAP version 13
1..2
ok 1 - /<<PKGBUILDDIR>>/Xcomposer/lib/rule-composer.js
ok 2 - /<<PKGBUILDDIR>>/Xcomposer/tests/lib/rule-composer.js
eslint --format tap . --ignore-pattern '!.*'
Oops! Something went wrong! :(
ESLint: 6.4.0.
ESLint couldn't find the config "not-an-aardvark/node" to extend from. Please
check that the name of the config is correct.
The config "not-an-aardvark/node" was referenced from the config file in
"/<<PKGBUILDDIR>>/.pc/2002_avoid_eslint-plugin-self.patch/.eslintrc.yml".
If you still have problems, please stop by https://gitter.im/eslint/eslint to
chat with the team.
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 2
Hi Jonas,
this patch seems to fix the problem:
--- a/debian/rules
+++ b/debian/rules
@@ -35,7 +35,7 @@ override_dh_auto_build: $(DOCS) $(CHANGELOGS)
override_dh_auto_test:
$(ESLINT) Xcomposer
- $(ESLINT) . --ignore-pattern '!.*'
+ $(ESLINT) . --ignore-pattern .pc
$(MOCHA) --recursive Xcomposer/tests
$(MOCHA) --recursive tests