Bug#662996: cups: FTBFS(!linux): failing in i18n testsuite
Alle mercoledì 7 marzo 2012, Christoph Egger ha scritto: Your package failed to build on the kfreebsd-* and hurd-* buildds: ./testi18n [...] cupsCharsetToUTF8(CUPS_EUC_JP): FAIL (len=5, expected 9) utf8japan: 41 20 21 3d 20 ee9c80 2e utf8dest: 41 20 21 3d 20 Looking at cups/testi18n.c, this check is enclosed within a «#ifndef __linux ... #endif» block, so most probably it would fail on Linux too. Inspecting the SVN history, we can find r9455 (in trunk, shortly before the 1.5 branching) that adds the #ifndef block; unfortunately, the reasons why it has been done are very scarce: $ LC_ALL=C svn log -v -c 9455 r9455 | mike | 2011-01-10 09:06:59 +0100 (Mon, 10 Jan 2011) | 2 lines Changed paths: M /trunk/cups/testi18n.c Don't require one of the UTF-8 tests to pass on Linux... One reason I can find about the failure is some different iconv behaviour of the GNU libc implementation vs other (Apple?) ones. The possible two fixes I see are: a) find out why such test fails even on Linux (with GNU libc), fix that and most probably it will pass on kFreeBSD and Hurd too b) extend that #ifndef block like «#if !defined(__linux__) !defined(__GLIBC__)» (which could be some temporary workaround in a Debian patch) -- Pino Toscano signature.asc Description: This is a digitally signed message part.
Bug#662996: cups: FTBFS(!linux): failing in i18n testsuite
Package: src:cups Version: 1.5.2-6 Severity: serious Tags: sid wheezy User: debian-...@lists.debian.org Usertags: kfreebsd X-Debbugs-Cc: debian-...@lists.debian.org Justification: fails to build from source (but built successfully in the past) Hi! Your package failed to build on the kfreebsd-* and hurd-* buildds: ./testi18n cupsUTF8ToUTF32 of utfdemo.txt: PASS cupsUTF8ToCharset(CUPS_EUC_JP) of utfdemo.txt: PASS cupsUTF8ToCharset(CUPS_ISO8859_1): PASS cupsCharsetToUTF8(CUPS_ISO8859_1): PASS cupsUTF8ToCharset(CUPS_ISO8859_7): PASS cupsCharsetToUTF8(CUPS_ISO8859_7): PASS cupsUTF8ToCharset(CUPS_WINDOWS_932): PASS cupsCharsetToUTF8(CUPS_WINDOWS_932): PASS cupsUTF8ToCharset(CUPS_EUC_JP): PASS cupsCharsetToUTF8(CUPS_EUC_JP): FAIL (len=5, expected 9) utf8japan: 41 20 21 3d 20 ee9c80 2e utf8dest: 41 20 21 3d 20 cupsUTF8ToCharset(CUPS_WINDOWS_950): PASS cupsCharsetToUTF8(CUPS_WINDOWS_950): PASS cupsUTF8ToCharset(CUPS_EUC_TW): PASS cupsCharsetToUTF8(CUPS_EUC_TW): PASS make[2]: *** [testi18n] Error 1 Full build log at https://buildd.debian.org/status/fetch.php?pkg=cupsarch=kfreebsd-i386ver=1.5.2-6stamp=1330934110 Regards Christoph If you have further questions please mail debian-...@lists.debian.org -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org