Problem intalling Pandoc

Trémouilles David david.trem at gmail.com
Fri Sep 28 04:27:08 PDT 2012


Hello,

I did not succeed in installing Pandoc with macport 2.1.2 on MacOS 10.7.5
I would really like to get it as it a dependence to use "nbconvert",
a tool to transform an ipython notebook into pdf or html pages.

The prompt output is right below and the main.log is in attachment.

Any help would be welcome,

David

$ sudo port install pandoc
--->  Computing dependencies for pandoc
--->  Dependencies to be installed: hs-citeproc ghc hs-json hs-mtl 
hs-transformers hs-pandoc-types hs-utf8-string hs-xml hs-dlist 
hs-haddock hs-http hs-network hs-parsec hs-text hs-tagsoup hs-texmath 
hs-zip-archive hs-binary hs-digest hs-zlib
--->  Fetching archive for ghc
--->  Attempting to fetch ghc-7.4.2_1+gcc47.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/ghc
--->  Attempting to fetch ghc-7.4.2_1+gcc47.darwin_11.x86_64.tbz2.rmd160 
from http://lil.fr.packages.macports.org/ghc
--->  Installing ghc @7.4.2_1+gcc47
--->  Activating ghc @7.4.2_1+gcc47
--->  Cleaning ghc
--->  Fetching archive for hs-transformers
--->  Attempting to fetch 
hs-transformers-0.3.0.0_0.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/hs-transformers
--->  Attempting to fetch 
hs-transformers-0.3.0.0_0.darwin_11.x86_64.tbz2.rmd160 from 
http://lil.fr.packages.macports.org/hs-transformers
--->  Installing hs-transformers @0.3.0.0_0
--->  Activating hs-transformers @0.3.0.0_0
--->  Cleaning hs-transformers
--->  Fetching archive for hs-mtl
--->  Attempting to fetch hs-mtl-2.1.2_0.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/hs-mtl
--->  Attempting to fetch hs-mtl-2.1.2_0.darwin_11.x86_64.tbz2.rmd160 
from http://lil.fr.packages.macports.org/hs-mtl
--->  Installing hs-mtl @2.1.2_0
--->  Activating hs-mtl @2.1.2_0
--->  Cleaning hs-mtl
--->  Fetching archive for hs-json
--->  Attempting to fetch hs-json-0.5_0.darwin_11.x86_64.tbz2 from 
http://lil.fr.packages.macports.org/hs-json
--->  Attempting to fetch hs-json-0.5_0.darwin_11.x86_64.tbz2 from 
http://mse.uk.packages.macports.org/sites/packages.macports.org/hs-json
--->  Attempting to fetch hs-json-0.5_0.darwin_11.x86_64.tbz2 from 
http://packages.macports.org/hs-json
--->  Fetching distfiles for hs-json
--->  Verifying checksum(s) for hs-json
--->  Extracting hs-json
--->  Configuring hs-json
--->  Building hs-json
--->  Staging hs-json into destroot
--->  Installing hs-json @0.5_0
--->  Activating hs-json @0.5_0
--->  Cleaning hs-json
--->  Fetching archive for hs-pandoc-types
--->  Attempting to fetch hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2 
from http://lil.fr.packages.macports.org/hs-pandoc-types
--->  Attempting to fetch 
hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2.rmd160 from 
http://lil.fr.packages.macports.org/hs-pandoc-types
--->  Installing hs-pandoc-types @1.8_0
--->  Activating hs-pandoc-types @1.8_0
Error: org.macports.activate for port hs-pandoc-types returned: command 
execution failed
Error: Failed to install hs-pandoc-types
Please see the log file for port hs-pandoc-types for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/main.log
Error: The following dependencies were not installed: hs-citeproc 
hs-pandoc-types hs-utf8-string hs-xml hs-dlist hs-haddock hs-http 
hs-network hs-parsec hs-text hs-tagsoup hs-texmath hs-zip-archive 
hs-binary hs-digest hs-zlib
To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
Error: Processing of port pandoc failed
-------------- next part --------------
version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/hs-pandoc-types/work
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 501
:debug:clean euid changed to: 502
:debug:main Executing org.macports.main (hs-pandoc-types)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Fri Sep 28 13:06:53 CEST 2012
:msg:archivefetch --->  Fetching archive for hs-pandoc-types
:debug:archivefetch Executing org.macports.archivefetch (hs-pandoc-types)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/hs-pandoc-types
:msg:archivefetch --->  Attempting to fetch hs-pandoc-types-1.8_0.darwin_11.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/hs-pandoc-types
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.fetch (hs-pandoc-types)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.checksum (hs-pandoc-types)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.extract (hs-pandoc-types)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.patch (hs-pandoc-types)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.configure (hs-pandoc-types)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.build (hs-pandoc-types)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:archivefetch Skipping completed org.macports.destroot (hs-pandoc-types)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:install install phase started at Fri Sep 28 13:06:54 CEST 2012
:notice:install --->  Installing hs-pandoc-types @1.8_0
:debug:install Can't run install on this port without elevated privileges. Escalating privileges back to root.
:debug:install euid changed to: 0. egid changed to: 0.
:debug:install Executing org.macports.install (hs-pandoc-types)
:debug:activate activate phase started at Fri Sep 28 13:06:54 CEST 2012
:debug:activate Executing org.macports.activate (hs-pandoc-types)
:msg:activate --->  Activating hs-pandoc-types @1.8_0
:debug:activate Using /usr/bin/tar
:debug:activate Using /usr/bin/bzip2
:info:activate x ./
:info:activate x ./+COMMENT
:info:activate x ./+CONTENTS
:info:activate x ./+DESC
:info:activate x ./+PORTFILE
:info:activate x ./+STATE
:info:activate x ./opt/
:info:activate x ./opt/local/
:info:activate x ./opt/local/lib/
:info:activate x ./opt/local/libexec/
:info:activate x ./opt/local/share/
:info:activate x ./opt/local/share/doc/
:info:activate x ./opt/local/share/doc/pandoc-types-1.8/
:info:activate x ./opt/local/share/doc/pandoc-types-1.8/COPYING
:info:activate x ./opt/local/libexec/hs-pandoc-types/
:info:activate x ./opt/local/libexec/hs-pandoc-types/register.sh
:info:activate x ./opt/local/libexec/hs-pandoc-types/unregister.sh
:info:activate x ./opt/local/lib/pandoc-types-1.8/
:info:activate x ./opt/local/lib/pandoc-types-1.8/ghc-6.10.4/
:info:activate x ./opt/local/lib/pandoc-types-1.8/ghc-6.10.4/HSpandoc-types-1.8.o
:info:activate x ./opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/
:info:activate x ./opt/local/lib/pandoc-types-1.8/ghc-6.10.4/libHSpandoc-types-1.8.a
:info:activate x ./opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/Pandoc/
:info:activate x ./opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/Pandoc/Builder.hi
:info:activate x ./opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/Pandoc/Definition.hi
:info:activate x ./opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/Pandoc/Generic.hi
:debug:activate activating directory: /
:debug:activate activating directory: /opt
:debug:activate activating directory: /opt/local
:debug:activate activating directory: /opt/local/lib
:debug:activate activating directory: /opt/local/lib/pandoc-types-1.8
:debug:activate activating directory: /opt/local/lib/pandoc-types-1.8/ghc-6.10.4
:debug:activate activating file: /opt/local/lib/pandoc-types-1.8/ghc-6.10.4/HSpandoc-types-1.8.o
:debug:activate activating directory: /opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text
:debug:activate activating directory: /opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/Pandoc
:debug:activate activating file: /opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/Pandoc/Builder.hi
:debug:activate activating file: /opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/Pandoc/Definition.hi
:debug:activate activating file: /opt/local/lib/pandoc-types-1.8/ghc-6.10.4/Text/Pandoc/Generic.hi
:debug:activate activating file: /opt/local/lib/pandoc-types-1.8/ghc-6.10.4/libHSpandoc-types-1.8.a
:debug:activate activating directory: /opt/local/libexec
:debug:activate activating directory: /opt/local/libexec/hs-pandoc-types
:debug:activate activating file: /opt/local/libexec/hs-pandoc-types/register.sh
:debug:activate activating file: /opt/local/libexec/hs-pandoc-types/unregister.sh
:debug:activate activating directory: /opt/local/share
:debug:activate activating directory: /opt/local/share/doc
:debug:activate activating directory: /opt/local/share/doc/pandoc-types-1.8
:debug:activate activating file: /opt/local/share/doc/pandoc-types-1.8/COPYING
:debug:activate Executing proc-post-org.macports.activate-activate-0
:info:activate Reading package info from stdin ... done.
:info:activate pandoc-types-1.8: Warning: haddock-interfaces: /opt/local/share/doc/pandoc-types-1.8/html/pandoc-types.haddock doesn't exist or isn't a file
:info:activate pandoc-types-1.8: Warning: haddock-html: /opt/local/share/doc/pandoc-types-1.8/html doesn't exist or isn't a directory
:info:activate pandoc-types-1.8: missing id field
:info:activate pandoc-types-1.8: dependency "base-4.1.0.0" doesn't exist (use --force to override)
:info:activate pandoc-types-1.8: dependency "containers-0.2.0.1" doesn't exist (use --force to override)
:info:activate pandoc-types-1.8: dependency "syb-0.1.0.1" doesn't exist (use --force to override)
:info:activate Command failed: /opt/local/libexec/hs-pandoc-types/register.sh
:info:activate Exit code: 1
:error:activate org.macports.activate for port hs-pandoc-types returned: command execution failed
:debug:activate Error code: NONE
:debug:activate Backtrace: command execution failed
    while executing
"$post $targetname"
:info:activate Warning: targets not executed for hs-pandoc-types: org.macports.activate
:error:activate Failed to install hs-pandoc-types
:debug:activate could not read "/opt/local/share/doc/pandoc-types-1.8/COPYING": no such file or directory
    while executing
"::file type $file"
:notice:activate Please see the log file for port hs-pandoc-types for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-pandoc-types/hs-pandoc-types/main.log


More information about the macports-users mailing list