Debian Bug report logs -
#810907
repsnapper: FTBFS on ppc64el: termios problems
Reported by: Fernando Seiti Furusato <ferseiti@br.ibm.com>
Date: Wed, 13 Jan 2016 16:09:02 UTC
Severity: serious
Tags: patch
Found in version repsnapper/2.4a0-1
Fixed in version repsnapper/2.4a0-2
Done: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, ferseiti@br.ibm.com, brenohl@br.ibm.com, Ying-Chun Liu (PaulLiu) <paulliu@debian.org>:
Bug#810907; Package src:repsnapper.
(Wed, 13 Jan 2016 16:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Fernando Seiti Furusato <ferseiti@br.ibm.com>:
New Bug report received and forwarded. Copy sent to ferseiti@br.ibm.com, brenohl@br.ibm.com, Ying-Chun Liu (PaulLiu) <paulliu@debian.org>.
(Wed, 13 Jan 2016 16:09:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: repsnapper
Severity: normal
Dear Maintainer,
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
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.16.0-4-powerpc64le (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
[ppc64el-asm-generic.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Ying-Chun Liu (PaulLiu) <paulliu@debian.org>:
Bug#810907; Package src:repsnapper.
(Sun, 14 Feb 2016 17:42:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Beckmann <anbe@debian.org>:
Extra info received and forwarded to list. Copy sent to Ying-Chun Liu (PaulLiu) <paulliu@debian.org>.
(Sun, 14 Feb 2016 17:42:04 GMT) (full text, mbox, link).
Message #10 received at 810907@bugs.debian.org (full text, mbox, reply):
Followup-For: Bug #810907
Control: found -1 2.4a0-1
Control: severity -1 serious
Control: tag -1 patch
the same issue happens on powerpc
https://buildd.debian.org/status/fetch.php?pkg=repsnapper&arch=powerpc&ver=2.4a0-1&stamp=1455299926
https://buildd.debian.org/status/fetch.php?pkg=repsnapper&arch=ppc64el&ver=2.4a0-1&stamp=1455299989
Andreas
Marked as found in versions repsnapper/2.4a0-1.
Request was from Andreas Beckmann <anbe@debian.org>
to 810907-submit@bugs.debian.org.
(Sun, 14 Feb 2016 17:42:04 GMT) (full text, mbox, link).
Severity set to 'serious' from 'normal'
Request was from Andreas Beckmann <anbe@debian.org>
to 810907-submit@bugs.debian.org.
(Sun, 14 Feb 2016 17:42:05 GMT) (full text, mbox, link).
Added tag(s) patch.
Request was from Andreas Beckmann <anbe@debian.org>
to 810907-submit@bugs.debian.org.
(Sun, 14 Feb 2016 17:42:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Ying-Chun Liu (PaulLiu) <paulliu@debian.org>:
Bug#810907; Package src:repsnapper.
(Thu, 01 Sep 2016 23:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Tiago Daitx <tiago.daitx@canonical.com>:
Extra info received and forwarded to list. Copy sent to Ying-Chun Liu (PaulLiu) <paulliu@debian.org>.
(Thu, 01 Sep 2016 23:39:03 GMT) (full text, mbox, link).
Message #21 received at 810907@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Sun, 14 Feb 2016 18:39:49 +0100 Andreas Beckmann <anbe@debian.org> wrote:
> Followup-For: Bug #810907
> Control: found -1 2.4a0-1
> Control: severity -1 serious
> Control: tag -1 patch
>
> the same issue happens on powerpc
>
> https://buildd.debian.org/status/fetch.php?pkg=repsnapper&arch=powerpc&ver=2.4a0-1&stamp=1455299926
> https://buildd.debian.org/status/fetch.php?pkg=repsnapper&arch=ppc64el&ver=2.4a0-1&stamp=1455299989
>
I have modified the original patch with a workaround that works for
all archs in Ubuntu [1].
Additionally, the attached debdiff also includes a fix for FTBFS that
happens when building with gcc 6 [2].
There is an open bug report against linux on Ubuntu due to the
mismatching headers between powerpc/ppc64el and the other archs, which
is the actual reason for this particular FTBFS.
Ubuntu bugs:
[1] https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100
[2] https://bugs.launchpad.net/ubuntu/+source/repsnapper/+bug/1619289
[3] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1619446
thanks
[repsnapper_2.4a0-1_repsnapper_2.4a0-1ubuntu1.debdiff (application/octet-stream, attachment)]
[0005-include-asm-generic.patch (text/x-patch, attachment)]
Reply sent
to Ying-Chun Liu (PaulLiu) <paulliu@debian.org>:
You have taken responsibility.
(Wed, 04 Jan 2017 12:36:03 GMT) (full text, mbox, link).
Notification sent
to Fernando Seiti Furusato <ferseiti@br.ibm.com>:
Bug acknowledged by developer.
(Wed, 04 Jan 2017 12:36:03 GMT) (full text, mbox, link).
Message #26 received at 810907-close@bugs.debian.org (full text, mbox, reply):
Source: repsnapper
Source-Version: 2.4a0-2
We believe that the bug you reported is fixed in the latest version of
repsnapper, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 810907@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> (supplier of updated repsnapper package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 04 Jan 2017 19:53:22 +0800
Source: repsnapper
Binary: repsnapper
Architecture: source amd64
Version: 2.4a0-2
Distribution: unstable
Urgency: low
Maintainer: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Changed-By: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Description:
repsnapper - STL to GCode Converter and print software for RepRap machines
Closes: 810907 814331 831081
Changes:
repsnapper (2.4a0-2) unstable; urgency=low
.
* Include patches from the upstream git repo (Closes: #814331)
- 0011-replace-abs-with-std-abs-for-gcc6-compatibility.patch
(Closes: #831081)
* Include workaround 0105-include-asm-generic.patch (Closes: #810907)
* Bump Standards-Version to 3.9.8: nothing needs to be changed.
Checksums-Sha1:
061ed85ce8ebe9abadb7cf020a6293d507ce8e50 2011 repsnapper_2.4a0-2.dsc
689235c2e1af8312cdad4f49d09c16073a8ae883 12112 repsnapper_2.4a0-2.debian.tar.xz
1a4b0e38c6e013f3e177cbab98b1c1871b520b07 8013866 repsnapper-dbgsym_2.4a0-2_amd64.deb
9ec64b64721a5a8d8d927aea01a4218eab829eb6 12426 repsnapper_2.4a0-2_amd64.buildinfo
6e307e5551953dabe8aa802de3e651e2fcc0c417 726772 repsnapper_2.4a0-2_amd64.deb
Checksums-Sha256:
5047c0ba8f07853d91267c8219a0e93789a5c9a1d54bf21ab9bbcc15dfad9bbd 2011 repsnapper_2.4a0-2.dsc
e25557dc5fd7a4391687f1f9005c9befb0740fe575a166ddf8facf3ad263d147 12112 repsnapper_2.4a0-2.debian.tar.xz
652d8f3f0656977d355bc2626b365c31772abfb99ab387bc0406d37dda9ea725 8013866 repsnapper-dbgsym_2.4a0-2_amd64.deb
953e5aad9b45ca44a2e0d1ef56dd328fc4d79bba83c9600c9e392bf74f8a3fda 12426 repsnapper_2.4a0-2_amd64.buildinfo
d1fd2f249a849c6085990b9edf84505701bf936c26063f94499a049ce4c70f8c 726772 repsnapper_2.4a0-2_amd64.deb
Files:
83b98b2d03a5bbad238bc5360694181d 2011 utils optional repsnapper_2.4a0-2.dsc
2ca9012c625478b17d6683a8b72a4cd6 12112 utils optional repsnapper_2.4a0-2.debian.tar.xz
988187f880da6bf0055a660095bf8146 8013866 debug extra repsnapper-dbgsym_2.4a0-2_amd64.deb
f09a92aa77364d98f7fd8f85e8b8947b 12426 utils optional repsnapper_2.4a0-2_amd64.buildinfo
a32c43de82e7524de064278d32572c36 726772 utils optional repsnapper_2.4a0-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEEo2h49GQQhoFgDLZIRBc/oT0FiIgFAlhs5hoTHHBhdWxsaXVA
ZGViaWFuLm9yZwAKCRBEFz+hPQWIiIGAD/9thM8iIoPsMy+rpagpxQU+NzUiNSIf
htPUj1Sfhcb2S31PceGD0STlaNd+BkurDv96zJe+TgSsbHH0XkScQ6r29vYcwxTG
pGV6CovrmWmZ3rzlsfHpZBy1md2b2rgd39YUKez/ut2sDNfBuV9AsR0IwTA79Q2p
X1wKKHBlzxIoNgzwmMtgs0mo7yooQtlWvlBxCyTBQeDWTVx4Pz9NiZ/oazMD3XWa
i3T3uAqXCPh1EYDBeUrW1DkpaXK64DojWmWH02C1D6f3D+NXUQDRFYh51Yw39vCq
ZksCJm3swUDs4qIvkTxkGLIB9cBQvs+5+ja7X0tXQC6sDVLgroOOi1psOaubczHS
P5Z9eTV//rM4kuHT317AE3NJDSnhK/VDJBKy4JGYgXypI1TlgmSDvhXQ8ZUwuTRr
+t7MIF9LfTThbom1j+t94bTaoHwyD1/HbyAIrMARW16eqFrcxYLRBk0jmkanjgKB
0KqlVxf/gPy/a9EyMCtigdBBJdrZVmPS5y0AKPFOUjubNkXoEENYZQY4/dgzoSEo
wqAygRX4jHP33jUi3d4alj1/sIUKqV8WaNZXCP4BY1KBXX0teNPgX1eGqgoRYG78
s8dlLBWMFhjTyDASdbBDsEWREaj4ii5ZjOq460pfeOtJMV+Qy1/t8ixD22l8Iebq
uF+aob059XXnsw==
=0J0t
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 02 Feb 2017 07:25:33 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 23:12:26 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.