AOFlagger does not build with glibc 2.27
RFI detector and quality analysis for astronomical radio observations
Brought to you by:
anoko
This is a forware of Debian bug #893272:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/aoflagger.html
...
In file included from /build/1st/aoflagger-2.10.0/src/interface/../quality/histogramcollection.h:4:0,
from /build/1st/aoflagger-2.10.0/src/interface/aoflagger.cpp:19:
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h: In member function 'double LogHistogram::const_iterator::binStart() const':
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:420:7: error: 'pow10' was not declared in this scope
pow10(log10(_iterator->first)-0.005) :
^~~~~
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:420:7: note: suggested alternative: 'powl'
pow10(log10(_iterator->first)-0.005) :
^~~~~
powl
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h: In member function 'double LogHistogram::const_iterator::binEnd() const':
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:426:7: error: 'pow10' was not declared in this scope
pow10(log10(_iterator->first)+0.005) :
^~~~~
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:426:7: note: suggested alternative: 'powl'
pow10(log10(_iterator->first)+0.005) :
^~~~~
powl
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h: In member function 'double LogHistogram::binStart(double) const':
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:493:5: error: 'pow10' was not declared in this scope
pow10(log10(x)-0.005) :
^~~~~
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:493:5: note: suggested alternative: 'powl'
pow10(log10(x)-0.005) :
^~~~~
powl
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h: In member function 'double LogHistogram::binEnd(double) const':
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:499:5: error: 'pow10' was not declared in this scope
pow10(log10(x)+0.005) :
^~~~~
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:499:5: note: suggested alternative: 'powl'
pow10(log10(x)+0.005) :
^~~~~
powl
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h: In static member function 'static double LogHistogram::getCentralAmplitude(double)':
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:506:12: error: 'pow10' was not declared in this scope
return pow10(round(100.0*log10(amplitude))/100.0);
^~~~~
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:506:12: note: suggested alternative: 'powl'
return pow10(round(100.0*log10(amplitude))/100.0);
^~~~~
powl
/build/1st/aoflagger-2.10.0/src/interface/../quality/loghistogram.h:508:13: error: 'pow10' was not declared in this scope
return -pow10(round(100.0*log10(-amplitude))/100.0);
^~~~~
Thanks Ole. This was also reported as #73, and has been fixed on trunk. What's the way easiest to fix; do you want me to release a new version to fix the issues?
Related
Tickets:
#73Oops, didn' see that it was already reported; sorry. In principle I would be happy with a patch; especially as Gijs already did it.