#1146314 bootstrap-html: FTBFS with node-babel 8

#1146314#5
Date:
2026-08-31 12:04:41 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

A wiki page discussing possible solutions is available here:

https://wiki.debian.org/Javascript/KnownPatches?pow_referer=#node-babel7_8

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:bootstrap-html, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
# bootstrap plugins
mkdir -p dist/js
NODE_PATH=node_modules node build/build-plugins.mjs
Building individual plugins...
Error: [BABEL] /<<PKGBUILDDIR>>/js/src/alert.js: @babel/preset-env: The 'loose' and 'spec' options have been removed, and you should configure granular compiler assumptions instead. See https://babeljs.io/assumptions for more information. (While processing: "/usr/share/nodejs/@babel/preset-env/lib/index.js")
    at file:///usr/share/nodejs/@babel/preset-env/lib/index.js:7060:11
    at file:///usr/share/nodejs/@babel/helper-plugin-utils/lib/index.js:14:12
    at async (file:///usr/share/nodejs/@babel/core/lib/caching-shared.js:18:33)
    at async (/usr/share/nodejs/gensync/index.js:186:15)
    at /usr/share/nodejs/gensync/index.js:216:13
    at Generator.next (<anonymous>)
    at file:///usr/share/nodejs/@babel/core/lib/index-shared.js:2060:21
    at Generator.next (<anonymous>)
    at Function.<anonymous> (file:///usr/share/nodejs/@babel/core/lib/caching-shared.js:4:3)
    at Generator.next (<anonymous>)
    at step (/usr/share/nodejs/gensync/index.js:269:25)
    at evaluateAsync (/usr/share/nodejs/gensync/index.js:291:5)
    at Function.errback (/usr/share/nodejs/gensync/index.js:113:7)
    at errback (file:///usr/share/nodejs/@babel/core/lib/caching-shared.js:41:18)
    at async (/usr/share/nodejs/gensync/index.js:188:17)
    at onFirstPause (/usr/share/nodejs/gensync/index.js:216:13)
    at Generator.next (<anonymous>)
    at cachedFunction (file:///usr/share/nodejs/@babel/core/lib/caching-shared.js:112:22)
    at cachedFunction.next (<anonymous>)
    at loadPresetDescriptor (file:///usr/share/nodejs/@babel/core/lib/index-shared.js:2175:43)
    at loadPresetDescriptor.next (<anonymous>)
    at recursePresetDescriptors (file:///usr/share/nodejs/@babel/core/lib/index-shared.js:1954:31)
    at recursePresetDescriptors.next (<anonymous>)
    at file:///usr/share/nodejs/@babel/core/lib/index-shared.js:2034:21
    at Generator.next (<anonymous>)
    at loadFullConfig (file:///usr/share/nodejs/@babel/core/lib/index-shared.js:1990:5)
    at loadFullConfig.next (<anonymous>)
    at transform (file:///usr/share/nodejs/@babel/core/lib/index-shared.js:2838:25)
    at transform.next (<anonymous>)
    at step (/usr/share/nodejs/gensync/index.js:269:25)
    at evaluateAsync (/usr/share/nodejs/gensync/index.js:291:5)
    at /usr/share/nodejs/gensync/index.js:93:9
    at new Promise (<anonymous>)
    at async (/usr/share/nodejs/gensync/index.js:92:14)
    at stopHiding - secret - don't use this - v1 (file:///usr/share/nodejs/@babel/core/lib/errors/rewrite-stack-trace.js:37:12)
    at Object.transformAsync (file:///usr/share/nodejs/@babel/core/lib/index-shared.js:2862:53)
    at preflightCheck (/usr/share/nodejs/@rollup/plugin-babel/dist/cjs/index.js:102:41)
    at /usr/share/nodejs/@rollup/plugin-babel/dist/cjs/index.js:319:19
    at transformCode (/usr/share/nodejs/@rollup/plugin-babel/dist/cjs/index.js:147:30)
    at async transform (/usr/share/nodejs/rollup/dist/shared/rollup.js:26316:16)
    at async ModuleLoader.addModuleSource (/usr/share/nodejs/rollup/dist/shared/rollup.js:26518:30) {
  code: 'PLUGIN_ERROR',
  plugin: 'babel',
  hook: 'transform',
  id: '/<<PKGBUILDDIR>>/js/src/alert.js',
  watchFiles: [
    '/<<PKGBUILDDIR>>/js/src/alert.js'
  ]
}
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1146314#10
Date:
2026-08-31 15:20:41 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
bootstrap-html, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1146314@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated bootstrap-html package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 31 Aug 2026 16:44:44 +0200
Source: bootstrap-html
Architecture: source
Version: 5.3.8+dfsg-4
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <daniel@debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Closes: 1146314
Changes:
 bootstrap-html (5.3.8+dfsg-4) sid; urgency=medium
 .
   * Making copyright lintian compliant.
   * Removing removed options in babelrc to fix FTBFS with node-babel 8
     (Closes: #1146314).
Checksums-Sha1:
 ae28325663a76a4527cb25970c3f65690ddddc1f 1680 bootstrap-html_5.3.8+dfsg-4.dsc
 82c72fd08b6176dad1c4f625ad9310456d248637 5876 bootstrap-html_5.3.8+dfsg-4.debian.tar.xz
 72b5277f7fc70a5c2e5e2eb4f52cff51309fe69b 16912 bootstrap-html_5.3.8+dfsg-4_amd64.buildinfo
Checksums-Sha256:
 a521a66ce5cf456e951a2af355f27ff536e6288e0dccbaba942d7a2c84534046 1680 bootstrap-html_5.3.8+dfsg-4.dsc
 c0f20847aef2ac382af9880ac38072165212a082aad9ad2b281dbcef83223481 5876 bootstrap-html_5.3.8+dfsg-4.debian.tar.xz
 24290f52a28552e9c3c67ed828fd5549200481a9c58698c1cd6439058780636a 16912 bootstrap-html_5.3.8+dfsg-4_amd64.buildinfo
Files:
 6e8ae2b0041bc3b89c942ad47f7b813f 1680 javascript optional bootstrap-html_5.3.8+dfsg-4.dsc
 4c64d9043ad87ae8cee2f067cc6e794c 5876 javascript optional bootstrap-html_5.3.8+dfsg-4.debian.tar.xz
 4aada922682f6c58a6409b5b0cf14c33 16912 javascript optional bootstrap-html_5.3.8+dfsg-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCapWUJgAKCRD7tPDoCoAi
L/R1AQCQim5sy5q+59pOemqsfJ1j1w0P9hCtKt2FkvYAA8zokAEAju6AVySTuCQd
L3wfWvE3SDahsgKpYgV1yHpJGrT+9w8=
=udc9
-----END PGP SIGNATURE-----