Bug#1052382: sysprof: Should not build-depend on libunwind-dev on unsupported architectures

2023-09-21 Thread Simon McVittie
On Thu, 21 Sep 2023 at 09:58:01 +0200, John Paul Adrian Glaubitz wrote:
> src:sysprof build-depends on libunwind-dev unconditionally despite the fact 
> that libunwind
> is not available on the following architectures: [several]

Does it make more sense to keep extending the current negative list of
architectures where libunwind isn't available, or would it be less churn
to turn it into a positive list of architectures where libunwind *is*
available? (Like src:gstreamer1.0 and src:efl do)

Or would it be possible to have an equivalent of the valgrind-if-available
package, so that dependent packages like sysprof and gstreamer1.0 don't
have to do their own tracking of the list of architectures where libunwind
is or isn't available, which will frequently be out of date?

Thanks,
smcv



Bug#1052382: sysprof: Should not build-depend on libunwind-dev on unsupported architectures

2023-09-21 Thread John Paul Adrian Glaubitz
Source: sysprof
Version: 45.0-1
Severity: normal
User: debian-...@lists.debian.org
Usertags: m68k
X-Debbugs-Cc: debian-...@lists.debian.org

Hello!

src:sysprof build-depends on libunwind-dev unconditionally despite the fact 
that libunwind
is not available on the following architectures:

- alpha
- arc
- hurd-i386
- m68k
- sparc64
- x32

NB: While libunwind is currently not built on loong64, upstream support is 
already present
and it's therefore expected that libunwind will be available on loong64 in 
the near
future.

Can you please disable libunwind for the architectures mentioned above?

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913