<div dir="ltr"><div><span style="font-size:12.8px">(re-posted without the embedded zip)</span></div><span style="font-size:12.8px"><div><span style="font-size:12.8px"><br></span></div>I'm still trying several scenarios, see how build2 behave so far.</span><div style="font-size:12.8px">I wanted to have 2 local projects (see below), one "lol" depends on the other "kikoo",</div><div style="font-size:12.8px">and "kikoo" depends on libhello from the tutorial.</div><div style="font-size:12.8px">Both are local sources projects so they are not put in the build/config directory as packages</div><div style="font-size:12.8px">(I'm using the "shortcut" explained in the tutorial).<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I wrote a script that reproduce the issue I have: building lol will not find kikoo which</div><div style="font-size:12.8px">is a requirement of lol. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm not sure why this happen or if this is a bug or not. Is there a step missing for this to work?</div><div style="font-size:12.8px">I thought I followed the way it was explained in the tutorial but I might be missing</div><div style="font-size:12.8px">some understanding.</div><div style="font-size:12.8px">The weird part is that kikoo have a correct status, so I don't understand why it's unknown when</div><div style="font-size:12.8px">building lol. </div><div style="font-size:12.8px"><br></div><div><span style="font-size:12.8px">The sources: <a href="http://klaimsden.net/temp/jlamotte-build2-experiments-fail.zip">http://klaimsden.net/temp/jlamotte-build2-experiments-fail.zip</a></span><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Here is the log output I have with the script/commands, the issue is on the last command:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>G:\perso\experiments>call setup_config_dir.bat</div><div><br></div><div>G:\perso\experiments>bpkg --version</div><div>bpkg 0.7.0-a.0.dc5296af63000cdd</div><div>libbpkg 0.7.0-a.0.a54a89072f6cfb6d</div><div>libbutl 0.7.0-a.0.b1cd193f1bd28837</div><div>Copyright (c) 2014-2017 Code Synthesis Ltd</div><div>This is free software released under the MIT license.</div><div><br></div><div>G:\perso\experiments>b --version</div><div>build2 0.7.0-a.0.f9d759160eef1ca8</div><div>libbutl 0.7.0-a.0.b1cd193f1bd28837</div><div>host x86_64-microsoft-win32-msvc14.<wbr>1</div><div>Copyright (c) 2014-2017 Code Synthesis Ltd</div><div>This is free software released under the MIT license.</div><div><br></div><div>G:\perso\experiments>mkdir config-weird-dependencies</div><div><br></div><div>G:\perso\experiments>pushd config-weird-dependencies</div><div><br></div><div>G:\perso\experiments\config-we<wbr>ird-dependencies>bpkg create cxx config.cxx=cl</div><div>created new configuration in G:\perso\experiments\config-we<wbr>ird-dependencies\</div><div><br></div><div>G:\perso\experiments\config-we<wbr>ird-dependencies>bpkg add <a href="https://build2.org/pkg/1/hello/stable" target="_blank">https://build2.org/pkg/1/hello<wbr>/stable</a></div><div>added repository <a href="http://build2.org/hello/stable" target="_blank">build2.org/hello/stable</a></div><div><br></div><div>G:\perso\experiments\config-we<wbr>ird-dependencies>bpkg add <a href="https://build2.org/pkg/1/hello/testing" target="_blank">https://build2.org/pkg/1/hello<wbr>/testing</a></div><div>added repository <a href="http://build2.org/hello/testing" target="_blank">build2.org/hello/testing</a></div><div><br></div><div>G:\perso\experiments\config-we<wbr>ird-dependencies>bpkg fetch</div><div>fetching <a href="http://build2.org/hello/stable" target="_blank">build2.org/hello/stable</a></div><div>warning: authenticity of the certificate for repository <a href="http://build2.org/hello/stable" target="_blank">build2.org/hello/stable</a> cannot be established</div><div>certificate is for <a href="http://build2.org/" target="_blank">build2.org</a>, "Code Synthesis" <<a href="mailto:admin@build2.org" target="_blank">admin@build2.org</a>></div><div>certificate SHA256 fingerprint:</div><div>FF:DF:7D:38:67:4E:C3:82:65:7E:<wbr>EE:1F:D4:80:EC:56:C4:33:5B:65:<wbr>3F:9B:29:9A:30:56:B9:77:B9:F2:<wbr>01:94</div><div>trust this certificate? [y/n] y</div><div>fetching <a href="http://build2.org/hello/testing" target="_blank">build2.org/hello/testing</a></div><div>11 package(s) in 2 repository(s)</div><div><br></div><div>G:\perso\experiments\config-we<wbr>ird-dependencies>popd</div><div><br></div><div>G:\perso\experiments>bpkg build ./kikoo/ -d ./config-weird-dependencies/</div><div>  build libformat/1.0.0 (required by libhello)</div><div>  build libprint/1.0.0 (required by libhello)</div><div>  build libhello/1.1.0 (required by kikoo)</div><div>  build kikoo/0.1.0</div><div>continue? [Y/n] y</div><div>libformat-1.0.0.tar.gz:</div><div>##############################<wbr>##############################<wbr>############ 100.0%</div><div>fetched libformat/1.0.0</div><div>unpacked libformat/1.0.0</div><div>libprint-1.0.0.tar.gz:</div><div>##############################<wbr>##############################<wbr>############ 100.0%</div><div>fetched libprint/1.0.0</div><div>unpacked libprint/1.0.0</div><div>libhello-1.1.0.tar.gz:</div><div>##############################<wbr>##############################<wbr>############ 100.0%</div><div>fetched libhello/1.1.0</div><div>unpacked libhello/1.1.0</div><div>unpacked kikoo/0.1.0</div><div>configured libformat/1.0.0</div><div>configured libprint/1.0.0</div><div>configured libhello/1.1.0</div><div>configured kikoo/0.1.0</div><div>c++ kikoo\cxx{kikoo}@config-weird-<wbr>dependencies\kikoo-0.1.0\</div><div>c++ config-weird-dependencies\libh<wbr>ello-1.1.0\libhello\cxx{hello}</div><div>c++ config-weird-dependencies\libh<wbr>ello-1.1.0\libhello\cxx{hello}</div><div>c++ config-weird-dependencies\libp<wbr>rint-1.0.0\libprint\cxx{print}</div><div>c++ config-weird-dependencies\libf<wbr>ormat-1.0.0\libformat\cxx{form<wbr>at}</div><div>c++ kikoo\cxx{kikoo}@config-weird-<wbr>dependencies\kikoo-0.1.0\</div><div>c++ config-weird-dependencies\libf<wbr>ormat-1.0.0\libformat\cxx{form<wbr>at}</div><div>c++ config-weird-dependencies\libp<wbr>rint-1.0.0\libprint\cxx{print}</div><div>ld config-weird-dependencies\libp<wbr>rint-1.0.0\libprint\liba{print<wbr>}</div><div>ld config-weird-dependencies\libf<wbr>ormat-1.0.0\libformat\libs{<wbr>format}</div><div>ld config-weird-dependencies\libf<wbr>ormat-1.0.0\libformat\liba{<wbr>format}</div><div>ld config-weird-dependencies\libp<wbr>rint-1.0.0\libprint\libs{print<wbr>}</div><div>ld config-weird-dependencies\libh<wbr>ello-1.1.0\libhello\liba{hello<wbr>}</div><div>ld config-weird-dependencies\libh<wbr>ello-1.1.0\libhello\libs{hello<wbr>}</div><div>ld config-weird-dependencies\kiko<wbr>o-0.1.0\liba{kikoo}</div><div>ld config-weird-dependencies\kiko<wbr>o-0.1.0\libs{kikoo}</div><div>updated kikoo/0.1.0</div><div><br></div><div>G:\perso\experiments>bpkg build ./lol/ -d ./config-weird-dependencies/</div><div>error: unknown prerequisite kikoo >= 0.1.0 of package lol</div><div>info: while satisfying lol/0.1.0</div></div></div>