Your message dated Sat, 23 Sep 2017 21:06:01 +0000
with message-id <[email protected]>
and subject line Bug#876440: fixed in haskell-http-link-header 1.0.3-4
has caused the Debian Bug report #876440,
regarding haskell-http-link-header: workaround to fix FTBFS on 
ppc64el/ppc64/powerpc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
876440: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876440
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:haskell-http-link-header
Version: 1.0.3-3
Tags: patch pending
User: [email protected]
Usertags: ppc64el 

--

Dear maintainer,

I see that the package fails to build ppc64el (but also powerpc/ppc64).
Running the build several times, I see it can fails differently and
especially during the compilation, so not sure about this particular
package being the cause.
There are some traces in dmesg like :
[124845.158532] ghc_worker[37823]: unhandled signal 11 at 38426c883c4c03dc nip 
38426c883c4c03dc lr 00003fff713ae134 code 30003
[125617.514575] ghc_worker[42842]: unhandled signal 11 at 0000000000000009 nip 
00003fff79f3b7f0 lr 00003fff7211e134 code 30001
[125727.370133] ghc_worker[43624]: unhandled signal 11 at 5100003fffa5c2cc nip 
5100003fffa5c2cc lr 00003fff9cdce134 code 30003
[126077.784174] ghc_worker[47413]: unhandled signal 11 at 0000000000000000 nip 
00003fffa2fc8034 lr 00003fffa2fce134 code 30001
...
and looking at ghc's upstream, I see this bug opened :
https://ghc.haskell.org/trac/ghc/ticket/12537

On my side I can see :
$ gdb  /usr/lib/ghc/bin/ghc /tmp/core.ghc_worker.52783.forge.1506076822
...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/ghc/bin/ghc -B/usr/lib/ghc --make -no-link 
-fbuilding-cabal-package -O'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x384264ac3c4c02e4 in ?? ()
[Current thread is 1 (Thread 0x3eff1f7ff1a0 (LWP 52814))]
(gdb) bt
#0  0x384264ac3c4c02e4 in ?? ()
#1  0x00003fff79a5e134 in stg_atomicModifyMutVarzh () from 
/usr/lib/ghc/bin/../rts/libHSrts_thr-ghc8.0.2.so
#2  0x00003fff79a2f424 in ?? () from 
/usr/lib/ghc/bin/../rts/libHSrts_thr-ghc8.0.2.so
#3  0x00003fff79a30ea8 in ?? () from 
/usr/lib/ghc/bin/../rts/libHSrts_thr-ghc8.0.2.so
#4  0x00003fff79a3eb64 in ?? () from 
/usr/lib/ghc/bin/../rts/libHSrts_thr-ghc8.0.2.so
#5  0x00003fff798e80dc in start_thread () from 
/lib/powerpc64le-linux-gnu/libpthread.so.0
#6  0x00003fff79681508 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6

I don't know haskell at all, but as the above ticket mentioned problem
due to parallel build and atomic operations on Power, I think we have
a similar issue.
I tried forcing the build with -j1 which didn't break so far while
looping on the build of the package.
So here is a patch that can workaround that ghc issue on Power for now.

