Bug 197925 - multimedia/hs-gstreamer : fails to build with gcc5-built ghc
Summary: multimedia/hs-gstreamer : fails to build with gcc5-built ghc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 16:22 UTC by John Marino
Modified: 2015-08-21 10:59 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (haskell)


Attachments
hs-gstreamer build fail log (14.70 KB, text/plain)
2015-02-22 16:22 UTC, John Marino
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino freebsd_committer freebsd_triage 2015-02-22 16:22:16 UTC
Created attachment 153320 [details]
hs-gstreamer build fail log

This is the second hs port that doesn't build with gcc5-built GHC.

No fix suggested, but here is the log attached.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-22 16:22:16 UTC
Auto-assigned to maintainer haskell@FreeBSD.org
Comment 2 John Marino freebsd_committer freebsd_triage 2015-02-22 16:23:43 UTC
Since it is squawking on /usr/include/stdlib.h, it may be a dragonfly-only failure.
Comment 3 Gabor Pali freebsd_committer freebsd_triage 2015-02-22 20:19:08 UTC
Thank you for reporting this issue.  I have checked it on FreeBSD, "stdlib.h" is under "/usr/include" as well, but it does not contain the following part at the end:

/*
 * C11 functions.
 */
#if __ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L
int     at_quick_exit(void (*func)(void));
_Noreturn void
        quick_exit(int);
void    *aligned_alloc(size_t, size_t) __heedresult;
#endif /* __ISO_C_VISIBLE >= 2011 */

There, I believe, the "_Noreturn" keyword may not be recognized by the "gtk2hsC2hs" tool -- this is a utility from "gtk2hs-buildtools" to generate GHC-compatible definitions from the corresponding C headers.  Though, please note, similarly to the "gtk" package, we do not have the latest version (0.13.0.3) in the ports tree yet (only 0.12.5.2).  So this might have been already solved in upstream.
Comment 4 John Marino freebsd_committer freebsd_triage 2015-03-22 16:24:44 UTC
It's possible this is another "new cpp behavior" issue, but using the patched hs-gtkhs-buildtools didn't allow this to build.

There might be another place to patch cpp arguments in buildtools, perhaps?
Comment 5 Gabor Pali freebsd_committer freebsd_triage 2015-08-20 15:47:45 UTC
gstreamer is not part of the Gtk2hs suite any more, so it is going to be removed soon upon the next update.  Thus I believe this ticket can be closed once the update is completed.
Comment 6 Gabor Pali freebsd_committer freebsd_triage 2015-08-21 10:59:19 UTC
The port has been now removed, so the ticket became invalid.