Summary: | dev-lang/ghc build failure, along with other haskell-related build failures. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | carl mackey <beyondkaoru> |
Component: | Current packages | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | SebastianLuther |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
GHC 6.8.2 emerge log
emerge --info |
Description
carl mackey
2009-05-10 23:12:25 UTC
Created attachment 190885 [details]
GHC 6.8.2 emerge log
The build log from attempting to emerge GHC version 6.8.2
I have tried re-emerging the packages responsible for those header files, with no change.
Please provide emerge --info. Created attachment 190934 [details]
emerge --info
Does any newer ghc version work for you, like ghc-6.10.4? > /usr/include/gmp.h:524: error: expected declaration specifiers or ‘...’ before ‘size_t’
Looks like Carl found an error in his dev-libs/gmp package.
His gcc does not declare 'size_t', but uses it. My current 'gmp.h' contains:
#define __need_size_t /* tell gcc stddef.h we only want size_t */
#if defined (__cplusplus)
#include <cstddef> /* for size_t */
#else
#include <stddef.h> /* for size_t */
#endif
#undef __need_size_t
Closing as WORKSFORME. If you still experience this problem - please reopen and we will try to track down the real problem by writing small tests.
|