tag 952359 + patch
thanks

On Sun, 23 Feb 2020 14:58:00 +0100 Lucas Nussbaum <lu...@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
From f7efcae2cddb66665f62b81093fece5496fa1298 Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa <su...@medhas.org>
Date: Tue, 10 Mar 2020 20:27:40 +0200
Subject: [PATCH] d/control,rules: Fix path for almond and depend on newer
 version

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>
---
 debian/control | 2 +-
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 419b60b..7f3e818 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian XMPP Maintainers <pkg-xmpp-de...@lists.alioth.debian.org>
 Uploaders: Marcelo Jorge Vieira <me...@debian.org>
 Build-Depends: debhelper (>= 9.0.0),
-               node-almond,
+               node-almond (>= 0.3.3+dfsg-3),
                node-uglify,
                node-requirejs,
 Standards-Version: 4.1.3
diff --git a/debian/rules b/debian/rules
index 0a1b858..63747b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 RJS ?= /usr/lib/nodejs/requirejs/r.js
-ALMOND ?= /usr/lib/nodejs/almond/almond.js
+ALMOND ?= /usr/share/nodejs/almond/almond.js
 
 STROPHE=strophe.js
 STROPHE_MIN=strophe.min.js
-- 
2.25.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to