Package Details: nngpp-git 1:1.3.00cc5d264-2

Git Clone URL: https://aur.archlinux.org/nngpp-git.git (read-only, click to copy)
Package Base: nngpp-git
Description: C++ wrapper around the nanomsg NNG API
Upstream URL: https://github.com/cwzx/nngpp
Licenses: MIT
Conflicts: nngpp
Provides: nngpp
Submitter: michaelkuc6
Maintainer: michaelkuc6
Last Packager: michaelkuc6
Votes: 2
Popularity: 0.000000
First Submitted: 2019-08-27 21:42 (UTC)
Last Updated: 2020-06-25 08:15 (UTC)

Required by (0)

Sources (1)

Latest Comments

michaelkuc6 commented on 2020-06-25 08:18 (UTC)

@DarioP

Hi, I saw your Github issue, and I reckon the easiest thing that will still work once this issue is resolved is just to remove the build section, and leave the test section there.

If you want to make the package, and want to install regardless of test failures, feel free to just use the --nocheck argument to makepkg when installing. If you use an AUR package manager, a similar method may exist in their documentation.

DarioP commented on 2020-06-24 20:19 (UTC) (edited on 2020-06-24 20:23 (UTC) by DarioP)

I have been having issues building this package.

I solved by removing the build and check sections in the PKGBUILD.

It should be ok as the library is header only, so apart from tests there should be nothing to build.

I was getting an error about something related to the usage of catch2:

In file included from /var/cache/makepkg/nngpp-git/src/nngpp/test/http_client.cpp:1:
/usr/include/catch2/catch.hpp: In instantiation of ‘std::string Catch::rangeToString(const Range&) [with Range = nng::aio; std::string = std::__cxx11::basic_string<char>]’:
/usr/include/catch2/catch.hpp:2046:33:   required from ‘static std::string Catch::StringMaker<R, typename std::enable_if<(Catch::is_range<T>::value && (! Catch::Detail::IsStreamInsertable<T>::value))>::type>::convert(const R&) [with R = nng::aio; std::string = std::__cxx11::basic_string<char>]’
/usr/include/catch2/catch.hpp:1649:121:   required from ‘std::string Catch::Detail::stringify(const T&) [with T = nng::aio; std::string = std::__cxx11::basic_string<char>]’
/usr/include/catch2/catch.hpp:2308:43:   required from ‘void Catch::UnaryExpr<LhsT>::streamReconstructedExpression(std::ostream&) const [with LhsT = const nng::aio&; std::ostream = std::basic_ostream<char>]’
/usr/include/catch2/catch.hpp:2307:14:   required from here
/usr/include/catch2/catch.hpp:2023:67: error: no matching function for call to ‘end(const nng::aio&)’
 2023 |         return ::Catch::Detail::rangeToString( begin( range ), end( range ) );