bpkg/0.16.0-a.0.20220802112953.b6dd27497c9d

[full]

build2 package dependency manager

This package contains the build2 package dependency manager.

build2 is an open source, cross-platform toolchain for building and packaging
C++ code. Its aim is a modern build system and dependency manager for the C++
language that provide a consistent, out of the box interface across multiple
platforms and compilers. For more information see:

https://build2.org/

See the NEWS file for the user-visible changes from the previous release.

See the LICENSE file for the distribution conditions.

See... More
version 0.16.0-a.0.20220802112953.b6dd27497c9d
license MIT
repository https://git.build2.org/var/scm/bpkg.git#ci@b6dd27497c9d6a796fe23d979a7a7959a8b7a3f4
fragment b6dd27497c9d6a796fe23d979a7a7959a8b7a3f4
project build2
url build2.org
doc-url build2.org/doc.xhtml
src-url git.build2.org/cgit/bpkg/tree/
topics package dependency managementbuild toolchain

Depends (6)

libodb [2.5.0-b.24.1 2.5.0-b.25)
libodb-sqlite [2.5.0-b.24.1 2.5.0-b.25)
libsqlite3 ^3.21.0ATTACH in transaction
libbutl [0.16.0-a.0.1 0.16.0-a.1)
libbpkg [0.16.0-a.0.1 0.16.0-a.1)
build2 [0.16.0-a.0.1 0.16.0-a.1)

Requires (1)

c++14

Builds

toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config macos_12-gcc_12.1_homebrew-static_O3 / x86_64-apple-darwin21.6.0
timestamp 2022-08-02 13:53:31 UTC (12 16:01:37 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config macos_12-gcc_12.1_homebrew-O3 / x86_64-apple-darwin21.6.0
timestamp 2022-08-02 13:32:57 UTC (12 16:22:12 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config macos_12-gcc_12.1_homebrew / x86_64-apple-darwin21.6.0
timestamp 2022-08-02 13:11:18 UTC (12 16:43:51 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-clang_13.0_llvm_msvc_16.11_lld / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-02 12:43:58 UTC (12 17:11:11 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-clang_14.0_llvm_msvc_17.2_lld / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-02 12:43:46 UTC (12 17:11:22 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config macos_12-clang_13.1-static_O3 / x86_64-apple-darwin21.6.0
timestamp 2022-08-02 12:38:57 UTC (12 17:16:11 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-clang_13.0_llvm_msvc_16.11-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-02 12:30:41 UTC (12 17:24:28 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-clang_14.0_llvm_msvc_17.2-static_O2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-02 12:30:07 UTC (12 17:25:02 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config macos_12-clang_13.1-O3 / x86_64-apple-darwin21.6.0
timestamp 2022-08-02 12:17:59 UTC (12 17:37:09 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-clang_13.0_llvm_msvc_16.11-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-02 12:17:27 UTC (12 17:37:42 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-clang_14.0_llvm_msvc_17.2-O2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-02 12:16:50 UTC (12 17:38:19 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-gcc_12.1-static_O3 / x86_64-linux-gnu
timestamp 2022-08-02 12:16:42 UTC (12 17:38:26 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-msvc_17.2-static_O2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-02 12:12:44 UTC (12 17:42:24 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-msvc_16.11-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-02 12:12:33 UTC (12 17:42:35 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-clang_14.0_libc++-static_O3 / x86_64-linux-gnu
timestamp 2022-08-02 12:09:41 UTC (12 17:45:28 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-gcc_12.1-ndebug_O3 / x86_64-linux-gnu
timestamp 2022-08-02 12:07:16 UTC (12 17:47:53 days ago)
result warning (update) | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-clang_14.0_libc++-O3 / x86_64-linux-gnu
timestamp 2022-08-02 12:05:39 UTC (12 17:49:30 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-clang_13.0_llvm_msvc_16.11 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-02 12:03:55 UTC (12 17:51:13 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-clang_14.0_llvm_msvc_17.2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-02 12:03:13 UTC (12 17:51:55 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-msvc_17.2-O2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-02 12:02:35 UTC (12 17:52:34 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-gcc_11.2_mingw_w64-static_O2 / x86_64-w64-mingw32
timestamp 2022-08-02 12:02:14 UTC (12 17:52:55 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-msvc_16.11-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-02 12:02:03 UTC (12 17:53:05 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10_devmode-msvc_16.11 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-02 12:01:38 UTC (12 17:53:31 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-msvc_14.3 / x86_64-microsoft-win32-msvc14.0
timestamp 2022-08-02 11:59:12 UTC (12 17:55:57 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-clang_14.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:58:45 UTC (12 17:56:24 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-gcc_11.2_mingw_w64 / x86_64-w64-mingw32
timestamp 2022-08-02 11:58:16 UTC (12 17:56:53 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-clang_13.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:57:40 UTC (12 17:57:29 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-msvc_15.9 / x86_64-microsoft-win32-msvc14.1
timestamp 2022-08-02 11:57:05 UTC (12 17:58:04 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-gcc_11.2_mingw_w64-O2 / x86_64-w64-mingw32
timestamp 2022-08-02 11:56:40 UTC (12 17:58:29 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config macos_12-clang_13.1 / x86_64-apple-darwin21.6.0
timestamp 2022-08-02 11:56:39 UTC (12 17:58:30 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-gcc_12.1-O3 / x86_64-linux-gnu
timestamp 2022-08-02 11:56:13 UTC (12 17:58:56 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-clang_12.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:55:32 UTC (12 17:59:36 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9_tsan-gcc_7.4 / x86_64-linux-gnu
timestamp 2022-08-02 11:55:29 UTC (12 17:59:39 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-clang_11.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:54:53 UTC (12 18:00:16 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-clang_14.0-static_O3 / x86_64-linux-gnu
timestamp 2022-08-02 11:54:42 UTC (12 18:00:26 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11_tsan-gcc_11.3 / x86_64-linux-gnu
timestamp 2022-08-02 11:54:36 UTC (12 18:00:32 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9-clang_8.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:53:46 UTC (12 18:01:22 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11_asan-clang_14.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:53:08 UTC (12 18:02:01 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-clang_10.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:53:02 UTC (12 18:02:07 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config freebsd_13-clang_13.0-static_O3 / x86_64-freebsd13.1
timestamp 2022-08-02 11:52:21 UTC (12 18:02:48 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11_tsan-clang_14.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:51:58 UTC (12 18:03:11 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-msvc_17.2 / x86_64-microsoft-win32-msvc14.3
timestamp 2022-08-02 11:51:57 UTC (12 18:03:12 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-clang_9.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:51:48 UTC (12 18:03:20 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config windows_10-msvc_16.11 / x86_64-microsoft-win32-msvc14.2
timestamp 2022-08-02 11:50:40 UTC (12 18:04:28 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11_asan-gcc_11.3 / x86_64-linux-gnu
timestamp 2022-08-02 11:50:20 UTC (12 18:04:49 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config freebsd_13-clang_13.0-O3 / x86_64-freebsd13.1
timestamp 2022-08-02 11:47:48 UTC (12 18:07:21 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-clang_14.0-O3 / x86_64-linux-gnu
timestamp 2022-08-02 11:47:27 UTC (12 18:07:41 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9-clang_6.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:47:26 UTC (12 18:07:42 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9-clang_7.0_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:47:10 UTC (12 18:07:58 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9-clang_8.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:46:22 UTC (12 18:08:47 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-clang_13.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:45:55 UTC (12 18:09:13 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-clang_12.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:44:25 UTC (12 18:10:43 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-clang_11.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:43:54 UTC (12 18:11:14 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-clang_14.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:43:34 UTC (12 18:11:35 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-clang_10.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:43:05 UTC (12 18:12:03 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-gcc_12.1 / x86_64-linux-gnu
timestamp 2022-08-02 11:42:55 UTC (12 18:12:13 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-gcc_10.2 / x86_64-linux-gnu
timestamp 2022-08-02 11:42:50 UTC (12 18:12:18 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config macos_11-clang_13.0 / x86_64-apple-darwin20.5.0
timestamp 2022-08-02 11:42:22 UTC (12 18:12:47 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-clang_9.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:42:19 UTC (12 18:12:49 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_11-gcc_11.3 / x86_64-linux-gnu
timestamp 2022-08-02 11:42:16 UTC (12 18:12:52 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_10-gcc_9.3 / x86_64-linux-gnu
timestamp 2022-08-02 11:42:07 UTC (12 18:13:01 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config freebsd_13-clang_13.0 / x86_64-freebsd13.1
timestamp 2022-08-02 11:41:03 UTC (12 18:14:06 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9-gcc_8.4 / x86_64-linux-gnu
timestamp 2022-08-02 11:40:25 UTC (12 18:14:43 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config freebsd_11-clang_10.0 / x86_64-freebsd11.4
timestamp 2022-08-02 11:40:25 UTC (12 18:14:44 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config freebsd_12-clang_10.0 / x86_64-freebsd12.3
timestamp 2022-08-02 11:39:46 UTC (12 18:15:22 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9-clang_6.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:39:41 UTC (12 18:15:28 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9-clang_7.0 / x86_64-linux-gnu
timestamp 2022-08-02 11:39:35 UTC (12 18:15:34 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_8-gcc_4.9 / x86_64-linux-gnu
timestamp 2022-08-02 11:39:34 UTC (12 18:15:34 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_debian_9-gcc_7.4 / x86_64-linux-gnu
timestamp 2022-08-02 11:39:28 UTC (12 18:15:41 days ago)
result success | log | rebuild
toolchain stage-0.16.0-a.0.20220729080900.799a47d03dda
config linux_ubuntu_16.04-clang_3.7_libc++ / x86_64-linux-gnu
timestamp 2022-08-02 11:37:16 UTC (12 18:17:52 days ago)
result success | log | rebuild
config linux_debian_11-emcc_3.1.6 / wasm32-emscripten
result excluded

Changes

Version 0.15.0

  * New dependency declaration features:

    - Dependency groups, for example:

      depends: { libboost-any libboost-log libboost-uuid } ~1.77.0


    - Conditional dependencies, for example:

      depends: libposix-getopt ^1.0.0 ? ($cxx.target.class == 'windows')


    - Dependency alternatives, for example:

      depends: libmysqlclient >= 5.0.3 | libmariadb ^10.2.2


    - Reflected configuration variables, for example:

      depends: libposix-getopt ^1.0.0             \
               ? ($cxx.target.class == 'windows') \
	       config.hello.external_regex=true

      Or:

      depends: libmysqlclient >= 5.0.3 config.hello.db='mysql' | \
               libmariadb      ^10.2.2 config.hello.db='mariadb'


    - Dependency configuration, for example:

      depends:
      \
      libmariadb ^10.2.2
      {
        require
        {
          config.libmariadb.cache = true

          if ($cxx.target.class != 'windows')
            config.libmariadb.tls = true
        }
      }
      \

      Or:

      depends:
      \
      libmariadb ^10.2.2
      {
        prefer
        {
          config.libmariadb.cache = true

          config.libmariadb.buffer = ($config.libmariadb.buffer < 4096 \
                                      ? 4096                           \
                                      : $config.libmariadb.buffer)
        }

        accept ($config.libmariadb.buffer >= 4096)
      }
      \

    See the `depends` package manifest value in the manual for details.

    The implementation of these features led to bpkg becoming a special build
    system driver with repository metadata now containing the minimal subset
    of build system files for each package (called the package build system
    skeleton). See "Package Build System Skeleton" in the manual for details.

  * Support for JSON output in the bpkg-pkg-status command.

    See the --stdout-format option in bpkg-pkg-status(1) for details.

  * New --all, --all-pattern bpkg-pkg-drop options.

    These options can be used to drop all the held packages (in case of
    --all-pattern, limited to those that match a wildcard pattern).

  * New --keep-tmp common option.

    This option instructs bpkg not to remove its temporary directory at the
    end of the command execution and print its path if the verbosity level is
    2 or higher. This option is primarily useful for troubleshooting.

Version 0.14.0

  * Support for configuration types, configuration linking, and build-time
    dependencies.

    Configurations can now be linked with each other to allow a package to be
    built in one configuration while its dependencies -- in one or more linked
    configurations. This can be used to create a "base" configuration with
    common dependencies that are shared between multiple configurations.

    Configurations now also have types with the three predefined types being
    `target` (the default) `host` (used for build-time dependencies), and
    `build2` (used for build system modules). This mechanism together with
    configuration linking is used to provide separate configurations for
    build-time dependencies, for example, tools that need to be executed or
    build system modules that need to be loaded during the build.

    If during dependency resolution a build-time dependency is encountered and
    there is no build configuration of a suitable type linked with the target
    configuration, then a private configuration of the needed type is
    automatically created and linked.

    New relevant commands: bpkg-cfg-{link,unlink,info}.

    Command with relevant changes (new options, etc): bpkg-cfg-create,
    bpkg-pkg-{build,status}.

    See bpkg-cfg-create(1) for details on this functionality.

  * Tests, examples, and benchmark packages can now also be run-time or build-
    time.

    See the `tests`, `examples`, and `benchmarks` package manifest values for
    details.

  * Two new pre-defined automated build bot requirements: `bootstrap` (package
    is a build system module that requires bootstrapping) and `host` (package
    is normally used as build-time dependency and should be built in a host
    configuration).

    See the `requires` package manifest value for details.

  * Configuration of an external package is now preserved between upgrades and
    downgrades.

    The same behavior for normal packages is still a TODO. The old behavior
    can be achieved with the new --disfigure bpkg-pkg-build option that forces
    a from-scratch reconfiguration.

  * New `min-bpkg-version` repositories manifest value that allows specifying
    the minimum supported bpkg version.

    See also the new --min-bpkg-version bpkg-rep-create option.

  * Change of the `build-email` package manifest value semantics.

    Now build result notifications are only sent if this value is explicitly
    specified (before we used to fallback to `email`).

  * New --immediate|-i and --recursive|-r bpkg-pkg-{update,clean} options.... More