Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895766 - dev-haskell/xml-conduit-1.9.1.1 - compiling .../Setup.hs failed
Summary: dev-haskell/xml-conduit-1.9.1.1 - compiling .../Setup.hs failed
Status: CONFIRMED
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: 2023-02-21 22:09 UTC by Toralf Förster
Modified: 2023-04-15 21:24 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.85 KB, text/plain)
2023-02-21 22:09 UTC, Toralf Förster
Details
dev-haskell:xml-conduit-1.9.1.1:20230221-080559.log (dev-haskell:xml-conduit-1.9.1.1:20230221-080559.log,3.71 KB, text/plain)
2023-02-21 22:09 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,66.04 KB, application/x-bzip)
2023-02-21 22:09 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,697 bytes, application/x-bzip)
2023-02-21 22:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,24.60 KB, application/x-bzip)
2023-02-21 22:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.34 KB, application/x-bzip)
2023-02-21 22:09 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 2023-02-21 22:09:03 UTC
too long lines were shrinked:

<command line>: unknown package: process-1.6.13.2
/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 templa
[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 )
Linking setup ...
<command line>: unknown package: process-1.6.13.2
 * ERROR: dev-haskell/xml-conduit-1.9.1.1::gentoo failed (configure phase):
 *   compiling /var/tmp/portage/dev-haskell/xml-conduit-1.9.1.1/work/xml-conduit-1.9.1.1/Setup.hs failed
 * 
 * Call stack:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20230218-040024

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.21.0 [icedtea-8]
2)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
5)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [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):

  HEAD of ::gentoo
commit 78eabb29649de7f03efc2a675bd05c4f1095846f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 21 05:16:58 2023 +0000

    2023-02-21 05:16:58 UTC

emerge -qpvO dev-haskell/xml-conduit
[ebuild   R   ] dev-haskell/xml-conduit-1.9.1.1  USE="-doc -hscolour -profile -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-21 22:09:04 UTC
Created attachment 853600 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-21 22:09:05 UTC
Created attachment 853602 [details]
dev-haskell:xml-conduit-1.9.1.1:20230221-080559.log
Comment 3 Toralf Förster gentoo-dev 2023-02-21 22:09:06 UTC
Created attachment 853604 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-02-21 22:09:07 UTC
Created attachment 853606 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-21 22:09:09 UTC
Created attachment 853608 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-21 22:09:10 UTC
Created attachment 853610 [details]
temp.tar.bz2
Comment 7 Denis Lisov 2023-02-22 19:16:24 UTC
I saw the same error message

unknown package: process-1.6.13.2

in my system. For me the problem was fixed by manually rebuilding dev-haskell/cabal and dev-haskell/cabal-doctest (not sure which exactly, I didn't retry between emerging them). haskell-updater did not mention either of these as broken, but one of them was mentioned in the preserved-libs dependency report.
Comment 8 Paweł Metelski 2023-03-10 03:28:21 UTC
(In reply to Denis Lisov from comment #7)
> in my system. For me the problem was fixed by manually rebuilding
> dev-haskell/cabal and dev-haskell/cabal-doctest (not sure which exactly, I
> didn't retry between emerging them).

I retried, the former doesn't help. So it's both or the latter.

And I had this with ghc-9.0.2-r4 building xml-conduit-1.9.1.1. Definitely, haskell-updater-1.3.2-r1 failed to do its' job here. Now, even after the manual fix, emerge still displays:

!!! existing preserved libs:
>>> package: dev-haskell/language-c-0.8.3-r1
 *  - /usr/lib64/x86_64-linux-ghc-9.0.2/libHSlanguage-c-0.8.3-CItfxBxr2Kd6VpdOMdW0wq-ghc9.0.2.so
 *      used by /usr/bin/c2hs (dev-haskell/c2hs-0.28.8)
>>> package: dev-lang/ghc-9.0.2-r4
 *  - /usr/lib64/ghc-9.0.2/process-1.6.13.2/libHSprocess-1.6.13.2-ghc9.0.2.so
 *      used by /usr/bin/c2hs (dev-haskell/c2hs-0.28.8)
 *      used by /usr/sbin/haskell-updater (app-admin/haskell-updater-1.3.2-r1)

I only have ghc installed due to xmonad. Maybe after 12+ years I should use another tiling WM if this is not fully supported.
Comment 9 Paweł Metelski 2023-03-10 03:30:27 UTC
(In reply to Paweł Metelski from comment #8)
Now, even after the
> manual fix, emerge still displays:
> !!! existing preserved libs:

Obviously, emerge @preserved-rebuild resolved that one too.