Activity log for bug #1619100

Date Who What changed Old value New value Message
2016-09-01 02:44:43 Tiago Stürmer Daitx bug added bug
2016-09-01 02:44:43 Tiago Stürmer Daitx attachment added ppc64el-asm-generic.patch https://bugs.launchpad.net/bugs/1619100/+attachment/4731915/+files/ppc64el-asm-generic.patch
2016-09-01 02:45:07 Tiago Stürmer Daitx bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810907
2016-09-01 02:45:07 Tiago Stürmer Daitx bug task added repsnapper (Debian)
2016-09-01 03:42:20 Bug Watch Updater repsnapper (Debian): status Unknown New
2016-09-01 04:34:24 Ubuntu Foundations Team Bug Bot tags patch
2016-09-01 04:34:35 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2016-09-01 19:22:31 Tiago Stürmer Daitx description 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 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
2016-09-01 19:36:35 Mathew Hodson repsnapper (Ubuntu): importance Undecided High
2016-09-01 19:36:48 Mathew Hodson tags patch ftbfs patch
2016-09-01 20:00:35 Tiago Stürmer Daitx attachment removed ppc64el-asm-generic.patch https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100/+attachment/4731915/+files/ppc64el-asm-generic.patch
2016-09-01 20:02:02 Tiago Stürmer Daitx attachment added 0005-ppc64el-asm-generic.patch https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100/+attachment/4732553/+files/0005-ppc64el-asm-generic.patch
2016-09-01 20:02:38 Tiago Stürmer Daitx bug added subscriber Ubuntu Sponsors Team
2016-09-01 20:03:14 Tiago Stürmer Daitx repsnapper (Ubuntu): status New Confirmed
2016-09-01 20:03:19 Tiago Stürmer Daitx repsnapper (Ubuntu): assignee Tiago Stürmer Daitx (tdaitx)
2016-09-01 20:06:03 Tiago Stürmer Daitx repsnapper (Ubuntu): assignee Tiago Stürmer Daitx (tdaitx)
2016-09-01 20:13:49 Tiago Stürmer Daitx attachment added repsnapper_2.4a0-1_repsnapper_2.4a0-1ubuntu1.debdiff https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100/+attachment/4732559/+files/repsnapper_2.4a0-1_repsnapper_2.4a0-1ubuntu1.debdiff
2016-09-01 23:28:50 Tiago Stürmer Daitx attachment removed repsnapper_2.4a0-1_repsnapper_2.4a0-1ubuntu1.debdiff https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100/+attachment/4732559/+files/repsnapper_2.4a0-1_repsnapper_2.4a0-1ubuntu1.debdiff
2016-09-01 23:29:25 Tiago Stürmer Daitx attachment added repsnapper_2.4a0-1_repsnapper_2.4a0-1ubuntu1.debdiff https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100/+attachment/4732625/+files/repsnapper_2.4a0-1_repsnapper_2.4a0-1ubuntu1.debdiff
2016-10-04 09:37:40 Daniel Holbach repsnapper (Ubuntu): status Confirmed Fix Released
2017-01-04 22:16:15 Bug Watch Updater repsnapper (Debian): status New Fix Released