radio-astro / casasynthesis

The synthesis CASA 4.4 submodule as a standalone project
1 stars 0 forks source link

32 build fails on launchpad PPA #7

Open gijzelaerr opened 9 years ago

gijzelaerr commented 9 years ago
/«PKGBUILDDIR»/msvis/MSVis/VisibilityIteratorImpl2.cc: In member function 'casa::ColumnSlicer casa::vi::ChannelSlicer::getColumnSlicer() const':
/«PKGBUILDDIR»/msvis/MSVis/VisibilityIteratorImpl2.cc:306:74: error: call of overloaded 'max(ssize_t&, casa::uInt&)' is ambiguous
                 shape (Channel) = max (shape(Channel), channelDestination);
                                                                          ^
/«PKGBUILDDIR»/msvis/MSVis/VisibilityIteratorImpl2.cc:306:74: note: candidates are:
In file included from /usr/include/casacore/casa/Utilities/Copy.h:33:0,
                 from /usr/include/casacore/casa/Containers/Block.h:35,
                 from /usr/include/casacore/casa/Arrays/Array.h:34,
                 from /usr/include/casacore/casa/Arrays.h:37,
                 from /«PKGBUILDDIR»/msvis/MSVis/VisibilityIteratorImpl2.cc:29:
/usr/include/casacore/casa/BasicSL/Complex.h:281:16: note: casa::Complex casa::max(const Complex&, const Complex&)
 inline Complex max(const Complex &x, const Complex &y)
                ^
/usr/include/casacore/casa/BasicSL/Complex.h:283:17: note: casa::DComplex casa::max(const DComplex&, const DComplex&)
 inline DComplex max(const DComplex &x, const DComplex &y)
                 ^
In file included from /usr/include/casacore/casa/Arrays/Vector.tcc:35:0,
                 from /usr/include/casacore/casa/Arrays/Vector.h:324,
                 from /usr/include/casacore/casa/Arrays/ArrayUtil.h:34,
                 from /usr/include/casacore/casa/Arrays/ArrayLogical.tcc:32,
                 from /usr/include/casacore/casa/Arrays/ArrayLogical.h:453,
                 from /usr/include/casacore/casa/Arrays/MaskedArray.tcc:33,
                 from /usr/include/casacore/casa/Arrays/MaskedArray.h:738,
                 from /usr/include/casacore/casa/Arrays/Array.tcc:32,
                 from /usr/include/casacore/casa/Arrays/Array.h:842,
                 from /usr/include/casacore/casa/Arrays.h:37,
                 from /«PKGBUILDDIR»/msvis/MSVis/VisibilityIteratorImpl2.cc:29:
/usr/include/casacore/casa/BasicMath/Math.h:158:12: note: casa::Int casa::max(casa::Int, casa::Int)
 inline Int max(Int a, Int b) { if (a > b) return a; else return b; } 
            ^
/usr/include/casacore/casa/BasicMath/Math.h:161:13: note: casa::uInt casa::max(casa::uInt, casa::uInt)
 inline uInt max(uInt a, uInt b){ if (a>b) return a; else return b; }
             ^
/usr/include/casacore/casa/BasicMath/Math.h:164:15: note: casa::Double casa::max(casa::Double, casa::Double)
 inline Double max(Double a, Double b) { if (a > b) return a; else return b; } 
               ^
/usr/include/casacore/casa/BasicMath/Math.h:166:15: note: casa::Double casa::max(casa::Double, casa::Float)
 inline Double max(Double a, Float b) { if (a > b) return a; else return b; } 
               ^
/usr/include/casacore/casa/BasicMath/Math.h:168:15: note: casa::Double casa::max(casa::Float, casa::Double)
 inline Double max(Float a, Double b) { if (a > b) return a; else return b; } 
               ^
/usr/include/casacore/casa/BasicMath/Math.h:171:14: note: casa::Float casa::max(casa::Float, casa::Float)
 inline Float max(Float a, Float b) { if (a > b) return a; else return b; } 
              ^
In file included from /usr/include/casacore/ms/MSSel/MSSelection.h:37:0,
                 from /«PKGBUILDDIR»/msvis/MSVis/VisibilityIteratorImpl2.cc:37:
/usr/include/casacore/tables/TaQL/ExprNode.h:1482:22: note: casa::TableExprNode casa::max(const casa::TableExprNode&, const casa::TableExprNode&)
 inline TableExprNode max (const TableExprNode& a, const TableExprNode& b)
                      ^
make[3]: *** [msvis/CMakeFiles/libmsvis.dir/MSVis/VisibilityIteratorImpl2.cc.o] Error 1

https://launchpadlibrarian.net/220751100/buildlog_ubuntu-trusty-i386.casasynthesis_0.1-2trusty_BUILDING.txt.gz

gijzelaerr commented 8 years ago

@gervandiepen or @tammojan do you guys have an idea what may be going on here? Somehow the compilation of 32 bit is different from 64 bit, I don't understand why.