Your message dated Thu, 08 Feb 2024 19:11:38 +0000
with message-id <e1ry9oa-009xkr...@fasolo.debian.org>
and subject line Bug#1063446: fixed in mozjs115 115.7.0-3
has caused the Debian Bug report #1063446,
regarding libmozjs-115-dev: cannot call JS::CanonicalizeNaN(double) on mips64el
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.)


-- 
1063446: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063446
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libmozjs-115-dev
Version: 115.7.0-2
Severity: serious
Tags: upstream
Justification: makes gjs FTBFS (#1063433)
X-Debbugs-Cc: debian-m...@lists.debian.org
User: debian-m...@lists.debian.org
Usertags: mips64el
Control: block 1063433 by -1

Original steps to reproduce:
Try to compile gjs 1.78.3-1 (#1063433), which calls this public API:
double JS::CanonicalizeNaN(double)

Simplified steps to reproduce:
Try to compile the attached, with:
g++ test.cpp -o test $(pkgconf --cflags --libs mozjs-115)

Expected result:
gjs or the simplified test compiles, links and runs successfully

Actual result:
On amd64 and other architectures, linking succeeds.
On mips64el, linking fails:
/usr/bin/ld: /tmp/cc41qWiD.o: in function `main':
test.cpp:(.text+0x22c): undefined reference to 
`JS::detail::CanonicalizedNaNBits'

I think this is because mozjs has mips-specific code to detect which is
the preferred representation of NaN, with the result stored in a global
variable that is read by the inline function JS::CanonicalizeNaN(double);
but that global variable is not exported, so gjs cannot validly refer to it.

I'm preparing a possible patch (but it will take a long time to test,
because compiling mozjs on mips64el is extremely slow).

    smcv

--- End Message ---
--- Begin Message ---
Source: mozjs115
Source-Version: 115.7.0-3
Done: Simon McVittie <s...@debian.org>

We believe that the bug you reported is fixed in the latest version of
mozjs115, 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 1063...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated mozjs115 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: SHA256

Format: 1.8
Date: Thu, 08 Feb 2024 14:40:52 +0000
Source: mozjs115
Architecture: source
Version: 115.7.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers 
<pkg-gnome-maintain...@lists.alioth.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Closes: 1063446
Changes:
 mozjs115 (115.7.0-3) unstable; urgency=medium
 .
   * Team upload
   * d/p/Export-js-detail-CanonicalizedNaNBits-on-architectures-th.patch:
     Add a patch to fix linking of gjs (>= 1.78.3) on mips64el
     (Closes: #1063446)
   * d/tests/dev: Add a superficial autopkgtest.
     In addition to exercising basic compilation and initialization,
     this verifies that #1063446 has been fixed.
Checksums-Sha1:
 d06b1c3c119a31d2df04a615df958929964137d5 2361 mozjs115_115.7.0-3.dsc
 571f5cc1fe9767f64b75086bc6c1c3de01df8760 106476 
mozjs115_115.7.0-3.debian.tar.xz
 e36efb107bb4173fb020838648f5d69613493c58 8255 
mozjs115_115.7.0-3_source.buildinfo
Checksums-Sha256:
 707ba4c2cb7d83c073b61189c616b7136da6a2f4583a646430e895183880fd63 2361 
mozjs115_115.7.0-3.dsc
 0e2404722f5ec5c24180e059443c02bec2a97bbb06ba0fb9e4f099e1258a396d 106476 
mozjs115_115.7.0-3.debian.tar.xz
 5b9bd271d2f22786782510f14326f21169cb2bf5d6c1cd76f4d08c0695ecf0ef 8255 
mozjs115_115.7.0-3_source.buildinfo
Files:
 cb53eaef4f41fc48365c5e4f69845825 2361 libs optional mozjs115_115.7.0-3.dsc
 2caa5f2f025ffcf98ff8d95924713d39 106476 libs optional 
mozjs115_115.7.0-3.debian.tar.xz
 0f18387c4d25aa694e44138816e4c7be 8255 libs optional 
mozjs115_115.7.0-3_source.buildinfo

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

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmXFIRwACgkQ4FrhR4+B
TE8YhA//fgPByA/KOIRPzaTxpBvvSSzvSrhgbk99rgjbVhlImBLj8PeohTD1AFS/
x81Ku4QR8GTiND4wQQfKdkLfqdJd53/WFnAuZaiSCu4EC3EpB689bc/uVx3YR75L
JwPObx6SuoMukQ61L5z2+MEu+iUCAcQdzYpmcAY29CVOGLjqbozARaJBH3lyle2r
Qdb5ezv6h+Bg7pD5biQkjRCudF2/cRAGxfoCDBD4J9lI6A63UBREEidUFvf8GKLF
rmquEgRBWlVhbGjMCbxbEmj16bu9290X+MvE4r7hLyAuNKDCV2R5wrP4DviHpfv/
eZKPsk9JK3VpUt6oZfxDSyxozuK3GChMwfU/ytOMsasp3x05KzROB2JDBGn7k7Jp
AviqhBxLWS4Wf5aeAb9eZgPpV3xiYpVWNnsynHXIxwzqRTv9nEZonxSMizl7onAo
LT6F7S4pzhVt2pLM+MiLBRWVz2etgS28pHQihalJh+fHOOmT3Bu6Dp4G/Tu2Q/C8
2F8/vCglCz7/aJiWpBtJfaUrIsNSnsDjzewTUIJw9lECJFLSBrc+KuVKdg8Cp6Ge
gTP5M/60kSzhheAOPuBTG7tu8sVLlvR25YJef7boIkUwDyhmwJa3YV04zgK7qK1z
LepQQXXH/Uix7aZw/mXUvzcETG/h7EBtUZ8RsmVN5MTHZ5QH3N4=
=dw6j
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to