Ticket #3413 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

configure fails when generated with debian's autoconf 2.64-1 from unstable

Reported by: explicitcall Owned by:
Priority: normal Milestone:
Component: Build System Version: 6.11
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

when doing sh boot&&./configure on ghc-HEAD with latest patches with debian's autoconf 2.64-1 from unstable installed, I get this:

checking for ghc-pkg matching /home/user/local/bin/ghc... /home/user/local/bin/ghc-pkg
./configure: line 6156: syntax error near unexpected token `indResVersion=$fptools_cv_windres_version'
./configure: line 6156: `fi    indResVersion=$fptools_cv_windres_version;'

after that configure script stops

when I downgrade to autoconf 2.63-3 from testing, configure runs normally

generated buggy configure script is attached

Attachments

configure.7z Download (48.8 KB) - added by explicitcall 4 years ago.
terminfo-fix-quoting-autoconf-2.64.dpatch Download (1.4 KB) - added by ajd 4 years ago.
This patch allows terminfo to configure.

Change History

Changed 4 years ago by explicitcall

Changed 4 years ago by ajd

See #3414, especially the two patches attached to that ticket which I think fix a couple of the issues; not all of them though.

Changed 4 years ago by ajd

This patch allows terminfo to configure.

Changed 4 years ago by ajd

It looks like those three patches (one in this ticket and two in #3414) will solve the problem - at least, they did for me.

Changed 4 years ago by ajd

  • owner set to igloo

Assigning to igloo since patches have been posted.

Changed 4 years ago by igloo

  • owner igloo deleted
  • difficulty set to Unknown

Thanks; I've applied the other two patches, and sent this one to Judah.

Changed 4 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

This patch has now also been applied.

Note: See TracTickets for help on using tickets.