#1149739 fonts-font-awesome-legacy: FTBFS: FileNotFoundError: [Errno 2] No such file or directory: 'sass'

#1149739#5
Date:
2026-10-02 19:09:11 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/202610/

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:fonts-font-awesome-legacy, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/subprocess.py", line 1990, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'sass'
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149739#10
Date:
2026-10-05 14:46:35 UTC
From:
To:
tags 1149739 + patch
thanks

The FTBFS comes from ruby-sass 3.7.4-7, which no longer ships the sass
command line tool.
The attached patch:

switches Build-Depends from ruby-sass to dart-sass, which provides
/usr/bin/sass; and replaces the one Ruby-Sass-specific option,
"-t compressed", with the dart-sass spelling "--style=compressed".

Emfox

#1149739#17
Date:
2026-10-05 17:35:28 UTC
From:
To:
Quoting Emfox Zhou (2026-10-05 16:46:35)

Did you check that the generated output is same or at least sensible?

 - Jonas

#1149739#22
Date:
2026-10-06 16:50:49 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
fonts-font-awesome-legacy, 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 1149739@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated fonts-font-awesome-legacy 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: Tue, 06 Oct 2026 18:30:16 +0200
Source: fonts-font-awesome-legacy
Architecture: source
Version: 6-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Font Task Force <debian-fonts@lists.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1149739
Changes:
 fonts-font-awesome-legacy (6-4) unstable; urgency=medium
 .
   * Team upload
 .
   [ Emfox Zhou ]
   * Build sass with dart-sass (Closes: #1149739)
Checksums-Sha1:
 6990f846208f2f30c8277525083725a362b7dd60 2002 fonts-font-awesome-legacy_6-4.dsc
 ce0477bc337264f0e17c7f7f63556f7dd62f2e3f 11348 fonts-font-awesome-legacy_6-4.debian.tar.xz
 e403c4379bdb74f73b6a68565d4fec6a298e56bf 7315 fonts-font-awesome-legacy_6-4_source.buildinfo
Checksums-Sha256:
 59002a1969faa17e746be40df47dc34e23cf88542a26a667f123e8c8e0fce320 2002 fonts-font-awesome-legacy_6-4.dsc
 9221b02c38f59e0dfca162c3b7626114f8ac435ee929472f6d89cf6939f64df3 11348 fonts-font-awesome-legacy_6-4.debian.tar.xz
 194d9758652e82423a3ea831b2f3d3b612bcfd8c252474cab2cb38e4f682888a 7315 fonts-font-awesome-legacy_6-4_source.buildinfo
Files:
 fcd38306d8ca7ecfe5939b2c8cef5044 2002 fonts optional fonts-font-awesome-legacy_6-4.dsc
 c5904dd6272873a26cb3e3584083c016 11348 fonts optional fonts-font-awesome-legacy_6-4.debian.tar.xz
 6dc5367d2ce90e4b755cc8a07acfd910 7315 fonts optional fonts-font-awesome-legacy_6-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmrFIlcQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFJzVC/9Co8g+TZ8QJAfYoPwG0OGhxgJyo6+dPcKW
CTKedaxZdq2pdvYavhwqICd7UwAhk2JmOroKi7w9+4+LBTSMNBn4wJHK2aQD0AZI
s8oXAvfPXKBXKS67NXAUmYk6HjLRmU3NAPtOk3+Qusdrz8B+VNvYq2cRE8n/yWbW
cvyLODuYDJh5mQdHkDMdGqxy0I04l9ley/Zc6cSw8ZQ7nznWUidUMt56+m5qJBVs
JJ6IUreoeX3Wm4rxrDsaF943DXr8Fj5iZ8y9L0dtDpqnMdBtVNcadiMg2JeABEKW
aDrwgkeW6FzZIOjllZiCEkw5qW2LqHs1ozHrar6W4I3LMZYSUPxidSmVs/WLFwRx
XXuo+iaPIENP08TC5pQGYilTnICqAjh3cSRMuerO8x547GgrId86Wx7LVqEjC82r
ggdmWBhH/xF5/K6YL7hUfDD/v7Xr/GGTb+0HR5KpzTuVk9RfpW3R2n2xPHijKYLT
Po6MmVRRWg+BZhxtdkMBt38s1EsQwiA=
=kPd0
-----END PGP SIGNATURE-----

#1149739#27
Date:
2026-10-07 20:37:30 UTC
From:
To:
Thanks both for fixing this!  I'm completely snowed under at the
moment, so couldn't deal with it myself.

Best wishes,

   Julian