Your message dated Wed, 04 Jan 2017 12:33:36 +0000 with message-id <[email protected]> and subject line Bug#810907: fixed in repsnapper 2.4a0-2 has caused the Debian Bug report #810907, regarding repsnapper: FTBFS on ppc64el: termios problems to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 810907: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810907 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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)Index: repsnapper-2.4a0/src/printer/custom_baud.cpp =================================================================== --- repsnapper-2.4a0.orig/src/printer/custom_baud.cpp +++ repsnapper-2.4a0/src/printer/custom_baud.cpp @@ -6,7 +6,12 @@ #include <cstdlib> #include <fcntl.h> #include <sys/ioctl.h> -#include <asm/termbits.h> +#if !defined(__PPC64__) && !defined(__LITTLE_ENDIAN__) +# include <asm/termbits.h> +#else +# include <asm-generic/ioctls.h> +# include <asm-generic/termbits.h> +#endif //ppc64 #endif bool set_custom_baudrate( int device_fd, int baudrate ) {
--- End Message ---
--- Begin Message ---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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ying-Chun Liu (PaulLiu) <[email protected]> (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 [email protected]) -----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) <[email protected]> Changed-By: Ying-Chun Liu (PaulLiu) <[email protected]> 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-----
--- End Message ---

