[Pkg-xmpp-devel] Bug#952359: strophejs: FTBFS: Error: ERROR: module path does not exist: /usr/lib/nodejs/almond/almond.js for module named: /usr/lib/nodejs/almond/almond.js. Path is relative to: /<<PKGBUILDDIR>>

Sunil Mohan Adapa sunil at medhas.org
Tue Mar 10 18:51:03 GMT 2020


tag 952359 + patch
thanks

On Sun, 23 Feb 2020 14:58:00 +0100 Lucas Nussbaum <lucas at debian.org> wrote:
> Source: strophejs
> Version: 1.2.14+dfsg-4
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200222 ftbfs-bullseye
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> >  debian/rules build
> > dh build
> >    dh_update_autotools_config
> >    dh_auto_configure
> >    debian/rules override_dh_auto_build
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > node /usr/lib/nodejs/requirejs/r.js -o build.js name=/usr/lib/nodejs/almond/almond.js insertRequire=strophe-polyfill include=strophe-polyfill out=strophe.min.js
> > Error: Error: ERROR: module path does not exist: /usr/lib/nodejs/almond/almond.js for module named: /usr/lib/nodejs/almond/almond.js. Path is relative to: /<<PKGBUILDDIR>>
> >     at /usr/lib/nodejs/requirejs/r.js:28446:35
> > 
> > make[1]: *** [debian/rules:17: override_dh_auto_build] Error 1
> 
> The full build log is available from:
>    http://qa-logs.debian.net/2020/02/22/strophejs_1.2.14+dfsg-4_unstable.log
> 
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
> 
> 

The problem seem that node-almond no longer installs itself in /usr/lib
but is now available in /usr/share. The attached patch updates the patch
and makes the package build-depend on the version node-almond that made
the switch. With the patch, the build was successful again.

Please apply the patch and make a new release to prevent libjs-jsxc
(used by FreedomBox) from getting removed from testing.

Thanks,

-- 
Sunil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d-control-rules-Fix-path-for-almond-and-depend-on-ne.patch
Type: text/x-patch
Size: 1210 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-xmpp-devel/attachments/20200310/e5f2a09c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-xmpp-devel/attachments/20200310/e5f2a09c/attachment.sig>


More information about the Pkg-xmpp-devel mailing list