Error building astrometry.net on Fedora rawhide

75 views
Skip to first unread message

Mattia Verga

unread,
Jan 16, 2016, 11:47:41 AM1/16/16
to astrometry
When trying to build astrometry.net on Fedora rawhide I get the error
permutedsort.c:125:2: error: non-floating-point argument in call to function '__builtin_isnan'
  COMPARE
(f1, f2, <, >);
...
permutedsort
.c:131:2: error: non-floating-point argument in call to function '__builtin_isnan'
  COMPARE
(f1, f2, >, <);

See https://kojipkgs.fedoraproject.org//work/tasks/4974/12574974/build.log

Building on Fedora 23 works fine, so I think some other package upgrade in Fedora broke astrometry.net.
How can this error be fixed?

Thank you

Dustin Lang

unread,
Jan 16, 2016, 12:01:35 PM1/16/16
to astrometry
What is

gcc --version

please?
thanks,
--dustin


Dustin Lang

unread,
Jan 16, 2016, 12:13:54 PM1/16/16
to astrometry
Oh, never mind, that error message is completely correct -- there was a bug in that code.

Here's a new release with the fix.
https://github.com/dstndstn/astrometry.net/releases/tag/0.66

Thanks,
--dustin


Reply all
Reply to author
Forward
0 new messages