Bug#1094058: fonts-fork-awesome: FTBFS: /usr/lib/ruby/vendor_ruby/fontcustom/options.rb:50:in `set_config_path': undefined method `exists?' for class File (NoMethodError)
Source: fonts-fork-awesome
Version: 1.2.0+ds1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20250124 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/fonts-fork-awesome-1.2.0+ds1'
> mkdir -p fonts
> Compiling Icons into a ForkAwesome fonts...
> cd src/icons && \
> fontcustom compile
> Deprecation warning: Expected array default value for '--templates'; got "css preview" (string).
> This will be rejected in the future unless you explicitly pass the options `check_default_type: false` or call `allow_incompatible_default_type!` in your code
> You can silence deprecations warning by setting the environment variable THOR_SILENCE_DEPRECATION.
> /usr/lib/ruby/vendor_ruby/fontcustom/options.rb:50:in `set_config_path': undefined method `exists?' for class File (NoMethodError)
>
> if File.exists? "fontcustom.yml"
> ^^^^^^^^
> Did you mean? exist?
> from /usr/lib/ruby/vendor_ruby/fontcustom/options.rb:18:in `parse_options'
> from /usr/lib/ruby/vendor_ruby/fontcustom/options.rb:11:in `initialize'
> from /usr/lib/ruby/vendor_ruby/fontcustom/base.rb:12:in `new'
> from /usr/lib/ruby/vendor_ruby/fontcustom/base.rb:12:in `initialize'
> from /usr/lib/ruby/vendor_ruby/fontcustom/cli.rb:83:in `new'
> from /usr/lib/ruby/vendor_ruby/fontcustom/cli.rb:83:in `compile'
> from /usr/share/rubygems-integration/all/gems/thor-1.3.1/lib/thor/command.rb:28:in `run'
> from /usr/share/rubygems-integration/all/gems/thor-1.3.1/lib/thor/invocation.rb:127:in `invoke_command'
> from /usr/share/rubygems-integration/all/gems/thor-1.3.1/lib/thor.rb:527:in `dispatch'
> from /usr/share/rubygems-integration/all/gems/thor-1.3.1/lib/thor/base.rb:584:in `start'
> from /usr/bin/fontcustom:5:in `<main>'
> make[1]: *** [debian/rules:12: override_dh_auto_build] Error 1
The full build log is available from:
http://qa-logs.debian.net/2025/01/24/fonts-fork-awesome_1.2.0+ds1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250124;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250124&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 mark 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.
Reply to: