Bug#870028: subunit: Make source package bootstrappable

2017-07-29 Thread Rene Engelhard
Hi,

On Sat, Jul 29, 2017 at 10:53:14AM -0700, Daniel Schepler wrote:
> > *shrugs*, Do I read that right that everything boils down to cppunit
> > using clang and that one build-dependig on ocaml for whatever reason?
> > This is hilarious.
> 
> It's actually doxygen that uses libclang.  Otherwise, that's correct.

Eh, yes, that's what I meant to write.

> On a second look at this cycle, I guess yet another possible place to 
>   
>   > break it would be if libxcb could be updated to 
> build-depend on "check
> > ".

Should be done nevertheless, imho. any check-only depends should be  
:)

> >> [...] and then doxygen could be moved to Build-Depends-Indep.
> >
> > That could be done, indeed...

Has been done. Has the nice side affect of the _all build just doing the docs.

Regards,

Rene



Bug#870028: subunit: Make source package bootstrappable

2017-07-29 Thread Daniel Schepler
On Sat, Jul 29, 2017 at 9:24 AM, Rene Engelhard  wrote:
> On Fri, Jul 28, 2017 at 06:43:40PM -0700, Daniel Schepler wrote:
>> doxygen Build-Depends on llvm-4.0-dev
>> llvm-toolchain-4.0 Build-Depends on ocaml-nox
>> ocaml Build-Depends on libx11-dev
>> libx11 Build-Depends on libxcb-dev
>> libxcb Build-Depends on check
>> check Build-Depends on libsubunt-dev
>> subunit Build-Depends on libcppunit-dev
>
> *shrugs*, Do I read that right that everything boils down to cppunit
> using clang and that one build-dependig on ocaml for whatever reason?
> This is hilarious.

It's actually doxygen that uses libclang.  Otherwise, that's correct.
(And I think the reason for llvm build-depending on ocaml is that
there's a seldom-used ocaml binding included in the package.  That
might be another place that a build profile, like "stage1" or
"no-ocaml", could potentially break the cycle.  Though at this point
in my bootstrap process there are several other packages that
llvm-toolchain-* is blocked on, so I'm not sure if that would be
sufficient.)

On a second look at this cycle, I guess yet another possible place to
break it would be if libxcb could be updated to build-depend on "check
".

>> [...] and then doxygen could be moved to Build-Depends-Indep.
>
> That could be done, indeed...

Thanks.
-- 
Daniel Schepler



Bug#870028: subunit: Make source package bootstrappable

2017-07-29 Thread Rene Engelhard
Hi,

even with

> Sorry, I meant to file this against cppunit, not subunit.

from your reassign this bug report is weird.

On Fri, Jul 28, 2017 at 06:43:40PM -0700, Daniel Schepler wrote:
> The subunit source package's Build-Depends on doxygen creates a
> circular dependency which makes it difficult to bootstrap:
> 
> doxygen Build-Depends on llvm-4.0-dev
> llvm-toolchain-4.0 Build-Depends on ocaml-nox
> ocaml Build-Depends on libx11-dev
> libx11 Build-Depends on libxcb-dev
> libxcb Build-Depends on check
> check Build-Depends on libsubunt-dev
> subunit Build-Depends on libcppunit-dev

*shrugs*, Do I read that right that everything boils down to cppunit
using clang and that one build-dependig on ocaml for whatever reason?
This is hilarious.
 
> The easiest way I can think of to resolve this would be if the
> generated documentation could be split out into a separate
> libsubunit-doc package,

Erm, but you have seen that libcppunit-doc *DOES* exist?

> [...] and then doxygen could be moved to Build-Depends-Indep.

That could be done, indeed...

Regards,

Rene



Bug#870028: subunit: Make source package bootstrappable

2017-07-28 Thread Daniel Schepler
Source: subunit
Version: 1.1.0-3
Severity: wishlist

The subunit source package's Build-Depends on doxygen creates a
circular dependency which makes it difficult to bootstrap:

doxygen Build-Depends on llvm-4.0-dev
llvm-toolchain-4.0 Build-Depends on ocaml-nox
ocaml Build-Depends on libx11-dev
libx11 Build-Depends on libxcb-dev
libxcb Build-Depends on check
check Build-Depends on libsubunt-dev
subunit Build-Depends on libcppunit-dev

The easiest way I can think of to resolve this would be if the
generated documentation could be split out into a separate
libsubunit-doc package, and then doxygen could be moved to
Build-Depends-Indep.
-- 
Daniel Schepler