Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1210323
Summary: | [aarch64] stdout from subprocess lost | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> |
Component: | ghc | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | bos, haskell-devel, pbrobinson, petersen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | aarch64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-21 10:20:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jens Petersen
2015-04-09 13:07:45 UTC
I don't think this is just limited to the above. I see similar with the ghc-haskell-src-exts build and happy req http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2955322 And ghc-language-javascript with happy http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2955282 And ghc-language-java with alex http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2955263 there appears to be a theme ;-) gtk2hs-buildtools has issues detecting alex too. This one affects quite a number of package builds http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2955394 Can we up the priority on this issue now? Actually it now looks like this really is a duplicate of bug 1195231. erikd posted a patch which likely fixes this to upstream, which I am testing in http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2957099 The upstream ticket is <https://ghc.haskell.org/trac/ghc/ticket/9673>. gtk2hs-buildtools-0.13.0.3-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/gtk2hs-buildtools-0.13.0.3-2.fc22 It's clear this is a more wider problem that just a single issue with gtk2hs-buildtools. ghc-cairo http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2965561 What is the status of getting a proper fix? (In reply to Peter Robinson from comment #8) > It's clear this is a more wider problem that just a single issue with > gtk2hs-buildtools. > ghc-cairo http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2965561 Right it is a ghc bug and affects all versioned build-tools detection during Cabal configure. > What is the status of getting a proper fix? Have a look at the upstream ticket (comment 6): people are working on it now. Still hard to say when a fix will be available. Basically it seems ghc is not flushing output to stdout from subprocesses on aarch64 (ie from processes not attached to a tty). See eg https://ghc.haskell.org/trac/ghc/ticket/9673#comment:23 for a minimal reproducer. Okay the solution seems to be to use ld.gold for aarch64 too (like armv7). *** This bug has been marked as a duplicate of bug 1195231 *** gtk2hs-buildtools-0.13.0.3-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |