pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc IRIX 6.5/mipseb bulk build results 20070104.2331



Jan Schaumann <jschauma%netmeister.org@localhost> wrote:
 
> Package                    Breaks  Maintainer
> - --------------------------------------------------------------
> textproc/xmlcatmgr         1260    jmmv%NetBSD.org@localhost
> fonts/fontconfig           988     pkgsrc-users%NetBSD.org@localhost
> x11/Xrender                977     pkgsrc-users%NetBSD.org@localhost
> graphics/jasper            779     adam%NetBSD.org@localhost
> shells/bash                762     wiz%NetBSD.org@localhost
> fonts/ghostscript-fonts    699     pkgsrc-users%NetBSD.org@localhost
> graphics/glitz             510     adam%NetBSD.org@localhost
> graphics/lcms              481     gdt%NetBSD.org@localhost
> security/libgpg-error      459     minskim%NetBSD.org@localhost
> graphics/xpm               454     pkgsrc-users%NetBSD.org@localhost

Most of these failed b/c I ran out of disk space.  I'll rerun the bulk
build after I've cleaned up a lot of space.

This one, however, is strange:

> shells/bash                762     wiz%NetBSD.org@localhost

It fails during install b/c /usr/pkg/bin/nbsed coredumps.
The command causing this is basically invoking

/usr/pkg/bin/nbsed -e 's|bashref.info|bash.info|g' <bashref.info

Trying to track down where the problem comes from, I notice the
following:

$ tail -384 bashref.info | \
  /usr/pkg/bin/nbsed -e 's|bashref.info|bash.info|g' > /dev/null
Segmentation fault (core dumped)
$ tail -383  bashref.info | \
  /usr/pkg/bin/nbsed -e 's|bashref.info|bash.info|g' > /dev/null
$ 

So it seems as if line # N-384 triggers the problem.  However, running

$ tail -384 bashref.info | head -1 | \
  /usr/pkg/bin/nbsed -e 's|bashref.info|bash.info|g' > /dev/null
$ 

succeeds.

Line N-384 looks like this:

^H[index^H]

(Where ^H is actually Ctrl+H.)

There are other lines in the input file that are identical, and nbsed
doesn't dump core on them.

$ tail -384 bashref.info | head -102 | \
  /usr/pkg/bin/nbsed -e 's|bashref.info|bash.info|g' > /dev/null
$ 

$ tail -384 bashref.info | head -103 | \
  /usr/pkg/bin/nbsed -e 's|bashref.info|bash.info|g' > /dev/null
Segmentation fault (core dumped)
$ 

Poking around further, I manage to create two files, one that work, one
that causes the segfault.  diff(1) thinks they're binary, and that
they're different.  When looking at them via vi(1), it tells me that one
file contains 4 NULL characters.  Huh.

nbsed built on NetBSD does not fail on this input.  I tried building
nbsed with gcc and mipspro, and both fail.  I'm now trying to bootstrap
a 32bit binary and see if that helps.

-Jan

-- 
If you can read this, you're not the president.

Attachment: pgpMrIX7Lux7b.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index