Hi,

Quoting Johannes 'josch' Schauer (2020-10-27 11:20:41)
> I'm unsure which component should best take care of this, so please
> re-assign as needed.
> 
> The high-level problem: For our our ROS packages, upstream uses GMock to
> run build and run tests. This requires including /usr/src/googletest/ as
> a CMake subproject and building parts of it. It turns out, that this
> build will not be done verbosely and thus blhc as run by salsa CI will
> fail. We approached CMake upstream about this issue [1] and they
> suggested to just run our builds with make VERBOSE=1. Indeed this
> produces the verbose output that makes blhc happy. The problem is, that
> we now have to have this boilerplate for all ROS packages using GMock
> (we use --buildsystem=pybuild):
> 
> override_dh_auto_build:
>         dh_auto_build -- --build-args=VERBOSE=1
> 
> Since we want project-wide verbose build logs anyways (right?), maybe
> this kind of thing can be implemented for all of Debian "somewhere".
> Maybe in debhelper?
> 
> Thanks!
> 
> cheers, josch
> 
> [1] https://gitlab.kitware.com/cmake/cmake/-/issues/21360

I created a test showcasing the problem here:

https://salsa.debian.org/josch/dh-gmock-test

as you can see, the blhc job fails:

https://salsa.debian.org/josch/dh-gmock-test/-/pipelines/191200

This demonstrates, that the problem also persists with plain CMake without
pybuild in the middle. The problem is fixed by building with make VERBOSE=1.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to