Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1222384
Summary: | pandoc-citeproc-0.5 fails with pandoc-1.13.2 with "Error reading csl file" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sascha Zantis <sascha.zantis> |
Component: | pandoc-citeproc | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 22 | CC: | haskell-devel, mechonbarsa, petersen, setthemfree |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | pandoc-citeproc-0.7.4-1.fc23 pandoc-citeproc-0.7.4-1.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-11 01:51:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1223293 | ||
Bug Blocks: |
Description
Sascha Zantis
2015-05-18 06:10:43 UTC
Thanks a lot for reporting this. Reproduced. I am not sure yet what the problem is: it could be a version incompatibility perhaps, yes. It might be good to ask upstream if pandoc-citeproc-0.5 should work with pandoc-1.13.2... Works okay with pandoc-1.12.3.3 and pandoc-citeproc-0.3.1 (F21). I tested pandoc-1.13.2 with (cabal installed) pandoc-citeproc-0.6 and that seems to work okay. Latest 0.7.1 also seems okay. 0.6+ needs xml-conduit though: I put in a review request but it may take a little time before someone reviews it. (I installed using cabal sandbox btw.) Thanks for your answers. Just for your information: I tried building a pandoc-citeproc-0.7.1 package myself. xml-conduit was no problem, but pandoc-citeproc failed when I used the spec file that is created by cabal-rpm (There was an error regarding tests, somehow related to the line "%ghc_fix_dynamic_rpath %{pkg_name} pandoc-citeproc") but I was not able to resolve that problem. If you encounter these problems when you try to build it, would you tell me, how you solved them? Just out of personal interest. Regards, Sascha (In reply to Sascha Zantis from comment #4) > Just for your information: I tried building a pandoc-citeproc-0.7.1 package > myself. xml-conduit was no problem, but pandoc-citeproc failed when I used > the spec file that is created by cabal-rpm (There was an error regarding > tests, somehow related to the line "%ghc_fix_dynamic_rpath %{pkg_name} > pandoc-citeproc") but I was not able to resolve that problem. Could you attach the error? Nevermind I tried with cabal-rpm and found the problem: If you remove test-citeproc from the end of the %ghc_fix_dynamic_rpath line, it should work okay. I guess it is a cabal-rpm bug, which I will report now in github. I fixed the cabal-rpm issue with https://github.com/juhp/cabal-rpm/commit/f7c8ebf62fc4bde0fc0bf33d0d3fb7c069b130e1 (I just released 0.9.6 yesterday so it may be some days before this fix reaches Hackage and the Fedora repos...) Thanks for all these information. It might not matter anymore since you update the package, but I tried building it again (for learning purposes) using this specfile: http://paste.fedoraproject.org/224755/23151701 (That is the one created by cabal-rpm with and I changed the line you mentioned), but I still receive an error. I just pasted the complete output of the build process: https://paste.fedoraproject.org/224757/14323156/ (In reply to Sascha Zantis from comment #8) > http://paste.fedoraproject.org/224755/23151701 (That is the one created by > cabal-rpm with and I changed the line you mentioned), but I still receive an > error. I just pasted the complete output of the build process: > https://paste.fedoraproject.org/224757/14323156/ I think this is a different problem to your original report. Right, in the Fedora package I disable the tests since they assume the datafiles are already installed... You can do that by changing "%bcond_without tests" to "%bcond_with tests" near the top of the spec file. Note also that cblrpm generates a "ghc-pandoc-citeproc" base package by default - you may prefer to use "cblrpm spec -b pandoc-citeproc" to get a pandoc-citeproc package. I'm having the exact same problem over here. BTW best workaround I can suggest until we can build newer pandoc-citeproc in Fedora is to use my pandoc Copr repo: https://copr.fedoraproject.org/coprs/petersen/pandoc This should be fixed now in Rawhide with pandoc-citeproc-0.7.4-1.fc24. Updates coming for F23 and F22. ghc-xml-conduit-1.3.2-1.fc23 pandoc-citeproc-0.7.4-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-f74c858168 ghc-xml-conduit-1.3.2-1.fc22 pandoc-citeproc-0.7.4-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-7c9f9e2169 ghc-hakyll-4.5.4.0-5.fc23, ghc-xml-conduit-1.3.2-1.fc23, pandoc-citeproc-0.7.4-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update ghc-hakyll pandoc-citeproc ghc-xml-conduit' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-f74c858168 ghc-hakyll-4.5.4.0-5.fc22, ghc-xml-conduit-1.3.2-1.fc22, pandoc-citeproc-0.7.4-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update ghc-hakyll pandoc-citeproc ghc-xml-conduit' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-7c9f9e2169 ghc-hakyll-4.5.4.0-5.fc23, ghc-xml-conduit-1.3.2-1.fc23, pandoc-citeproc-0.7.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. ghc-hakyll-4.5.4.0-5.fc22, ghc-xml-conduit-1.3.2-1.fc22, pandoc-citeproc-0.7.4-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |