Your message dated Mon, 22 Aug 2016 10:25:26 +0000 with message-id <E1bbmQ2-0002Cl-9e@franck.debian.org> and subject line Bug#834511: fixed in libexplain 1.4.D001-5 has caused the Debian Bug report #834511, regarding libexplain: FTBFS on hppa - FAILED test of eventfd EINVAL 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 owner@bugs.debian.org immediately.) -- 834511: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834511 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libexplain: FTBFS on hppa - FAILED test of eventfd EINVAL
- From: James Cowgill <jcowgill@debian.org>
- Date: Tue, 16 Aug 2016 14:12:46 +0100
- Message-id: <[🔎] aaca98c7-6eab-30a5-39bb-1afc8f833348@debian.org>
Source: libexplain Version: 1.4.D001-4 Severity: important Putting my comments on this here so they're not forgotten: > On 15/08/16 17:07, Helge Deller wrote: >> libexplain FTBFS on hppa, because of a testcase which doesn't take care of HP PARISC: >> >> PATH=`pwd`/bin:$PATH /bin/sh test/04/t0472a.sh >> 1,2c1,3 >> < eventfd(initval = 0, flags = 0) failed, Invalid argument (EINVAL) because >> < the flags argument was incorrectly specified, it contained undefined bits >> --- >>> eventfd(initval = 0, flags = 0x10005) failed, Invalid argument (EINVAL) >>> because the flags argument was incorrectly specified, it contained >>> undefined bits >> FAILED test of eventfd EINVAL >> Makefile:42022: recipe for target 't0467a' failed >> make[1]: *** [t0467a] Error 1 >> make[1]: *** Waiting for unfinished jobs.... >> >> The flags = 0x10005 are actually correct on hppa. >> We have in /usr/include/hppa-linux-gnu/bits/eventfd.h: >> #define EFD_CLOEXEC EFD_CLOEXEC >> EFD_NONBLOCK = 00200004 /* HPUX has separate NDELAY & NONBLOCK */ >> >> Any idea how we can make the package build successfully on hppa ? > > It looks like the eventfd flags are defined here: > https://sources.debian.net/src/libexplain/1.4.D001-4/libexplain/buffer/eventfd_flags.c/ > > That function then calls explain_parse_bits_print to actually parse the > bits: > http://sources.debian.net/src/libexplain/1.4.D001-4/libexplain/parse_bits/print.c/ > > But explain_parse_bits_print only handles flag tables containing single > bit values. The correct fix would be to teach explain_parse_bits_print > how to handle these tables. I think the best way would be to iterate > over the entire flag table, and calculate (value & flag) == flag. If > that's true, we output the flag name and remove those bits from the > value. JamesAttachment: signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
- To: 834511-close@bugs.debian.org
- Subject: Bug#834511: fixed in libexplain 1.4.D001-5
- From: James Cowgill <jcowgill@debian.org>
- Date: Mon, 22 Aug 2016 10:25:26 +0000
- Message-id: <E1bbmQ2-0002Cl-9e@franck.debian.org>
Source: libexplain Source-Version: 1.4.D001-5 We believe that the bug you reported is fixed in the latest version of libexplain, 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 834511@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. James Cowgill <jcowgill@debian.org> (supplier of updated libexplain 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: Fri, 19 Aug 2016 09:13:24 +0000 Source: libexplain Binary: explain libexplain-doc libexplain51 libexplain-dev Architecture: source Version: 1.4.D001-5 Distribution: unstable Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: James Cowgill <jcowgill@debian.org> Description: explain - utility to explain system call errors libexplain-dev - library of system-call-specific strerror repl - development files libexplain-doc - library of system-call-specific strerror repl - documentation libexplain51 - library of system-call-specific strerror repl Closes: 834511 Changes: libexplain (1.4.D001-5) unstable; urgency=medium . * QA upload. * Fix FTBFS on hppa - add handling of flags with multiple bits set. (Closes: #834511) Checksums-Sha1: f1cba0b4f0a94d1df16d111faa30a8def2600cce 2180 libexplain_1.4.D001-5.dsc d81228bde7e66d6628759c0bc5c0fae7a9a85696 42248 libexplain_1.4.D001-5.debian.tar.xz Checksums-Sha256: 91085d4107c2961484361d6e4d115d156a7f73de6cd30059a485db32441a0101 2180 libexplain_1.4.D001-5.dsc 783f1bd96c66afd8e7336e0cd86186997176e53dbd658345abd1e9836595965d 42248 libexplain_1.4.D001-5.debian.tar.xz Files: 115086f9148767101dfaf719f3c871c4 2180 devel optional libexplain_1.4.D001-5.dsc 55064058905cb5e940460b241af2bdf7 42248 devel optional libexplain_1.4.D001-5.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXttBXAAoJEMfxZ23qLQHvuvgP/jyhVP5pIzh13/dfbJTNr8pu PrZYS63o5pHabmWJvbV5s9lzuZG1fkklJeVVNGhsDhc2z2aQsTKxfWkIp8K5ov4L kqm7QoAtvG4w/196bxzhCn9Zyhmq6F661XXa8jRhgkspwHxXxBXGIw028Ke/zF9z jHtRy6l6ssXRrUZ4YBrweLuLShxMUkgoe77QJV3Tb9C7y3hvaBAiAs4U6mxcFXfk z/HkoSYqxuVkoJmgNwXK9g7EhxTFNYTwU0vPdt0MYo8J3Yn2WERPWKgnueBsgbud 2GmJ93SIfHGG0W4U43p4hc5+sTnwmv0ySO8i8jeHH31uqHL0gcwpSwsPblCJCApt gqH9Ex4aAcGcpHWCtfyCZswbP9ENhz2xUUFeDRKvxX/l4UT9pi0px25wBOJrLfls TbqJEIuV2MX/KOu0moCeaVnBuAuBBP8eriahUB0ff6mQ0QUWXNtpedDAQ1NTMzX7 XVeoioTbkEnjE5IGNZTFaBZSo1wicMHI+L4Ix8ruSi/bNgz6ZYWfImw47r9NMWMP G1hFc20gVdy7FeDPyHJTP8cpCmAtElOEZl0YYOWcUP1gBGVUnmborLL1p5uSvmYg PkNAL8Q8gHi5VukXC4xmKXgxpubISs9X7Gnss/WcgJCXqSz5fCSz77N+wbn9J3yh dQjlEwZXYcHgcVFVi2SZ =wFAv -----END PGP SIGNATURE-----
--- End Message ---