Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > linux.debian.ports.mips > #3190

NA and NaN representation on mips64el

From Rafael Laboissière <rafael@debian.org>
Newsgroups linux.debian.ports.mips
Subject NA and NaN representation on mips64el
Date 2025-05-12 18:40 +0200
Message-ID <KLEm5-2D0G-7@gated-at.bofh.it> (permalink)
Organization Debian GNU/Linux

Show all headers | View raw


Dear mips porters,

I need some advice on an FTBFS problem with package octave mapping on the 
mips64el architecture. Here is the log for the failed build:

https://buildd.debian.org/status/fetch.php?pkg=octave-mapping&arch=mips64el&ver=1.4.3-1&stamp=1746884958&raw=0

It also FTBFS on riscv64, for the same reason: the unit tests for 
degrees2dm and degrees2dms fail with this error:

  ***** assert (degrees2dm (NA), [NA NA]) !!!!! test failed ASSERT errors for:  assert (degrees2dm (NA), [NA,NA])

    Location  |  Observed  |  Expected  |  Reason
      (1)          NaN           NA        'NA' mismatch
      (2)          NaN           NA        'NA' mismatch

It seems to be a problem related to how floating point NA and NaN are 
represented.

Strangely, I cannot reproduce this problem. I built the package manually 
on a mips64el porterbox using schroot and everything worked fine.

We discussed a similar issue on the upstream bug tracking system for 
Octave back in 2021: https://savannah.gnu.org/bugs/?59830

One of the upstream authors seems to suggest that this problem is related 
to cross-compiling.

Do you know if there is a way to work around this?

Best,

Rafael Laboissière

Back to linux.debian.ports.mips | Previous | NextNext in thread | Find similar


Thread

NA and NaN representation on mips64el Rafael Laboissière <rafael@debian.org> - 2025-05-12 18:40 +0200
  Re: NA and NaN representation on mips64el YunQiang Su <wzssyqa@gmail.com> - 2025-05-13 02:50 +0200
    Re: NA and NaN representation on mips64el "John W. Eaton" <jwe@octave.org> - 2025-05-13 06:20 +0200
    Re: NA and NaN representation on mips64el Rafael Laboissière <rafael@debian.org> - 2025-05-13 09:50 +0200
      Re: NA and NaN representation on mips64el Aurelien Jarno <aurel32@debian.org> - 2025-05-16 00:00 +0200
    Re: NA and NaN representation on mips64el Rafael Laboissière <rafael@debian.org> - 2025-05-16 07:50 +0200
      Re: NA and NaN representation on mips64el James Cloos <cloos@jhcloos.com> - 2025-05-16 16:00 +0200
      Re: NA and NaN representation on mips64el James Cloos <cloos@jhcloos.com> - 2025-05-17 01:20 +0200
        Re: NA and NaN representation on mips64el Rafael Laboissière <rafael@debian.org> - 2025-05-17 06:40 +0200

csiph-web