From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#33922: failing git-annex build Date: Sun, 30 Dec 2018 12:36:59 +0100 Message-ID: <87bm53gs9w.fsf@elephly.net> References: <87h8evvjr2.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87h8evvjr2.fsf@kyleam.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-debbugs-bounces+gcgd-help-debbugs=m.gmane.org@gnu.org Sender: "help-debbugs" To: Kyle Meyer Cc: guix-devel@gnu.org List-Id: guix-devel.gnu.org Hi Kyle, > I'm seeing the failure below when trying to build git-annex. Can anyone > else reproduce this failure? Any ideas how to resolve it? > > --8<---------------cut here---------------start------------->8--- > % git describe > v0.16.0-400-g4f36d98f7b > > % ./pre-inst-env guix build -K --check git-annex > Utility/Exception.hs:29:1: error: > Bad interface file: /gnu/store/qb3knv1h536sdjqc4nfkm3j1l8n7q87a-ghc-e= xceptions-0.10.0/lib/ghc-8.4.3/exceptions-0.10.0/Control/Monad/Catch.dyn_hi > Something is amiss; requested module exceptions-0.10.0:Control.M= onad.Catch differs from name found in the interface file exceptions-0.10.0:= Control.Monad.Catch (if these names look the same, try again with -dppr-deb= ug) > | > 29 | import Control.Monad.Catch as X hiding (Handler) > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It seems to me that this is a more general problem affecting all of our Haskell packages. The configure phase that you didn=E2=80=99t paste should= show that modules are provided by slightly different packages. The haskell-build-system suffers from non-determinism. It might just be limited to the package database files that are generated by ghc-pkg (where readdir is used and the result isn=E2=80=99t sorted). I=E2=80=99m opening a bug report for this issue. --=20 Ricardo