Regards.
F.
diff -Nru haskell-http-link-header-1.0.3/debian/changelog 
haskell-http-link-header-1.0.3/debian/changelog
--- haskell-http-link-header-1.0.3/debian/changelog     2017-07-20 
22:03:40.000000000 +0200
+++ haskell-http-link-header-1.0.3/debian/changelog     2017-09-22 
11:40:05.000000000 +0200
@@ -1,3 +1,11 @@
+haskell-http-link-header (1.0.3-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules : disable parallel build on powerpc/ppc64el/ppc64 while
+    waiting for fix of https://ghc.haskell.org/trac/ghc/ticket/12537
+
+ -- Frédéric Bonnard <[email protected]>  Fri, 22 Sep 2017 09:40:05 
+0000
+
 haskell-http-link-header (1.0.3-3) unstable; urgency=medium
 
   * debian/patches/59c4bf5c8b2cffb7b293bbc034310914a6c3bd20.patch:
diff -Nru haskell-http-link-header-1.0.3/debian/rules 
haskell-http-link-header-1.0.3/debian/rules
--- haskell-http-link-header-1.0.3/debian/rules 2017-06-24 05:32:06.000000000 
+0200
+++ haskell-http-link-header-1.0.3/debian/rules 2017-09-22 11:40:05.000000000 
+0200
@@ -14,4 +14,10 @@
 # Dh_Haskell.sh, so just point it to a writable HOME for now.
 export HOME=$(CURDIR)/debian/cabalconfig
 
+# workaround to prevent some random failures on power while waiting for :
+# https://ghc.haskell.org/trac/ghc/ticket/12537
+ifneq (,$(findstring $(DEB_HOST_ARCH), powerpc ppc64 ppc64el))
+DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-j1"
+endif
+
 check-ghc-stamp: export LC_ALL := C.UTF-8

Attachment: pgpy3shaX8PoC.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: haskell-http-link-header
Source-Version: 1.0.3-4

We believe that the bug you reported is fixed in the latest version of
haskell-http-link-header, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Whitton <[email protected]> (supplier of updated 
haskell-http-link-header package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 23 Sep 2017 13:46:24 -0700
Source: haskell-http-link-header
Binary: libghc-http-link-header-dev libghc-http-link-header-prof 
libghc-http-link-header-doc
Architecture: source
Version: 1.0.3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group 
<[email protected]>
Changed-By: Sean Whitton <[email protected]>
Description:
 libghc-http-link-header-dev - ${haskell:ShortDescription}${haskell:ShortBlurb}
 libghc-http-link-header-doc - ${haskell:ShortDescription}${haskell:ShortBlurb}
 libghc-http-link-header-prof - ${haskell:ShortDescription}${haskell:ShortBlurb}
Closes: 876440
Changes:
 haskell-http-link-header (1.0.3-4) unstable; urgency=medium
 .
   [ Frédéric Bonnard ]
   * debian/rules : disable parallel build on powerpc/ppc64el/ppc64 while
     waiting for fix of https://ghc.haskell.org/trac/ghc/ticket/12537
     (Closes: #876440)
Checksums-Sha1:
 e899a72f73c9379f023453e136be2259c76880ed 2914 
haskell-http-link-header_1.0.3-4.dsc
 354a33c6a6d9bb7d8b5781f32e6b5fd9ef7b8ce7 3576 
haskell-http-link-header_1.0.3-4.debian.tar.xz
 c3acc9a5c60f569f1d56c0fed470b19c6a1f1514 6018 
haskell-http-link-header_1.0.3-4_source.buildinfo
Checksums-Sha256:
 dc79615723abf35cc8f680c5c76583804503034bf58bb7e042529dc6df959aa0 2914 
haskell-http-link-header_1.0.3-4.dsc
 44015205d13a2846233d7b8001fd7b45afca1b884f91930dd78b10517fbf338a 3576 
haskell-http-link-header_1.0.3-4.debian.tar.xz
 eba6741897b14e01d415f8d5e11e1b74d2ac1849972943b086265c0ce8a142c0 6018 
haskell-http-link-header_1.0.3-4_source.buildinfo
Files:
 347e9d1ff32e25b2853ee18f35946eb2 2914 haskell extra 
haskell-http-link-header_1.0.3-4.dsc
 d6af93a054d6208e39381e39c81a111d 3576 haskell extra 
haskell-http-link-header_1.0.3-4.debian.tar.xz
 7d04721bffbfb4bd8de29e3adb413687 6018 haskell extra 
haskell-http-link-header_1.0.3-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlnGyFIACgkQaVt65L8G
YkBKWRAAqm37VB516463+jSYpAlVNM48UOIT2vFGuJfnxcJLQ5QvKMSmeBIfgnaz
mJbR+IqGTYYxAq2ek6RMp8+N2KsJAQQ52JOhV2HVtXyl9HAcgF+J1Lsarx5QJkN5
G9OmbcXfPdUPGmlygr7TUqhSSu0FXaHGYS6StaVGuWT6opyrV80xy9+KjKY091uA
gLuS/DenPGiu2iKR4a7gV1a2DKagOFuPn+JFgBn3SpTj4wgfe9T6KnxPNnYpri/r
FuFWdUuvH7rJrh9jr/eTT0HyaMkKyWZzVIRgMmMDgscCeRx+G3GjxjNxwlRG93qf
th29yLEKgrvE78Wqhtcug7Sgz58/gXsPlxAk8mLwSUiFIu0R4K5ZO9ZrhkZlZvju
s2DMxZvMZ4uZL5wBruAVojS3B/p2wCjVJH8gIYwNwEs0ou2DVMKCbvVPGvgXjfot
AO38tn5ChvK6nHx03lp0oj2mnj7jyWNBAWeHNNDY6a+8oVG2VWMA/aAH59pMaaem
mjV9pOA/sSkX3xYckpzJ56GDfCALWP55DYRSvFlw5MmzzUxwkjtu+Uvr/3gnNeCS
XlRJirPY5ju9gzpDfPsIVAgC8P836WaI4065UpdWBd1R7mreCaVsfhDbOVNOL0EL
yI8+CGWJ7hniOqHVDVJsoKELAQkVyYzLeku/2yT2gYGWmZa/Deo=
=a8cT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to