[Bug 1619100] Re: FTBFS on ppc64el: termios problems
Tiago Stürmer Daitx
1619100 at bugs.launchpad.net
Thu Sep 1 20:02:02 UTC 2016
Improved patch that fixes issues and allows the build on all arches.
Should be removed as soon as the linux-libc-dev bug #1619446 gets fixed.
** Patch removed: "ppc64el-asm-generic.patch"
https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100/+attachment/4731915/+files/ppc64el-asm-generic.patch
** Patch added: "0005-ppc64el-asm-generic.patch"
https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100/+attachment/4732553/+files/0005-ppc64el-asm-generic.patch
** Changed in: repsnapper (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1619100
Title:
FTBFS on ppc64el: termios problems
Status in repsnapper package in Ubuntu:
Confirmed
Status in repsnapper package in Debian:
New
Bug description:
Note: on yakkety-proposed the build FTBFS first due to bug 1619289,
after that is fixed then we get this issue.
As reported in debian bug #810907 by Fernando Seiti:
The package repsnapper fails to build from source on ppc64el with the
following errors:
src/printer/custom_baud.cpp: In function 'bool set_custom_baudrate(int, int)':
src/printer/custom_baud.cpp:15:19: error: aggregate 'set_custom_baudrate(int, int)::termios2 options' has incomplete type and cannot be defined
struct termios2 options;
^
src/printer/custom_baud.cpp:17:26: error: 'TCGETS2' was not declared in this scope
if ( ioctl( device_fd, TCGETS2, &options ) < 0 ) {
^
src/printer/custom_baud.cpp:27:26: error: 'TCSETS2' was not declared in this scope
if ( ioctl( device_fd, TCSETS2, &options ) < 0 ) {
That is probably because, although the type and macros in the errors are
defined within termios.h from asm-generic, that header is not included within
arch specific headers (eg asm/termbits.h) for ppc64el.
It is possible to force usage of those, but I am not sure that is the proper
approach to fix this (aka I don't know if it will work).
There is a patch attached that allows it to build.
I tested the patch on ppc64el and x86_64
Thanks and regards.
Fernando
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/repsnapper/+bug/1619100/+subscriptions
More information about the Ubuntu-sponsors
mailing list