Opened 11 years ago
Closed 11 years ago
#41073 closed defect (worksforme)
pandoc @1.11.1_4 + base64-bytestring - Configuration and build error
Reported by: | chummels@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | neverpanic (Clemens Lang) | |
Port: | pandoc |
Description
I've looked through the existing tickets for pandoc failures recently, and nothing seems to match my own problem.
When I attempt to install pandoc, it fails during configuration because seemingly I lack a haskell package: base64-bytestring , but more about that in a moment.
Here is the output after cleaning and re-attempting an install:
$ sudo port install pandoc dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid ---> Computing dependencies for pandoc ---> Fetching archive for pandoc ---> Attempting to fetch pandoc-1.11.1_4.darwin_12.x86_64.tbz2 from http://packages.macports.org/pandoc ---> Attempting to fetch pandoc-1.11.1_4.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/pandoc ---> Attempting to fetch pandoc-1.11.1_4.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/pandoc ---> Fetching distfiles for pandoc ---> Verifying checksums for pandoc ---> Extracting pandoc ---> Configuring pandoc Error: org.macports.configure for port pandoc returned: configure failure: command execution failed Please see the log file for port pandoc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pandoc/pandoc/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port pandoc failed
I've attached the log file to this message. Apparently the problem stems from the lack of Haskell package base64-bytestring. Looking at other macports pandoc tickets (#40198), it seems like I *should* have this package installed and listed in the ghc-pkg list output. So when I look at my ghc packages:
$ ghc-pkg list /opt/local/lib/ghc-7.6.3/package.conf.d Cabal-1.16.0 HTTP-4000.2.8 SHA-1.6.1 array-0.4.0.1 base-4.6.0.1 bin-package-db-0.0.0.0 binary-0.5.1.1 binary-0.7.1.0 blaze-builder-0.3.1.1 blaze-html-0.6.1.1 blaze-markup-0.5.1.5 bytestring-0.10.0.2 citeproc-hs-0.3.8 containers-0.5.0.0 data-default-0.5.3 data-default-class-0.0.1 data-default-instances-base-0.0.1 data-default-instances-containers-0.0.1 data-default-instances-dlist-0.0.1 data-default-instances-old-locale-0.0.1 deepseq-1.3.0.1 digest-0.0.1.2 directory-1.2.0.1 dlist-0.5 extensible-exceptions-0.1.1.4 filepath-1.3.0.1 ghc-7.6.3 ghc-prim-0.3.0.0 haskell2010-1.1.1.0 haskell98-2.0.0.2 highlighting-kate-0.5.5 hoopl-3.9.0.0 hpc-0.6.0.0 hs-bibutils-5.0 integer-gmp-0.5.0.0 json-0.7 mtl-2.1.2 network-2.4.1.2 old-locale-1.0.0.5 old-time-1.1.0.1 pandoc-types-1.10 parsec-3.1.3 pcre-light-0.4 pretty-1.1.1.0 process-1.1.0.2 random-1.0.1.1 rts-1.0 syb-0.4.0 tagsoup-0.12.8 template-haskell-2.8.0.0 temporary-1.1.2.4 texmath-0.6.1.5 text-0.11.3.1 time-1.4.0.1 transformers-0.3.0.0 unix-2.6.0.1 utf8-string-0.3.7 xml-1.3.13 zip-archive-0.1.3.4 zlib-0.5.4.1
base64-bytestring is notably absent. When I look at my macports installed haskell packages, it shows up though! But not as base64-bytestring, as hs-base64-bytestring.
$ port installed 'hs-*' The following ports are currently installed: hs-base64-bytestring @1.0.0.1_3 (active) hs-bibutils @5.0_1 (active) hs-binary @0.7.1.0_2 (active) hs-blaze-builder @0.3.1.1_1 (active) hs-blaze-html @0.6.1.1_3 (active) hs-blaze-markup @0.5.1.5_4 (active) hs-citeproc @0.3.8_5 (active) hs-data-default @0.5.3_1 (active) hs-data-default-class @0.0.1_1 (active) hs-data-default-instances-base @0.0.1_1 (active) hs-data-default-instances-containers @0.0.1_1 (active) hs-data-default-instances-dlist @0.0.1_1 (active) hs-data-default-instances-old-locale @0.0.1_1 (active) hs-digest @0.0.1.2_3 (active) hs-dlist @0.5_3 (active) hs-extensible-exceptions @0.1.1.4_1 (active) hs-highlighting-kate @0.5.5_1 (active) hs-http @4000.2.8_4 (active) hs-json @0.7_3 (active) hs-mtl @2.1.2_3 (active) hs-network @2.4.1.2_2 (active) hs-pandoc-types @1.10_4 (active) hs-parsec @3.1.3_4 (active) hs-pcre-light @0.4_3 (active) hs-random @1.0.1.1_3 (active) hs-sha @1.6.1_4 (active) hs-syb @0.4.0_3 (active) hs-tagsoup-0.12 @0.12.8_0 (active) hs-temporary @1.1.2.4_3 (active) hs-texmath @0.6.1.5_1 (active) hs-text @0.11.3.1_1 (active) hs-transformers @0.3.0.0_3 (active) hs-utf8-string @0.3.7_3 (active) hs-xml @1.3.13_1 (active) hs-zip-archive @0.1.3.4_4 (active) hs-zlib @0.5.4.1_2 (active)
So I'm not really sure what to do here. I cannot install the package directly. Ideas?
For reference, I'm running this on a MacPro running OS X 10.8.5, with XCode Version 5.0 (5A1413).
Attachments (1)
Change History (4)
Changed 11 years ago by chummels@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cal@… added |
---|---|
Port: | pandoc added |
Any idea, Clemens?
comment:2 Changed 11 years ago by neverpanic (Clemens Lang)
Please run sudo ghc-pkg recache
or sudo port deactivate hs-base64-bytestring && sudo port activate hs-base64-bytestring
. If base64-bytestring
still doesn't show up in ghc-pkg list
, please attach the output of ghc-pkg check
.
comment:3 Changed 11 years ago by neverpanic (Clemens Lang)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I've updated pandoc to 1.12.2.1 in r114509. OP has suggested he's no longer using MacPorts. I assume the problem can be fixed by the above method and the update to the latest version – it works fine for me.
Contents of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pandoc/pandoc/main.log