[Pkg-erlang-devel] Bug#1095341: elixir-ex-doc: FTBFS: [ERROR] Could not resolve "@fontsource/inconsolata/700.css"

Santiago Vila sanvila at debian.org
Fri Feb 7 12:11:26 GMT 2025


Package: src:elixir-ex-doc
Version: 0.35.1+dfsg-4
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf formatters/html/dist
rm -rf formatters/epub/dist
rm -rf tmp
dh_auto_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/elixir-ex-doc.substvars debian/files
	rm -fr -- debian/elixir-ex-doc/ debian/tmp/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build assets - CSS and JavaScript files
(cd assets ; node build/build.js)

  ../formatters/epub/dist/epub-elixir-O6MABXXU.css  14.3kb
  ../formatters/epub/dist/epub-erlang-ESPT6BQV.css  14.2kb
  ../formatters/epub/dist/epub-LSJCIYTM.js           499b 

âš¡ Done in 13ms
✘ [ERROR] Could not resolve "@fontsource/lato/300.css"

    css/_html.css:1:8:
      1 │ @import "@fontsource/lato/300.css";
        ╵         ~~~~~~~~~~~~~~~~~~~~~~~~~~

  The path "./300.css" is not exported by package "@fontsource/lato":

    ../../../../usr/share/node_modules/@fontsource/lato/package.json:21:13:
      21 │   "exports": {
         ╵              ^

  You can mark the path "@fontsource/lato/300.css" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "@fontsource/lato/400.css"

    css/_html.css:2:8:
      2 │ @import "@fontsource/lato/400.css";
        ╵         ~~~~~~~~~~~~~~~~~~~~~~~~~~

  The path "./400.css" is not exported by package "@fontsource/lato":

    ../../../../usr/share/node_modules/@fontsource/lato/package.json:21:13:
      21 │   "exports": {
         ╵              ^

  You can mark the path "@fontsource/lato/400.css" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "@fontsource/lato/700.css"

    css/_html.css:3:8:
      3 │ @import "@fontsource/lato/700.css";
        ╵         ~~~~~~~~~~~~~~~~~~~~~~~~~~

  The path "./700.css" is not exported by package "@fontsource/lato":

    ../../../../usr/share/node_modules/@fontsource/lato/package.json:21:13:
      21 │   "exports": {
         ╵              ^

  You can mark the path "@fontsource/lato/700.css" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "@fontsource/inconsolata/400.css"

    css/_html.css:4:8:
      4 │ @import "@fontsource/inconsolata/400.css";
        ╵         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  The path "./400.css" is not exported by package "@fontsource/inconsolata":

    ../../../../usr/share/node_modules/@fontsource/inconsolata/package.json:21:13:
      21 │   "exports": {
         ╵              ^

  You can mark the path "@fontsource/inconsolata/400.css" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "@fontsource/inconsolata/700.css"

    css/_html.css:5:8:
      5 │ @import "@fontsource/inconsolata/700.css";
        ╵         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  The path "./700.css" is not exported by package "@fontsource/inconsolata":

    ../../../../usr/share/node_modules/@fontsource/inconsolata/package.json:21:13:
      21 │   "exports": {
         ╵              ^

  You can mark the path "@fontsource/inconsolata/700.css" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle.

5 errors
make[1]: *** [debian/rules:16: 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 returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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 could not 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:elixir-ex-doc, so that this is still
visible in the BTS web page for this package.

Thanks.



More information about the Pkg-erlang-devel mailing list