8.0.1 source tarballs available (yet again)

Ben Gamari ben at well-typed.com
Tue May 17 13:21:05 UTC 2016


Andrés Sicard-Ramírez <asr at eafit.edu.co> writes:

> On 17 May 2016 at 07:38, Ben Gamari <ben at well-typed.com> wrote:
>> tl;dr: We are giving this release another attempt. Cross your fingers
>>        and try building again.
>>
>> Hello GHC packagers,
>>
>> Thanks for your help in the last few days working through what were
>> hopefully the last issues in the release. I've uploaded a new set of
>> source tarballs at,
>>
>>     http://downloads.haskell.org/~ghc/8.0.1/
>
> I got the following error (on Linux):
>
> $ make
> /usr/bin/ld: cannot find -lHSghc-boot-th-8.0.1
> collect2: ld returned 1 exit status
> make[1]: *** [utils/ghc-pkg/dist/build/tmp/ghc-pkg] Error 1
>
Very interesting. This must be quite a intermittent issue since I have
not once been able to reproduce it and Karel claimed the patch I merged
fixed it. Yet, Herbert noticed that the patch is actually subtly wrong.

Does the attached patch fix the issue?

Cheers,

- Ben


From e365d1379ffcf81b8b28863db9acc4970d39359b Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben at smart-cactus.org>
Date: Tue, 17 May 2016 15:18:37 +0200
Subject: [PATCH] rules: Fix name of ghc-boot-th library

There was a missing `#`. Hadrian couldn't come soon enough.
---
 rules/foreachLibrary.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/foreachLibrary.mk b/rules/foreachLibrary.mk
index d65533e..be79fcc 100644
--- a/rules/foreachLibrary.mk
+++ b/rules/foreachLibrary.mk
@@ -38,7 +38,7 @@
 define foreachLibrary
 # $1 = function to call for each library
 # We will give it the package path and the tag as arguments
-$$(foreach hashline,libraries/ghc-boot-th-#no-remote-repo#no-vcs            \
+$$(foreach hashline,libraries/ghc-boot-th#-#no-remote-repo#no-vcs           \
                     libraries/ghc-boot#-#no-remote-repo#no-vcs              \
                     libraries/ghci#-#no-remote-repo#no-vcs                  \
                     libraries/base#-#no-remote-repo#no-vcs                  \
-- 
2.8.0.rc3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160517/4f84be39/attachment.sig>


More information about the ghc-devs mailing list