Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#5500 closed bug (fixed)

old-time fails to build

Reported by: jmitchell Owned by:
Priority: normal Milestone:
Component: libraries/old-time Version: 7.0.4
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Compile-time crash Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

When trying to build old-time-1.0.0.7 from hackage via cabal, I get the following error:

System/Time?.hsc:253:67: Not in scope: type constructor or class `CSUSeconds'

Change History (8)

comment:1 Changed 3 years ago by jimstutt

  • Version changed from 7.0.4 to 7.2.1

Having added Brent's #defines to runProcess.h to build process-1.1.0.0 I now get the above error with ghc-7.2.1 on archlinux i686.

comment:2 Changed 3 years ago by jimstutt

The #defines in #3449 for process seem to have fixed this for me.

comment:3 Changed 3 years ago by jmitchell

  • Type of failure changed from None/Unknown to Compile-time crash
  • Version changed from 7.2.1 to 7.0.4

Please don't change the version for a bug you didn't open.

And, there's nothing in #3449 about defines, and it's a bug about warnings, not compile failures.

comment:4 Changed 3 years ago by jimstutt

Apologies for both mistakes. Fixing #5449 (not #3449) allowed me to build old-time.

comment:5 Changed 3 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in HEAD by:

commit 341a38f57f1c09db1e8b9ceb411e0ba51e41c57d
Author: Ian Lynagh <igloo@earth.li>
Date:   Sun Sep 25 17:51:57 2011 +0100

    Tighten base dep to >= 4.4 as we need CSUSeconds; fixes #5500

comment:6 Changed 3 years ago by jmitchell

No problem, jimstutt, and thanks for the fix, igloo!

comment:7 Changed 3 years ago by jmitchell

Any idea when a fixed old-time will be released for cabal to install?

Thanks!

comment:8 Changed 2 years ago by jmitchell

Still waiting on a new release so that hackage packages install...any news when this might happen?

Thanks!

Note: See TracTickets for help on using tickets.