summaryrefslogtreecommitdiff
path: root/intro2-tour.orig
diff options
context:
space:
mode:
Diffstat (limited to 'intro2-tour.orig')
-rw-r--r--intro2-tour.orig772
1 files changed, 460 insertions, 312 deletions
diff --git a/intro2-tour.orig b/intro2-tour.orig
index f3b1a52..53015a0 100644
--- a/intro2-tour.orig
+++ b/intro2-tour.orig
@@ -1,3 +1,4 @@
+Script started on 2023-06-28 11:58:39+02:00 [COMMAND="./intro2-tour" TERM="xterm-256color" TTY="/dev/pts/21" COLUMNS="160" LINES="47"]
+ bdep new -t exe -l c++ hello
created new executable project hello in /tmp/hello/
@@ -16,7 +17,7 @@ hello
├── README.md
└── repositories.manifest
-2 directories, 9 files
+3 directories, 9 files
+ cd hello
@@ -59,44 +60,43 @@ EOE
: 1
name: hello
version: 0.1.0-a.0.z
+language: c++
summary: hello C++ executable
-license: proprietary
+license: other: proprietary ; Not free/open source.
description-file: README.md
url: https://example.org/hello
email: boris@codesynthesis.com
-depends: * build2 >= 0.11.0
-depends: * bpkg >= 0.11.0
+#build-error-email: boris@codesynthesis.com
+depends: * build2 >= 0.15.0
+depends: * bpkg >= 0.15.0
#depends: libhello ^1.0.0
+ bdep init -C ../hello-gcc @gcc cc config.cxx=g++
initializing in project /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
-+ bdep init -C ../hello-clang @clang cc config.cxx=clang++-5.0
++ bdep init -C ../hello-clang @clang cc config.cxx=clang++-16
initializing in project /tmp/hello/
-created configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
-+ ls -d -1 ../hello ../hello1 ../hello-clang ../hello.cxx ../hello-gcc ../hello.o
++ ls -d -1 ../hello ../hello-clang ../hello-gcc
../hello
-../hello1
../hello-clang
-../hello.cxx
../hello-gcc
-../hello.o
+ bdep init -C ../hello-vc-debug @debug cc config.cxx=cl-15 config.cc.coptions=/MDd /Z7 config.cc.loptions=/DEBUG
initializing in project /tmp/hello/
-created configuration @debug /tmp/hello-vc-debug/ 3 auto-synchronized
+created configuration @debug /tmp/hello-vc-debug/ 3 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ bdep init -C ../hello-vc-release @release cc config.cxx=cl-15 config.cc.coptions=/O2
initializing in project /tmp/hello/
-created configuration @release /tmp/hello-vc-release/ 4 auto-synchronized
+created configuration @release /tmp/hello-vc-release/ 4 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
@@ -105,12 +105,12 @@ hello configured 0.1.0-a.0.19700101000000
+ b
mkdir ../hello-gcc/hello/fsdir{hello/}
-c++ hello/cxx{hello}@../hello-gcc/hello/hello/
+c++ hello/cxx{hello} -> ../hello-gcc/hello/hello/obje{hello}
ld ../hello-gcc/hello/hello/exe{hello}
ln ../hello-gcc/hello/hello/exe{hello} -> hello/
+ b test
-test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
+test ../hello-gcc/hello/hello/exe{hello} + hello/testscript{testscript}
+ hello/hello World
Hello, World!
@@ -135,60 +135,61 @@ Hello, World!
├── hello.o
└── hello.o.d
-6 directories, 11 files
+7 directories, 11 files
+ bdep status @clang
hello configured 0.1.0-a.0.19700101000000
+ b ../hello-clang/hello/
mkdir ../hello-clang/hello/fsdir{hello/}
-c++ hello/cxx{hello}@../hello-clang/hello/hello/
+c++ hello/cxx{hello} -> ../hello-clang/hello/hello/obje{hello}
ld ../hello-clang/hello/hello/exe{hello}
+ b test: ../hello-clang/hello/
-test hello/testscript{testscript}@../hello-clang/hello/hello/ ../hello-clang/hello/hello/exe{hello}
+test ../hello-clang/hello/hello/exe{hello} + hello/testscript{testscript}
+ ../hello-clang/hello/hello/hello World
Hello, World!
rm ../hello-clang/hello/hello/exe{hello}
rm ../hello-clang/hello/hello/obje{hello}
-rm ../hello-clang/hello/fsdir{hello/}
+rmdir ../hello-clang/hello/fsdir{hello/}
+ bdep test @clang
mkdir ../hello-clang/hello/fsdir{hello/}
-c++ hello/cxx{hello}@../hello-clang/hello/hello/
+c++ hello/cxx{hello} -> ../hello-clang/hello/hello/obje{hello}
ld ../hello-clang/hello/hello/exe{hello}
-test hello/testscript{testscript}@../hello-clang/hello/hello/ ../hello-clang/hello/hello/exe{hello}
+test ../hello-clang/hello/hello/exe{hello} + hello/testscript{testscript}
+ bdep test @gcc @clang
in configuration @gcc:
-test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
+test ../hello-gcc/hello/hello/exe{hello} + hello/testscript{testscript}
in configuration @clang:
-test hello/testscript{testscript}@../hello-clang/hello/hello/ ../hello-clang/hello/hello/exe{hello}
+test ../hello-clang/hello/hello/exe{hello} + hello/testscript{testscript}
+ bdep init -C ../hello-mingw @mingw cc config.cxx=x86_64-w64-mingw32-g++
initializing in project /tmp/hello/
-created configuration @mingw /tmp/hello-mingw/ 5 auto-synchronized
+created configuration @mingw /tmp/hello-mingw/ 5 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ bdep update @mingw
mkdir ../hello-mingw/hello/fsdir{hello/}
-c++ hello/cxx{hello}@../hello-mingw/hello/hello/
+c++ hello/cxx{hello} -> ../hello-mingw/hello/hello/obje{hello}
ld ../hello-mingw/hello/hello/exe{hello}
+ bdep test @mingw
-test hello/testscript{testscript}@../hello-mingw/hello/hello/ ../hello-mingw/hello/hello/exe{hello}
+test ../hello-mingw/hello/hello/exe{hello} + hello/testscript{testscript}
+ ../hello-mingw/hello/hello/hello.exe Windows
-Hello, Windows!
+Hello, Windows!
+ git add .
+ git commit -m Initial implementation
-[master (root-commit) 83b57ed] Initial implementation
- 12 files changed, 107 insertions(+)
+[master (root-commit) 014a3ac] Initial implementation
+ 13 files changed, 143 insertions(+)
+ create mode 100644 .gitattributes
create mode 100644 .gitignore
create mode 100644 README.md
create mode 100644 build/.gitignore
@@ -204,22 +205,20 @@ Hello, Windows!
+ git remote add origin git@github.com:boris-kolpackov/hello.git
-+ git push origin master -u --force
++ git push --no-progress origin master -u --force
To github.com:boris-kolpackov/hello.git
- + 7f613af...83b57ed master -> master (forced update)
-Branch 'master' set up to track remote branch 'master' from 'origin'.
+ + 943049b...014a3ac master -> master (forced update)
+branch 'master' set up to track 'origin/master'.
+ bdep ci --simulate success
submitting:
to: https://ci.stage.build2.org
- in: https://github.com/boris-kolpackov/hello.git#master@83b57eddde8485a4f4aea49c71f5d4382cb58f85
+ in: https://github.com/boris-kolpackov/hello.git#master@014a3ac5e6132b6951f6bd8c2d759ae881dea3f6
package: hello
- version: 0.1.0-a.0.20191118060612.83b57eddde84
-continue? [y/n] % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 812 100 163 100 649 106 423 0:00:01 0:00:01 --:--:-- 423
-CI request is queued: https://ci.stage.build2.org/@613d3e21-151c-4c22-ae53-bba54f9eb6c4
-reference: 613d3e21-151c-4c22-ae53-bba54f9eb6c4
+ version: 0.1.0-a.0.20230628095907.014a3ac5e613
+continue? [Y/n] y
+CI request is queued: https://ci.stage.build2.org/@8338f18e-8ebf-4def-9520-473748b4d6f4
+reference: 8338f18e-8ebf-4def-9520-473748b4d6f4
+ bdep deinit @gcc @clang
deinitializing in project /tmp/hello/
@@ -233,64 +232,60 @@ synchronizing:
+ bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=g++
created new executable project hello in /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
-+ bdep init -C ../hello-clang @clang cc config.cxx=clang++-5.0
++ bdep init -C ../hello-clang @clang cc config.cxx=clang++-16
initializing in project /tmp/hello/
-created configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ bpkg rep-info https://git.build2.org/hello/libhello.git
-querying https://git.build2.org/hello/libhello.git
-fetching from https://git.build2.org/hello/libhello.git
git:build2.org/hello/libhello https://git.build2.org/hello/libhello.git
prerequisite git:build2.org/hello/libprint##HEAD https://git.build2.org/hello/libprint.git##HEAD
prerequisite git:build2.org/hello/libformat##HEAD https://git.build2.org/hello/libformat.git##HEAD
-libhello/1.1.0+5
-libhello/1.0.0+5
+libhello/1.0.0+11
+libhello/1.1.0+11
+ bpkg rep-info https://git.build2.org/hello/libhello.git#HEAD
-querying https://git.build2.org/hello/libhello.git
-fetching from https://git.build2.org/hello/libhello.git
git:build2.org/hello/libhello#HEAD https://git.build2.org/hello/libhello.git#HEAD
prerequisite git:build2.org/hello/libprint##HEAD https://git.build2.org/hello/libprint.git##HEAD
prerequisite git:build2.org/hello/libformat##HEAD https://git.build2.org/hello/libformat.git##HEAD
-libhello/1.1.0+5
+libhello/1.1.0+11
+ bdep status
fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
warning: authenticity of the certificate for repository pkg:stage.build2.org cannot be established
-certificate is for **stage.build2.org, "Code Synthesis" <stage-admin@build2.org>
+certificate is for **build2.org, "Code Synthesis" <admin@build2.org>
certificate SHA256 fingerprint:
-37:CE:2C:A5:1D:CF:93:81:D7:07:46:AD:66:B3:C3:90:83:B8:96:9E:34:F0:E7:B3:A2:B0:6C:EF:66:A4:BE:65
-trust this certificate? [y/n] hello configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.19700101000000#1
+EC:50:13:E2:3D:F7:92:B4:50:0B:BF:2A:1F:7D:31:04:C6:57:6F:BC:BE:04:2E:E0:58:14:FA:66:66:21:1F:14
+trust this certificate? [y/n] y
+hello configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.19700101000000#1
+ bdep sync
synchronizing:
- new libhello/1.0.0+4 (required by hello)
+ new libhello/1.0.0+11 (required by hello)
upgrade hello/0.1.0-a.0.19700101000000#1
- 0K ... 100% 78.7M=0s
+ b
synchronizing /tmp/hello-gcc/:
upgrade hello/0.1.0-a.0.19700101000000#2
+version ../hello-gcc/libhello-1.0.0+11/libhello/in{version} -> ../hello-gcc/libhello-1.0.0+11/libhello/hxx{version}
mkdir ../hello-gcc/hello/fsdir{hello/}
-version.in ../hello-gcc/libhello-1.0.0+4/libhello/version.hxx.in
-c++ ../hello-gcc/libhello-1.0.0+4/libhello/cxx{hello}
-c++ hello/cxx{hello}@../hello-gcc/hello/hello/
-ld ../hello-gcc/libhello-1.0.0+4/libhello/libs{hello}
+c++ hello/cxx{hello} -> ../hello-gcc/hello/hello/obje{hello}
+c++ ../hello-gcc/libhello-1.0.0+11/libhello/cxx{hello} -> ../hello-gcc/libhello-1.0.0+11/libhello/objs{hello}
+ld ../hello-gcc/libhello-1.0.0+11/libhello/libs{hello}
ld ../hello-gcc/hello/hello/exe{hello}
ln ../hello-gcc/hello/hello/exe{hello} -> hello/
+ bdep status -ai
in configuration @gcc:
hello configured 0.1.0-a.0.19700101000000#2
- libhello ^1.0.0 configured 1.0.0+4
+ libhello ^1.0.0 configured 1.0.0+11
in configuration @clang:
fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
@@ -301,109 +296,100 @@ in configuration @gcc:
in configuration @clang:
synchronizing:
- new libhello/1.0.0+4 (required by hello)
+ new libhello/1.0.0+11 (required by hello)
upgrade hello/0.1.0-a.0.19700101000000#1
- 0K ... 100% 81.6M=0s
+ bdep test -ai
in configuration @gcc:
-c++ ../hello-gcc/libhello-1.0.0+4/tests/basics/cxx{driver}
-ld ../hello-gcc/libhello-1.0.0+4/tests/basics/exe{driver}
-test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
-test ../hello-gcc/libhello-1.0.0+4/tests/basics/exe{driver}
+c++ ../hello-gcc/libhello-1.0.0+11/tests/basics/cxx{driver} -> ../hello-gcc/libhello-1.0.0+11/tests/basics/obje{driver}
+ld ../hello-gcc/libhello-1.0.0+11/tests/basics/exe{driver}
+test ../hello-gcc/libhello-1.0.0+11/tests/basics/exe{driver}
+test ../hello-gcc/hello/hello/exe{hello} + hello/testscript{testscript}
in configuration @clang:
+version ../hello-clang/libhello-1.0.0+11/libhello/in{version} -> ../hello-clang/libhello-1.0.0+11/libhello/hxx{version}
mkdir ../hello-clang/hello/fsdir{hello/}
-version.in ../hello-clang/libhello-1.0.0+4/libhello/version.hxx.in
-c++ ../hello-clang/libhello-1.0.0+4/libhello/cxx{hello}
-c++ ../hello-clang/libhello-1.0.0+4/tests/basics/cxx{driver}
-c++ hello/cxx{hello}@../hello-clang/hello/hello/
-ld ../hello-clang/libhello-1.0.0+4/libhello/libs{hello}
-ld ../hello-clang/libhello-1.0.0+4/tests/basics/exe{driver}
+c++ ../hello-clang/libhello-1.0.0+11/libhello/cxx{hello} -> ../hello-clang/libhello-1.0.0+11/libhello/objs{hello}
+c++ ../hello-clang/libhello-1.0.0+11/tests/basics/cxx{driver} -> ../hello-clang/libhello-1.0.0+11/tests/basics/obje{driver}
+c++ hello/cxx{hello} -> ../hello-clang/hello/hello/obje{hello}
+ld ../hello-clang/libhello-1.0.0+11/libhello/libs{hello}
ld ../hello-clang/hello/hello/exe{hello}
-test hello/testscript{testscript}@../hello-clang/hello/hello/ ../hello-clang/hello/hello/exe{hello}
-test ../hello-clang/libhello-1.0.0+4/tests/basics/exe{driver}
+ld ../hello-clang/libhello-1.0.0+11/tests/basics/exe{driver}
+test ../hello-clang/hello/hello/exe{hello} + hello/testscript{testscript}
+test ../hello-clang/libhello-1.0.0+11/tests/basics/exe{driver}
+ bdep status
hello configured 0.1.0-a.0.19700101000000#2 available 0.1.0-a.0.19700101000000#3
+ bdep sync
synchronizing:
- drop libhello/1.0.0+4 (unused)
+ drop libhello/1.0.0+11 (unused)
upgrade hello/0.1.0-a.0.19700101000000#3
synchronizing:
- new libhello/1.0.0+4 (required by hello)
+ new libhello/1.0.0+11 (required by hello)
upgrade hello/0.1.0-a.0.19700101000000#4
- 0K ... 100% 89.3M=0s
+ bdep fetch
fetching git:build2.org/hello/libhello (prerequisite of dir:/tmp/hello)
-querying https://git.build2.org/hello/libhello.git
-fetching from https://git.build2.org/hello/libhello.git
fetching git:build2.org/hello/libformat##HEAD (prerequisite of git:build2.org/hello/libhello)
-querying https://git.build2.org/hello/libformat.git
-fetching from https://git.build2.org/hello/libformat.git
fetching git:build2.org/hello/libprint##HEAD (prerequisite of git:build2.org/hello/libhello)
-querying https://git.build2.org/hello/libprint.git
-fetching from https://git.build2.org/hello/libprint.git
fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
+ bdep status libhello
-libhello configured 1.0.0+4 available [1.1.0+5] [1.0.0+5]
+libhello configured 1.0.0+11 available [1.1.0+11]
+ bdep sync libhello
synchronizing:
- new libformat/1.0.0+5 (required by libhello)
- new libprint/1.0.0+5 (required by libhello)
- upgrade libhello/1.1.0+5
+ new libformat/1.0.0+11 (required by libhello)
+ new libprint/1.0.0+11 (required by libhello)
+ upgrade libhello/1.1.0+11
reconfigure hello/0.1.0-a.0.19700101000000#4
-distributing libformat/1.0.0+5
-distributing libprint/1.0.0+5
-distributing libhello/1.1.0+5
+ bdep status -r
hello configured 0.1.0-a.0.19700101000000#4
- libhello ^1.0.0 configured 1.1.0+5
- libformat ^1.0.0 configured 1.0.0+5
- libprint ^1.0.0 configured 1.0.0+5
+ libhello ^1.0.0 configured 1.1.0+11
+ libformat ^1.0.0 configured 1.0.0+11
+ libprint ^1.0.0 configured 1.0.0+11
+ bdep status -o libhello
-libhello configured 1.1.0+5 available (1.1.0+5) [1.0.0+5] [1.0.0+4]
+libhello configured 1.1.0+11 available (1.1.0+11) [1.0.0+11]
+ bdep sync libhello/1.0.0
synchronizing:
- drop libprint/1.0.0+5 (unused)
- drop libformat/1.0.0+5 (unused)
- downgrade libhello/1.0.0+5
+ drop libprint/1.0.0+11 (unused)
+ drop libformat/1.0.0+11 (unused)
+ downgrade libhello/1.0.0+11
reconfigure hello/0.1.0-a.0.19700101000000#4
-distributing libhello/1.0.0+5
+ bdep new -C libextra-gcc -t lib -l c++ libextra cc config.cxx=g++
created new library project libextra in /tmp/libextra/
-created configuration /tmp/libextra-gcc/ 1 default,forwarded,auto-synchronized
+created configuration /tmp/libextra-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new libextra/0.1.0-a.0.19700101000000
+ b install: libextra/ config.install.root=/tmp/unpkg-gcc
mkdir libextra-gcc/libextra/fsdir{libextra/}
-version.in libextra/libextra/version.hxx.in
-c++ libextra/libextra/cxx{extra}@libextra-gcc/libextra/libextra/
-c++ libextra/libextra/cxx{extra}@libextra-gcc/libextra/libextra/
-ar libextra-gcc/libextra/libextra/liba{extra}
+version libextra/libextra/in{version} -> libextra-gcc/libextra/libextra/hxx{version}
+c++ libextra/libextra/cxx{extra} -> libextra-gcc/libextra/libextra/objs{extra}
+c++ libextra/libextra/cxx{extra} -> libextra-gcc/libextra/libextra/obja{extra}
+pc libextra-gcc/libextra/libextra/libs{extra} -> libextra-gcc/libextra/libextra/pcs{extra}
+pc libextra-gcc/libextra/libextra/liba{extra} -> libextra-gcc/libextra/libextra/pca{extra}
+pc libextra-gcc/libextra/libextra/lib{extra} -> libextra-gcc/libextra/libextra/pc{extra}
ld libextra-gcc/libextra/libextra/libs{extra}
-install unpkg-gcc/
-install unpkg-gcc/include/
-install unpkg-gcc/include/libextra/
-install libextra/libextra/hxx{export}@libextra-gcc/libextra/libextra/
-install libextra/libextra/hxx{extra}@libextra-gcc/libextra/libextra/
-install unpkg-gcc/share/
-install unpkg-gcc/share/doc/
-install unpkg-gcc/share/doc/libextra/
-install libextra/manifest{manifest}@libextra-gcc/libextra/
-install libextra-gcc/libextra/libextra/hxx{version}
-install libextra-gcc/libextra/libextra/liba{extra}
-install libextra-gcc/libextra/libextra/libs{extra}
-install libextra/doc{README.md}@libextra-gcc/libextra/
+ar libextra-gcc/libextra/libextra/liba{extra}
+install -d unpkg-gcc/
+install -d unpkg-gcc/include/
+install -d unpkg-gcc/include/libextra/
+install libextra/libextra/hxx{export}@libextra-gcc/libextra/libextra/ -> unpkg-gcc/include/libextra/
+install libextra/libextra/hxx{extra}@libextra-gcc/libextra/libextra/ -> unpkg-gcc/include/libextra/
+install -d unpkg-gcc/share/
+install -d unpkg-gcc/share/doc/
+install -d unpkg-gcc/share/doc/libextra/
+install libextra/manifest{manifest}@libextra-gcc/libextra/ -> unpkg-gcc/share/doc/libextra/manifest
+install libextra-gcc/libextra/libextra/hxx{version} -> unpkg-gcc/include/libextra/
+install libextra-gcc/libextra/libextra/liba{extra} -> unpkg-gcc/lib/
+install libextra-gcc/libextra/libextra/libs{extra} -> unpkg-gcc/lib/
+install libextra/doc{README.md}@libextra-gcc/libextra/ -> unpkg-gcc/share/doc/libextra/
+ tree unpkg-gcc
unpkg-gcc
@@ -417,6 +403,7 @@ unpkg-gcc
│   ├── libextra.a
│   ├── libextra.so -> libextra-0.1.0-a.0.19700101000000.so
│   └── pkgconfig
+│   ├── libextra.pc
│   ├── libextra.shared.pc
│   └── libextra.static.pc
└── share
@@ -425,76 +412,208 @@ unpkg-gcc
├── manifest
└── README.md
-7 directories, 10 files
+8 directories, 11 files
+ bdep init -C ../hello-gcc-1 @gcc1 cc config.cxx=g++ config.cc.poptions=-I/tmp/unpkg-gcc/include config.cc.loptions=-L/tmp/unpkg-gcc/lib
initializing in project /tmp/hello/
-created configuration @gcc1 /tmp/hello-gcc-1/ 3 auto-synchronized
+created configuration @gcc1 /tmp/hello-gcc-1/ 3 target auto-synchronized
fetching git:build2.org/hello/libhello (prerequisite of dir:/tmp/hello)
-querying https://git.build2.org/hello/libhello.git
-fetching from https://git.build2.org/hello/libhello.git
fetching git:build2.org/hello/libformat##HEAD (prerequisite of git:build2.org/hello/libhello)
-querying https://git.build2.org/hello/libformat.git
-fetching from https://git.build2.org/hello/libformat.git
fetching git:build2.org/hello/libprint##HEAD (prerequisite of git:build2.org/hello/libhello)
-querying https://git.build2.org/hello/libprint.git
-fetching from https://git.build2.org/hello/libprint.git
fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
synchronizing:
- new libformat/1.0.0+5 (required by libhello)
- new libprint/1.0.0+5 (required by libhello)
- new libhello/1.1.0+5 (required by hello)
+ new libformat/1.0.0+11 (required by libhello)
+ new libprint/1.0.0+11 (required by libhello)
+ new libhello/1.1.0+11 (required by hello)
new hello/0.1.0-a.0.19700101000000
-distributing libformat/1.0.0+5
-distributing libprint/1.0.0+5
-distributing libhello/1.1.0+5
+ b test: ../hello-gcc-1/
-version.in ../hello-gcc-1/libprint-1.0.0+5/libprint/version.hxx.in
+version ../hello-gcc-1/libprint-1.0.0+11/libprint/in{version} -> ../hello-gcc-1/libprint-1.0.0+11/libprint/hxx{version}
+version ../hello-gcc-1/libformat-1.0.0+11/libformat/in{version} -> ../hello-gcc-1/libformat-1.0.0+11/libformat/hxx{version}
+version ../hello-gcc-1/libhello-1.1.0+11/libhello/in{version} -> ../hello-gcc-1/libhello-1.1.0+11/libhello/hxx{version}
mkdir ../hello-gcc-1/hello/fsdir{hello/}
-version.in ../hello-gcc-1/libformat-1.0.0+5/libformat/version.hxx.in
-version.in ../hello-gcc-1/libhello-1.1.0+5/libhello/version.hxx.in
-c++ ../hello-gcc-1/libprint-1.0.0+5/tests/basics/cxx{driver}
-c++ ../hello-gcc-1/libprint-1.0.0+5/libprint/cxx{print}
-c++ ../hello-gcc-1/libformat-1.0.0+5/tests/basics/cxx{driver}
-c++ ../hello-gcc-1/libhello-1.1.0+5/libhello/cxx{hello}
-c++ ../hello-gcc-1/libhello-1.1.0+5/tests/basics/cxx{driver}
-c++ hello/cxx{hello}@../hello-gcc-1/hello/hello/
-c++ ../hello-gcc-1/libformat-1.0.0+5/libformat/cxx{format}
-ld ../hello-gcc-1/libprint-1.0.0+5/libprint/libs{print}
-ld ../hello-gcc-1/libprint-1.0.0+5/tests/basics/exe{driver}
-ld ../hello-gcc-1/libformat-1.0.0+5/libformat/libs{format}
-ld ../hello-gcc-1/libformat-1.0.0+5/tests/basics/exe{driver}
-ld ../hello-gcc-1/libhello-1.1.0+5/libhello/libs{hello}
-ld ../hello-gcc-1/libhello-1.1.0+5/tests/basics/exe{driver}
+c++ ../hello-gcc-1/libformat-1.0.0+11/tests/basics/cxx{driver} -> ../hello-gcc-1/libformat-1.0.0+11/tests/basics/obje{driver}
+c++ ../hello-gcc-1/libformat-1.0.0+11/libformat/cxx{format} -> ../hello-gcc-1/libformat-1.0.0+11/libformat/objs{format}
+c++ ../hello-gcc-1/libprint-1.0.0+11/tests/basics/cxx{driver} -> ../hello-gcc-1/libprint-1.0.0+11/tests/basics/obje{driver}
+c++ ../hello-gcc-1/libhello-1.1.0+11/libhello/cxx{hello} -> ../hello-gcc-1/libhello-1.1.0+11/libhello/objs{hello}
+c++ ../hello-gcc-1/libprint-1.0.0+11/libprint/cxx{print} -> ../hello-gcc-1/libprint-1.0.0+11/libprint/objs{print}
+c++ hello/cxx{hello} -> ../hello-gcc-1/hello/hello/obje{hello}
+c++ ../hello-gcc-1/libhello-1.1.0+11/tests/basics/cxx{driver} -> ../hello-gcc-1/libhello-1.1.0+11/tests/basics/obje{driver}
+ld ../hello-gcc-1/libprint-1.0.0+11/libprint/libs{print}
+ld ../hello-gcc-1/libformat-1.0.0+11/libformat/libs{format}
+ld ../hello-gcc-1/libprint-1.0.0+11/tests/basics/exe{driver}
+ld ../hello-gcc-1/libformat-1.0.0+11/tests/basics/exe{driver}
+ld ../hello-gcc-1/libhello-1.1.0+11/libhello/libs{hello}
ld ../hello-gcc-1/hello/hello/exe{hello}
-test ../hello-gcc-1/libprint-1.0.0+5/tests/basics/exe{driver}
-test hello/testscript{testscript}@../hello-gcc-1/hello/hello/ ../hello-gcc-1/hello/hello/exe{hello}
-test ../hello-gcc-1/libhello-1.1.0+5/tests/basics/exe{driver}
-test ../hello-gcc-1/libformat-1.0.0+5/tests/basics/exe{driver}
+ld ../hello-gcc-1/libhello-1.1.0+11/tests/basics/exe{driver}
+test ../hello-gcc-1/libhello-1.1.0+11/tests/basics/exe{driver}
+test ../hello-gcc-1/libformat-1.0.0+11/tests/basics/exe{driver}
+test ../hello-gcc-1/hello/hello/exe{hello} + hello/testscript{testscript}
+test ../hello-gcc-1/libprint-1.0.0+11/tests/basics/exe{driver}
+ b configure: ../hello-gcc/ config.cc.poptions+=-I/tmp/unpkg-gcc/include config.cc.loptions+=-L/tmp/unpkg-gcc/lib
save ../hello-gcc/build/config.build
save ../hello-gcc/hello/build/config.build
-save ../hello-gcc/libhello-1.0.0+5/build/config.build
-save ../hello-gcc/libhello-1.0.0+5/tests/build/config.build
+save ../hello-gcc/libhello-1.0.0+11/build/config.build
+save ../hello-gcc/libhello-1.0.0+11/tests/build/config.build
+ b test
-c++ ../hello-gcc/libhello-1.0.0+5/libhello/cxx{hello}
-c++ hello/cxx{hello}@../hello-gcc/hello/hello/
-ld ../hello-gcc/libhello-1.0.0+5/libhello/libs{hello}
+version ../hello-gcc/libhello-1.0.0+11/libhello/in{version} -> ../hello-gcc/libhello-1.0.0+11/libhello/hxx{version}
+c++ ../hello-gcc/libhello-1.0.0+11/libhello/cxx{hello} -> ../hello-gcc/libhello-1.0.0+11/libhello/objs{hello}
+c++ hello/cxx{hello} -> ../hello-gcc/hello/hello/obje{hello}
+ld ../hello-gcc/libhello-1.0.0+11/libhello/libs{hello}
ld ../hello-gcc/hello/hello/exe{hello}
ln ../hello-gcc/hello/hello/exe{hello} -> hello/
-test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
+test ../hello-gcc/hello/hello/exe{hello} + hello/testscript{testscript}
+ bdep sync ?sys:libsqlite3
synchronizing:
- configure sys:libsqlite3/*
+ configure sys:libsqlite3/3.40.1 (required by hello)
upgrade hello/0.1.0-a.0.19700101000000#5
++ bdep new -t exe -l c++ hello
+created new executable project hello in /tmp/hello/
+
++ bdep init -C @gcc cc config.cxx=g++
+initializing in project /tmp/hello/
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
+synchronizing:
+ new hello/0.1.0-a.0.19700101000000
+
++ bdep init -C @clang cc config.cxx=clang++-16
+initializing in project /tmp/hello/
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
+synchronizing:
+ new hello/0.1.0-a.0.19700101000000
+
++ bdep config list
+@gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
+@clang /tmp/hello-clang/ 2 target auto-synchronized
+
++ b
+fetching pkg:cppget.org/alpha (prerequisite of dir:/tmp/hello)
+fetching pkg:cppget.org/beta (complements pkg:cppget.org/alpha)
+fetching pkg:cppget.org/testing (complements pkg:cppget.org/beta)
+fetching pkg:cppget.org/stable (complements pkg:cppget.org/testing)
+
+creating configuration of host type in /tmp/hello-host/ and associating it with project(s):
+ /tmp/hello/
+as if by executing command(s):
+ bdep config create -d /tmp/hello @host --type host --no-default --forward /tmp/hello-host cc config.config.load=~host
+while searching for configuration for build-time dependency xxd of package hello/0.1.0-a.0.19700101000000#1 [/tmp/hello-gcc/]
+while synchronizing configuration /tmp/hello-gcc/
+continue? [Y/n] y
+synchronizing /tmp/hello-gcc/:
+ new xxd/8.2.3075+1 [/tmp/hello-host/] (required by hello)
+ upgrade hello/0.1.0-a.0.19700101000000#1
+mkdir ../hello-gcc/hello/fsdir{hello/}
+c ../hello-host/xxd-8.2.3075+1/c{xxd} -> ../hello-host/xxd-8.2.3075+1/obje{xxd}
+ld ../hello-host/xxd-8.2.3075+1/exe{xxd}
+xxd hello/file{names.txt} -> ../hello-gcc/hello/hello/cxx{names}
+c++ ../hello-gcc/hello/hello/cxx{names} -> ../hello-gcc/hello/hello/obje{names}
+c++ hello/cxx{hello} -> ../hello-gcc/hello/hello/obje{hello}
+ld ../hello-gcc/hello/hello/exe{hello}
+ln ../hello-gcc/hello/hello/exe{hello} -> hello/
+test ../hello-gcc/hello/hello/exe{hello} + hello/testscript{testscript}
+
++ bdep config list
+@gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
+@clang /tmp/hello-clang/ 2 target auto-synchronized
+@host /tmp/hello-host/ 3 host forwarded,auto-synchronized
+
++ bdep update @clang
+fetching pkg:cppget.org/alpha (prerequisite of dir:/tmp/hello)
+fetching pkg:cppget.org/beta (complements pkg:cppget.org/alpha)
+fetching pkg:cppget.org/testing (complements pkg:cppget.org/beta)
+fetching pkg:cppget.org/stable (complements pkg:cppget.org/testing)
+synchronizing:
+ upgrade hello/0.1.0-a.0.19700101000000#1
+mkdir ../hello-clang/hello/fsdir{hello/}
+xxd hello/file{names.txt} -> ../hello-clang/hello/hello/cxx{names}
+c++ ../hello-clang/hello/hello/cxx{names} -> ../hello-clang/hello/hello/obje{names}
+c++ hello/cxx{hello} -> ../hello-clang/hello/hello/obje{hello}
+ld ../hello-clang/hello/hello/exe{hello}
+
++ b
+
+creating configuration of build2 type in /tmp/hello-build2/ and associating it with project(s):
+ /tmp/hello/
+as if by executing command(s):
+ bdep config create -d /tmp/hello @build2 --type build2 --no-default --forward /tmp/hello-build2 cc config.config.load=~build2
+while searching for configuration for build-time dependency libbuild2-hello of package hello/0.1.0-a.0.19700101000000#2 [/tmp/hello-gcc/]
+while synchronizing configuration /tmp/hello-gcc/
+continue? [Y/n] y
+synchronizing /tmp/hello-gcc/:
+ new libbuild2-hello/0.1.0 [/tmp/hello-build2/] (required by hello [/tmp/hello-clang/], hello [/tmp/hello-gcc/])
+ upgrade hello/0.1.0-a.0.19700101000000#2 [/tmp/hello-gcc/]
+ upgrade hello/0.1.0-a.0.19700101000000#2 [/tmp/hello-clang/]
+c++ ../hello-build2/libbuild2-hello-0.1.0/libbuild2/hello/cxx{init} -> ../hello-build2/libbuild2-hello-0.1.0/libbuild2/hello/objs{init}
+ld ../hello-build2/libbuild2-hello-0.1.0/libbuild2/hello/libs{build2-hello}
+hello/buildfile:10:7: info: module hello initialized
+hello/buildfile:10:7: info: module hello initialized
+hello/buildfile:10:7: info: module hello initialized
+ info: while applying rule build.alias to update ../hello-gcc/dir{hello/}
+info: ../hello-gcc/dir{hello/} is up to date
+
++ bdep config list
+@gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
+@build2 /tmp/hello-build2/ 4 build2 forwarded,auto-synchronized
+@clang /tmp/hello-clang/ 2 target auto-synchronized
+@host /tmp/hello-host/ 3 host forwarded,auto-synchronized
+
++ bdep update @clang
+hello/buildfile:10:7: info: module hello initialized
+ info: while applying rule build.alias to update ../hello-clang/dir{hello/}
+info: ../hello-clang/dir{hello/} is up to date
+
++ bdep new -t exe -l c++ hello
+created new executable project hello in /tmp/hello/
+
++ bdep config create ../hello-base @base --no-default cc config.cxx=g++
+created configuration @base /tmp/hello-base/ 1 target auto-synchronized
+
++ bdep config create ../hello-gcc @gcc --default cc config.cxx=g++
+created configuration @gcc /tmp/hello-gcc/ 2 target default,forwarded,auto-synchronized
+
++ bdep config create ../hello-clang @clang cc config.cxx=clang++-16
+created configuration @clang /tmp/hello-clang/ 3 target auto-synchronized
+
++ bdep config link @gcc @base
+linked configuration @gcc (target) with configuration @base (target)
+
++ bdep config link @clang @base
+linked configuration @clang (target) with configuration @base (target)
+
++ bdep init @gcc { @base }+ ?libhello
+initializing in project /tmp/hello/
+fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
+synchronizing:
+ new libhello/1.0.0+11 [/tmp/hello-base/] (required by hello)
+ new hello/0.1.0-a.0.19700101000000
+
++ bdep init @clang
+initializing in project /tmp/hello/
+fetching pkg:stage.build2.org (prerequisite of dir:/tmp/hello)
+synchronizing:
+ new hello/0.1.0-a.0.19700101000000 [/tmp/hello-clang/]
+
++ bdep update @gcc
+version ../hello-base/libhello-1.0.0+11/libhello/in{version} -> ../hello-base/libhello-1.0.0+11/libhello/hxx{version}
+mkdir ../hello-gcc/hello/fsdir{hello/}
+c++ ../hello-base/libhello-1.0.0+11/libhello/cxx{hello} -> ../hello-base/libhello-1.0.0+11/libhello/objs{hello}
+c++ hello/cxx{hello} -> ../hello-gcc/hello/hello/obje{hello}
+ld ../hello-base/libhello-1.0.0+11/libhello/libs{hello}
+ld ../hello-gcc/hello/hello/exe{hello}
+ln ../hello-gcc/hello/hello/exe{hello} -> hello/
+
++ bdep update @clang
+mkdir ../hello-clang/hello/fsdir{hello/}
+c++ hello/cxx{hello} -> ../hello-clang/hello/hello/obje{hello}
+ld ../hello-clang/hello/hello/exe{hello}
+
+ bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=g++
created new executable project hello in /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
To github.com:boris-kolpackov/hello.git
@@ -503,8 +622,9 @@ To github.com:boris-kolpackov/hello.git
- [deleted] v0.1.0-a.1
To github.com:boris-kolpackov/hello.git
- [deleted] v0.1.0
-[master (root-commit) e92103a] Initial implementation
- 12 files changed, 107 insertions(+)
+[master (root-commit) ba9d966] Initial implementation
+ 13 files changed, 143 insertions(+)
+ create mode 100644 .gitattributes
create mode 100644 .gitignore
create mode 100644 README.md
create mode 100644 build/.gitignore
@@ -518,35 +638,36 @@ To github.com:boris-kolpackov/hello.git
create mode 100644 manifest
create mode 100644 repositories.manifest
To github.com:boris-kolpackov/hello.git
- + 83b57ed...e92103a master -> master (forced update)
-Branch 'master' set up to track remote branch 'master' from 'origin'.
+ + 014a3ac...ba9d966 master -> master (forced update)
+branch 'master' set up to track 'origin/master'.
+ bdep status
-hello configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.20191118060910.e92103a6ea2d
+hello configured 0.1.0-a.0.19700101000000 available 0.1.0-a.0.20230628100234.ba9d966a610f
+ b info
project: hello
-version: 0.1.0-a.0.20191118060910.e92103a6ea2d
+version: 0.1.0-a.0.20230628100234.ba9d966a610f
summary: hello C++ executable
url: https://example.org/hello
-src_root: /tmp/hello/
-out_root: /tmp/hello-gcc/hello/
-amalgamation: ../
-subprojects:
+src_root: /tmp/hello
+out_root: /tmp/hello-gcc/hello
+amalgamation: ..
+subprojects:
operations: update clean test update-for-test install uninstall update-for-install
meta-operations: perform configure disfigure dist info
+modules: version config test install dist
+ bdep sync
synchronizing:
- upgrade hello/0.1.0-a.0.20191118060910.e92103a6ea2d
+ upgrade hello/0.1.0-a.0.20230628100234.ba9d966a610f
+ bdep status
-hello configured 0.1.0-a.0.20191118060910.e92103a6ea2d
-[master f720ebb] Another commit
+hello configured 0.1.0-a.0.20230628100234.ba9d966a610f
+[master be5bffa] Another commit
1 file changed, 1 insertion(+)
+ bdep status
-hello configured 0.1.0-a.0.20191118060910.e92103a6ea2d available 0.1.0-a.0.20191118060914.f720ebb7ae8e
+hello configured 0.1.0-a.0.20230628100234.ba9d966a610f available 0.1.0-a.0.20230628100238.be5bffafe2fe
+ bdep release --alpha --push
releasing:
@@ -557,11 +678,11 @@ releasing:
commit: yes
tag: v0.1.0-a.1
push: origin/master
-continue? [y/n] [master b7765c6] Release version 0.1.0-a.1
+continue? [y/n] y
+[master ed894b0] Release version 0.1.0-a.1
1 file changed, 1 insertion(+), 1 deletion(-)
-[master 0833250] Change version to 0.1.0-a.1.z
+[master 2bd66ae] Change version to 0.1.0-a.1.z
1 file changed, 1 insertion(+), 1 deletion(-)
-pushing branch master, tag v0.1.0-a.1
+ bdep release --no-open --push
releasing:
@@ -571,15 +692,15 @@ releasing:
commit: yes
tag: v0.1.0
push: origin/master
-continue? [y/n] [master 0fadfca] Release version 0.1.0
+continue? [y/n] y
+[master 2cc1068] Release version 0.1.0
1 file changed, 1 insertion(+), 1 deletion(-)
-pushing branch master, tag v0.1.0
-+ bdep publish --simulate success
++ bdep publish --simulate success --repository https://stage.build2.org
synchronizing:
upgrade hello/0.1.0
publishing:
- to: https://cppget.org
+ to: https://stage.build2.org
as: Boris Kolpackov <boris@codesynthesis.com>
package: hello
version: 0.1.0
@@ -587,18 +708,13 @@ publishing:
section: alpha
control: https://github.com/boris-kolpackov/hello.git
warning: publishing using staged build2 toolchain
-continue? [y/n] pushing branch build2-control
+continue? [y/n] y
remote:
-remote: Create a pull request for 'build2-control' on GitHub by visiting:
-remote: https://github.com/boris-kolpackov/hello/pull/new/build2-control
+remote: Create a pull request for 'build2-control' on GitHub by visiting:
+remote: https://github.com/boris-kolpackov/hello/pull/new/build2-control
remote:
-Branch 'build2-control' set up to track remote branch 'build2-control' from 'origin'.
-submitting hello-0.1.0.tar.gz
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 1947 0 0 100 1947 0 876 0:00:02 0:00:02 --:--:-- 876 100 2063 100 116 100 1947 50 853 0:00:02 0:00:02 --:--:-- 853
-package submission is queued: https://queue.cppget.org/hello/0.1.0
-reference: 2f3bfe0b35f3
+package submission is queued: https://queue.stage.build2.org/hello/0.1.0
+reference: 75d918f69585
+ bdep release --open --push
opening:
@@ -607,36 +723,63 @@ opening:
open: 0.2.0-a.0.z
commit: yes
push: origin/master
-continue? [y/n] [master d8fce33] Change version to 0.2.0-a.0.z
+continue? [y/n] y
+[master 1b709b0] Change version to 0.2.0-a.0.z
1 file changed, 1 insertion(+), 1 deletion(-)
-pushing branch master
+ bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=g++
created new executable project hello in /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
-+ bdep init -C ../hello-clang @clang cc config.cxx=clang++-5.0
++ bdep init -C ../hello-clang @clang cc config.cxx=clang++-16
initializing in project /tmp/hello/
-created configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ bdep new -t lib -l c++ libhello
created new library project libhello in /tmp/libhello/
++ tree libhello
+libhello
+├── build
+│   ├── bootstrap.build
+│   ├── export.build
+│   └── root.build
+├── buildfile
+├── libhello
+│   ├── buildfile
+│   ├── export.hxx
+│   ├── hello.cxx
+│   ├── hello.hxx
+│   └── version.hxx.in
+├── manifest
+├── README.md
+├── repositories.manifest
+└── tests
+ ├── basics
+ │   ├── buildfile
+ │   └── driver.cxx
+ ├── build
+ │   ├── bootstrap.build
+ │   └── root.build
+ └── buildfile
+
+6 directories, 17 files
+
+ cd libhello
+ bdep init -A ../hello-gcc @gcc
initializing in project /tmp/libhello/
-added configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+added configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new libhello/0.1.0-a.0.19700101000000
+ bdep init -A ../hello-clang @clang
initializing in project /tmp/libhello/
-added configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+added configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new libhello/0.1.0-a.0.19700101000000
@@ -646,29 +789,31 @@ synchronizing:
synchronizing:
upgrade hello/0.1.0-a.0.19700101000000#1
mkdir ../hello-gcc/libhello/fsdir{libhello/}
+version ../libhello/libhello/in{version} -> ../hello-gcc/libhello/libhello/hxx{version}
mkdir ../hello-gcc/hello/fsdir{hello/}
mkdir ../hello-gcc/libhello/tests/fsdir{basics/}
-version.in ../libhello/libhello/version.hxx.in
-c++ hello/cxx{hello}@../hello-gcc/hello/hello/
-c++ ../libhello/libhello/cxx{hello}@../hello-gcc/libhello/libhello/
-c++ ../libhello/tests/basics/cxx{driver}@../hello-gcc/libhello/tests/basics/
+c++ ../libhello/tests/basics/cxx{driver} -> ../hello-gcc/libhello/tests/basics/obje{driver}
+c++ ../libhello/libhello/cxx{hello} -> ../hello-gcc/libhello/libhello/objs{hello}
+c++ hello/cxx{hello} -> ../hello-gcc/hello/hello/obje{hello}
ld ../hello-gcc/libhello/libhello/libs{hello}
ld ../hello-gcc/hello/hello/exe{hello}
ld ../hello-gcc/libhello/tests/basics/exe{driver}
-test hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
+ln ../hello-gcc/hello/hello/exe{hello} -> hello/
+ln ../hello-gcc/libhello/tests/basics/exe{driver} -> ../libhello/tests/basics/
test ../hello-gcc/libhello/tests/basics/exe{driver}
+test ../hello-gcc/hello/hello/exe{hello} + hello/testscript{testscript}
+ bdep new -C hello-gcc @gcc -t exe -l c++ hello cc config.cxx=g++
created new executable project hello in /tmp/hello/
-created configuration @gcc /tmp/hello-gcc/ 1 default,forwarded,auto-synchronized
+created configuration @gcc /tmp/hello-gcc/ 1 target default,forwarded,auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
+ cd hello
-+ bdep init -C ../hello-clang @clang cc config.cxx=clang++-5.0
++ bdep init -C ../hello-clang @clang cc config.cxx=clang++-16
initializing in project /tmp/hello/
-created configuration @clang /tmp/hello-clang/ 2 auto-synchronized
+created configuration @clang /tmp/hello-clang/ 2 target auto-synchronized
synchronizing:
new hello/0.1.0-a.0.19700101000000
@@ -699,99 +844,96 @@ synchronizing:
synchronizing:
upgrade hello/0.1.0-a.0.19700101000000#2
mkdir ../hello-gcc/libhello/fsdir{libhello/}
-mkdir ../hello-gcc/libhello/tests/fsdir{basics/}
+version libhello/libhello/in{version} -> ../hello-gcc/libhello/libhello/hxx{version}
mkdir ../hello-gcc/hello/fsdir{hello/}
-version.in libhello/libhello/version.hxx.in
-c++ hello/hello/cxx{hello}@../hello-gcc/hello/hello/
-c++ libhello/libhello/cxx{hello}@../hello-gcc/libhello/libhello/
-c++ libhello/tests/basics/cxx{driver}@../hello-gcc/libhello/tests/basics/
+mkdir ../hello-gcc/libhello/tests/fsdir{basics/}
+c++ hello/hello/cxx{hello} -> ../hello-gcc/hello/hello/obje{hello}
+c++ libhello/libhello/cxx{hello} -> ../hello-gcc/libhello/libhello/objs{hello}
+c++ libhello/tests/basics/cxx{driver} -> ../hello-gcc/libhello/tests/basics/obje{driver}
ld ../hello-gcc/libhello/libhello/libs{hello}
-ld ../hello-gcc/libhello/tests/basics/exe{driver}
ld ../hello-gcc/hello/hello/exe{hello}
+ld ../hello-gcc/libhello/tests/basics/exe{driver}
+ln ../hello-gcc/hello/hello/exe{hello} -> hello/hello/
+ln ../hello-gcc/libhello/tests/basics/exe{driver} -> libhello/tests/basics/
+test ../hello-gcc/hello/hello/exe{hello} + hello/hello/testscript{testscript}
test ../hello-gcc/libhello/tests/basics/exe{driver}
-test hello/hello/testscript{testscript}@../hello-gcc/hello/hello/ ../hello-gcc/hello/hello/exe{hello}
+ bpkg create -d tools cc config.cxx=g++ config.cc.coptions=-O3 config.install.root=/opt/tools config.install.sudo=sudo config.bin.rpath=/opt/tools/lib
created new configuration in /tmp/tools/
+ uuid: c835ee18-540c-40ca-a727-977c2cb1fd2d
+ type: target
+ cd tools
+ bpkg build hello@https://git.build2.org/hello/hello.git
added git:build2.org/hello/hello
fetching git:build2.org/hello/hello
-querying https://git.build2.org/hello/hello.git
-fetching from https://git.build2.org/hello/hello.git
fetching git:build2.org/hello/libhello (prerequisite of git:build2.org/hello/hello)
-querying https://git.build2.org/hello/libhello.git
-fetching from https://git.build2.org/hello/libhello.git
fetching git:build2.org/hello/libformat##HEAD (prerequisite of git:build2.org/hello/libhello)
-querying https://git.build2.org/hello/libformat.git
-fetching from https://git.build2.org/hello/libformat.git
fetching git:build2.org/hello/libprint##HEAD (prerequisite of git:build2.org/hello/libhello)
-querying https://git.build2.org/hello/libprint.git
-fetching from https://git.build2.org/hello/libprint.git
- new libformat/1.0.0+5 (required by libhello)
- new libprint/1.0.0+5 (required by libhello)
- new libhello/1.1.0+5 (required by hello)
- new hello/1.0.0+4
-continue? [Y/n] distributing libformat/1.0.0+5
-checked out libformat/1.0.0+5
-configured libformat/1.0.0+5
-distributing libprint/1.0.0+5
-checked out libprint/1.0.0+5
-configured libprint/1.0.0+5
-distributing libhello/1.1.0+5
-checked out libhello/1.1.0+5
-configured libhello/1.1.0+5
-distributing hello/1.0.0+4
-checked out hello/1.0.0+4
-configured hello/1.0.0+4
-version.in libhello-1.1.0+5/libhello/version.hxx.in
-version.in libprint-1.0.0+5/libprint/version.hxx.in
-version.in libformat-1.0.0+5/libformat/version.hxx.in
-c++ libprint-1.0.0+5/libprint/cxx{print}
-c++ libhello-1.1.0+5/libhello/cxx{hello}
-c++ hello-1.0.0+4/hello/cxx{hello}
-c++ libformat-1.0.0+5/libformat/cxx{format}
-ld libprint-1.0.0+5/libprint/libs{print}
-ld libformat-1.0.0+5/libformat/libs{format}
-ld libhello-1.1.0+5/libhello/libs{hello}
-ld hello-1.0.0+4/hello/exe{hello}
-updated hello/1.0.0+4
+ new libformat/1.0.0+11 (required by libhello)
+ new libprint/1.0.0+11 (required by libhello)
+ new libhello/1.1.0+11 (required by hello)
+ new hello/1.0.0+10
+continue? [Y/n] y
+checked out libformat/1.0.0+11
+checked out libprint/1.0.0+11
+checked out libhello/1.1.0+11
+checked out hello/1.0.0+10
+configured libformat/1.0.0+11
+configured libprint/1.0.0+11
+configured libhello/1.1.0+11
+configured hello/1.0.0+10
+version libprint-1.0.0+11/libprint/in{version} -> libprint-1.0.0+11/libprint/hxx{version}
+version libformat-1.0.0+11/libformat/in{version} -> libformat-1.0.0+11/libformat/hxx{version}
+version libhello-1.1.0+11/libhello/in{version} -> libhello-1.1.0+11/libhello/hxx{version}
+c++ libprint-1.0.0+11/libprint/cxx{print} -> libprint-1.0.0+11/libprint/objs{print}
+c++ libformat-1.0.0+11/libformat/cxx{format} -> libformat-1.0.0+11/libformat/objs{format}
+c++ libhello-1.1.0+11/libhello/cxx{hello} -> libhello-1.1.0+11/libhello/objs{hello}
+c++ hello-1.0.0+10/hello/cxx{hello} -> hello-1.0.0+10/hello/obje{hello}
+ld libprint-1.0.0+11/libprint/libs{print}
+ld libformat-1.0.0+11/libformat/libs{format}
+ld libhello-1.1.0+11/libhello/libs{hello}
+ld hello-1.0.0+10/hello/exe{hello}
+updated hello/1.0.0+10
+ bpkg install hello
-ld libhello-1.1.0+5/libhello/libs{hello}
-ld hello-1.0.0+4/hello/exe{hello}
-install /opt/tools/
-install /opt/tools/include/
-install /opt/tools/include/libhello/
-install libhello-1.1.0+5/libhello/hxx{export}
-install libhello-1.1.0+5/libhello/hxx{hello}
-install /opt/tools/share/
-install /opt/tools/share/doc/
-install /opt/tools/share/doc/libhello/
-install libhello-1.1.0+5/manifest{manifest}
-install libhello-1.1.0+5/libhello/hxx{version}
-install /opt/tools/include/libprint/
-install libprint-1.0.0+5/libprint/hxx{print}
-install libprint-1.0.0+5/libprint/hxx{export}
-install /opt/tools/share/doc/libprint/
-install libprint-1.0.0+5/manifest{manifest}
-install libprint-1.0.0+5/libprint/hxx{version}
-install libprint-1.0.0+5/libprint/libs{print}
-install /opt/tools/include/libformat/
-install libformat-1.0.0+5/libformat/hxx{export}
-install libformat-1.0.0+5/libformat/hxx{format}
-install /opt/tools/share/doc/libformat/
-install libformat-1.0.0+5/manifest{manifest}
-install libformat-1.0.0+5/libformat/hxx{version}
-install libformat-1.0.0+5/libformat/libs{format}
-install libhello-1.1.0+5/libhello/libs{hello}
-install /opt/tools/bin/
-install hello-1.0.0+4/hello/exe{hello}
-install /opt/tools/share/doc/hello/
-install hello-1.0.0+4/manifest{manifest}
-installed hello/1.0.0+4
+pc libformat-1.0.0+11/libformat/libs{format} -> libformat-1.0.0+11/libformat/pcs{format}
+pc libprint-1.0.0+11/libprint/libs{print} -> libprint-1.0.0+11/libprint/pcs{print}
+pc libhello-1.1.0+11/libhello/libs{hello} -> libhello-1.1.0+11/libhello/pcs{hello}
+ld libhello-1.1.0+11/libhello/libs{hello}
+ld hello-1.0.0+10/hello/exe{hello}
+install -d /opt/tools/
+install -d /opt/tools/include/
+install -d /opt/tools/include/libhello/
+install libhello-1.1.0+11/libhello/hxx{export} -> /opt/tools/include/libhello/
+install libhello-1.1.0+11/libhello/hxx{hello} -> /opt/tools/include/libhello/
+install -d /opt/tools/share/
+install -d /opt/tools/share/doc/
+install -d /opt/tools/share/doc/libhello/
+install libhello-1.1.0+11/manifest{manifest} -> /opt/tools/share/doc/libhello/
+install libhello-1.1.0+11/libhello/hxx{version} -> /opt/tools/include/libhello/
+install -d /opt/tools/include/libprint/
+install libprint-1.0.0+11/libprint/hxx{export} -> /opt/tools/include/libprint/
+install libprint-1.0.0+11/libprint/hxx{print} -> /opt/tools/include/libprint/
+install -d /opt/tools/share/doc/libprint/
+install libprint-1.0.0+11/manifest{manifest} -> /opt/tools/share/doc/libprint/
+install libprint-1.0.0+11/libprint/hxx{version} -> /opt/tools/include/libprint/
+install libprint-1.0.0+11/libprint/libs{print} -> /opt/tools/lib/
+install -d /opt/tools/include/libformat/
+install libformat-1.0.0+11/libformat/hxx{export} -> /opt/tools/include/libformat/
+install libformat-1.0.0+11/libformat/hxx{format} -> /opt/tools/include/libformat/
+install -d /opt/tools/share/doc/libformat/
+install libformat-1.0.0+11/manifest{manifest} -> /opt/tools/share/doc/libformat/
+install libformat-1.0.0+11/libformat/hxx{version} -> /opt/tools/include/libformat/
+install libformat-1.0.0+11/libformat/libs{format} -> /opt/tools/lib/
+install libhello-1.1.0+11/libhello/libs{hello} -> /opt/tools/lib/
+install -d /opt/tools/bin/
+install hello-1.0.0+10/hello/exe{hello} -> /opt/tools/bin/
+install -d /opt/tools/share/doc/hello/
+install hello-1.0.0+10/doc{README.md} -> /opt/tools/share/doc/hello/
+install hello-1.0.0+10/manifest{manifest} -> /opt/tools/share/doc/hello/
+installed hello/1.0.0+10
+ /opt/tools/bin/hello World
Hello, World!
@@ -827,7 +969,8 @@ Hello, World!
└── share
└── doc
├── hello
- │   └── manifest
+ │   ├── manifest
+ │   └── README.md
├── libformat
│   └── manifest
├── libhello
@@ -835,50 +978,53 @@ Hello, World!
└── libprint
└── manifest
-13 directories, 23 files
+14 directories, 24 files
+ bpkg uninstall hello
-uninstall hello-1.0.0+4/manifest{manifest}
-uninstall /opt/tools/share/doc/hello/
-uninstall hello-1.0.0+4/hello/exe{hello}
-uninstall /opt/tools/bin/
-uninstall libhello-1.1.0+5/libhello/libs{hello}
-uninstall libformat-1.0.0+5/libformat/libs{format}
-uninstall libformat-1.0.0+5/libformat/hxx{version}
-uninstall libformat-1.0.0+5/manifest{manifest}
-uninstall /opt/tools/share/doc/libformat/
-uninstall libformat-1.0.0+5/libformat/hxx{format}
-uninstall libformat-1.0.0+5/libformat/hxx{export}
-uninstall /opt/tools/include/libformat/
-uninstall libprint-1.0.0+5/libprint/libs{print}
-uninstall libprint-1.0.0+5/libprint/hxx{version}
-uninstall libprint-1.0.0+5/manifest{manifest}
-uninstall /opt/tools/share/doc/libprint/
-uninstall libprint-1.0.0+5/libprint/hxx{export}
-uninstall libprint-1.0.0+5/libprint/hxx{print}
-uninstall /opt/tools/include/libprint/
-uninstall libhello-1.1.0+5/libhello/hxx{version}
-uninstall libhello-1.1.0+5/manifest{manifest}
-uninstall /opt/tools/share/doc/libhello/
-uninstall /opt/tools/share/doc/
-uninstall /opt/tools/share/
-uninstall libhello-1.1.0+5/libhello/hxx{hello}
-uninstall libhello-1.1.0+5/libhello/hxx{export}
-uninstall /opt/tools/include/libhello/
-uninstall /opt/tools/include/
-uninstall /opt/tools/
-uninstalled hello/1.0.0+4
+uninstall hello-1.0.0+10/manifest{manifest} <- /opt/tools/share/doc/hello/
+uninstall hello-1.0.0+10/doc{README.md} <- /opt/tools/share/doc/hello/
+uninstall -d /opt/tools/share/doc/hello/
+uninstall hello-1.0.0+10/hello/exe{hello} <- /opt/tools/bin/
+uninstall -d /opt/tools/bin/
+uninstall libhello-1.1.0+11/libhello/libs{hello} <- /opt/tools/lib/
+uninstall libformat-1.0.0+11/libformat/libs{format} <- /opt/tools/lib/
+uninstall libformat-1.0.0+11/libformat/hxx{version} <- /opt/tools/include/libformat/
+uninstall libformat-1.0.0+11/manifest{manifest} <- /opt/tools/share/doc/libformat/
+uninstall -d /opt/tools/share/doc/libformat/
+uninstall libformat-1.0.0+11/libformat/hxx{format} <- /opt/tools/include/libformat/
+uninstall libformat-1.0.0+11/libformat/hxx{export} <- /opt/tools/include/libformat/
+uninstall -d /opt/tools/include/libformat/
+uninstall libprint-1.0.0+11/libprint/libs{print} <- /opt/tools/lib/
+uninstall libprint-1.0.0+11/libprint/hxx{version} <- /opt/tools/include/libprint/
+uninstall libprint-1.0.0+11/manifest{manifest} <- /opt/tools/share/doc/libprint/
+uninstall -d /opt/tools/share/doc/libprint/
+uninstall libprint-1.0.0+11/libprint/hxx{print} <- /opt/tools/include/libprint/
+uninstall libprint-1.0.0+11/libprint/hxx{export} <- /opt/tools/include/libprint/
+uninstall -d /opt/tools/include/libprint/
+uninstall libhello-1.1.0+11/libhello/hxx{version} <- /opt/tools/include/libhello/
+uninstall libhello-1.1.0+11/manifest{manifest} <- /opt/tools/share/doc/libhello/
+uninstall -d /opt/tools/share/doc/libhello/
+uninstall -d /opt/tools/share/doc/
+uninstall -d /opt/tools/share/
+uninstall libhello-1.1.0+11/libhello/hxx{hello} <- /opt/tools/include/libhello/
+uninstall libhello-1.1.0+11/libhello/hxx{export} <- /opt/tools/include/libhello/
+uninstall -d /opt/tools/include/libhello/
+uninstall -d /opt/tools/include/
+uninstall -d /opt/tools/
+uninstalled hello/1.0.0+10
+ bpkg drop hello
following dependencies were automatically built but will no longer be used:
libhello
libformat
libprint
-drop unused packages? [Y/n] drop hello
+drop unused packages? [Y/n] y
+ drop hello
drop libhello
drop libformat
drop libprint
-continue? [Y/n] disfigured hello
+continue? [Y/n] y
+disfigured hello
disfigured libhello
disfigured libformat
disfigured libprint
@@ -886,3 +1032,5 @@ purged hello
purged libhello
purged libformat
purged libprint
+
+Script done on 2023-06-28 12:03:39+02:00 [COMMAND_EXIT_CODE="0"]