ipmibridge CI build failure
yugang.chen
yugang.chen at linux.intel.com
Tue Sep 1 15:38:28 AEST 2020
Hi Bishop,
ipmibridge CI build is failure recently, for example, the following
error information for code review #36128, could you please check if
it's needed to update CI build? thanks.
here are some code review with CI build failure recently:
https://gerrit.openbmc-project.xyz/c/openbmc/ipmbbridge/+/36128
https://gerrit.openbmc-project.xyz/c/openbmc/ipmbbridge/+/34579
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/35781
https://gerrit.openbmc-project.xyz/c/openbmc/ipmbbridge/+/35782
-- Build files have been written to: /home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge
/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge > cmake --build . -- -j 80
*Scanning dependencies of target ipmbbridged*
[ 33%]Building CXX object CMakeFiles/ipmbbridged.dir/ipmbutils.cpp.o
[ 66%]Building CXX object CMakeFiles/ipmbbridged.dir/ipmbbridged.cpp.o
In file included from*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbutils.cpp:16*:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:201:32:* *error: *���*steady_timer*��� is not a member of ���*boost::asio*���
201 | std::optional<boost::asio::*steady_timer*> timer;
|*^~~~~~~~~~~~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:201:44:* *error: *template argument 1 is invalid
201 | std::optional<boost::asio::steady_timer*>* timer;
|*^*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:262:40:* *error: *expected ���*)*��� before ���*&*��� token
262 | IpmbChannel(boost::asio::io_service**&io, uint8_t ipmbBmcSlaveAddress,
|~ *^*~
|)
In file included from*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:16*:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:201:32:* *error: *���*steady_timer*��� is not a member of ���*boost::asio*���
201 | std::optional<boost::asio::*steady_timer*> timer;
|*^~~~~~~~~~~~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:201:44:* *error: *template argument 1 is invalid
201 | std::optional<boost::asio::steady_timer*>* timer;
|*^*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.hpp:262:40:* *error: *expected ���*)*��� before ���*&*��� token
262 | IpmbChannel(boost::asio::io_service**&io, uint8_t ipmbBmcSlaveAddress,
|~ *^*~
|)
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:36:14:* *error: *���*io_service*��� in namespace ���*boost::asio*��� does not name a type; did you mean ���*has_service*���?
36 | boost::asio::*io_service* io;
|*^~~~~~~~~~*
|has_service
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:37:59:* *error: *���*io*��� was not declared in this scope
37 | auto conn = std::make_shared<sdbusplus::asio::connection>(*io*);
|*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:* In constructor ���*IpmbRequest::IpmbRequest(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t,
uint8_t, uint8_t, const std::vector<unsigned char>&)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:57:11:* *error: *���*io*��� was not declared in this scope
57 | timer(*io*)
|*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:* In member function ���*void IpmbChannel::ipmbSendI2cFrame(std::shared_ptr<std::vector<unsigned
char> >, size_t)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:265:18:* *error: *���*async_write*��� is not a member of ���*boost::asio*���; did you mean ���*async_initiate*���?
265 | boost::asio::*async_write*(
|*^~~~~~~~~~~*
|async_initiate
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:* In member function ���*void IpmbChannel::responseMatch(std::unique_ptr<IpmbResponse>&)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:344:27:* *error: *base operand of ���*->*��� is not a pointer
344 | request->timer*->*cancel();
|*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:* At global scope:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:518:25:* *error: *expected constructor, destructor, or type conversion before ���*(*��� token
518 | IpmbChannel::IpmbChannel*(*boost::asio::io_service &io,
|*^*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:* In member function ���*std::tuple<int, unsigned char, unsigned char, unsigned char, unsigned
char, std::vector<unsigned char, std::allocator<unsigned char> > >
IpmbChannel::requestAdd(boost::asio::yield_context&,
std::shared_ptr<IpmbRequest>)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:718:26:* *error: *���*async_write*��� is not a member of ���*boost::asio*���; did you mean ���*async_initiate*���?
718 | boost::asio::*async_write*(i2cSlaveDescriptor,
|*^~~~~~~~~~~*
|async_initiate
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:738:23:* *error: *base operand of ���*->*��� is not a pointer
738 | request->timer*->*expires_after(
|*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:740:23:* *error: *base operand of ���*->*��� is not a pointer
740 | request->timer*->*async_wait(yield[ec]);
|*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:* In function ���*int initializeChannels()*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:803:69:* *error: *���*io*��� was not declared in this scope
803 | auto channel = ipmbChannels.emplace(ipmbChannels.end(),*io*, bmcAddr,
|*^~*
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:* In function ���*int main(int, char**)*���:
*/home/jenkins-op/workspace/ci-repository/openbmc/ipmbbridge/ipmbbridged.cpp:986:5:* *error: *���*io*��� was not declared in this scope
986 |*io*.run();
|*^~*
make[2]: *** [CMakeFiles/ipmbbridged.dir/build.make:76: CMakeFiles/ipmbbridged.dir/ipmbutils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/ipmbbridged.dir/build.make:63: CMakeFiles/ipmbbridged.dir/ipmbbridged.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/ipmbbridged.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Traceback (most recent call last):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200901/a5b4d534/attachment.htm>
More information about the openbmc
mailing list