Bug#589689: Bug#590948: Bug#589689: transition to libjack-jackd2-0 breaks many packages
- To: Felipe Sateler <fsateler@debian.org>
- Cc: 590948@bugs.debian.org, "Adam D. Barratt" <adam@adam-barratt.org.uk>, 589689@bugs.debian.org, pkg-multimedia-maintainers@lists.alioth.debian.org
- Subject: Bug#589689: Bug#590948: Bug#589689: transition to libjack-jackd2-0 breaks many packages
- From: Reinhard Tartler <siretart@tauware.de>
- Date: Tue, 03 Aug 2010 16:09:37 -0400
- Message-id: <[🔎] 87pqxzh30e.fsf@faui44a.informatik.uni-erlangen.de>
- Mail-followup-to: Felipe Sateler <fsateler@debian.org>, 590948@bugs.debian.org, "Adam D. Barratt" <adam@adam-barratt.org.uk>, 589689@bugs.debian.org, pkg-multimedia-maintainers@lists.alioth.debian.org
- Reply-to: Reinhard Tartler <siretart@tauware.de>, 589689@bugs.debian.org
- In-reply-to: <[🔎] 4C57538F.10502@debian.org> (Felipe Sateler's message of "Mon, 02 Aug 2010 19:23:59 -0400")
- References: <20100719232327.10718.87551.reportbug@Biramilho> <87r5iyfxct.fsf@faui44a.informatik.uni-erlangen.de> <AANLkTinS6hvpr4Uy7DleKYGJKzTY90WtHrywBjlpTY4d@mail.gmail.com> <20100720203027.GL16384@ltw.loris.tv> <1280510715.11143.871.camel@kaa.jungle.aubergine.my-net-space.net> <4C535A0E.9030704@debian.org> <[🔎] 2228bece93f73886d7874b212d6085c1.squirrel@adsl.funkybadger.org> <[🔎] 4C55A1C9.5090503@debian.org> <[🔎] 62ae18438fa8817a5cbfff10c5ada96f.squirrel@adsl.funkybadger.org> <[🔎] 4C57538F.10502@debian.org>
On Mon, Aug 02, 2010 at 19:23:59 (EDT), Felipe Sateler wrote:
> On 02/08/10 18:26, Adam D. Barratt wrote:
>> On Sun, August 1, 2010 12:33, Felipe Sateler wrote:
>>> Copying this to the appropriate bug...
>> [...]
>>> Indeed. How do you suggest working through this? Facts:
>>>
>>> 1. The build hangs unpredictably on a doxygen call.
>>> 2. The doxygen call is in build-indep (so it is not strictly necessary
>>> for binary only builds, but gets executed anyway).
>>>
>>> I can move the doxygen call away from there into binary-indep, but that
>>> feels like a hack to me.
>>
>> Does the documentation actually differ across architectures?
>
> No, it doesn't.
>
>> If the doxygen calls are simply for generating the contents of
>> libcsound64-doc then arranging for them to only occur when the
>> binary-indep packages are being built sounds like a sane solution; if
>> I'm missing something obvious, then someone please apply the relevant
>> cluebat. :-)
>
> Well, it feels hacky to build stuff in the binary stage. Also, it seems
> to me that what we are doing is re-hiding a bug that is somewhere else.
>
> If we really want to do that, please tell me and I'll prepare a new
> upload with that.
Mehdi proposed this approach:
diff --git a/debian/rules b/debian/rules
index 726227e..626b8d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -163,7 +163,9 @@ DEB_SCONS_INSTALL_TARGET = install=1
build-indep: build-indep-stamp
build-indep-stamp:
+ifneq (,$(findstring libcsound64-doc,$(shell dh_listpackages)))
doxygen
+endif
touch $@
# Put aside upstream cruft before build but after licensecheck
TBH, this solution seems acceptable to me.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
Reply to: