Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917624 - dev-haskell/foldl-1.4.15 - /.../Setup.hs: error:
Summary: dev-haskell/foldl-1.4.15 - /.../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: 2023-11-20 08:39 UTC by Toralf Förster
Modified: 2023-11-20 15:10 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.14 KB, text/plain)
2023-11-20 08:39 UTC, Toralf Förster
Details
dev-haskell:foldl-1.4.15:20231119-222946.log (dev-haskell:foldl-1.4.15:20231119-222946.log,4.14 KB, text/plain)
2023-11-20 08:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,158.93 KB, text/plain)
2023-11-20 08:39 UTC, Toralf Förster
Details
environment (environment,83.96 KB, text/plain)
2023-11-20 08:39 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,956 bytes, application/x-xz)
2023-11-20 08:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.00 KB, application/x-xz)
2023-11-20 08:39 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,255.01 KB, text/plain)
2023-11-20 08:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.66 KB, application/x-xz)
2023-11-20 08:39 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-11-20 08:39:36 UTC
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/foldl-1.4.15/work/foldl-1.4.15 ...
 * Using cabal-3.6.3.0.
/usr/bin/ghc -hide-all-packages -package Cabal -package array -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 time -package transformers -package unix -package xhtml --make /var/tmp/portage/dev-haskell/foldl-1.4.15/work/foldl-1.4.15/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup

/var/tmp/portage/dev-haskell/foldl-1.4.15/work/foldl-1.4.15/Setup.hs:5:0: error:
     error: missing binary operator before token "("
        5 | #if MIN_VERSION_cabal_doctest(1,0,0)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20231118-005006

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.5
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.5
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 5ef33210daa11b22a95e91787da6e8e299fac4ef
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 19 20:47:01 2023 +0000

    2023-11-19 20:47:01 UTC

emerge -qpvO dev-haskell/foldl
[ebuild  N    ] dev-haskell/foldl-1.4.15  USE="hscolour -doc -profile -test"
Comment 1 Toralf Förster gentoo-dev 2023-11-20 08:39:37 UTC
Created attachment 875234 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-20 08:39:38 UTC
Created attachment 875235 [details]
dev-haskell:foldl-1.4.15:20231119-222946.log
Comment 3 Toralf Förster gentoo-dev 2023-11-20 08:39:40 UTC
Created attachment 875236 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-20 08:39:41 UTC
Created attachment 875237 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-20 08:39:42 UTC
Created attachment 875238 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-20 08:39:43 UTC
Created attachment 875239 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-20 08:39:44 UTC
Created attachment 875240 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-11-20 08:39:45 UTC
Created attachment 875241 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2023-11-20 15:10:48 UTC
The bug has been closed via the following commit(s):

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

commit c420baf69d53267c8cf38f8b8df94ec6bf8a68ea
Author:     Violet Purcell <vimproved@inventati.org>
AuthorDate: 2023-11-13 17:42:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-20 15:09:41 +0000

    dev-haskell/foldl: fix building without USE=test
    
    The recent cabal-doctest patch broke building without USE=test since
    MIN_VERSION_cabal_doctest will be undefined. Fix this by defining it at
    the top of Setup.hs if it's undefined
    
    Closes: https://bugs.gentoo.org/917624
    Signed-off-by: hololeap <hololeap@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33919
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-haskell/foldl/files/foldl-1.4.15-cabal-doctest.patch | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)