[Pkg-javascript-devel] Bug#1011807: twitter-bootstrap4: FTBFS: make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1

Lucas Nussbaum lucas at debian.org
Thu May 26 20:22:44 BST 2022


Source: twitter-bootstrap4
Version: 4.6.1+dfsg1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p dist/css dist/js dist/tmp
> sassc --sourcemap=auto scss/bootstrap.scss dist/tmp/bootstrap.css
> sassc --sourcemap=auto scss/bootstrap-grid.scss dist/tmp/bootstrap-grid.css
> sassc --sourcemap=auto scss/bootstrap-reboot.scss dist/tmp/bootstrap-reboot.css
> node debian/postcss.js
> 
>   Replace Autoprefixer browsers option to Browserslist config.
>   Use browserslist key in package.json or .browserslistrc file.
> 
>   Using browsers option can cause errors. Browserslist config can
>   be used for Babel, Autoprefixer, postcss-normalize and other tools.
> 
>   If you really need to use option, rename it to overrideBrowserslist.
> 
>   Learn more at:
>   https://github.com/browserslist/browserslist#readme
>   https://twitter.com/browserslist
> 
> 
> node:internal/errors:464
>     ErrorCaptureStackTrace(err);
>     ^
> 
> TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of SourceMapGenerator
>     at Object.writeFile (node:fs:2110:5)
>     at node:internal/util:360:7
>     at new Promise (<anonymous>)
>     at Object.writeFile (node:internal/util:346:12)
>     at /<<PKGBUILDDIR>>/debian/postcss.js:40:32 {
>   code: 'ERR_INVALID_ARG_TYPE'
> }
> make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/twitter-bootstrap4_4.6.1+dfsg1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list