Package Details: build2 0.13.0-1

Git Clone URL: (read-only, click to copy)
Package Base: build2
Description: build2 build system
Upstream URL:
Licenses: MIT
Submitter: verri
Maintainer: migrev
Last Packager: migrev
Votes: 12
Popularity: 0.019337
First Submitted: 2017-08-19 16:03
Last Updated: 2020-07-22 07:11

Latest Comments

cobaltspace commented on 2021-06-09 10:26

$CXXFLAGS should probably be passed to the build script. It might also be a good idea to replace g++ with ${CXX:-g++}

resulting line from suggestions:

./ --trust yes --install-dir ${srcdir}/build/usr ${CXX:-g++} $CXXFLAGS

jonathon commented on 2020-03-26 01:44

Build appears to fail if ccache is configured, e.g.:

In file included from /usr/include/c++/9.3.0/bits/exception_ptr.h:39,
                 from /usr/include/c++/9.3.0/exception:143,
                 from /usr/include/c++/9.3.0/stdexcept:38,
                 from /usr/include/c++/9.3.0/array:39,
                 from /build/build2/src/build2-toolchain-0.12.0/libbutl/libbutl/uuid.hxx:7,
                 from /build/build2/src/build2-toolchain-0.12.0/libbutl/libbutl/uuid-linux.cxx:7:
/usr/include/c++/9.3.0/typeinfo:76:5: error: stray ‘#’ in program
   76 |     #define __GXX_TYPEINFO_EQUALITY_INLINE 1
      |     ^

(and many, many more).

Quick fix is to disable ccache:

diff --git a/PKGBUILD b/PKGBUILD
index e914b62..01e3013 100644
@@ -11,6 +11,7 @@ url=""
 depends=('sqlite3' 'pkgconf')