NetBSD Problem Report #49528

From liman@cafax.se  Fri Jan  2 19:13:21 2015
Return-Path: <liman@cafax.se>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AA26CA57FD
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  2 Jan 2015 19:13:21 +0000 (UTC)
Message-Id: <20150102190932.C87695E0F0@server.liman.net>
Date: Fri,  2 Jan 2015 20:09:32 +0100 (MET)
From: liman@cafax.se
Reply-To: liman@cafax.se
To: gnats-bugs@gnats.NetBSD.org
Subject: Lost manuals for zdb, zfs, and zpool?
X-Send-Pr-Version: 3.95

>Number:         49528
>Category:       port-amd64
>Synopsis:       Certain manuals present in 6.1.2 are missing in 6.1.5.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 02 19:15:00 +0000 2015
>Last-Modified:  Sun Feb 15 14:35:01 +0000 2015
>Originator:     Lars-Johan Liman
>Release:        NetBSD 6.1.5
>Organization:
        Cafax AB
>Environment:
System: NetBSD server.liman.net 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:
        A comparison between the 6.1.2 and 6.1.5 man.tgz binary distribution
        files for amd64 makes it apparent that 6 files are omitted in the
        latter. I don't know the reason for the omission - it could be
        by design, but that seems unlikely since the corresponding utilities
        are still shipped in the base.tgz file. It is also possible that this
        problem pertains to more ports than amd64. I have not checked.

        The following commands should make the difference obvious:

        MANUAL FILES (only 6.1.2 has them)
        ----------------------------------

        server:/#tar ztf ./6.1.2-REL/amd64/binary/sets/man.tgz | egrep 'zpool|zdb|zfs'
        ./usr/share/man/html8/zdb.html
        ./usr/share/man/html8/zfs.html
        ./usr/share/man/html8/zpool.html
        ./usr/share/man/man8/zdb.8
        ./usr/share/man/man8/zfs.8
        ./usr/share/man/man8/zpool.8

        server:/#tar ztf ./6.1.5-REL/amd64/binary/sets/man.tgz | egrep 'zpool|zdb|zfs'
        <** NO OUTPUT - FILES ARE MISSING **>

        CORRESPONDING UTILITIES (both distros have them)
        ------------------------------------------------

        server:/#tar ztf ./6.1.2-REL/amd64/binary/sets/base.tgz | egrep 'bin/zpool|bin/zdb|bin/zfs'
        ./sbin/zfs
        ./sbin/zpool
        ./usr/sbin/zdb

        server:/#tar ztf ./6.1.5-REL/amd64/binary/sets/base.tgz | egrep 'bin/zpool|bin/zdb|bin/zfs'
        ./sbin/zfs
        ./sbin/zpool
        ./usr/sbin/zdb


>How-To-Repeat:
        Err ... well ... see above. :-)
>Fix:
        Add the missing files to the distribution. :-)

>Audit-Trail:
From: Soren Jacobsen <snj@blef.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-amd64/49528: Lost manuals for zdb, zfs, and zpool?
Date: Sun, 15 Feb 2015 01:11:48 -0800

 This bug is due to our semi-bogus set sharing setup.  The man pages in
 question only get built when MKZFS=yes, and that's only the case for
 i386 and amd64.  Until somewhat recently, the man set has been identical
 for all ports, but this is no longer true.  By luck (picking amd64 as
 the port whose set gets shared) these man pages ended up in 6.1.2
 (possibly other releases -- I haven't checked).  I'll change things so
 that, for future releases, amd64 and i386 share a man set of their own,
 avoiding the problem described here.

 Soren

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, liman@cafax.se
Subject: re: port-amd64/49528: Lost manuals for zdb, zfs, and zpool?
Date: Mon, 16 Feb 2015 01:32:58 +1100

 i think it would be better if the man set was once again made MI,
 like the contents of /usr/share are supposed to be.

 by this i mean, we should instead choose to install these man
 pages, regardless of MKZFS setting.


 .mrg.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.