Bug#769141: a2jmidid: FTBFS on ppc64el: "error: 'mcontext_t' has no member named 'uc_regs'"

Fernando Seiti Furusato ferseiti at br.ibm.com
Tue Nov 11 18:02:44 UTC 2014


Source: a2jmidid
Version: 8~dfsg0-1
Severity: normal
Tags: patch
User: debian-powerpc at lists.debian.org

Dear Maintainer,

The package a2jmidid fails to build from source on ppc64el due to the error in subject.
Following is the full log:
https://buildd.debian.org/status/fetch.php?pkg=a2jmidid&arch=ppc64el&ver=8~dfsg0-1&stamp=1410448768

That is due to the usage of the sys header ucontext.h by sigsegv.c.
It tries to use a struct defined for powerpc 32-bit within ucontext.h, but there
is a condition that does not allow so.

I worked around the aforementioned situation by adding a condition that uses
the 64-bit struct defined.

I just added the conditions following the same pattern and logic so the package 
builds successfully. Please add your considerations over the patch.

Thanks and regards.

Fernando

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.16-trunk-powerpc64le (SMP w/32 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a2jmidid-ppc64el.debdiff
Type: text/x-diff
Size: 2160 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20141111/30a48164/attachment.diff>


More information about the pkg-multimedia-maintainers mailing list