Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870400 - dev-haskell/xml-conduit-1.9.1.1:0/1.9.1.1 - /.../Setup.hs: error:
Summary: dev-haskell/xml-conduit-1.9.1.1:0/1.9.1.1 - /.../Setup.hs: error:
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: 2022-09-16 14:44 UTC by Toralf Förster
Modified: 2022-10-01 03:16 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.04 KB, text/plain)
2022-09-16 14:44 UTC, Toralf Förster
Details
dev-haskell:xml-conduit-1.9.1.1:20220916-064356.log (dev-haskell:xml-conduit-1.9.1.1:20220916-064356.log,4.59 KB, text/plain)
2022-09-16 14:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,226.55 KB, text/plain)
2022-09-16 14:45 UTC, Toralf Förster
Details
environment (environment,82.80 KB, text/plain)
2022-09-16 14:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.54 KB, application/x-bzip)
2022-09-16 14:45 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.37 KB, application/x-bzip)
2022-09-16 14:45 UTC, Toralf Förster
Details
proposed fix (xml-conduit-fix.patch,819 bytes, patch)
2022-09-26 17:11 UTC, Nick Bowler
Details | Diff

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:44:58 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/xml-conduit-1.9.1.1/work/xml-conduit-1.9.1.1/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/xml-conduit-1.9.1.1/work/xml-conduit-1.9.1.1/Setup.hs, /var/tmp/portage/dev-haskell/xml-conduit-1.9.1.1/work/xml-conduit-1.9.1.1/Setup.o )

/var/tmp/portage/dev-haskell/xml-conduit-1.9.1.1/work/xml-conduit-1.9.1.1/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-20220913-130006

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
2)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
5)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm
  [5]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 05c49fc30cd0c35ad16b412daf0cf97f499892fd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 06:16:56 2022 +0000

    2022-09-16 06:16:55 UTC

emerge -qpvO dev-haskell/xml-conduit
[ebuild  N    ] dev-haskell/xml-conduit-1.9.1.1  USE="-doc -hscolour -profile -test"
Comment 1 Toralf Förster gentoo-dev 2022-09-16 14:44:59 UTC
Created attachment 805645 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 14:45:00 UTC
Created attachment 805648 [details]
dev-haskell:xml-conduit-1.9.1.1:20220916-064356.log
Comment 3 Toralf Förster gentoo-dev 2022-09-16 14:45:02 UTC
Created attachment 805651 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-16 14:45:04 UTC
Created attachment 805654 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-16 14:45:05 UTC
Created attachment 805657 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 14:45:06 UTC
Created attachment 805660 [details]
temp.tar.bz2
Comment 7 Jonathan Lovelace 2022-09-17 23:38:05 UTC
I hit this build failure with the ebuild in ::gentoo, but the ebuild in ::haskell, which only differs in adding GHC_BOOTSTRAP_PACKAGES=( cabal-doctest ) at the end, builds successfully for me.
Comment 8 Nick Bowler 2022-09-26 17:11:46 UTC
Created attachment 814294 [details, diff]
proposed fix

This patch backported from gentoo-haskell repo appears to be sufficient to unblock upgrades.
Comment 9 Larry the Git Cow gentoo-dev 2022-10-01 03:16:45 UTC
The bug has been closed via the following commit(s):

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

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

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

 dev-haskell/xml-conduit/xml-conduit-1.9.1.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)