On September 16, 2006 at 9:30PM +0300, liw (at iki.fi) wrote: > Package: skkdic > Version: 20060813-1 > > When testing skkdic with piuparts, we found the following problem: > > 0m4.9s ERROR: Broken symlinks: > /usr/share/skk/SKK-JISYO -> /etc/alternatives/SKK-JISYO
I believe the bug is in the piuparts package. In piuparts.py, the function is_broken_symlink(), * pathname is set to "/tmp/tmpXXXXXX/usr/share/skk/SKK-JISYO". * target is set to "/tmp/tmpXXXXXX/etc/alternatives/SKK-JISYO" which is a *symlink*. * os.path.exists(target) is false, and then the error occurs, even if the symlink's target "/tmp/tmpXXXXXX/usr/share/skk/SKK-JISYO.L" exists. Because os.path.exists() checks the file "/usr/share/skk/SKK-JISYO.L" which is outside the chroot environment. Consequently, if the skkdic package is installed outside the chroot environment, all tests succeed. If you don't make an objection, I'll re-assign this bug to the piuparts package. Thanks, -- Tatsuya Kinoshita
pgpuYSMDCeIc0.pgp
Description: PGP signature

