<div dir="ltr">Hi !<div><br></div><div>First of all: I've been using build2 for a couple of days now, and it's been a blast. It's got a steep learning curve, but the results are worth it.</div><div><br></div><div>Right now, I'm having trouble getting a bpkg configured directory to act as a repository, and I was looking for some help.<br></div><div><br></div><div>## Scenario</div><div>I've got a library called libmy. I created a build directory for it using bpkg create. From there, I can run `bpkg build libmy`, and when I run `bpkg status libmy`, it tells me that it is "configured".</div><div><br></div><div>I want this directory to be used as a repository for another package. From what I've read in the manuals, I'm guessing that to achieve that, `bpkg status libmy` should tell me that libmy is "available", rather than "configured".</div><div><br></div><div>How do I get to that state ?</div><div><br></div><div>## Attempting to link libmy with `bpkg add --type dir`</div><div>I tried running `bpkg add [directory] --type dir` on the dependent package. The `bpkg add` command succeeds, but:</div><div>- When I do `bpkg build [package]`, it tells me it cannot satisfy libmy dependency.</div><div>- When I do `bpkg fetch`, it tells me there are no "manifest file for package in repository dir+[directory]"</div><div>I assume this happens precisely because libmy is just configured, and making it available will generate the manifest and fix all my issues, right ?</div><div><br></div><div>## Attempting to link libmy from the system:</div><div>I've also tried installing libmy on my system. I ran a `bpkg install`, before checking that `pkg-config libmy` was exiting with success status.</div><div>Then I tried running `bpkg build [package] ?sys:libmy`. It failed, telling me that the `sys:libmy` package is unknown.</div><div><br></div><div>## `bpkg add --type pkg` ?</div><div>I've also noticed there was a `--type pkg` option for `bpkg add`, but I've found little to no details about it. Is it pkg-config based ? Any documentation as to how it works ?</div><div><br></div><div>Hopefully someone will read this and provide me with some guidance ! Thanks for reading !</div><div><br></div><div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><b>Michaël Martín Moro</b><br></div></div></div></div>