Bug#896126: mpg123: symbols update for riscv64

James Cowgill jcowgill at debian.org
Thu Apr 19 23:18:38 BST 2018


Hi,

On 19/04/18 21:32, Manuel A. Fernandez Montecelo wrote:
> Source: mpg123
> Version: 1.25.10-1
> Severity: normal
> Tags: patch
> User: debian-riscv at lists.debian.org
> Usertags: riscv64
> 
> Hi,
> 
> We are in the process of bootstrapping a Debian port for the riscv64
> architecture (https://wiki.debian.org/RISC-V).
> 
> The symbols need to be updated for this arch, please see the patch attached.
> 
> We would appreciate if you could upload a version soonish to unstable including
> this fix, to keep the delta as small as possible.

Is it possible to do this more intelligently to cope with the most
common cases, and handle new architectures (at least the ones which
follow the same rules)?

These symbols are present iff the default (without LFS) size of off_t is
32-bits.

My scouring of the glibc source tells me:
 on kfreebsd sizeof(off_t) == 8
 on hurd     sizeof(off_t) == sizeof(long)
 on linux    sizeof(off_t) == sizeof(long)
  with the sole exception of x32, where sizeof(off_t) == 8

Maybe this is a better restriction (requires dpkg-dev 1.18)?
 (arch-bits=32|arch=!kfreebsd-any !x32)

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-multimedia-maintainers/attachments/20180419/17079d88/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list