GNU bug report logs -
#34146
[PATCH] gnu: Add ghc-c2hs.
Previous Next
Full log
Message #10 received at 34146-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Gabriel Hondet <gabrielhondet <at> gmail.com> skribis:
> * gnu/packages/haskell.scm (ghc-c2hs): New variable.
Applied with the changes below.
It’d be nice to report the test failures upstream since it could be
fairly problematic for such a tool to fail to parse C headers.
Thanks,
Ludo’.
[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 02af900354..b8ea36852b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11429,7 +11429,10 @@ man pages with practical examples.")
("ghc-text" ,ghc-text)
("gcc" ,gcc)))
(arguments
- `(#:tests? #f ;some tests fail because of syntax errors
+ `(;; XXX: Test failures are induced by a parse error in <bits/floatn.h>
+ ;; of glibc 2.28.
+ #:tests? #f
+
#:phases
(modify-phases %standard-phases
(add-before 'check 'set-cc
@@ -11450,8 +11453,7 @@ man pages with practical examples.")
(delete-file-recursively cc-dir)
#t))))))
(home-page "https://github.com/haskell/c2hs")
- (synopsis
- "C->Haskell FFI tool that gives some cross-language type safety")
+ (synopsis "Create Haskell bindings to C libraries")
(description "C->Haskell assists in the development of Haskell bindings to
C libraries. It extracts interface information from C header files and
generates Haskell code with foreign imports and marshaling. Unlike writing
This bug report was last modified 6 years and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.