Opened 12 years ago

Closed 12 years ago

#38541 closed defect (fixed)

pandoc @1.11.1 needs a dependency on hs-data-default

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: seanfarley (Sean Farley)
Port: pandoc

Description

After having fixed #38540 on my own machine, installing pandoc next led to the following error:

Configuring pandoc-1.11.1...
Setup: At least the following dependencies are missing:
data-default >=0.4 && <0.6
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
Exit code: 1

Installing hs-data-default fixed this error.

Change History (8)

comment:1 Changed 12 years ago by seanfarley (Sean Farley)

It should be fixed in r104480 but I'm getting what looks like another error in the buildbot. Let me know if it's fixed for you while I try to investigate the buildbot error.

comment:2 in reply to:  1 Changed 12 years ago by cooljeanius (Eric Gallager)

Replying to sean@…:

It should be fixed in r104480 but I'm getting what looks like another error in the buildbot. Let me know if it's fixed for you while I try to investigate the buildbot error.

Hm, now it fails for me with:

/opt/local/bin/ghc --make -package-name pandoc-1.11.1 -hide-all-packages -fbuilding-cabal-package -no-user-package-conf -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id HTTP-4000.2.8-40c18d2d7fca2ae4875cde30da31b1f6 -package-id base-4.5.1.0-81d626fb996bc7e140a3fd4481b338cd -package-id base64-bytestring-1.0.0.1-ffac0c3b5b4052ba238123e750610a46 -package-id blaze-html-0.6.1.1-d073970cbfba8f77d0b87ccc83d01a23 -package-id blaze-markup-0.5.1.5-9d50ced172604fabd2bd19c63d97dfa3 -package-id bytestring-0.9.2.1-0044644a71adfe5e950e6c6f6ca13065 -package-id citeproc-hs-0.3.8-1d1668ad8a6852a5bea68dcbcf3cf10b -package-id containers-0.4.2.1-75f143aa39a3e77a1ce2300025bdd8ce -package-id data-default-0.5.1-a6fb52d4d639250f5ab82f2cae3c785f -package-id directory-1.1.0.2-72e928d14fc50f31f7e6404839a15691 -package-id extensible-exceptions-0.1.1.4-3d9bd197c43329612c640f24179a7f19 -package-id filepath-1.3.0.0-f998e5510c76a98913f57b14b4f16c57 -package-id highlighting-kate-0.5.3.8-d7179c326352989b746a5a75c40b5125 -package-id json-0.7-13e6df50778d001c8d4d8b329a3c8ca8 -package-id mtl-2.1.2-02e701f9b1590ee88a0b5b0bd5d93a29 -package-id network-2.3.0.14-2d562e1208d1a540ee44bfab2f91ffa4 -package-id old-locale-1.0.0.4-5e45cabd3b4fdcad9e353ea3845f5ef7 -package-id pandoc-types-1.10-fe98a5f0a6d7e5dec6d5eec0939e5753 -package-id parsec-3.1.3-51bee11f97a673bcbf07a39d409c759f -package-id process-1.1.0.1-f002477a35b880981ab3a429893cfea4 -package-id random-1.0.1.1-0a3c630945e8d36365483db523a97aa1 -package-id syb-0.4.0-4a76fc4e9850d34a52068d676a693cc3 -package-id tagsoup-0.12.8-646a9f3967308b0d803f82dee369b8ba -package-id temporary-1.1.2.4-0ac0ec5b9ce207eb114e8628f0668437 -package-id texmath-0.6.1.3-62d648c0a7ac011992f32f2eafa708a4 -package-id text-0.11.2.3-473d9a1761b27c7315f2ef4569d93c3c -package-id time-1.4-d61e2caaa0486655b4e141dc277ed49f -package-id xml-1.3.12-aaab021c3a9077daf23c54c38b7b76ae -package-id zip-archive-0.1.3.4-055c5d534f32ee023110388647634e09 -package-id zlib-0.5.4.1-3091bf12cab0c12fd306120329cbe35e -O -rtsopts -Wall -fno-warn-unused-do-bind -XHaskell98 -XCPP Text.Pandoc Text.Pandoc.Options Text.Pandoc.Pretty Text.Pandoc.Shared Text.Pandoc.Readers.HTML Text.Pandoc.Readers.LaTeX Text.Pandoc.Readers.Markdown Text.Pandoc.Readers.MediaWiki Text.Pandoc.Readers.RST Text.Pandoc.Readers.DocBook Text.Pandoc.Readers.TeXMath Text.Pandoc.Readers.Textile Text.Pandoc.Readers.Native Text.Pandoc.Writers.Native Text.Pandoc.Writers.Docbook Text.Pandoc.Writers.HTML Text.Pandoc.Writers.LaTeX Text.Pandoc.Writers.ConTeXt Text.Pandoc.Writers.OpenDocument Text.Pandoc.Writers.Texinfo Text.Pandoc.Writers.Man Text.Pandoc.Writers.Markdown Text.Pandoc.Writers.RST Text.Pandoc.Writers.Org Text.Pandoc.Writers.AsciiDoc Text.Pandoc.Writers.Textile Text.Pandoc.Writers.MediaWiki Text.Pandoc.Writers.RTF Text.Pandoc.Writers.ODT Text.Pandoc.Writers.Docx Text.Pandoc.Writers.EPUB Text.Pandoc.Writers.FB2 Text.Pandoc.PDF Text.Pandoc.UTF8 Text.Pandoc.Templates Text.Pandoc.XML Text.Pandoc.Biblio Text.Pandoc.SelfContained Text.Pandoc.MIME Text.Pandoc.Parsing Text.Pandoc.UUID Text.Pandoc.ImageSize Text.Pandoc.Slides Text.Pandoc.Highlighting Paths_pandoc

