Skip Menu |
 

This queue is for tickets about the CPP-panda-lib CPAN distribution.

Report information
The Basics
Id: 124103
Status: open
Priority: 0/
Queue: CPP-panda-lib

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.0.6
Fixed in: (no value)

Attachments
panda-lib-install-failure-freebsd-10.3.txt.gz



Subject: Does not compile on many platforms
Download (untitled) / with headers
text/plain 3.9k
This is a followup to https://rt.perl.org/Ticket/Display.html?id=131953 The dependency CPP-panda-lib-1.0.6 fails to compile on many platform. Here are some log excerpts: Ubuntu 16.04: "/opt/perl-5.26.1/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- lib.bs blib/arch/auto/CPP/panda/lib/lib.bs 644 c++ -c -Isrc -I/opt/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux/CPP/catch/test.x/i -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -o lib.o -std=c++14 -g0 -O2 -DVERSION=\"1.0.6\" -DXS_VERSION=\"1.0.6\" -fPIC "-I/opt/perl-5.26.1/lib/5.26.1/x86_64-linux/CORE" lib.c In file included from src/panda/log.h:9:0, from t/src/test.h:17, from lib.xs:13: src/panda/CallbackDispatcher.h: In member function ‘void panda::CallbackDispatcher<Ret, Args>::add(const SimpleCallback&)’: src/panda/CallbackDispatcher.h:74:90: error: expected ‘,’ before ‘)’ token static_assert(panda::has_call_operator<decltype(wrapper), Event&, Args...>::value); ^ src/panda/CallbackDispatcher.h:74:90: error: expected string-literal before ‘)’ token Makefile:400: recipe for target 'lib.o' failed FreeBSD 10.3: "/usr/perl5.26.1p/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- lib.bs blib/arch/auto/CPP/panda/lib/lib.bs 644 c++ -c -Isrc -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall -Wextra -o lib.o -std=c++14 -g0 -O2 -DVERSION=\"1.0.6\" -DXS_VERSION=\"1.0.6\" -DPIC -fPIC "-I/usr/perl5.26.1p/lib/5.26.1/amd64-freebsd/CORE" lib.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated error: invalid value 'c++14' in '-std=c++14' *** Error code 1 FreeBSD 12.0: "/usr/perl5.26.1p/bin/perl5.26.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- lib.bs blib/arch/auto/CPP/panda/lib/lib.bs 644 c++ -c -Isrc -I/usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd/CPP/catch/test.x/i -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall -Wextra -o lib.o -std=c++14 -g0 -O2 -DVERSION=\"1.0.6\" -DXS_VERSION=\"1.0.6\" -DP IC -fPIC "-I/usr/perl5.26.1p/lib/5.26.1/amd64-freebsd/CORE" lib.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from lib.xs:13: In file included from ./t/src/test.h:5: In file included from src/panda/string.h:2: In file included from src/panda/basic_string.h:13: In file included from src/panda/string_view.h:7: src/panda/basic_string_view.h:324:37: error: redefinition of 'basic_string_view' as different kind of symbol template <class C, class T> const C basic_string_view<C,T>::TERMINAL = C(); ^ src/panda/basic_string_view.h:11:7: note: previous definition is here class basic_string_view { ^ src/panda/basic_string_view.h:324:54: error: expected ';' at end of declaration template <class C, class T> const C basic_string_view<C,T>::TERMINAL = C(); ^ ; src/panda/basic_string_view.h:324:54: error: expected unqualified-id src/panda/basic_string_view.h:326:53: error: no template named 'basic_string_view' template <class C, class T> inline bool operator== (basic_string_view <C,T> lhs, basic_string_view <C,T> rhs) { return lhs.compare(rhs) == 0; } ^ src/panda/basic_string_view.h:326:82: error: no template named 'basic_string_view' template <class C, class T> inline bool operator== (basic_string_view <C,T> lhs, basic_string_view <C,T> rhs) { return lhs.compare(rhs) == 0; } ^ src/panda/basic_string_view.h:327:53: error: no template named 'basic_string_view' (etc.)
On Tue Jan 16 14:01:04 2018, SREZIC wrote: Show quoted text
> This is a followup to > https://rt.perl.org/Ticket/Display.html?id=131953 > The dependency CPP-panda-lib-1.0.6 fails to compile on many platform. > Here are some log excerpts: >
[snip] Show quoted text
> > FreeBSD 10.3: > > "/usr/perl5.26.1p/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' > -- lib.bs blib/arch/auto/CPP/panda/lib/lib.bs 644 > c++ -c -Isrc -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict- > aliasing -pipe -fstack-protector -I/usr/local/include > -D_FORTIFY_SOURCE=2 -Wall -Wextra -o lib.o -std=c++14 -g0 -O2 > -DVERSION=\"1.0.6\" -DXS_VERSION=\"1.0.6\" -DPIC -fPIC "- > I/usr/perl5.26.1p/lib/5.26.1/amd64-freebsd/CORE" lib.c > c++: warning: treating 'c' input as 'c++' when in C++ mode, this > behavior is deprecated > error: invalid value 'c++14' in '-std=c++14' > *** Error code 1 >
See attachment for error output when using 'cpan' to test Panda::Lib on FreeBSD-10.3 using perl 5 blead. This is perl 5, version 27, subversion 8 (v5.27.8 (v5.27.7-178-g0a72295)) built for amd64-freebsd-thread-multi
Subject: panda-lib-install-failure-freebsd-10.3.txt.gz

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.