Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Fontist 1.2.0, the create-formula command can't create formula for GhostPDL archive #185

Open
ronaldtse opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link
Contributor

Using Fontist 1.2.0, the create-formula command can't create the formula for this package:

$ fontist create-formula https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10030/ghostpdl-10.03.0.tar.gz
Downloading: 100% (93/93 MiB), 2.93 MiB/s, done.
~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/extractors/tar_extractor.rb:24:in `write': Is a directory @ rb_sysopen - /var/folders/2t/xmdrn2sd2lv2w49dv0zw9_q00000gp/T/d20240402-18175-8xxwq4/ghostpdl-10.03.0/lcms2mt/Projects/mac/LittleCMS/LittleCMS.xcodeproj/xcuserdata/User.xcuserdatad/xcsc (Errno::EISDIR)
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/extractors/tar_extractor.rb:24:in `save_tar_file'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/extractors/tar_extractor.rb:10:in `block (3 levels) in extract'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/package/tar_reader.rb:60:in `each'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/extractors/tar_extractor.rb:9:in `block (2 levels) in extract'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/3.2.0/rubygems/package/tar_reader.rb:27:in `new'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/extractors/tar_extractor.rb:8:in `block in extract'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/extractors/tar_extractor.rb:7:in `open'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/extractors/tar_extractor.rb:7:in `extract'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:200:in `extract_once'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:171:in `extract_to_directory'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:156:in `extract_recursively'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:209:in `extract_and_replace'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:161:in `block in extract_recursively'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:158:in `each'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:158:in `extract_recursively'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:131:in `extract_all'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:41:in `extract'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/excavate-0.3.7/lib/excavate/archive.rb:22:in `files'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/lib/fontist/import/recursive_extraction.rb:75:in `extract_data'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/lib/fontist/import/recursive_extraction.rb:70:in `ensure_extracted'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/lib/fontist/import/recursive_extraction.rb:27:in `font_files'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/lib/fontist/import/create_formula.rb:35:in `setup_files'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/lib/fontist/import/create_formula.rb:23:in `builder'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/lib/fontist/import/create_formula.rb:15:in `call'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/lib/fontist/cli.rb:182:in `create_formula'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor/command.rb:27:in `run'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor/invocation.rb:127:in `invoke_command'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor.rb:392:in `dispatch'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/thor-1.2.2/lib/thor/base.rb:485:in `start'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/exe/fontist:7:in `block in <top (required)>'
	from ~/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/fontist-1.20.0/exe/fontist:28:in `<top (required)>'
	from ~/.asdf/installs/ruby/3.2.2/bin/fontist:25:in `load'
	from ~/.asdf/installs/ruby/3.2.2/bin/fontist:25:in `<main>'

Originally posted by @ronaldtse in #158 (comment)

@ronaldtse ronaldtse added the bug Something isn't working label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: High priority
Development

No branches or pull requests

2 participants