src/Text/Pandoc/Shared.hs:89:8:
    Could not find module `Network.URI'
    There are files missing in the `network-2.3.0.14' package,
    try running 'ghc-pkg check'.
    Use -v to see a list of the files searched for.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pandoc/pandoc/work/pandoc-1.11.1" && runhaskell Setup build -v 
Exit code: 1
gl00b05046:~ root# port -v installed hs-network
The following ports are currently installed:
  hs-network @2.4.1.2_0 (active) platform='darwin 11' archs='x86_64'
gl00b05046:~ root# port -d livecheck hs-network | tail -n 10
...
DEBUG: Starting logging for hs-network
DEBUG: Executing org.macports.main (hs-network)
DEBUG: livecheck phase started at Tue Mar 26 15:51:01 EDT 2013
DEBUG: Executing org.macports.livecheck (hs-network)
DEBUG: Portfile modification date is Tue Mar 26 03:30:29 EDT 2013
DEBUG: Port (livecheck) version is 2.4.1.2
DEBUG: Fetching http://hackage.haskell.org/cgi-bin/hackage-scripts/package/network
DEBUG: The regex is "/packages/archive/network/.*/network-(.*).tar.gz"
DEBUG: The regex matched "/packages/archive/network/2.4.1.2/network-2.4.1.2.tar.gz", extracted "2.4.1.2"
hs-network seems to be up to date
Version 1, edited 12 years ago by cooljeanius (Eric Gallager) (previous) (next) (diff)

comment:3 Changed 12 years ago by larryv (Lawrence Velázquez)

Update all your Haskell ports and try again. I just built pandoc successfully on my machine.

comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)

Actually never mind, all the school computers have now updated to Mountain Lion, and pandoc now builds successfully for me, too.

comment:5 in reply to:  4 ; Changed 12 years ago by seanfarley (Sean Farley)

Resolution: invalid
Status: newclosed

Replying to egall@…:

Actually never mind, all the school computers have now updated to Mountain Lion, and pandoc now builds successfully for me, too.

Ok, closing then.

comment:6 in reply to:  5 Changed 12 years ago by cooljeanius (Eric Gallager)

Replying to sean@…:

Replying to egall@…:

Actually never mind, all the school computers have now updated to Mountain Lion, and pandoc now builds successfully for me, too.

Ok, closing then.

Well it did need the original hs-data-default dependency that the OP was about, so I would have closed this as "fixed" rather than "invalid" (but whatever, this is okay too I guess...)

Last edited 12 years ago by cooljeanius (Eric Gallager) (previous) (diff)

comment:7 Changed 12 years ago by seanfarley (Sean Farley)

Resolution: invalid
Status: closedreopened

comment:8 Changed 12 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.