Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920879 - app-text/pandoc-cli-0.1.1-r1 - setup build failed
Summary: app-text/pandoc-cli-0.1.1-r1 - setup build failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-12-28 10:12 UTC by Toralf Förster
Modified: 2025-05-15 07:11 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.71 KB, text/plain)
2023-12-28 10:12 UTC, Toralf Förster
Details
app-text:pandoc-cli-0.1.1-r1:20231228-045213.log (app-text:pandoc-cli-0.1.1-r1:20231228-045213.log,6.71 KB, text/plain)
2023-12-28 10:12 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,67.22 KB, application/x-xz)
2023-12-28 10:12 UTC, Toralf Förster
Details
environment (environment,85.46 KB, text/plain)
2023-12-28 10:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.25 KB, application/x-xz)
2023-12-28 10:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,49.11 KB, application/x-xz)
2023-12-28 10:12 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,70.34 KB, application/x-xz)
2023-12-28 10:13 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.84 KB, application/x-xz)
2023-12-28 10:13 UTC, Toralf Förster
Details
build log (pandoc build log,32.31 KB, text/plain)
2024-10-12 13:06 UTC, msdobrescu
Details
info log (pandoc info,16.80 KB, text/plain)
2024-10-12 13:08 UTC, msdobrescu
Details
packages list (pandoc pqv,7.13 KB, text/plain)
2024-10-12 13:09 UTC, msdobrescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-28 10:12:53 UTC
./setup build
Preprocessing executable 'pandoc' for pandoc-cli-0.1.1..
Building executable 'pandoc' for pandoc-cli-0.1.1..
<command line>: cannot satisfy -package-id pandoc-3.1.8-EV9eZglqneV4fDkJcaswno
    (use -v for more information)
 * ERROR: app-text/pandoc-cli-0.1.1-r1::gentoo failed (compile phase):
 *   setup build failed
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20231224-003503

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 2d7e79352c8f0ef1b28327a69f35f5b461da2131
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 28 03:03:55 2023 +0000

    2023-12-28 03:03:55 UTC

emerge -qpvO app-text/pandoc-cli
[ebuild  N    ] app-text/pandoc-cli-0.1.1-r1  USE="nightly -lua -server"
Comment 1 Toralf Förster gentoo-dev 2023-12-28 10:12:54 UTC
Created attachment 880805 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-28 10:12:55 UTC
Created attachment 880806 [details]
app-text:pandoc-cli-0.1.1-r1:20231228-045213.log
Comment 3 Toralf Förster gentoo-dev 2023-12-28 10:12:56 UTC
Created attachment 880807 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-28 10:12:57 UTC
Created attachment 880808 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-28 10:12:58 UTC
Created attachment 880809 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-28 10:12:59 UTC
Created attachment 880810 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-28 10:13:00 UTC
Created attachment 880811 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-28 10:13:01 UTC
Created attachment 880812 [details]
temp.tar.xz
Comment 9 fosslinux 2024-02-08 07:50:18 UTC
This and #916785 originate from the same problem.

I suspect that app-text/pandoc<3 is being detected, rather than the new dev-haskell/pandoc.

I worked around this bug by doing;

emerge --unmerge app-text/pandoc
emerge -1v app-text/pandoc
Comment 10 ekelsiote 2024-08-05 19:12:56 UTC
I have this error when trying to emerge app-text/pandoc, but in my case it is not installed so I cannot unmerge it. I tried also 'emerge --unmerge dev-haskell/pandoc' but the error still persists.
Comment 11 msdobrescu 2024-10-12 13:06:57 UTC
Created attachment 905191 [details]
build log

I have this issue too.
I see in the logs it builds the file it cannot find later.
Would there be a matter of path configuration?
Comment 12 msdobrescu 2024-10-12 13:08:47 UTC
Created attachment 905192 [details]
info log
Comment 13 msdobrescu 2024-10-12 13:09:46 UTC
Created attachment 905193 [details]
packages list
Comment 14 Larry the Git Cow gentoo-dev 2025-05-15 07:11:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae4c6d315b09451163b0f8fdc95b52ce1f1374c

commit 8ae4c6d315b09451163b0f8fdc95b52ce1f1374c
Author:     hololeap <hololeap@protonmail.com>
AuthorDate: 2025-04-12 17:41:40 +0000
Commit:     Arsen Arsenović <arsen@gentoo.org>
CommitDate: 2025-05-15 07:09:53 +0000

    haskell-cabal.eclass: Add early check for invalid GHC cache
    
    If the GHC cache is invalid, it can create a confusing error during
    src_compile. Add a check in haskell-cabal-pkg_setup that checks for
    and fixes an invalid cache.
    
    Closes: https://bugs.gentoo.org/916785
    Closes: https://bugs.gentoo.org/916971
    Closes: https://bugs.gentoo.org/920879
    Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/1469
    Thanks-to: Tom Gillespie <tgbugs@gmail.com>
    Signed-off-by: hololeap <hololeap@protonmail.com>
    Part-of: https://github.com/gentoo/gentoo/pull/41562
    Closes: https://github.com/gentoo/gentoo/pull/41562
    Signed-off-by: Arsen Arsenović <arsen@gentoo.org>

 eclass/haskell-cabal.eclass | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)