Skip to content

Error while building pip wheel on ppc64le #149

@Aman-Surkar

Description

@Aman-Surkar

I am trying to build array-record wheel on ppc64le using RHEL ubi9 image with gcc-toolset-13. While, using commit id = cd721e5c7c61ea23a723482c052af6104461d3b6 and building it using oss/build_whl.sh, I see the below error:

ERROR: /home/builder/opence-pip-packaging/array-record/array_record/cpp/BUILD:213:8: Compiling cpp/tri_state_ptr_test.cc failed: (Exit 1): gcc failed: error executing command (from target //cpp:tri_state_ptr_test) /opt/rh/gcc-toolset-13/root/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 62 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
cpp/tri_state_ptr_test.cc: In member function 'virtual void array_record::{anonymous}::TriStatePtrTest_SanityTest_Test::TestBody()':
cpp/tri_state_ptr_test.cc:57:56: error: 'class riegeli::MakerTypeFor<array_record::{anonymous}::Foo, int>' has no member named 'UniquePtr'
   57 |   TriStatePtr<FooBase> foo_main(riegeli::Maker<Foo>(1).UniquePtr());
      |                                                        ^~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions