-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
pandoc-citeproc: deprecate cabal v1 installation #59346
pandoc-citeproc: deprecate cabal v1 installation #59346
Conversation
chenrui333
commented
Aug 8, 2020
- deprecate cabal v1 installation
- relates to Cabal v1 install deprecation #55253
|
Will dig a little bit this weekend. |
I've tried the commit changes and the installation goes through but Modified
system "cabal", "v2-update"
system "cabal", "v2-install", *std_cabal_v2_args` After that launched ~ % brew upgrade pandoc-citeproc
Updating Homebrew...
==> Upgrading 1 outdated package:
pandoc-citeproc 0.15.0.1 -> 0.17.0.2
==> Upgrading pandoc-citeproc 0.15.0.1 -> 0.17.0.2
==> Downloading https://hackage.haskell.org/package/pandoc-citeproc-0.17.0.2/pandoc-citeproc-0.17.0.2.tar.gz
Already downloaded: /Users/juliend/Library/Caches/Homebrew/downloads/e1bda081560f986af1b1686ad7c32d6fd4e07d538a10bf99a1c9263b4bccbf55--pandoc-citeproc-0.17.0.2.tar.gz
==> cabal v2-update
==> cabal v2-install --jobs=4 --max-backjumps=100000 --install-method=copy --installdir=/usr/local/Cellar/pandoc-cit
==> Not running post_install as we're building a bottle
You can run it manually using `brew postinstall pandoc-citeproc`
🍺 /usr/local/Cellar/pandoc-citeproc/0.17.0.2: 6 files, 73.1MB, built in 96 minutes 14 seconds
Removing: /usr/local/Cellar/pandoc-citeproc/0.10.1... (63 files, 77.4MB)
Removing: /usr/local/Cellar/pandoc-citeproc/0.12.1... (65 files, 46.3MB)
Removing: /usr/local/Cellar/pandoc-citeproc/0.14.2... (65 files, 47.3MB)
Removing: /usr/local/Cellar/pandoc-citeproc/0.14.3.1... (65 files, 46.6MB)
Removing: /usr/local/Cellar/pandoc-citeproc/0.15.0.1... (66 files, 52.5MB)
~ % brew postinstall pandoc-citeproc
==> Postinstalling pandoc-citeproc Then ran ~ % pandoc -s --filter pandoc-citeproc -t pdf -o test.pdf main.md
pandoc-citeproc: /private/tmp/pandoc-citeproc-20200913-36824-1vaostu/pandoc-citeproc-0.17.0.2/.brew_home/.cabal/store/ghc-8.8.4/pndc-ctprc-0.17.0.2-29b1463e/share/chicago-author-date.csl: openBinaryFile: does not exist (No such file or directory)
Error running filter pandoc-citeproc:
Filter returned error status 1 I placed a citation style file in the working directory and linked to it in my sample markdown file. I ran ~ % pandoc -s --filter pandoc-citeproc -t pdf -o test.pdf main.md
pandoc-citeproc: /private/tmp/pandoc-citeproc-20200913-36824-1vaostu/pandoc-citeproc-0.17.0.2/.brew_home/.cabal/store/ghc-8.8.4/pndc-ctprc-0.17.0.2-29b1463e/share/locales/locales-en-US.xml: openBinaryFile: does not exist (No such file or directory)
Error running filter pandoc-citeproc:
Filter returned error status 1 In case that helps, here are the contents of {"homebrew_version":"2.5.0",
"used_options":[],
"unused_options":[],
"built_as_bottle":true,
"poured_from_bottle":false,
"installed_as_dependency":null,
"installed_on_request":true,
"changed_files":null,
"time":1600019416,
"source_modified_time":1596344527,
"HEAD":"2ec8266697b2c9838cef86f8f97b5f392d0f926d",
"stdlib":null,
"compiler":"clang",
"aliases":[],
"runtime_dependencies":[{
"full_name":"pandoc",
"version":"2.10.1"
}],
"source":{
"path":"/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pandoc-citeproc.rb",
"tap":"homebrew/core",
"spec":"stable",
"versions":{
"stable":"0.17.0.2",
"head":"HEAD",
"version_scheme":0}
},
"built_on":{
"os":"Macintosh",
"os_version":"macOS 10.15.6",
"cpu_family":"haswell",
"xcode":"11.5",
"clt":"11.5.0.0.1.1588476445"}
} |