NetBSD Problem Report #38998

From hf@bounce.nt.e-technik.tu-darmstadt.de  Fri Jun 20 07:02:47 2008
Return-Path: <hf@bounce.nt.e-technik.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 716A063B880
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 20 Jun 2008 07:02:47 +0000 (UTC)
Message-Id: <200806200702.m5K72ZVh013343@bounce.nt.e-technik.tu-darmstadt.de>
Date: Fri, 20 Jun 2008 09:02:35 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: database/mysql5* do not install most of their man pages
X-Send-Pr-Version: 3.95

>Number:         38998
>Category:       pkg
>Synopsis:       database/mysql5* do not install most of their man pages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dholland
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 20 07:05:00 +0000 2008
>Closed-Date:    Thu Jun 18 04:33:13 +0000 2015
>Last-Modified:  Thu Jun 18 04:33:13 +0000 2015
>Originator:     Hauke Fath <hf@spg.tu-darmstadt.de>
>Release:        NetBSD 3.1_STABLE
>Organization:
-- 
/~\  The ASCII Ribbon Campaign                      Hauke Fath
\ /    No HTML/RTF in email	          Institut für Nachrichtentechnik
 X     No Word docs in email	                    TU Darmstadt
/ \  Respect for open standards                Ruf +49-6151-16-3281
>Environment:


System: NetBSD bounce 3.1_STABLE NetBSD 3.1_STABLE (BOUNCE) #0: Tue May 20 17:17:42 CEST 2008 hf@Hochstuhl:/var/obj/netbsd-builds/3/i386/sys/arch/i386/compile/BOUNCE i386
Architecture: i386
Machine: i386
>Description:

	The database/mysql5-{client,server} packages do not install
	most of mysql's man pages:

[hf@bounce] /<3>databases/mysql5-server > grep -E '^man/' PLIST ../mysql5-client/PLIST
PLIST:man/man1/mysqld_multi.1
PLIST:man/man8/mysqld.8
PLIST:man/man8/mysqlmanager.8
../mysql5-client/PLIST:man/man1/mysql.1
../mysql5-client/PLIST:man/man1/mysql_fix_privilege_tables.1
../mysql5-client/PLIST:man/man1/mysql_zap.1
../mysql5-client/PLIST:man/man1/mysqlaccess.1
../mysql5-client/PLIST:man/man1/mysqladmin.1
../mysql5-client/PLIST:man/man1/mysqldump.1
../mysql5-client/PLIST:man/man1/mysqlshow.1
[hf@bounce] /<3>databases/mysql5-server > ls work/mysql-5.0.51/man/
Makefile.am                     mysql_secure_installation.1     ndb_cpcd.1
Makefile.in                     mysql_setpermission.1           ndb_delete_all.1
comp_err.1                      mysql_tableinfo.1               ndb_desc.1
innochecksum.1                  mysql_tzinfo_to_sql.1           ndb_drop_index.1
make_win_bin_dist.1             mysql_upgrade.1                 ndb_drop_table.1
make_win_src_distribution.1     mysql_waitpid.1                 ndb_error_reporter.1
msql2mysql.1                    mysql_zap.1                     ndb_mgm.1
my_print_defaults.1             mysqlaccess.1                   ndb_mgmd.1
myisam_ftdump.1                 mysqladmin.1                    ndb_print_backup_file.1
myisamchk.1                     mysqlbinlog.1                   ndb_print_schema_file.1
myisamlog.1                     mysqlcheck.1                    ndb_print_sys_file.1
myisampack.1                    mysqld.8                        ndb_restore.1
mysql-stress-test.pl.1          mysqld_multi.1                  ndb_select_all.1
mysql-test-run.pl.1             mysqld_safe.1                   ndb_select_count.1
mysql.1                         mysqldump.1                     ndb_show_tables.1
mysql.server.1                  mysqlhotcopy.1                  ndb_size.pl.1
mysql_client_test.1             mysqlimport.1                   ndb_waiter.1
mysql_client_test_embedded.1    mysqlman.1                      ndbd.1
mysql_config.1                  mysqlmanager-pwgen.1            perror.1
mysql_convert_table_format.1    mysqlmanager.8                  replace.1
mysql_explain_log.1             mysqlmanagerc.1                 resolve_stack_dump.1
mysql_find_rows.1               mysqlshow.1                     resolveip.1
mysql_fix_extensions.1          mysqltest.1                     safe_mysqld.1
mysql_fix_privilege_tables.1    mysqltest_embedded.1
mysql_install_db.1              ndb_config.1
[hf@bounce] /<3>databases/mysql5-server >

>How-To-Repeat:

	Upgrade mysql5-server, look at mysql_fix_privilege_tables(1)
	man page, find it deprecates mysql_fix_privilege_tables and
	points to mysql_upgrade(1). 'man mysql_upgrade' comes up
	empty.

	Look closer and find that most of the man pages are not
	installed.

>Fix:

	Install all (relevant) man pages that come with the
	distribution.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->sketch
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sat, 20 Sep 2008 12:00:31 +0000
Responsible-Changed-Why:
sketch take maintainershop of mysql5.


Responsible-Changed-From-To: sketch->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 28 Nov 2011 00:07:01 +0000
Responsible-Changed-Why:
Back to role account, sketch isn't maintaining mysql5.


Responsible-Changed-From-To: pkg-manager->dholland
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Thu, 18 Jun 2015 03:54:47 +0000
Responsible-Changed-Why:
take. this still affects mysql51-*, though not apparently the later versions.


From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38998 CVS commit: pkgsrc/databases
Date: Thu, 18 Jun 2015 04:29:52 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Thu Jun 18 04:29:52 UTC 2015

 Modified Files:
 	pkgsrc/databases/mysql51-client: Makefile PLIST distinfo
 	pkgsrc/databases/mysql51-client/patches: patch-ap
 	pkgsrc/databases/mysql51-server: Makefile PLIST distinfo
 	pkgsrc/databases/mysql51-server/patches: patch-aj

 Log Message:
 Refresh the lists of man pages. Closes PR 38998.

 (Because of the partitioning into client and server packages, the man
 pages have to be partitioned to match; this interferes with the
 configure script's handling of them so the list of pages ends up
 hardcoded in these patches. And it seems the lists haven't been
 updated since the first mysql 5.x package.)


 To generate a diff of this commit:
 cvs rdiff -u -r1.20 -r1.21 pkgsrc/databases/mysql51-client/Makefile
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/mysql51-client/PLIST
 cvs rdiff -u -r1.26 -r1.27 pkgsrc/databases/mysql51-client/distinfo
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/mysql51-client/patches/patch-ap
 cvs rdiff -u -r1.26 -r1.27 pkgsrc/databases/mysql51-server/Makefile
 cvs rdiff -u -r1.25 -r1.26 pkgsrc/databases/mysql51-server/PLIST
 cvs rdiff -u -r1.30 -r1.31 pkgsrc/databases/mysql51-server/distinfo
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/mysql51-server/patches/patch-aj

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 18 Jun 2015 04:33:13 +0000
State-Changed-Why:
Fixed for mysql51-*. mysql55-* and mysql56-* have a different build system
and do not appear to be affected by the underlying problem.
(the mysql5-* packages for mysql 5.0.x were removed a long time back)


>Unformatted:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.