Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785268 - app-text/pandoc-2.13 - trypandoc/trypandoc.hs: error:
Summary: app-text/pandoc-2.13 - trypandoc/trypandoc.hs: error:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-23 17:21 UTC by Toralf Förster
Modified: 2021-05-11 21:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.31 KB, text/plain)
2021-04-23 17:21 UTC, Toralf Förster
Details
app-text:pandoc-2.13:20210423-163456.log (app-text:pandoc-2.13:20210423-163456.log,40.58 KB, text/plain)
2021-04-23 17:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,127.21 KB, text/plain)
2021-04-23 17:21 UTC, Toralf Förster
Details
environment (environment,87.38 KB, text/plain)
2021-04-23 17:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.57 KB, application/x-bzip)
2021-04-23 17:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.66 KB, application/x-bzip)
2021-04-23 17:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-04-23 17:21:55 UTC
[1 of 1] Compiling Main

trypandoc/trypandoc.hs:25:1: error:
    Could not load module ‘Data.Text’
    It is a member of the hidden package ‘text-1.2.4.1’.
    Perhaps you need to add ‘text’ to the build-depends in your .cabal file.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20210420-165442

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.3.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr 23 15:20:10 UTC 2021

emerge -qpvO app-text/pandoc
[ebuild  N    ] app-text/pandoc-2.13  USE="trypandoc -doc -embed-data-files -hscolour -optimize -profile -test"
Comment 1 Toralf Förster gentoo-dev 2021-04-23 17:21:56 UTC
Created attachment 702072 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-23 17:21:57 UTC
Created attachment 702075 [details]
app-text:pandoc-2.13:20210423-163456.log
Comment 3 Toralf Förster gentoo-dev 2021-04-23 17:21:59 UTC
Created attachment 702078 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-23 17:22:00 UTC
Created attachment 702081 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-23 17:22:01 UTC
Created attachment 702084 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-23 17:22:03 UTC
Created attachment 702087 [details]
temp.tar.bz2
Comment 7 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-11 21:51:55 UTC
```
trypandoc/trypandoc.hs:25:1: error:
    Could not load module ‘Data.Text’
    It is a member of the hidden package ‘text-1.2.4.1’.
    Perhaps you need to add ‘text’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
25 | import qualified Data.Text as T
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

Looks like `trypandoc` has an undeclared depend.
Comment 8 Larry the Git Cow gentoo-dev 2021-05-11 21:58:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2b2dd1d0e4d93b5e8e046f7d7ab2fc10392457

commit 6e2b2dd1d0e4d93b5e8e046f7d7ab2fc10392457
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-05-11 21:58:10 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-05-11 21:58:32 +0000

    app-text/pandoc: add 'text' depend to 'trypandoc'
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/785268
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-text/pandoc/files/pandoc-2.13-trypandoc.patch | 12 ++++++++++++
 app-text/pandoc/pandoc-2.13.ebuild                |  2 ++
 2 files changed, 14 insertions(+)