NetBSD-Bugs archive

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

bin/50575: Building -current on Linux host, info/dir fills disk



>Number:         50575
>Category:       bin
>Synopsis:       Building -current on Linux host, info/dir fills disk
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 21 14:30:00 +0000 2015
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date 2015.12.21.04.58.50
>Organization:
>Environment:
System: NetBSD
Architecture: i36
Machine: i386
>Description:

Building NetBSD-current/i386 on a Debian 7/amd64 host,
the disk partition holding the build destdir fills up
with a huge destdir/usr/share/info/dir{,.lock,.tmp}:

    root@gumbo:/# ls -al /bracket/build/2015.12.21.04.58.50-i386/destdir/usr/share/info/
    total 150574304
    drwxr-xr-x  2 gson gson         4096 Dec 21 14:39 .
    drwxr-xr-x 33 gson gson         4096 Dec 21 13:34 ..
    -r--r--r--  1 gson gson       376744 Dec 21 14:18 am-utils.info
    -r--r--r--  1 gson gson       553257 Dec 21 13:44 bfd.info
    -r--r--r--  1 gson gson        15331 Dec 21 14:18 dc.info
    -r--r--r--  1 gson gson       207541 Dec 21 14:18 diff.info
    -rw-r--r--  2 gson gson  11594562756 Dec 21 14:24 dir
    -rw-r--r--  2 gson gson  11594562756 Dec 21 14:24 dir.lock
    -rw-r--r--  1 gson gson 130995847168 Dec 21 16:11 dir.tmp
    -r--r--r--  1 gson gson        89051 Dec 21 14:19 grep.info
    -r--r--r--  1 gson gson       657775 Dec 21 14:39 groff.info
    -r--r--r--  1 gson gson       126932 Dec 21 14:18 heimdal.info
    -r--r--r--  1 gson gson        65127 Dec 21 14:18 info.info
    -r--r--r--  1 gson gson       124567 Dec 21 14:18 info-stnd.info
    -r--r--r--  1 gson gson        67686 Dec 21 14:18 send-pr.info
    -r--r--r--  1 gson gson       769613 Dec 21 14:18 texinfo.info

This does not seem to happen on NetBSD build hosts.

I'm guessing this has something to do with the recent introduction of
the sortinfo tool.  I tried running the Linux nbsortinfo tool on a
well-formed info directory file from a native NetBSD build, and the
output looks corrupted:

  gumbo ~ $ head -30 /run/shm/dir
  This is the file .../info/dir, which contains the
  topmost node of the Info hierarchy, called (dir)Top.
  The first time you invoke Info you start off looking at this node.

  File: dir,     Node: Top  This is the top of the INFO tree

    This (the Directory node) gives a menu of major topics.
    Typing "q" exits, "?" lists all Info commands, "d" returns here,
    "h" gives a primer for first-timers,
    "mEmacs<Return>" visits the Emacs manual, etc.

    In Emacs, you can click mouse button 2 on a menu item or cross reference
    to select it.

  * Menu:

  Administration
  * Am-utils: (am-utils).          The Amd automounter suite of utilities

  Editors
  * vi: (vi.info).                The vi editor.

  GNU Gettext Utilities
  * ISO3166: (gettext)Country Codes.             ISO 3166 country codes.
  * ISO639: (gettext)Language Codes.             ISO 639 language codes.
  * autopoint: (gettext)autopoint Invocation.    Copy gettext infrastructure.
  * envsubst: (gettext)envsubst Invocation.      Expand environment variables.
  * gettext: (gettext).                          GNU gettext utilities.
  * gettextize: (gettext)gettextize Invocation.  Prepare a package for gettext.
  * msgattrib: (gettext)msgattrib Invocation.    Select part of a PO file.

  gumbo ~ $ /bracket/build/2015.12.21.04.58.50-i386/tools/bin/nbsortinfo  </run/shm/dir | head -30
  This is the file .../info/dir, which contains the
  nbsortinfo: topmost node of the Info hierarchy, called (dir)Top.
  Did not find menu line
  The first time you invoke Info you start off looking at this node.

  e first time you invoke Info you start off looking at this node.
  File: dir,   Node: Top	This is the top of the INFO tree
  t this node.

  ile: dir,	Node: Top	This is the top of the INFO tree
  t this node.
    This (the Directory node) gives a menu of major topics.
  is node.
    Typing "q" exits, "?" lists all Info commands, "d" returns here,
    "h" gives a primer for first-timers,
  commands, "d" returns here,
    "mEmacs<Return>" visits the Emacs manual, etc.
  "d" returns here,

   "mEmacs<Return>" visits the Emacs manual, etc.
  "d" returns here,
    In Emacs, you can click mouse button 2 on a menu item or cross reference
    to select it.
  can click mouse button 2 on a menu item or cross reference

   to select it.
  can click mouse button 2 on a menu item or cross reference
  * Menu:
  ect it.
  can click mouse button 2 on a menu item or cross reference

>How-To-Repeat:

Build NetBSD-current on Debian 7.

>Fix:



Home | Main Index | Thread Index | Old Index