Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,242
    • Issues 4,242
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 387
    • Merge Requests 387
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #4031

Closed
Open
Opened Apr 28, 2010 by batterseapower@trac-batterseapower

Build broken with cygwin make 3.81

Cygwin make 3.81 (the latest version) doesn't support Windows paths, but the GHC build process generates makefiles containing such paths. This is a deliberate change by Cygwin - see http://www.cygwin.com/ml/cygwin/2006-07/msg00668.html for the "rationale".

The upshot is that you get this error when compiling:

utils/genprimopcode/dist/build/.depend.haskell:3: *** target pattern contains no '%'. Stop.

Where the offending line looks like:

utils/genprimopcode/dist/build/Syntax.o : C:/Program\ Files/Haskell\ Platform/2010.1.0.0/lib/base-4.2.0.0/Data/List.hi

To work around the issue you can install Cygwin make 3.80 from http://www.go-mono.com/archive/helper/make-3.80-1.tar.bz2 or http://www.cmake.org/files/cygwin/make.exe to replace the Cygwin installed make executable.

The right fix is for GHC to use cygpath before putting any Windows paths in makefiles.

Trac metadata
Trac field Value
Version 6.13
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
6.12.3
Milestone
6.12.3
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#4031