During compilation, pkg-config is invoked by the podman build on gpgme. If it is missing, building will fail. Per the definition of BDEPEND, while gpgme is not executed during the build, it is required to exist on CBUILD for the build to succeed. Reproducible: Always Steps to Reproduce: 1. emerge --onlydeps app-containers/podman 2. emerge --C app-crypt/gpgme 3. emerge app-containers/podman Actual Results: Build dies with ``` # github.com/proglottis/gpgme # [x86_64-pc-linux-gnu-pkg-config --cflags -- gpgme] Package gpgme was not found in the pkg-config search path. Perhaps you should add the directory containing `gpgme.pc' to the PKG_CONFIG_PATH environment variable Package 'gpgme' not found ``` Expected Results: Build succeeds.
(In reply to jewe37 from comment #0) > During compilation, pkg-config is invoked by the podman build on gpgme. If > it is missing, building will fail. Per the definition of BDEPEND, while > gpgme is not executed during the build, it is required to exist on CBUILD > for the build to succeed. > > Reproducible: Always > > Steps to Reproduce: > 1. emerge --onlydeps app-containers/podman > 2. emerge --C app-crypt/gpgme > 3. emerge app-containers/podman > Actual Results: > Build dies with > ``` > # github.com/proglottis/gpgme > # [x86_64-pc-linux-gnu-pkg-config --cflags -- gpgme] > Package gpgme was not found in the pkg-config search path. > Perhaps you should add the directory containing `gpgme.pc' > to the PKG_CONFIG_PATH environment variable > Package 'gpgme' not found > ``` > > Expected Results: > Build succeeds. Minor error in reproduction steps, fixed: 1. emerge --onlydeps app-containers/podman 2. emerge -C app-crypt/gpgme 3. emerge --nodeps app-containers/podman
github.com/proglottis/gpgme uses gpgme.h (and probably a related library), so the dependency belongs in DEPEND, not BDEPEND.
(In reply to Mike Gilbert from comment #2) > github.com/proglottis/gpgme uses gpgme.h (and probably a related library), > so the dependency belongs in DEPEND, not BDEPEND. True, the phrasing in the docs had me confused, I misunderstood the meaning of the "built system".