Bug#978216: liborigin2: FTBFS: OriginObj.h:702:27: error: ‘find_if’ was not declared in this scope; did you mean ‘boost::mpl::find_if’?
Lucas Nussbaum
lucas at debian.org
Sat Dec 26 21:27:32 GMT 2020
Source: liborigin2
Version: 2:20110117-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> g++ -c -pipe -O2 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tmp/Origin600Parser.o Origin600Parser.cpp
> In file included from /usr/include/boost/bind.hpp:30,
> from OriginObj.h:37,
> from OriginParser.h:32,
> from OriginDefaultParser.h:33,
> from OriginDefaultParser.cpp:30:
> /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
> 36 | BOOST_PRAGMA_MESSAGE(
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/boost/bind.hpp:30,
> from OriginObj.h:37,
> from OriginParser.h:32,
> from Origin750Parser.h:34,
> from Origin800Parser.h:32,
> from Origin610Parser.h:32,
> from Origin600Parser.h:32,
> from Origin600Parser.cpp:29:
> /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
> 36 | BOOST_PRAGMA_MESSAGE(
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/boost/bind.hpp:30,
> from OriginObj.h:37,
> from OriginFile.h:37,
> from OriginFile.cpp:30:
> /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
> 36 | BOOST_PRAGMA_MESSAGE(
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/boost/bind.hpp:30,
> from OriginObj.h:37,
> from OriginParser.h:32,
> from OriginParser.cpp:29:
> /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’
> 36 | BOOST_PRAGMA_MESSAGE(
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from OriginParser.h:32,
> from OriginDefaultParser.h:33,
> from OriginDefaultParser.cpp:30:
> OriginObj.h: In constructor ‘Origin::SpreadColumn::SpreadColumn(const string&, unsigned int)’:
> OriginObj.h:166:16: warning: ‘Origin::SpreadColumn::index’ will be initialized after [-Wreorder]
> 166 | unsigned int index;
> | ^~~~~
> OriginObj.h:163:10: warning: ‘std::string Origin::SpreadColumn::command’ [-Wreorder]
> 163 | string command;
> | ^~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:164:10: warning: ‘Origin::SpreadColumn::comment’ will be initialized after [-Wreorder]
> 164 | string comment;
> | ^~~~~~~
> OriginObj.h:158:13: warning: ‘Origin::ValueType Origin::SpreadColumn::valueType’ [-Wreorder]
> 158 | ValueType valueType;
> | ^~~~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:165:7: warning: ‘Origin::SpreadColumn::width’ will be initialized after [-Wreorder]
> 165 | int width;
> | ^~~~~
> OriginObj.h:162:22: warning: ‘Origin::NumericDisplayType Origin::SpreadColumn::numericDisplayType’ [-Wreorder]
> 162 | NumericDisplayType numericDisplayType;
> | ^~~~~~~~~~~~~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> In file included from OriginFile.h:37,
> from OriginFile.cpp:30:
> OriginObj.h: In constructor ‘Origin::SpreadColumn::SpreadColumn(const string&, unsigned int)’:
> OriginObj.h:166:16: warning: ‘Origin::SpreadColumn::index’ will be initialized after [-Wreorder]
> 166 | unsigned int index;
> | ^~~~~
> In file included from OriginParser.h:32,
> from Origin750Parser.h:34,
> from Origin800Parser.h:32,
> from Origin610Parser.h:32,
> from Origin600Parser.h:32,
> from Origin600Parser.cpp:29:
> OriginObj.h: In constructor ‘Origin::SpreadColumn::SpreadColumn(const string&, unsigned int)’:
> OriginObj.h:166:16: warning: ‘Origin::SpreadColumn::index’ will be initialized after [-Wreorder]
> 166 | unsigned int index;
> | ^~~~~
> OriginObj.h:163:10: warning: ‘std::string Origin::SpreadColumn::command’ [-Wreorder]
> 163 | string command;
> | ^~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:164:10: warning: ‘Origin::SpreadColumn::comment’ will be initialized after [-Wreorder]
> 164 | string comment;
> | ^~~~~~~
> OriginObj.h:158:13: warning: ‘Origin::ValueType Origin::SpreadColumn::valueType’ [-Wreorder]
> 158 | ValueType valueType;
> | ^~~~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:165:7: warning: ‘Origin::SpreadColumn::width’ will be initialized after [-Wreorder]
> 165 | int width;
> | ^~~~~
> OriginObj.h:162:22: warning: ‘Origin::NumericDisplayType Origin::SpreadColumn::numericDisplayType’ [-Wreorder]
> 162 | NumericDisplayType numericDisplayType;
> | ^~~~~~~~~~~~~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:163:10: warning: ‘std::string Origin::SpreadColumn::command’ [-Wreorder]
> 163 | string command;
> | ^~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:164:10: warning: ‘Origin::SpreadColumn::comment’ will be initialized after [-Wreorder]
> 164 | string comment;
> | ^~~~~~~
> OriginObj.h:158:13: warning: ‘Origin::ValueType Origin::SpreadColumn::valueType’ [-Wreorder]
> 158 | ValueType valueType;
> | ^~~~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:165:7: warning: ‘Origin::SpreadColumn::width’ will be initialized after [-Wreorder]
> 165 | int width;
> | ^~~~~
> OriginObj.h:162:22: warning: ‘Origin::NumericDisplayType Origin::SpreadColumn::numericDisplayType’ [-Wreorder]
> 162 | NumericDisplayType numericDisplayType;
> | ^~~~~~~~~~~~~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h: In constructor ‘Origin::Matrix::Matrix(const string&, unsigned int)’:
> OriginObj.h:229:16: warning: ‘Origin::Matrix::sheets’ will be initialized after [-Wreorder]
> 229 | unsigned int sheets;
> | ^~~~~~
> OriginObj.h:226:10: warning: ‘std::string Origin::Matrix::command’ [-Wreorder]
> 226 | string command;
> | ^~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h:226:10: warning: ‘Origin::Matrix::command’ will be initialized after [-Wreorder]
> 226 | string command;
> | ^~~~~~~
> OriginObj.h:222:7: warning: ‘int Origin::Matrix::valueTypeSpecification’ [-Wreorder]
> 222 | int valueTypeSpecification;
> | ^~~~~~~~~~~~~~~~~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h:227:7: warning: ‘Origin::Matrix::width’ will be initialized after [-Wreorder]
> 227 | int width;
> | ^~~~~
> OriginObj.h:225:22: warning: ‘Origin::NumericDisplayType Origin::Matrix::numericDisplayType’ [-Wreorder]
> 225 | NumericDisplayType numericDisplayType;
> | ^~~~~~~~~~~~~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h: In constructor ‘Origin::Function::Function(const string&, unsigned int)’:
> OriginObj.h:261:16: warning: ‘Origin::Function::index’ will be initialized after [-Wreorder]
> 261 | unsigned int index;
> | ^~~~~
> OriginObj.h:256:16: warning: ‘Origin::Function::FunctionType Origin::Function::type’ [-Wreorder]
> 256 | FunctionType type;
> | ^~~~
> OriginObj.h:263:3: warning: when initialized here [-Wreorder]
> 263 | Function(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~
> OriginObj.h: In constructor ‘Origin::Bitmap::Bitmap(const string&)’:
> OriginObj.h:616:18: warning: ‘Origin::Bitmap::data’ will be initialized after [-Wreorder]
> 616 | unsigned char* data;
> | ^~~~
> OriginObj.h: In constructor ‘Origin::Matrix::Matrix(const string&, unsigned int)’:
> OriginObj.h:229:16: warning: ‘Origin::Matrix::sheets’ will be initialized after [-Wreorder]
> 229 | unsigned int sheets;
> | ^~~~~~
> OriginObj.h:614:10: warning: ‘std::string Origin::Bitmap::windowName’ [-Wreorder]
> 614 | string windowName;
> | ^~~~~~~~~~
> OriginObj.h:618:3: warning: when initialized here [-Wreorder]
> 618 | Bitmap(const string& _name = "")
> | ^~~~~~
> OriginObj.h:226:10: warning: ‘std::string Origin::Matrix::command’ [-Wreorder]
> 226 | string command;
> | ^~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h:226:10: warning: ‘Origin::Matrix::command’ will be initialized after [-Wreorder]
> 226 | string command;
> | ^~~~~~~
> OriginObj.h:222:7: warning: ‘int Origin::Matrix::valueTypeSpecification’ [-Wreorder]
> 222 | int valueTypeSpecification;
> | ^~~~~~~~~~~~~~~~~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h:227:7: warning: ‘Origin::Matrix::width’ will be initialized after [-Wreorder]
> 227 | int width;
> | ^~~~~
> OriginObj.h:225:22: warning: ‘Origin::NumericDisplayType Origin::Matrix::numericDisplayType’ [-Wreorder]
> 225 | NumericDisplayType numericDisplayType;
> | ^~~~~~~~~~~~~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h: In constructor ‘Origin::Function::Function(const string&, unsigned int)’:
> OriginObj.h:261:16: warning: ‘Origin::Function::index’ will be initialized after [-Wreorder]
> 261 | unsigned int index;
> | ^~~~~
> OriginObj.h:256:16: warning: ‘Origin::Function::FunctionType Origin::Function::type’ [-Wreorder]
> 256 | FunctionType type;
> | ^~~~
> OriginObj.h:263:3: warning: when initialized here [-Wreorder]
> 263 | Function(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~
> OriginObj.h: In constructor ‘Origin::Matrix::Matrix(const string&, unsigned int)’:
> OriginObj.h:229:16: warning: ‘Origin::Matrix::sheets’ will be initialized after [-Wreorder]
> 229 | unsigned int sheets;
> | ^~~~~~
> OriginObj.h:226:10: warning: ‘std::string Origin::Matrix::command’ [-Wreorder]
> 226 | string command;
> | ^~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h:226:10: warning: ‘Origin::Matrix::command’ will be initialized after [-Wreorder]
> 226 | string command;
> | ^~~~~~~
> OriginObj.h:222:7: warning: ‘int Origin::Matrix::valueTypeSpecification’ [-Wreorder]
> 222 | int valueTypeSpecification;
> | ^~~~~~~~~~~~~~~~~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h:227:7: warning: ‘Origin::Matrix::width’ will be initialized after [-Wreorder]
> 227 | int width;
> | ^~~~~
> OriginObj.h:225:22: warning: ‘Origin::NumericDisplayType Origin::Matrix::numericDisplayType’ [-Wreorder]
> 225 | NumericDisplayType numericDisplayType;
> | ^~~~~~~~~~~~~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h: In constructor ‘Origin::Bitmap::Bitmap(const string&)’:
> OriginObj.h:616:18: warning: ‘Origin::Bitmap::data’ will be initialized after [-Wreorder]
> 616 | unsigned char* data;
> | ^~~~
> OriginObj.h:614:10: warning: ‘std::string Origin::Bitmap::windowName’ [-Wreorder]
> 614 | string windowName;
> | ^~~~~~~~~~
> OriginObj.h:618:3: warning: when initialized here [-Wreorder]
> 618 | Bitmap(const string& _name = "")
> | ^~~~~~
> OriginObj.h: In constructor ‘Origin::Function::Function(const string&, unsigned int)’:
> OriginObj.h:261:16: warning: ‘Origin::Function::index’ will be initialized after [-Wreorder]
> 261 | unsigned int index;
> | ^~~~~
> OriginObj.h:256:16: warning: ‘Origin::Function::FunctionType Origin::Function::type’ [-Wreorder]
> 256 | FunctionType type;
> | ^~~~
> OriginObj.h:263:3: warning: when initialized here [-Wreorder]
> 263 | Function(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~
> OriginObj.h: In constructor ‘Origin::Bitmap::Bitmap(const string&)’:
> OriginObj.h:616:18: warning: ‘Origin::Bitmap::data’ will be initialized after [-Wreorder]
> 616 | unsigned char* data;
> | ^~~~
> OriginObj.h:614:10: warning: ‘std::string Origin::Bitmap::windowName’ [-Wreorder]
> 614 | string windowName;
> | ^~~~~~~~~~
> OriginObj.h:618:3: warning: when initialized here [-Wreorder]
> 618 | Bitmap(const string& _name = "")
> | ^~~~~~
> OriginObj.h: In member function ‘bool Origin::GraphLayer::is3D() const’:
> OriginObj.h:702:27: error: ‘find_if’ was not declared in this scope; did you mean ‘boost::mpl::find_if’?
> 702 | return curves.end() != find_if(curves.begin(), curves.end(),
> | ^~~~~~~
> | boost::mpl::find_if
> In file included from /usr/include/boost/variant/variant.hpp:69,
> from /usr/include/boost/variant.hpp:17,
> from OriginObj.h:36,
> from OriginParser.h:32,
> from OriginDefaultParser.h:33,
> from OriginDefaultParser.cpp:30:
> /usr/include/boost/mpl/find_if.hpp:32:8: note: ‘boost::mpl::find_if’ declared here
> 32 | struct find_if
> | ^~~~~~~
> In file included from OriginParser.h:32,
> from OriginDefaultParser.h:33,
> from OriginDefaultParser.cpp:30:
> OriginObj.h: In constructor ‘Origin::ProjectNode::ProjectNode(const string&, Origin::ProjectNode::NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)’:
> OriginObj.h:749:10: warning: ‘Origin::ProjectNode::name’ will be initialized after [-Wreorder]
> 749 | string name;
> | ^~~~
> OriginObj.h:748:12: warning: ‘Origin::ProjectNode::NodeType Origin::ProjectNode::type’ [-Wreorder]
> 748 | NodeType type;
> | ^~~~
> OriginObj.h:753:3: warning: when initialized here [-Wreorder]
> 753 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime())
> | ^~~~~~~~~~~
> OriginObj.h: In member function ‘bool Origin::GraphLayer::is3D() const’:
> OriginObj.h:702:27: error: ‘find_if’ was not declared in this scope; did you mean ‘boost::mpl::find_if’?
> 702 | return curves.end() != find_if(curves.begin(), curves.end(),
> | ^~~~~~~
> | boost::mpl::find_if
> In file included from /usr/include/boost/variant/variant.hpp:69,
> from /usr/include/boost/variant.hpp:17,
> from OriginObj.h:36,
> from OriginParser.h:32,
> from Origin750Parser.h:34,
> from Origin800Parser.h:32,
> from Origin610Parser.h:32,
> from Origin600Parser.h:32,
> from Origin600Parser.cpp:29:
> /usr/include/boost/mpl/find_if.hpp:32:8: note: ‘boost::mpl::find_if’ declared here
> 32 | struct find_if
> | ^~~~~~~
> In file included from OriginParser.h:32,
> from Origin750Parser.h:34,
> from Origin800Parser.h:32,
> from Origin610Parser.h:32,
> from Origin600Parser.h:32,
> from Origin600Parser.cpp:29:
> OriginObj.h: In constructor ‘Origin::ProjectNode::ProjectNode(const string&, Origin::ProjectNode::NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)’:
> OriginObj.h:749:10: warning: ‘Origin::ProjectNode::name’ will be initialized after [-Wreorder]
> 749 | string name;
> | ^~~~
> OriginObj.h:748:12: warning: ‘Origin::ProjectNode::NodeType Origin::ProjectNode::type’ [-Wreorder]
> 748 | NodeType type;
> | ^~~~
> OriginObj.h:753:3: warning: when initialized here [-Wreorder]
> 753 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime())
> | ^~~~~~~~~~~
> OriginObj.h: In member function ‘bool Origin::GraphLayer::is3D() const’:
> OriginObj.h:702:27: error: ‘find_if’ was not declared in this scope; did you mean ‘boost::mpl::find_if’?
> 702 | return curves.end() != find_if(curves.begin(), curves.end(),
> | ^~~~~~~
> | boost::mpl::find_if
> In file included from /usr/include/boost/variant/variant.hpp:69,
> from /usr/include/boost/variant.hpp:17,
> from OriginObj.h:36,
> from OriginFile.h:37,
> from OriginFile.cpp:30:
> /usr/include/boost/mpl/find_if.hpp:32:8: note: ‘boost::mpl::find_if’ declared here
> 32 | struct find_if
> | ^~~~~~~
> In file included from OriginFile.h:37,
> from OriginFile.cpp:30:
> OriginObj.h: In constructor ‘Origin::ProjectNode::ProjectNode(const string&, Origin::ProjectNode::NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)’:
> OriginObj.h:749:10: warning: ‘Origin::ProjectNode::name’ will be initialized after [-Wreorder]
> 749 | string name;
> | ^~~~
> OriginObj.h:748:12: warning: ‘Origin::ProjectNode::NodeType Origin::ProjectNode::type’ [-Wreorder]
> 748 | NodeType type;
> | ^~~~
> OriginObj.h:753:3: warning: when initialized here [-Wreorder]
> 753 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime())
> | ^~~~~~~~~~~
> In file included from OriginParser.h:32,
> from OriginParser.cpp:29:
> OriginObj.h: In constructor ‘Origin::SpreadColumn::SpreadColumn(const string&, unsigned int)’:
> OriginObj.h:166:16: warning: ‘Origin::SpreadColumn::index’ will be initialized after [-Wreorder]
> 166 | unsigned int index;
> | ^~~~~
> OriginObj.h:163:10: warning: ‘std::string Origin::SpreadColumn::command’ [-Wreorder]
> 163 | string command;
> | ^~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:164:10: warning: ‘Origin::SpreadColumn::comment’ will be initialized after [-Wreorder]
> 164 | string comment;
> | ^~~~~~~
> OriginObj.h:158:13: warning: ‘Origin::ValueType Origin::SpreadColumn::valueType’ [-Wreorder]
> 158 | ValueType valueType;
> | ^~~~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h:165:7: warning: ‘Origin::SpreadColumn::width’ will be initialized after [-Wreorder]
> 165 | int width;
> | ^~~~~
> OriginObj.h:162:22: warning: ‘Origin::NumericDisplayType Origin::SpreadColumn::numericDisplayType’ [-Wreorder]
> 162 | NumericDisplayType numericDisplayType;
> | ^~~~~~~~~~~~~~~~~~
> OriginObj.h:170:3: warning: when initialized here [-Wreorder]
> 170 | SpreadColumn(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~~~~~
> OriginObj.h: In constructor ‘Origin::Matrix::Matrix(const string&, unsigned int)’:
> OriginObj.h:229:16: warning: ‘Origin::Matrix::sheets’ will be initialized after [-Wreorder]
> 229 | unsigned int sheets;
> | ^~~~~~
> OriginObj.h:226:10: warning: ‘std::string Origin::Matrix::command’ [-Wreorder]
> 226 | string command;
> | ^~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h:226:10: warning: ‘Origin::Matrix::command’ will be initialized after [-Wreorder]
> 226 | string command;
> | ^~~~~~~
> OriginObj.h:222:7: warning: ‘int Origin::Matrix::valueTypeSpecification’ [-Wreorder]
> 222 | int valueTypeSpecification;
> | ^~~~~~~~~~~~~~~~~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h:227:7: warning: ‘Origin::Matrix::width’ will be initialized after [-Wreorder]
> 227 | int width;
> | ^~~~~
> OriginObj.h:225:22: warning: ‘Origin::NumericDisplayType Origin::Matrix::numericDisplayType’ [-Wreorder]
> 225 | NumericDisplayType numericDisplayType;
> | ^~~~~~~~~~~~~~~~~~
> OriginObj.h:236:3: warning: when initialized here [-Wreorder]
> 236 | Matrix(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~
> OriginObj.h: In constructor ‘Origin::Function::Function(const string&, unsigned int)’:
> OriginObj.h:261:16: warning: ‘Origin::Function::index’ will be initialized after [-Wreorder]
> 261 | unsigned int index;
> | ^~~~~
> OriginObj.h:256:16: warning: ‘Origin::Function::FunctionType Origin::Function::type’ [-Wreorder]
> 256 | FunctionType type;
> | ^~~~
> OriginObj.h:263:3: warning: when initialized here [-Wreorder]
> 263 | Function(const string& _name = "", unsigned int _index = 0)
> | ^~~~~~~~
> OriginObj.h: In constructor ‘Origin::Bitmap::Bitmap(const string&)’:
> OriginObj.h:616:18: warning: ‘Origin::Bitmap::data’ will be initialized after [-Wreorder]
> 616 | unsigned char* data;
> | ^~~~
> OriginObj.h:614:10: warning: ‘std::string Origin::Bitmap::windowName’ [-Wreorder]
> 614 | string windowName;
> | ^~~~~~~~~~
> OriginObj.h:618:3: warning: when initialized here [-Wreorder]
> 618 | Bitmap(const string& _name = "")
> | ^~~~~~
> OriginObj.h: In member function ‘bool Origin::GraphLayer::is3D() const’:
> OriginObj.h:702:27: error: ‘find_if’ was not declared in this scope; did you mean ‘boost::mpl::find_if’?
> 702 | return curves.end() != find_if(curves.begin(), curves.end(),
> | ^~~~~~~
> | boost::mpl::find_if
> In file included from /usr/include/boost/variant/variant.hpp:69,
> from /usr/include/boost/variant.hpp:17,
> from OriginObj.h:36,
> from OriginParser.h:32,
> from OriginParser.cpp:29:
> /usr/include/boost/mpl/find_if.hpp:32:8: note: ‘boost::mpl::find_if’ declared here
> 32 | struct find_if
> | ^~~~~~~
> In file included from OriginParser.h:32,
> from OriginParser.cpp:29:
> OriginObj.h: In constructor ‘Origin::ProjectNode::ProjectNode(const string&, Origin::ProjectNode::NodeType, const boost::posix_time::ptime&, const boost::posix_time::ptime&)’:
> OriginObj.h:749:10: warning: ‘Origin::ProjectNode::name’ will be initialized after [-Wreorder]
> 749 | string name;
> | ^~~~
> OriginObj.h:748:12: warning: ‘Origin::ProjectNode::NodeType Origin::ProjectNode::type’ [-Wreorder]
> 748 | NodeType type;
> | ^~~~
> OriginObj.h:753:3: warning: when initialized here [-Wreorder]
> 753 | ProjectNode(const string& _name = "", NodeType _type = Folder, const boost::posix_time::ptime& _creationDate = boost::posix_time::ptime(), const boost::posix_time::ptime& _modificationDate = boost::posix_time::ptime())
> | ^~~~~~~~~~~
> In file included from OriginDefaultParser.cpp:37:
> ./logging.hpp: In member function ‘virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)’:
> ./logging.hpp:150:48: warning: unused parameter ‘q’ [-Wunused-parameter]
> 150 | virtual bool operator==(const qualifier &q) { return false; }
> | ~~~~~~~~~~~~~~~~~^
> ./logging.hpp: In constructor ‘boost::logging::sink::sink(std::ostream*, boost::logging::level_t)’:
> ./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
> 349 | if (s)
> | ^
> OriginParser.cpp: In member function ‘std::pair<Origin::ProjectNode::NodeType, std::__cxx11::basic_string<char> > OriginParser::findObjectByIndex(unsigned int) const’:
> OriginParser.cpp:142:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare]
> 142 | if(it->objectID == index)
> | ~~~~~~~~~~~~~^~~~~~~~
> OriginParser.cpp:148:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare]
> 148 | if(it->objectID == index)
> | ~~~~~~~~~~~~~^~~~~~~~
> OriginParser.cpp:154:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare]
> 154 | if(it->objectID == index)
> | ~~~~~~~~~~~~~^~~~~~~~
> In file included from Origin600Parser.cpp:34:
> ./logging.hpp: In member function ‘virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)’:
> ./logging.hpp:150:48: warning: unused parameter ‘q’ [-Wunused-parameter]
> 150 | virtual bool operator==(const qualifier &q) { return false; }
> | ~~~~~~~~~~~~~~~~~^
> OriginParser.cpp:160:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare]
> 160 | if(it->objectID == index){
> | ~~~~~~~~~~~~~^~~~~~~~
> In file included from OriginFile.cpp:35:
> ./logging.hpp: In member function ‘virtual bool boost::logging::qualifier::operator==(const boost::logging::qualifier&)’:
> ./logging.hpp:150:48: warning: unused parameter ‘q’ [-Wunused-parameter]
> 150 | virtual bool operator==(const qualifier &q) { return false; }
> | ~~~~~~~~~~~~~~~~~^
> ./logging.hpp: In member function ‘virtual std::string boost::logging::log_element::visit(boost::logging::format&, const log_param_t&)’:
> ./logging.hpp:521:62: warning: unused parameter ‘log_param’ [-Wunused-parameter]
> 521 | const log_param_t &log_param)
> | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
> OriginDefaultParser.cpp: In member function ‘virtual bool OriginDefaultParser::parse()’:
> OriginDefaultParser.cpp:165:57: warning: comparison of integer expressions of different signedness: ‘std::vector<Origin::SpreadSheet>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
> 165 | if(speadSheets.size() == 0 || findSpreadByName(sname) == -1) {
> | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
> ./logging.hpp: In constructor ‘boost::logging::sink::sink(std::ostream*, boost::logging::level_t)’:
> ./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
> 349 | if (s)
> | ^
> ./logging.hpp: In constructor ‘boost::logging::sink::sink(std::ostream*, boost::logging::level_t)’:
> ./logging.hpp:349:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
> 349 | if (s)
> | ^
> ./logging.hpp: In member function ‘virtual std::string boost::logging::log_element::visit(boost::logging::format&, const log_param_t&)’:
> ./logging.hpp:521:62: warning: unused parameter ‘log_param’ [-Wunused-parameter]
> 521 | const log_param_t &log_param)
> | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
> OriginDefaultParser.cpp:264:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
> 264 | speadSheets[spread].maxRows<nr?speadSheets[spread].maxRows=nr:0;
> ./logging.hpp: In member function ‘virtual std::string boost::logging::log_element::visit(boost::logging::format&, const log_param_t&)’:
> ./logging.hpp:521:62: warning: unused parameter ‘log_param’ [-Wunused-parameter]
> 521 | const log_param_t &log_param)
> | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
> OriginDefaultParser.cpp:313:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<Origin::SpreadSheet>::size_type’ {aka ‘long unsigned int’} [-Wformat=]
> 313 | fprintf(debug," nr_spreads = %d\n",speadSheets.size());
> | ~^ ~~~~~~~~~~~~~~~~~~
> | | |
> | int std::vector<Origin::SpreadSheet>::size_type {aka long unsigned int}
> | %ld
> OriginDefaultParser.cpp:381:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘std::vector<Origin::SpreadColumn>::size_type’ {aka ‘long unsigned int’} [-Wformat=]
> 381 | fprintf(debug," SPREADSHEET %d NAME : %s (@ 0x%X) has %d columns\n",
> | ~^
> | |
> | int
> | %ld
> 382 | spread+1,name,POS + 0x12,speadSheets[spread].columns.size());
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | |
> | std::vector<Origin::SpreadColumn>::size_type {aka long unsigned int}
> OriginDefaultParser.cpp:408:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<Origin::SpreadColumn>::size_type’ {aka ‘long unsigned int’} [-Wformat=]
> 408 | fprintf(debug," Spreadsheet has %d columns\n",speadSheets[spread].columns.size());
> | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | | |
> | int std::vector<Origin::SpreadColumn>::size_type {aka long unsigned int}
> | %ld
> make[1]: *** [Makefile:388: tmp/OriginParser.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/12/26/liborigin2_20110117-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the debian-science-maintainers
mailing list