Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 181E2C433E0 for ; Wed, 27 Jan 2021 01:19:40 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33B61205F4 for ; Wed, 27 Jan 2021 01:19:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33B61205F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4DQQkJ3fFlzDqkJ for ; Wed, 27 Jan 2021 12:19:36 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.intel.com (client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=jason.m.bills@linux.intel.com; receiver=) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DQQhW4dt0zDqkJ for ; Wed, 27 Jan 2021 12:18:02 +1100 (AEDT) IronPort-SDR: uvQwhce7r1sMInfRpCcy0xL4WdpsgRRuD/IoDywEpZiNXHBlMUglfsELuBP4+joR++UMosGQmx QhRG0AJFX22g== X-IronPort-AV: E=McAfee;i="6000,8403,9876"; a="167096671" X-IronPort-AV: E=Sophos;i="5.79,378,1602572400"; d="scan'208";a="167096671" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2021 17:17:59 -0800 IronPort-SDR: UhAdexRvZ9HfI3OdbLqamZ9AWs2gzd1lsfuxFvY2e5ov12tpnfbHBwO8UWIqkECpmncWgSGCo9 Nh2L/69vXQfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,378,1602572400"; d="scan'208";a="429913184" Received: from linux.intel.com ([10.54.29.200]) by orsmga001.jf.intel.com with ESMTP; 26 Jan 2021 17:17:59 -0800 Received: from [10.251.7.190] (jmbills-MOBL.amr.corp.intel.com [10.251.7.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id D2CC158010C; Tue, 26 Jan 2021 17:17:58 -0800 (PST) Subject: Re: phosphor-debug-collector build issues To: Jayanth Othayoth References: From: "Bills, Jason M" Message-ID: <59bd2692-1de0-006a-3225-f3ac23aa7529@linux.intel.com> Date: Tue, 26 Jan 2021 17:17:58 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: OpenBMC Maillist Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" On 1/19/2021 3:43 AM, Jayanth Othayoth wrote: > Recently one of the d-bus interface  got changed in the > phosphor-dbug-collector side . Looks like phosphor-dbus-interface > version bump is missing here , which causing this build failure. > > Commit details: > > https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/37355 > https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-debug-collector/+/37802 Thanks, Jayanth! We are a bit behind on phosphor-dbus-interfaces, so this is likely the issue. I'll work on getting updated to the latest phosphor-dbus-interfaces to fix this issue. > > On Fri, Jan 15, 2021 at 2:51 AM Bills, Jason M > > > wrote: > > > > On 1/12/2021 9:29 AM, Bills, Jason M wrote: > > Hi All, > > > > Is anyone else seeing build errors in phosphor-debug-collector? > > > > When I build in Yocto, I get this error: > > > > | In file included from > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager_main.cpp:6: > > > > > | > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager_bmc.hpp:98:9: > > > error: 'sdbusplus::message::object_path > > > phosphor::dump::bmc::Manager::createDump(std::map, > > > std::__cxx11::basic_string >)' marked 'override', but does not > > override > > |    98 |         createDump(std::map > params) > > override; > > |       |         ^~~~~~~~~~ > > | In file included from > > > /home/jmbills/openbmc-openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-debug-collector/1.0+git999-r1/recipe-sysroot/usr/include/c++/10.2.0/memory:83, > > > > > |                  from > > > /home/jmbills/openbmc-openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-debug-collector/1.0+git999-r1/recipe-sysroot/usr/include/sdbusplus/message.hpp:11, > > > > > |                  from > > > /home/jmbills/openbmc-openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-debug-collector/1.0+git999-r1/recipe-sysroot/usr/include/sdbusplus/bus.hpp:7, > > > > > |                  from > > > /home/jmbills/openbmc-openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-debug-collector/1.0+git999-r1/recipe-sysroot/usr/include/sdbusplus/server.hpp:3, > > > > > |                  from > > > /home/jmbills/openbmc-openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-debug-collector/1.0+git999-r1/recipe-sysroot/usr/include/xyz/openbmc_project/Common/Progress/server.hpp:5, > > > > > |                  from > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_entry.hpp:3, > > > > > |                  from > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager.hpp:3, > > > > > |                  from > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump-extensions.hpp:1, > > > > > |                  from > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager_main.cpp:3: > > > > > | > > > /home/jmbills/openbmc-openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-debug-collector/1.0+git999-r1/recipe-sysroot/usr/include/c++/10.2.0/bits/unique_ptr.h: > > > In instantiation of 'typename std::_MakeUniq<_Tp>::__single_object > > std::make_unique(_Args&& ...) [with _Tp = > phosphor::dump::bmc::Manager; > > _Args = {sdbusplus::bus::bus&, std::unique_ptr > phosphor::dump::EventDeleter>&, const char (&)[30], const char > (&)[36], > > const char (&)[40]}; typename std::_MakeUniq<_Tp>::__single_object = > > std::unique_ptr]': > > | > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager_main.cpp:68:30: > > >    required from here > > | > > > /home/jmbills/openbmc-openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-debug-collector/1.0+git999-r1/recipe-sysroot/usr/include/c++/10.2.0/bits/unique_ptr.h:962:30: > > > error: invalid new-expression of abstract class type > > 'phosphor::dump::bmc::Manager' > > |   962 |     { return unique_ptr<_Tp>(new > > _Tp(std::forward<_Args>(__args)...)); } > > |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | In file included from > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager_main.cpp:6: > > > > > | > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager_bmc.hpp:48:7: > > > note:   because the following virtual functions are pure within > > 'phosphor::dump::bmc::Manager': > > |    48 | class Manager : virtual public CreateIface, > > |       |       ^~~~~~~ > > | In file included from > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager_bmc.hpp:9, > > > > > |                  from > > > ../../../../../../workspace/sources/phosphor-debug-collector/dump_manager_main.cpp:6: > > > > > | > > > /home/jmbills/openbmc-openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-debug-collector/1.0+git999-r1/recipe-sysroot/usr/include/xyz/openbmc_project/Dump/Create/server.hpp:55:26: > > > note:     'virtual uint32_t > > sdbusplus::xyz::openbmc_project::Dump::server::Create::createDump()' > > |    55 |         virtual uint32_t createDump( > > |       |                          ^~~~~~~~~~ > > > > It looks like a change was pushed (perhaps > https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-debug-collector/+/39162) > > that fixes openbmc-build-scripts/run-unit-test-docker.sh.  However, I > still see the above override failure when building with Yocto. > > Does anyone else see this error or have any ideas?. > > Thanks, > -Jason > > > > When I build using openbmc-build-scripts/run-unit-test-docker.sh, > I get > > this error: > > > > FAILED: > > > libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_file_io_type_dump.cpp.o > > > > > c++ -Ilibpldmresponder/1b80d8d@@pldmresponder@sha -Ilibpldmresponder > > -I../libpldmresponder -Ilibpldm -I../libpldm -I. -I.. -I../oem/ibm > > -I../libpldm/requester -I/usr/local/include > -fdiagnostics-color=always > > -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor > > -Wextra -Wpedantic -Werror -std=c++17 -g -Wno-psabi -DOEM_IBM > -fPIC -MD > > -MQ > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_file_io_type_dump.cpp.o' > > > -MF > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_file_io_type_dump.cpp.o.d' > > > -o > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_file_io_type_dump.cpp.o' > > > -c ../oem/ibm/libpldmresponder/file_io_type_dump.cpp > > ../oem/ibm/libpldmresponder/file_io_type_dump.cpp: In member > function > > 'virtual int > pldm::responder::DumpHandler::newFileAvailable(uint64_t)': > > ../oem/ibm/libpldmresponder/file_io_type_dump.cpp:86:60: error: > > 'convertForMessage' is not a member of > > 'sdbusplus::xyz::openbmc_project::Dump::server' > >     86 | > sdbusplus::xyz::openbmc_project::Dump::server::convertForMessage( > >        | ^~~~~~~~~~~~~~~~~ > > ../oem/ibm/libpldmresponder/file_io_type_dump.cpp:86:60: note: > suggested > > alternatives: > > In file included from /usr/local/include/sdbusplus/server.hpp:14, > >                   from ../common/utils.hpp:12, > >                   from ../oem/ibm/libpldmresponder/file_io.hpp:9, > >                   from > ../oem/ibm/libpldmresponder/file_io_by_type.hpp:3, > >                   from > ../oem/ibm/libpldmresponder/file_io_type_dump.hpp:3, > >                   from > ../oem/ibm/libpldmresponder/file_io_type_dump.cpp:1: > > /usr/local/include/sdbusplus/server/bindings.hpp:21:5: note: > > 'sdbusplus::server::binding::details::convertForMessage' > >     21 | T&& convertForMessage(T&& t) > >        |     ^~~~~~~~~~~~~~~~~ > > In file included from ../common/utils.hpp:13, > >                   from ../oem/ibm/libpldmresponder/file_io.hpp:9, > >                   from > ../oem/ibm/libpldmresponder/file_io_by_type.hpp:3, > >                   from > ../oem/ibm/libpldmresponder/file_io_type_dump.hpp:3, > >                   from > ../oem/ibm/libpldmresponder/file_io_type_dump.cpp:1: > > > /usr/local/include/xyz/openbmc_project/Logging/Entry/server.hpp:268:20: > > note: > 'sdbusplus::xyz::openbmc_project::Logging::server::convertForMessage' > >    268 | inline std::string convertForMessage(Entry::Level e) > >        |                    ^~~~~~~~~~~~~~~~~ > > ../oem/ibm/libpldmresponder/file_io_type_dump.cpp:87:26: error: > > > 'sdbusplus::xyz::openbmc_project::Dump::server::NewDump::DumpType' has > > not been declared > >     87 |                 NewDump::DumpType::System), > >        |                          ^~~~~~~~ > > [23/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_platform_oem_ibm.cpp.o' > > > > > [24/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_file_io_by_type.cpp.o' > > > > > [25/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/bios_integer_attribute.cpp.o' > > [26/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/pdr.cpp.o' > > [27/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/bios_string_attribute.cpp.o' > > [28/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_file_io.cpp.o' > > > > > [29/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/bios_attribute.cpp.o' > > [30/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_file_io_type_pel.cpp.o' > > > > > [31/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._oem_ibm_libpldmresponder_file_table.cpp.o' > > > > > [32/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/bios.cpp.o' > > [33/63] Compiling C++ object > > 'softoff/59fd39a@@pldm-softpoweroff@exe/softoff.cpp.o' > > [34/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/pdr_utils.cpp.o' > > [35/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/bios_enum_attribute.cpp.o' > > [36/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/fru_parser.cpp.o' > > [37/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/event_parser.cpp.o' > > [38/63] Compiling C++ object > > > 'utilities/abe2c41@@set-state-effecter@exe/requester_set_state_effecter.cpp.o' > > > > > [39/63] Compiling C++ object > > > 'utilities/abe2c41@@set-state-effecter-async@exe/requester_set_state_effecter_async.cpp.o' > > > > > [40/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._host-bmc_dbus_to_event_handler.cpp.o' > > > > > [41/63] Compiling C++ object > > 'pldmtool/ddccc44@@pldmtool@exe/pldm_cmd_helper.cpp.o' > > [42/63] Compiling C++ object 'pldmutils@sha/common_utils.cpp.o' > > [43/63] Compiling C++ object > > 'pldmd@exe/host-bmc_dbus_to_host_effecters.cpp.o' > > [44/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/fru.cpp.o' > > [45/63] Compiling C++ object 'pldmd@exe/pldmd_pldmd.cpp.o' > > [46/63] Compiling C++ object > > 'pldmtool/ddccc44@@pldmtool@exe/pldmtool.cpp.o' > > [47/63] Compiling C++ object > > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/.._host-bmc_host_pdr_handler.cpp.o' > > > > > [48/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/platform.cpp.o' > > [49/63] Compiling C++ object > > 'pldmtool/ddccc44@@pldmtool@exe/oem_ibm_pldm_oem_ibm.cpp.o' > > [50/63] Compiling C++ object > > 'pldmtool/ddccc44@@pldmtool@exe/pldm_fru_cmd.cpp.o' > > [51/63] Compiling C++ object > > 'pldmtool/ddccc44@@pldmtool@exe/pldm_platform_cmd.cpp.o' > > [52/63] Compiling C++ object > > 'pldmtool/ddccc44@@pldmtool@exe/pldm_base_cmd.cpp.o' > > [53/63] Compiling C++ object > > 'libpldmresponder/1b80d8d@@pldmresponder@sha/bios_config.cpp.o' > > [54/63] Compiling C++ object > > 'pldmtool/ddccc44@@pldmtool@exe/pldm_bios_cmd.cpp.o' > > ninja: build stopped: subcommand failed. > > The command '/bin/sh -c curl -L > > > https://github.com/openbmc/pldm/archive/8fc3edbc65b164eb8c90155b935c91e0e714c461.tar.gz > > > | tar -xz && cd pldm-* && meson build --wrap-mode=nodownload > > -Dprefix=/usr/local -Dtests=disabled && ninja -C build && ninja > -C build > > install' returned a non-zero code: 1 > > ++ cleanup > > ++ local status=1 > > ++ [[ -n /tmp/tmp.LkIqDi6uPu ]] > > ++ rm -f /tmp/tmp.LkIqDi6uPu > > ++ trap - EXIT ERR > > ++ exit 1 > > > > Anyone have any ideas? > > > > Thanks! > > -Jason >