Package Details: build2 0.14.0-2

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: 13
Popularity: 0.98
First Submitted: 2017-08-19 16:03 (UTC)
Last Updated: 2022-05-23 08:14 (UTC)

Latest Comments

migrev commented on 2022-05-23 08:15 (UTC)

Added @cobaltspace suggestions. Made a clean compile with gcc 12.

rao000 commented on 2022-05-18 19:33 (UTC)

Hello, it looks like the bootstrap build scripts fails with gcc 12. The list of errors is. . .byzyntine but I can post them if you want. Steps to reproduce are simple though: pacman -Syu && makepkg. I wasn't sure if I should post this here, let me know if i should upstream it instead

cobaltspace commented on 2021-06-09 10:26 (UTC)

$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 (UTC) (edited on 2020-03-26 01:44 (UTC) by jonathon)

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')