[Pkg-javascript-devel] Bug#927254: closed by Xavier Guimard <yadd at debian.org> (Bug#927254: fixed in vue-router.js 3.0.7+ds-1)
meskio
meskio at sindominio.net
Thu Feb 27 10:03:54 GMT 2020
Quoting Paolo Greppi (2019-10-31 18:39:16)
> On Sat, 14 Sep 2019 09:53:18 +0000 Dmitry Bogatov <KAction at disroot.org> wrote:
> > ...
> > It does not build for me. Neither it builds on Salsa CI (I added
> > debian/.gitlab-ci.yml on branch `wip').
> >
> > https://salsa.debian.org/js-team/vue-router.js/-/jobs/321533
> > --
> > Note, that I send and fetch email in batch, once in a few days.
> > Please, mention in body of your reply when you add or remove recepients.
>
> Hi Dmitry, I have fixed the dangling symlink in libjs-vue-route.
>
> It now builds locally and on Salsa CI (I enabled it for master branch as well):
> https://salsa.debian.org/js-team/vue-router.js/-/jobs/393462
I'm trying to build it locally to test the laminar package but it fails to build
from the master branch of the repo (I have to say is my first time using gbp):
'''
❯ gbp buildpackage
gbp:info: Performing the build
dpkg-buildpackage -us -uc -ui -i -I
[...]
make: 'build' is up to date.
fakeroot debian/rules binary
dh binary --with nodejs
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/user/dev/laminar/vue-router.js'
dh_auto_build
mkdir node_modules
ln -s /usr/*/nodejs/path-to-regexp node_modules/
NODE_PATH=debian/node_modules node build/build.js
{ Error: 'default' is not exported by ../../../../../usr/share/nodejs/path-to-regexp/dist.es2015/index.js
at Object.error (/usr/share/nodejs/rollup/src/utils/error.js:10:30)
at Module.error (/usr/share/nodejs/rollup/src/Module.js:405:17)
at handleMissingExport (/usr/share/nodejs/rollup/src/Module.js:74:21)
at Module.traceVariable (/usr/share/nodejs/rollup/src/Module.js:506:17)
at ModuleScope.findVariable (/usr/share/nodejs/rollup/src/ast/scopes/ModuleScope.js:80:29)
at FunctionScope.Scope.findVariable (/usr/share/nodejs/rollup/src/ast/scopes/Scope.js:70:68)
at Scope.findVariable (/usr/share/nodejs/rollup/src/ast/scopes/Scope.js:70:68)
at Identifier.bind (/usr/share/nodejs/rollup/src/ast/nodes/Identifier.js:50:40)
at CallExpression.NodeBase.bind (/usr/share/nodejs/rollup/src/ast/nodes/shared/Node.js:39:23)
at CallExpression.bind (/usr/share/nodejs/rollup/src/ast/nodes/CallExpression.js:30:31)
code: 'MISSING_EXPORT',
url:
'https://rollupjs.org/guide/en#error-name-is-not-exported-by-module-',
pos: 15,
loc:
{ file:
'/home/user/dev/laminar/vue-router.js/src/create-route-map.js',
line: 3,
column: 7 },
frame:
'1: /* @flow */\n2: \n3: import Regexp from \'path-to-regexp\'\n ^\n4: import { cleanPath } from \'./util/path\'\n5: import { assert, warn } from \'./util/warn\'' }
rm -rf node_modules
make[1]: Leaving directory '/home/user/dev/laminar/vue-router.js'
dh_auto_test --buildsystem=nodejs
/usr/bin/node -e require\(\"./.\"\)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module './.'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at [eval]:1:1
at Script.runInThisContext (vm.js:122:20)
at Object.runInThisContext (vm.js:329:38)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at evalScript (internal/bootstrap/node.js:590:27)
dh_auto_test: error: /usr/bin/node -e require\(\"./.\"\) returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -I failed
gbp:error: 'debuild -i -I' failed: it exited with 29
'''
Any idea of what I might be doing wrong? How can I build the package?
Thanks in advance.
--
meskio | http://meskio.net/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My contact info: http://meskio.net/crypto.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Nos vamos a Croatan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200227/fcb0593e/attachment.sig>
More information about the Pkg-javascript-devel
mailing list