[Debian-iot-maintainers] Bug#964136: glewlwyd build-depedencies unsatisfiable on armel, mipsel and mips64el
peter green
plugwash at p10link.net
Sun Jul 5 18:01:11 BST 2020
Retitle 964136 glewlwyd build-depedencies unsatisfiable on armel
Thanks
> Build has been fixed for mipsel and mips64el
Thanks, retitling the bug report for the remaining issue.
> but it remains impossible
> on armel since nodejs isn't available on this platform.
>
> The thing is nodejs is used during package build only, to transpile the
> reactjs front-end single-page-application. Then the result is the same
> for all architecture.
>
> If we could separate the backend build (architecture: any) and the
> frontend build (architecture: all), we might have Glewlwyd available for
> armel, alpha, ia64, m68k, ppc64, riscv64, sh4, sparc64 and x32.
I was able to whip up the attatched patch which partially splits the arch dependent and independent
builds (an arch only build now only builds the arch stuff but an indep only build still builds
everything) and do a succesfull arch only build on armel.
I am not planning to NMU this as I do not feel that I am in a position to properly test the
resulting packages.
-------------- next part --------------
diff -Nru glewlwyd-2.3.1/debian/changelog glewlwyd-2.3.1/debian/changelog
--- glewlwyd-2.3.1/debian/changelog 2020-06-26 11:58:19.000000000 +0000
+++ glewlwyd-2.3.1/debian/changelog 2020-07-04 23:10:28.000000000 +0000
@@ -1,3 +1,10 @@
+glewlwyd (2.3.1-2.1) UNRELEASED; urgency=medium
+
+ * Patch proposed to BTS
+ * Split architecture dependent and independent builds.
+
+ -- Peter Michael Green <plugwash at debain.org> Sat, 04 Jul 2020 23:10:28 +0000
+
glewlwyd (2.3.1-2) unstable; urgency=medium
* Upload to unstable
diff -Nru glewlwyd-2.3.1/debian/control glewlwyd-2.3.1/debian/control
--- glewlwyd-2.3.1/debian/control 2020-06-26 11:58:19.000000000 +0000
+++ glewlwyd-2.3.1/debian/control 2020-07-04 22:45:49.000000000 +0000
@@ -25,8 +25,9 @@
, liboath-dev
, libcbor-dev
, cmake
-# Front-end dependencies
- , npm
+Build-Depends-Indep:
+# Frontend Dependencies
+ npm
, nodejs
, node-react
, node-babel7
diff -Nru glewlwyd-2.3.1/debian/rules glewlwyd-2.3.1/debian/rules
--- glewlwyd-2.3.1/debian/rules 2020-06-26 11:58:19.000000000 +0000
+++ glewlwyd-2.3.1/debian/rules 2020-07-04 23:10:28.000000000 +0000
@@ -20,8 +20,10 @@
dh_auto_configure -- $(ARGS) \
-DSKIP_BUILD_RPATH=TRUE
-override_dh_auto_build:
- # Build backend
+override_dh_auto_build-indep:
+ #apparently the frontend build does depend on some compiled stuff
+ #so we need to run the compile process even if we are only building
+ #arch all.
dh_auto_build --
# Build webapp
cp -RL /usr/share/nodejs webapp-src/node_modules || true
More information about the Debian-iot-maintainers
mailing list