Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870388 - dev-haskell/foldl-1.4.12:0/1.4.12 - /.../Setup.hs: error:
Summary: dev-haskell/foldl-1.4.12:0/1.4.12 - /.../Setup.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: PullRequest
Depends on:
Blocks:
 
Reported: 2022-09-16 14:43 UTC by Toralf Förster
Modified: 2022-10-01 03:16 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.22 KB, text/plain)
2022-09-16 14:43 UTC, Toralf Förster
Details
dev-haskell:foldl-1.4.12:20220916-140926.log (dev-haskell:foldl-1.4.12:20220916-140926.log,4.54 KB, text/plain)
2022-09-16 14:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,191.10 KB, text/plain)
2022-09-16 14:43 UTC, Toralf Förster
Details
environment (environment,79.49 KB, text/plain)
2022-09-16 14:43 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,41.37 KB, application/x-bzip)
2022-09-16 14:43 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.41 KB, application/x-bzip)
2022-09-16 14:43 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 2022-09-16 14:43:39 UTC
 * Using cabal-3.4.1.0.
/usr/bin/ghc -hide-all-packages -package Cabal -package base -package binary -package bytestring -package containers -package deepseq -package directory -package exceptions -package filepath -package haskeline -package mtl -package parsec -package pretty -package process -package stm -package template-haskell -package terminfo -package text -package transformers -package unix -package xhtml --make /var/tmp/portage/dev-haskell/foldl-1.4.12/work/foldl-1.4.12/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/foldl-1.4.12/work/foldl-1.4.12/Setup.hs, /var/tmp/portage/dev-haskell/foldl-1.4.12/work/foldl-1.4.12/Setup.o )

/var/tmp/portage/dev-haskell/foldl-1.4.12/work/foldl-1.4.12/Setup.hs:3:1: error:
    Could not load module Distribution.Extra.Doctest
    It is a member of the hidden package cabal-doctest-1.0.9.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220914-050006

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.6
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
*)	Eclipse Temurin JRE 8.345_p01 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-jre-bin-8  system-vm
  [3]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 9152fb2b399f7a8b31ca5c850cba8039ab5f1206
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 13:46:48 2022 +0000

    2022-09-16 13:46:48 UTC

emerge -qpvO dev-haskell/foldl
[ebuild  N    ] dev-haskell/foldl-1.4.12  USE="-doc -hscolour -profile -test"
Comment 1 Toralf Förster gentoo-dev 2022-09-16 14:43:40 UTC
Created attachment 805579 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 14:43:41 UTC
Created attachment 805582 [details]
dev-haskell:foldl-1.4.12:20220916-140926.log
Comment 3 Toralf Förster gentoo-dev 2022-09-16 14:43:43 UTC
Created attachment 805585 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-16 14:43:44 UTC
Created attachment 805588 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-16 14:43:46 UTC
Created attachment 805591 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 14:43:47 UTC
Created attachment 805594 [details]
temp.tar.bz2
Comment 7 Jonathan Lovelace 2022-09-17 23:45:44 UTC
I ran into this build failure, but I copied the -r1 ebuild from the ::haskell overlay into my local overlay, and it fixed the issue for me. I would guess that the key change is adding GHC_BOOTSTRAP_PACKAGES=( cabal-doctest ), though the ::haskell version also doesn't have dos2unix in BDEPEND or the mildly complicated src_prepare() that the main-tree version does.
Comment 8 Larry the Git Cow gentoo-dev 2022-10-01 03:16:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28887796492fb1d5e7a321c7197df3b518242611

commit 28887796492fb1d5e7a321c7197df3b518242611
Author:     Jack Todaro <solpeth@posteo.org>
AuthorDate: 2022-09-30 22:38:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-01 03:14:36 +0000

    dev-haskell/foldl: sync from ::haskell fixing configure failure
    
    Closes:https://bugs.gentoo.org/870388
    Signed-off-by: Jack Todaro <solpeth@posteo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-haskell/foldl/Manifest               |  1 +
 dev-haskell/foldl/foldl-1.4.12-r1.ebuild | 44 ++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)