https://bugzilla.redhat.com/show_bug.cgi?id=1118232
Bug ID: 1118232 Summary: ghc-glib ftbfs on aarch64 Product: Fedora Version: rawhide Component: ghc-glib Assignee: petersen@redhat.com Reporter: pbrobinson@gmail.com QA Contact: extras-qa@fedoraproject.org CC: haskell-devel@lists.fedoraproject.org, petersen@redhat.com Blocks: 922257 (ARM64)
ghc-glib-0.12.5.0-1.fc21 is ftbfs on aarch64
http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2485540
++ ghc --info ++ grep '"Booter version","7.6.3"' + '[' '!' ' ,("Booter version","7.6.3")' ']' + '[' -x Setup ']' + ghc --make -no-user-package-db Setup [1 of 2] Compiling SetupWrapper ( SetupWrapper.hs, SetupWrapper.o ) [2 of 2] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/doc/ghc-glib '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' --ghc --ghc-option=-O2 -p --htmldir=/usr/share/doc/ghc/html/libraries/glib --global [1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o ) [2 of 2] Compiling Main ( SetupMain.hs, dist/setup-wrapper/Main.o ) Linking dist/setup-wrapper/setup ... Configuring glib-0.12.5.0... + '[' -x Setup ']' + ./Setup build Building glib-0.12.5.0... Preprocessing library glib-0.12.5.0... gtk2hsC2hs: Error in C header file. /usr/include/asm/sigcontext.h:53: (column 2) [FATAL]
Syntax error!
The symbol `__uint128_t' does not fit here. error: Bad exit status from /var/tmp/rpm-tmp.YQQi78 (%build) Bad exit status from /var/tmp/rpm-tmp.YQQi78 (%build) RPM build errors:
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=922257 [Bug 922257] Tracker for ARM64 support
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Unspecified |aarch64
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #1 from Jens Petersen petersen@redhat.com --- I started looking at this: here is where the error occurs:
$ LANG=en_US.utf8 ./Setup build -v creating dist/build creating dist/build/autogen Building glib-0.12.5.0... Preprocessing library glib-0.12.5.0... creating dist/build/System/Glib /usr/bin/gtk2hsC2hs --include=dist/build --include=/usr/lib64/ghc-7.6.3/base-4.6.0.1 --include=/usr/lib64/ghc-7.6.3/containers-0.5.0.0 --include=/usr/lib64/ghc-7.6.3/utf8-string-0.3.7 --cpp=/usr/bin/gcc --cppopts=-E --cppopts=-Idist/build/autogen --cppopts=-Idist/build --cppopts=-ISystem/Glib --cppopts=-I/usr/include/glib-2.0 --cppopts=-I/usr/lib64/glib-2.0/include --cppopts=-DUSE_GCLOSURE_SIGNALS_IMPL --cppopts=-D__GLASGOW_HASKELL__=706 --output-dir=dist/build/System/Glib/ --output=GError.hs --precomp=dist/build/precompchs.bin glib-object.h ./System/Glib/GError.chs gtk2hsC2hs: Error in C header file.
/usr/include/asm/sigcontext.h:53: (column 2) [FATAL]
Syntax error!
The symbol `__uint128_t' does not fit here.
I may try to see if things are better under ghc-7.8 before investigating further...
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
--- Comment #2 from Peter Robinson pbrobinson@gmail.com ---
I may try to see if things are better under ghc-7.8 before investigating further...
Is 7.8 going to land in F-21?
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
--- Comment #3 from Jens Petersen petersen@redhat.com --- (In reply to Peter Robinson from comment #2)
I may try to see if things are better under ghc-7.8 before investigating further...
Is 7.8 going to land in F-21?
It was originally planned but we're behind schedule so I don't think so at this point.
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
--- Comment #4 from Peter Robinson pbrobinson@gmail.com --- (In reply to Jens Petersen from comment #3)
(In reply to Peter Robinson from comment #2)
I may try to see if things are better under ghc-7.8 before investigating further...
Is 7.8 going to land in F-21?
It was originally planned but we're behind schedule so I don't think so at this point.
Can we investigate the issue further then? We need this fixed in F-21 too
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
--- Comment #5 from Jens Petersen petersen@redhat.com --- (In reply to Peter Robinson from comment #4)
Can we investigate the issue further then? We need this fixed in F-21 too
Yes, I plan to, but first I was to know if it is fixed with latest ghc and ghc-glib etc. The problem seems related to preprocessing of the headers and looks tricky to me.
Unfortunately getting ghc-7.8.3 to build with arm64 also seems non-trivial so more fun in the pipeline... ;o)
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ghc-glib |gtk2hs-buildtools Version|rawhide |21
--- Comment #6 from Jens Petersen petersen@redhat.com --- Okay, I took the long scenic route, and have confirmed that Haskell glib builds okay on aarch64 with newer gtk2hs-buildtools.
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
--- Comment #7 from Fedora Update System updates@fedoraproject.org --- gtk2hs-buildtools-0.13.0.1-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/gtk2hs-buildtools-0.13.0.1-1.fc21
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #8 from Fedora Update System updates@fedoraproject.org --- Package gtk2hs-buildtools-0.13.0.1-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gtk2hs-buildtools-0.13.0.1-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-12669/gtk2hs-buildtools-... then log in and leave karma (feedback).
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |gtk2hs-buildtools-0.13.0.1- | |1.fc21 Resolution|--- |ERRATA Last Closed| |2014-11-01 13:08:59
--- Comment #9 from Fedora Update System updates@fedoraproject.org --- gtk2hs-buildtools-0.13.0.1-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=1118232
Yaakov Selkowitz yselkowi@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1288611
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1288611 [Bug 1288611] epel7 ghc-glib ftbfs on aarch64
haskell-devel@lists.stg.fedoraproject.org