Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpanminus installation fails on RHEL 8 #43

Open
saadmunir90 opened this issue Dec 2, 2021 · 2 comments
Open

cpanminus installation fails on RHEL 8 #43

saadmunir90 opened this issue Dec 2, 2021 · 2 comments

Comments

@saadmunir90
Copy link

saadmunir90 commented Dec 2, 2021

I am trying to install Google::ProtocolBuffers::Dynamic on RHEL 8.4 using cpanm but it fails. I have protobuf-c and protobuf-devel already installed. I have pasted the protobuf lib version and build.log output below.

[root@95382e5d8906 /]# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.4 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.4"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.4 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.4:GA"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.4"

[root@95382e5d8906 /]# find / -name libprotobuf*.so
/usr/lib64/libprotobuf-c.so.1
/usr/lib64/libprotobuf.so
/usr/lib64/libprotobuf.so.15
/usr/lib64/libprotobuf.so.15.0.0
/usr/lib64/libprotobuf-c.so.1.0.0

[root@95382e5d8906 /]# cpanm Google::ProtocolBuffers::Dynamic
--> Working on Google::ProtocolBuffers::Dynamic
Fetching http://www.cpan.org/authors/id/M/MB/MBARBON/Google-ProtocolBuffers-Dynamic-0.34.tar.gz ... OK
Configuring Google-ProtocolBuffers-Dynamic-0.34 ... OK
Building and testing Google-ProtocolBuffers-Dynamic-0.34 ... FAIL
! Installing Google::ProtocolBuffers::Dynamic failed. See /root/.cpanm/work/1638441235.10898/build.log for details. Retry with --force to force install it.

