Thursday 9th September 2009
Local Packages
Updated perl-Archive-Tar to 1.54 (fixes problem with global error result)
Updated perl-HTML-Tidy (1.08 except for FC-2 and earlier releases, which have 1.06 due to UTF-8 issues) to discard some Info: output from recent versions of libtidy that clutters the results (CPAN RT #32944)
Whilst doing a rebuild of perl-Expect for Fedora 12, it unexpectedly failed its test suite in my mock buildsystem. In fact, the problem wasn't just limited to F-12 - builds for all targets failed the same way:
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XfvLUP + umask 022 + cd /builddir/build/BUILD + cd Expect-1.21 + unset DISPLAY + /usr/bin/make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl IO::Tty::pty_allocate(nonfatal): grantpt(): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. IO::Tty::open_slave(nonfatal): ptsname_r(): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. IO::Tty::open_slave(nonfatal): open(/dev/pts/8): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. pty_allocate(nonfatal): posix_openpt(): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. IO::Tty::pty_allocate(nonfatal): grantpt(): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. IO::Tty::open_slave(nonfatal): open(/dev/pts/8): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. pty_allocate(nonfatal): getpt(): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. pty_allocate(nonfatal): openpty(): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. IO::Tty::pty_allocate(nonfatal): grantpt(): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. IO::Tty::open_slave(nonfatal): open(/dev/pts/8): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. pty_allocate(nonfatal): open(/dev/ptmx): No such file or directory at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/IO/Pty.pm line 24. Cannot open a pty at test.pl line 34 1..42 Basic tests... make: *** [test_dynamic] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.XfvLUP (%check)
This turned out to be due to a change in mock 0.9.17 to address Bug #510183 (mock mounts /dev/pts in chroot with wrong options) but an additional change had also been made (incompletely), resulting in the breakage. I found that commenting out the following two lines in /usr/lib/python2.6/site-packages/mock/backend.py fixed the problem:
if os.uname()[2] >= '2.6.29': mountopt += ',newinstance'