Bug#1032898: wxastrocapture: FTBFS on hppa - no sa_restorer field

John David Anglin dave at parisc-linux.org
Mon Mar 13 17:12:16 GMT 2023


Source: wxastrocapture
Version: 1.8.1+git20140821.796e1a1+dfsg-2
Severity: normal
Tags: ftbfs patch

Dear Maintainer,

Build fails here:
g++ -g -DNDEBUG -Os -O2 -W `wx-config --version=3.2 --toolkit=gtk3 --cxxflags` -Wno-ignored-qualifiers -DNOPCH -DNDEBUG -D__WX__  -c wxWebcam/Ftd245IOUX.cpp -o UX/obj/Release/wxWebcam/Ftd245IOUX.o
wxWebcam/Ftd245IOUX.cpp: In member function ‘virtual bool Ftd245IOUX::InitBoard(int)’:
wxWebcam/Ftd245IOUX.cpp:159:9: error: ‘struct sigaction’ has no member named ‘sa_restorer’
  159 |    saio.sa_restorer = NULL;
      |         ^~~~~~~~~~~
make[2]: *** [Makefile:74: UX/obj/Release/wxWebcam/Ftd245IOUX.o] Error 1

Full log:
https://buildd.debian.org/status/fetch.php?pkg=wxastrocapture&arch=hppa&ver=1.8.1%2Bgit20140821.796e1a1%2Bdfsg-2&stamp=1678674935&raw=0

The sa_restorer field is optional.

Build is successful with attached patch.

Regards,
Dave Anglin

-- System Information:
Debian Release: 12.0
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.1.18+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=sh: 0: getcwd() failed: No such file or directory
UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)


More information about the debian-science-maintainers mailing list