Your message dated Tue, 20 Mar 2018 11:49:10 +0000 with message-id <e1eyflo-0008gz...@fasolo.debian.org> and subject line Bug#893485: fixed in gjs 1.52.0-2 has caused the Debian Bug report #893485, regarding gjs: FTBFS on mips* - error: braces around scalar initializer for type 'int' 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 ow...@bugs.debian.org immediately.) -- 893485: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893485 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: gjs Version: 1.52.0-1 Severity: serious Tags: sid buster patch Hi, gjs FTBFS on mips* with this error: > gjs/profiler.cpp: In function 'void gjs_profiler_start(GjsProfiler*)': > gjs/profiler.cpp:380:33: error: braces around scalar initializer for type > 'int' > struct sigaction sa = {{ 0 }}; > ^ > make[2]: *** [Makefile:2422: gjs/libgjs_la-profiler.lo] Error 1 This happens because sigaction has an unusual layout on mips where the first field is sa_flags instead of the usual sa_handler/sa_sigaction union. I've attached a patch to fix this. Thanks, JamesDescription: Fix FTBFS on mips* Do not assume the first field of sigaction is a struct or union. Author: James Cowgill <jcowg...@debian.org> --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/gjs/profiler.cpp +++ b/gjs/profiler.cpp @@ -377,9 +377,9 @@ gjs_profiler_start(GjsProfiler *self) g_return_if_fail(!self->capture); - struct sigaction sa = {{ 0 }}; - struct sigevent sev = {{ 0 }}; - struct itimerspec its = {{ 0 }}; + struct sigaction sa = { 0 }; + struct sigevent sev = { 0 }; + struct itimerspec its = { 0 }; struct itimerspec old_its; GjsAutoChar path = g_strdup(self->filename); @@ -491,7 +491,7 @@ gjs_profiler_stop(GjsProfiler *self) #ifdef ENABLE_PROFILER - struct itimerspec its = {{ 0 }}; + struct itimerspec its = { 0 }; timer_settime(self->timer, 0, &its, nullptr); timer_delete(self->timer);signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Source: gjs Source-Version: 1.52.0-2 We believe that the bug you reported is fixed in the latest version of gjs, 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 893...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jeremy Bicha <jbi...@debian.org> (supplier of updated gjs 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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 20 Mar 2018 07:35:20 -0400 Source: gjs Binary: gjs gjs-tests libgjs0g libgjs-dev Architecture: source Version: 1.52.0-2 Distribution: unstable Urgency: medium Maintainer: Debian GNOME Maintainers <pkg-gnome-maintain...@lists.alioth.debian.org> Changed-By: Jeremy Bicha <jbi...@debian.org> Description: gjs - Mozilla-based javascript bindings for the GNOME platform gjs-tests - Mozilla-based javascript bindings for the GNOME platform libgjs-dev - Mozilla-based javascript bindings for the GNOME platform libgjs0g - Mozilla-based javascript bindings for the GNOME platform Closes: 893485 Changes: gjs (1.52.0-2) unstable; urgency=medium . [ James Cowgill ] * Add mips-sigaction.patch to fix build on mips* (Closes: #893485) Checksums-Sha1: 1c9cc42e773f5f44ddf6ac603419579248743b51 2476 gjs_1.52.0-2.dsc 7a092df3fd21ad6d7c166535e26e1a701c5134c9 11976 gjs_1.52.0-2.debian.tar.xz ae6233a04e3c8e86f3e9e15835175aa0dfb79036 17216 gjs_1.52.0-2_source.buildinfo Checksums-Sha256: 75da1b23dddc6755a998e4ed07c5d8a4b095cd03d9e617fa3c0b5419c4e50fc7 2476 gjs_1.52.0-2.dsc 1e2d311353116edf4a69085ad9a8bc7a447a89dc77d4e758e8cc400ec4f7aa8d 11976 gjs_1.52.0-2.debian.tar.xz f4ff7aa90dfbcac069e3efda9646395e0dd507edea14cc8847f095347a2228d2 17216 gjs_1.52.0-2_source.buildinfo Files: 5b9ad867c98cc1003eef6e76283f1680 2476 interpreters optional gjs_1.52.0-2.dsc ecd4dfebf2b7c17ff8e7060ea35bf366 11976 interpreters optional gjs_1.52.0-2.debian.tar.xz 929db7b7e85ef1a3b58b7bc37b404191 17216 interpreters optional gjs_1.52.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAlqw8isACgkQ5mx3Wuv+ bH3DlQ/8DeD6IGcytZcTinSihrSnqHioDwo1wVa89CIwkAwounyDVMFOCvP+zyIc Wlk4HMJ0J/Jr6rLYVmYEEs/EPkbIJQUADEkUAOnwQsTS5z4v1FXr8+Ijg84NmGPL trKOmGjgCmmHZx567SqE2c7jNJJz8EN6gYiWla42pN+MRm20A1DdFgqdonJ+qRiU tZX0J91cgL/Dxg+CCcFEFNBnRHedkB1xrYf/KgRe7uYOS+oTxQDnkCHEmjTHLwVJ ssSLqOPBImJzZXnKQTedlOnXCl1nejeIhJBf0mNhyzvW/C382T593qFlKrVxa6W6 XNfDV8CZxak3Th378gZ8YUpiYM033n6H1o03UN5u9R15YYlgYPPoy9O+y0UAXLOU 5B6aEgfMPsEI+TZvT6l1gJjl3nRpAed7cOZPq7rXay2i0dUeVPEyBv+juJ+cnMhk IAHSNqZif7NJ2vENy9pufM4+P1GdWcx+JC/W3rGYTTz6AUqwLrhej+6OfVoJwVFq 01aGRV7Z4w8At11jgP/GaVnzBBa9zKlmuVzbLHh553fW8oL7G906TgRaRDmC7VnW 76DdX8IDQ9M/MEYZ22awNS9O37FDD4VI3hQiMqXIvVN4Dk9dDxN2HLWw+r/uxEEn zgyKlkdRhKEquc83419SEcPolAE7YTtrC8AWkFJlk5MHlI1UTEI= =dZex -----END PGP SIGNATURE-----
--- End Message ---