[root@95382e5d8906 /]# cat /root/.cpanm/work/1638441235.10898/build.log
cpanm (App::cpanminus) 1.7044 on perl 5.026003 built for x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1638441235.10898
You have make /usr/bin/make
You have LWP 6.34
You have /usr/bin/tar: tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Google::ProtocolBuffers::Dynamic () on cpanmetadb ...
--> Working on Google::ProtocolBuffers::Dynamic
Fetching http://www.cpan.org/authors/id/M/MB/MBARBON/Google-ProtocolBuffers-Dynamic-0.34.tar.gz
-> OK
Unpacking Google-ProtocolBuffers-Dynamic-0.34.tar.gz
Entering Google-ProtocolBuffers-Dynamic-0.34
Checking configure dependencies from META.json
Checking if you have Module::Build 0.38 ... Yes (0.4224)
Checking if you have Module::Build::WithXSpp 0.14 ... Yes (0.14)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.14)
Checking if you have Alien::uPB::Core 0.20 ... Yes (0.20)
Checking if you have Alien::ProtoBuf 0.08 ... Yes (0.09)
Configuring Google-ProtocolBuffers-Dynamic-0.34
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Google-ProtocolBuffers-Dynamic' version '0.34'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::Typemaps::STL::String 0 ... Yes (1.05)
Checking if you have Module::Build 0.28 ... Yes (0.4224)
Checking if you have ExtUtils::Typemaps::Default 1.05 ... Yes (1.05)
Checking if you have autodie 0 ... Yes (2.29)
Checking if you have ExtUtils::ParseXS 2.30 ... Yes (3.35)
Checking if you have ExtUtils::XSpp 0.18 ... Yes (0.18)
Checking if you have Test::Warn 0 ... Yes (0.36)
Checking if you have Test::Exception 0 ... Yes (0.43)
Building and testing Google-ProtocolBuffers-Dynamic-0.34
Building Google-ProtocolBuffers-Dynamic
Processing XS typemap files...
Generating main XS file...
g++ -I/usr/lib64/perl5/CORE -fPIC -xc++ -I/usr/local/share/perl5/auto/share/dist/Alien-uPB-Core/include -DNDEBUG -DPERL_NO_GET_CONTEXT -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o src/descriptorloader.o src/descriptorloader.cpp
g++ -I/usr/lib64/perl5/CORE -fPIC -xc++ -I/usr/local/share/perl5/auto/share/dist/Alien-uPB-Core/include -DNDEBUG -DPERL_NO_GET_CONTEXT -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o src/upb/bridge.o src/upb/bridge.cpp
g++ -I/usr/lib64/perl5/CORE -fPIC -xc++ -I/usr/local/share/perl5/auto/share/dist/Alien-uPB-Core/include -DNDEBUG -DPERL_NO_GET_CONTEXT -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o src/sourcetree.o src/sourcetree.cpp
g++ -I/usr/lib64/perl5/CORE -fPIC -xc++ -I/usr/local/share/perl5/auto/share/dist/Alien-uPB-Core/include -DNDEBUG -DPERL_NO_GET_CONTEXT -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o src/dynamic.o src/dynamic.cpp
In file included from src/dynamic.cpp:1:
src/dynamic.h: In constructor ‘gpd::MappingOptions::MappingOptions(PerlInterpreter*, SV*)’:
src/dynamic.h:50:19: warning: ‘gpd::MappingOptions::client_services’ will be initialized after [-Wreorder]
ClientService client_services;
^~~~~~~~~~~~~~~
src/dynamic.h:48:10: warning: ‘bool gpd::MappingOptions::fail_ref_coercion’ [-Wreorder]
bool fail_ref_coercion;
^~~~~~~~~~~~~~~~~
src/dynamic.cpp:27:1: warning: when initialized here [-Wreorder]
MappingOptions::MappingOptions(pTHX_ SV options_ref) :
^~~~~~~~~~~~~~
src/dynamic.cpp: In member function ‘void gpd::Dynamic::map_message_prefix_recursive(PerlInterpreter
, const google::protobuf::Descriptor*, const string&, const gpd::MappingOptions&, std::tr1::unordered_set<std::_cxx11::basic_string >&)’:
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_DOUBLE’ not handled in switch [-Wswitch]
switch( field->type() ) {
^
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_FLOAT’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_INT64’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_UINT64’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_INT32’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_FIXED64’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_FIXED32’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_BOOL’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_STRING’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_GROUP’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_BYTES’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_UINT32’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_SFIXED32’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_SFIXED64’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_SINT32’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘TYPE_SINT64’ not handled in switch [-Wswitch]
src/dynamic.cpp:376:9: warning: enumeration value ‘MAX_TYPE’ not handled in switch [-Wswitch]
g++ -I/usr/lib64/perl5/CORE -fPIC -xc++ -I/usr/local/share/perl5/auto/share/dist/Alien-uPB-Core/include -DNDEBUG -DPERL_NO_GET_CONTEXT -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o src/mapper.o src/mapper.cpp
src/mapper.cpp: In member function ‘bool gpd::Mapper::DecoderHandlers::apply_defaults_and_check()’:
src/mapper.cpp:147:20: warning: enumeration value ‘UPB_TYPE_MESSAGE’ not handled in switch [-Wswitch]
switch (field.field_def->type()) {
^
src/mapper.cpp: In function ‘bool {anonymous}::set_bigint(PerlInterpreter*, SV*, uint64_t, bool)’:
src/mapper.cpp:431:13: warning: unused variable ‘count’ [-Wunused-variable]
int count = call_method("new", G_SCALAR);
^~~~~
src/mapper.cpp: In function ‘uint64_t {anonymous}::extract_bits(PerlInterpreter*, SV*, bool*)’:
src/mapper.cpp:944:13: warning: unused variable ‘count’ [-Wunused-variable]
int count = call_method("as_hex", G_SCALAR);
^~~~~
src/mapper.cpp: In member function ‘bool gpd::Mapper::encode_from_perl_hash(upb::Sink*, upb::Status*, const gpd::Mapper::Field&, SV*) const’:
src/mapper.cpp:1547:14: warning: unused variable ‘needs_free’ [-Wunused-variable]
bool needs_free = false;
^~~~~~~~~~
g++ -I/usr/lib64/perl5/CORE -DVERSION="0.34" -DXS_VERSION="0.34" -fPIC -xc++ -I/usr/local/share/perl5/auto/share/dist/Alien-uPB-Core/include -DNDEBUG -DPERL_NO_GET_CONTEXT -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o buildtmp/Dynamic.o buildtmp/Dynamic.c
buildtmp/Dynamic.c: In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_new(PerlInterpreter*, CV*)’:
buildtmp/Dynamic.c:2507:7: warning: unused variable ‘klass’ [-Wunused-variable]
SV * klass = ST(0)
^~~~~
buildtmp/Dynamic.c: In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_new_and_check(PerlInterpreter*, CV*)’:
buildtmp/Dynamic.c:2538:7: warning: unused variable ‘klass’ [-Wunused-variable]
SV * klass = ST(0)
^~~~~
buildtmp/Dynamic.c: In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_message_descriptor(PerlInterpreter*, CV*)’:
buildtmp/Dynamic.c:2572:7: warning: unused variable ‘klass’ [-Wunused-variable]
SV * klass = ST(0)
^~~~~
buildtmp/Dynamic.c: In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_enum_descriptor(PerlInterpreter*, CV*)’:
buildtmp/Dynamic.c:2595:7: warning: unused variable ‘klass’ [-Wunused-variable]
SV * klass = ST(0)
^~~~~
buildtmp/Dynamic.c: In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_service_descriptor(PerlInterpreter*, CV*)’:
buildtmp/Dynamic.c:2618:7: warning: unused variable ‘klass’ [-Wunused-variable]
SV * klass = ST(0)
^~~~~
buildtmp/Dynamic.c: In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_decode(PerlInterpreter*, CV*)’:
buildtmp/Dynamic.c:2641:7: warning: unused variable ‘klass’ [-Wunused-variable]
SV * klass = ST(0)
^~~~~
buildtmp/Dynamic.c: In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_decode_json(PerlInterpreter*, CV*)’:
buildtmp/Dynamic.c:2703:7: warning: unused variable ‘klass’ [-Wunused-variable]
SV * klass = ST(0)
^~~~~
In file included from buildtmp/main.xs:12:
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp": In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_get_list(PerlInterpreter*, CV*)’:
/usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable ‘targ’ [-Wunused-variable]
#define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG)
^~~~
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp":364:5: note: in expansion of macro ‘dXSTARG’
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp": In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_get_extension_list(PerlInterpreter*, CV*)’:
/usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable ‘targ’ [-Wunused-variable]
#define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG)
^~~~
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp":372:5: note: in expansion of macro ‘dXSTARG’
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp": In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_get_or_set_list(PerlInterpreter*, CV*)’:
/usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable ‘targ’ [-Wunused-variable]
#define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG)
^~~~
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp":394:5: note: in expansion of macro ‘dXSTARG’
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp": In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_get_or_set_extension_list(PerlInterpreter*, CV*)’:
/usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable ‘targ’ [-Wunused-variable]
#define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG)
^~~~
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp":405:5: note: in expansion of macro ‘dXSTARG’
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp": In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_get_map(PerlInterpreter*, CV*)’:
/usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable ‘targ’ [-Wunused-variable]
#define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG)
^~~~
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp":442:5: note: in expansion of macro ‘dXSTARG’
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp": In function ‘void XS_Google__ProtocolBuffers__Dynamic__Mapper_get_or_set_map(PerlInterpreter*, CV*)’:
/usr/lib64/perl5/CORE/XSUB.h:183:28: warning: unused variable ‘targ’ [-Wunused-variable]
#define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG)
^~~~
/usr/bin/perl -MExtUtils::XSpp::Cmd -e xspp -- -t "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/main.xspt" "/root/.cpanm/work/1638441235.10898/Google-ProtocolBuffers-Dynamic-0.34/xsp/mapper.xsp":457:5: note: in expansion of macro ‘dXSTARG’
In file included from /usr/lib64/perl5/CORE/perl.h:5644,
from buildtmp/main.xs:11:
/usr/lib64/perl5/CORE/embed.h: In function ‘void XS_Google__ProtocolBuffers__Dynamic__FieldDef_default_value(PerlInterpreter*, CV*)’:
/usr/lib64/perl5/CORE/embed.h:596:39: warning: ‘RETVAL’ may be used uninitialized in this function [-Wmaybe-uninitialized]
#define sv_2mortal(a) Perl_sv_2mortal(aTHX
a)
^
buildtmp/Dynamic.c:1416:7: note: ‘RETVAL’ was declared here
SV * RETVAL;
^~~~~~
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Google/ProtocolBuffers/Dynamic/Dynamic.bs')
Writing blib/arch/auto/Google/ProtocolBuffers/Dynamic/Dynamic.bs.bs
gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong -lperl -o blib/arch/auto/Google/ProtocolBuffers/Dynamic/Dynamic.so buildtmp/Dynamic.o src/descriptorloader.o src/upb/bridge.o src/sourcetree.o src/dynamic.o src/mapper.o -lstdc++ -L/usr/local/share/perl5/auto/share/dist/Alien-uPB-Core/lib -lupb_descriptor -lupb_json -lupb_pb -lupb -lprotobuf -lpthread
t/001_load.t ........................... ok
t/010_basic.t .......................... ok
t/020_primitives.t ..................... ok
t/025_bigints.t ........................ ok
t/030_repeated.t ....................... ok
t/032_map.t ............................
No subtests run
t/033_proto2_map.t .....................
No subtests run
t/035_required.t ....................... ok
t/040_messages.t ....................... ok
t/042_recursion.t ...................... ok
t/045_enum.t ........................... ok
t/050_extensions.t .....................
No subtests run
t/055_oneof.t .......................... ok
t/057_proto3_optional.t ................ skipped: Protocol Buffers v3.12 required
t/060_tie.t ............................ ok
t/065_checked_new.t .................... ok
t/067_warnings.t .......................
No subtests run
t/070_order.t .......................... ok
t/080_json.t ...........................
No subtests run
t/082_wkt.t ............................
No subtests run
t/085_wkt_json.t .......................
No subtests run
t/100_type_mapping.t ................... ok
t/102_service_mapping.t ................
No subtests run
t/105_package_mapping.t ................ ok
t/107_package_prefix_mapping.t ......... ok
t/108_message_prefix_mapping.t .........
No subtests run
t/110_mixed_mapping.t .................. ok
t/115_simplified_mapping.t .............
No subtests run
t/140_parse_string.t ................... ok
t/145_parse_binary.t ................... ok
t/200_check_required.t ................. ok
t/205_explicit_defaults.t .............. ok
t/210_encode_defaults.t ................ ok
t/215_check_enum_values.t .............. ok
t/220_accessor_style.t .................
No subtests run
t/225_decode_unblessed.t ............... ok
t/235_fail_ref_coercion.t .............. ok
t/300_scalar_accessors.t ............... ok
t/305_oneof_accessors.t ................ ok
t/310_list_accessors.t ................. ok
t/315_message_accessors.t .............. ok
t/320_map_accessors.t ..................
No subtests run
t/330_field_numbers.t .................. ok
t/335_extension_api.t ..................
No subtests run
t/350_introspection.t .................. ok
t/352_proto3_optional_introspection.t .. skipped: Protocol Buffers v3.12 required
t/355_map_introspection.t ..............
No subtests run
t/357_service_introspection.t ..........
No subtests run
t/400_issue_12.t ....................... ok
t/401_descriptor_error.t ............... ok
t/605_basic_grpc.t ..................... skipped: Grpc::XS not available
t/610_stream_client_grpc.t ............. skipped: Grpc::XS not available
t/615_stream_server_grpc.t ............. skipped: Grpc::XS not available
t/620_stream_bidi_grpc.t ............... skipped: Grpc::XS not available
t/author-pod-syntax.t .................. skipped: these tests are for testing by the author

Test Summary Report

t/032_map.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/033_proto2_map.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/050_extensions.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/067_warnings.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/080_json.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/082_wkt.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/085_wkt_json.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/102_service_mapping.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/108_message_prefix_mapping.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/115_simplified_mapping.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/220_accessor_style.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/320_map_accessors.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/335_extension_api.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/355_map_introspection.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
t/357_service_introspection.t (Wstat: 6 Tests: 0 Failed: 0)
Non-zero wait status: 6
Parse errors: No plan found in TAP output
Files=55, Tests=555, 3 wallclock secs ( 0.12 usr 0.06 sys + 2.99 cusr 0.55 csys = 3.72 CPU)
Result: FAIL
Failed 15/55 test programs. 0/555 subtests failed.
-> FAIL Installing Google::ProtocolBuffers::Dynamic failed. See /root/.cpanm/work/1638441235.10898/build.log for details. Retry with --force to force install it.
[root@95382e5d8906 /]#

**[root@95382e5d8906 /]# yum install -y protobuf-compiler \

protobuf-c \
protobuf-devel** 

Updating Subscription Management repositories.
Last metadata expiration check: 0:45:07 ago on Thu Dec 2 09:55:34 2021.
Package protobuf-compiler-3.5.0-13.el8.x86_64 is already installed.
Package protobuf-c-1.3.0-6.el8.x86_64 is already installed.
Package protobuf-devel-3.5.0-13.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@95382e5d8906 /]#

@cheese
Copy link

cheese commented Aug 12, 2022

Almost the same on CentOS Stream 9

@mbarbon
Copy link
Owner

mbarbon commented Nov 14, 2023

Sorry for the delay in getting back to this. I believe this should be fixed by version 0.42_03 (just uploaded to CPAN)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants