monaqa / slydifi

Create a slide with SATySFi!
MIT License
55 stars 7 forks source link

build failed #15

Closed erniogi closed 3 years ago

erniogi commented 3 years ago

I did that

opam install satysfi-class-slydifi
satyrographos install

I got error like this

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫
[ERROR] The compilation of satysfi-dist failed at
        "/Users/erniogi/.opam/opam-init/hooks/sandbox.sh build
        ./download-fonts.sh".

#=== ERROR while compiling satysfi-dist.0.0.5+dev2020.09.05 ===================#
# context     2.0.7 | macos/x86_64 | ocaml-system.4.10.0 | git+https://github.com/na4zagin3/satyrographos-repo.git
# path        ~/.opam/default/.opam-switch/build/satysfi-dist.0.0.5+dev2020.09.05
# command     ~/.opam/opam-init/hooks/sandbox.sh build ./download-fonts.sh
# exit-code   4
# env-file    ~/.opam/log/satysfi-dist-2590-0ee25e.env
# output-file ~/.opam/log/satysfi-dist-2590-0ee25e.out
### output ###
# [...]
# --2020-12-05 13:31:48--  (try:18)  http://www.gust.org.pl/projects/e-foundry/latin-modern/download/lm2.004otf.zip
# Connecting to www.gust.org.pl (www.gust.org.pl)|158.75.62.5|:80... failed: Operation not permitted.
# Retrying.
# 
# --2020-12-05 13:31:58--  (try:19)  http://www.gust.org.pl/projects/e-foundry/latin-modern/download/lm2.004otf.zip
# Connecting to www.gust.org.pl (www.gust.org.pl)|158.75.62.5|:80... failed: Operation not permitted.
# Retrying.
# 
# --2020-12-05 13:32:08--  (try:20)  http://www.gust.org.pl/projects/e-foundry/latin-modern/download/lm2.004otf.zip
# Connecting to www.gust.org.pl (www.gust.org.pl)|158.75.62.5|:80... failed: Operation not permitted.
# Giving up.
# 

and also got

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫 
β”Œβ”€ The following actions failed
β”‚ Ξ» build satysfi-dist 0.0.5+dev2020.09.05
└─ 
╢─ No changes have been performed
Reading runtime dist: /usr/local/share/satysfi/dist
Read user libraries: ()
Reading opam libraries: (base fonts-dejavu zrbase)
Not gathering system fonts
Installing libraries: (base dist fonts-dejavu zrbase)
Removing destination /Users/erniogi/.satysfi/dist
Installation completed!

OCaml: 4.10.0 opam: 2.0.7 MacOS Catalina

monaqa commented 3 years ago

Thank you for reporting the issue! There seems to be a problem with the installation of the "satysfi-dist" package that "satysfi-class-slydifi" depends on. I am reporting this to the developer of Satyrographos now, so please wait a while.

na4zagin3 commented 3 years ago

Thanks for reporting the issue! This will be solved by https://github.com/na4zagin3/satyrographos-repo/pull/232 and the upstream by https://github.com/gfngfn/SATySFi/pull/253.

monaqa commented 3 years ago

@na4zagin3 Thanks!

In my environment (MacOS Catalina) the problem has been resolved after applying opam update. How about you, @erniogi ?

erniogi commented 3 years ago

After opam update, the problem was solved in my environment as well. Thanks @na4zagin3 @monaqa !