From nobody@FreeBSD.org  Sat Nov 12 21:43:17 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A191E16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Nov 2005 21:43:17 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 71A2343D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Nov 2005 21:43:17 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jACLhHHh018364
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Nov 2005 21:43:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jACLhHDr018363;
	Sat, 12 Nov 2005 21:43:17 GMT
	(envelope-from nobody)
Message-Id: <200511122143.jACLhHDr018363@www.freebsd.org>
Date: Sat, 12 Nov 2005 21:43:17 GMT
From: Christoph Sold <cs@cheasy.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Upgrade 5.4-Release to 6.0-Release: mergemaster fails with cap_mkdb: illegal option -- l
X-Send-Pr-Version: www-2.3

>Number:         88904
>Category:       kern
>Synopsis:       Upgrade 5.4-Release to 6.0-Release: mergemaster fails with cap_mkdb: illegal option -- l
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 12 21:50:11 GMT 2005
>Closed-Date:    Sun Nov 13 00:32:13 GMT 2005
>Last-Modified:  Sun Nov 13 17:20:18 GMT 2005
>Originator:     Christoph Sold
>Release:        5.4-Release
>Organization:
>Environment:
FreeBSD cheasy.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
root@cheasy:/usr/src
>Description:
Upgrading 5.4-R to 6.0-R fails with mergemaster.
>How-To-Repeat:
# grep default /home/build/cvsup/supfile 
*default host=cvsup.de.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6_0
*default delete use-rel-suffix
*default compress                                                                
# cvsup -L2 supfile
mergemaster -p
make buildworld buildkernel
mergemaster 
..
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]
*** Error code 1

Stop in /usr/src/etc.

  *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to
      the temproot environment
>Fix:
              
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Nov 12 22:31:33 GMT 2005 
Responsible-Changed-Why:  
Over to mergemaster maintainer for evaluation. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88904 

From: Craig Rodrigues <rodrigc@crodrigues.org>
To: bug-followup@freebsd.org
Cc: Christoph Sold <cs@cheasy.de>
Subject: Re: kern/88904: Upgrade 5.4-Release to 6.0-Release: mergemaster fails with cap_mkdb: illegal option -- l
Date: Sat, 12 Nov 2005 19:08:50 -0500

 On Sat, Nov 12, 2005 at 09:43:17PM +0000, Christoph Sold wrote:
 > mergemaster -p
 > make buildworld buildkernel
 > mergemaster 
 
 Where did you get the idea that you could perform
 the upgrade using the steps in that order?  The sequence
 of steps is documented in /usr/src/UPDATING and in the Handbook,
 and you did not follow them properly.
 
 -- 
 Craig Rodrigues        
 rodrigc@crodrigues.org
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Sun Nov 13 00:31:20 GMT 2005 
State-Changed-Why:  

As Craig pointed out, the order in which you're trying 
to do things is unsupported. Please review the UPDATING 
file in more detail, and if you still have questions, 
send mail to freebsd-stable@freebsd.org. 

Good luck, 

Doug 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88904 

From: Oliver Fromme <olli@lurza.secnetix.de>
To: bug-followup@FreeBSD.ORG, Christoph Sold <cs@cheasy.de>
Cc:  
Subject: Re: kern/88904: Upgrade 5.4-Release to 6.0-Release: mergemaster fails 	with cap_mkdb: illegal option -- l
Date: Sun, 13 Nov 2005 18:17:37 +0100 (CET)

 Christoph Sold <cs@cheasy.de> wrote:
  > > Number:         88904
  > > Category:       kern
  > > Synopsis:       Upgrade 5.4-Release to 6.0-Release: mergemaster fails with cap_mkdb: illegal option -- l
  > [...]
  > # cvsup -L2 supfile
  > mergemaster -p
  > make buildworld buildkernel
  > mergemaster 
 
 "mergemaster -p" must be run _after_ build* (before install-
 world), because it creates pseudo users and groups that are
 required for installworld of the new version (if they're
 missing).
 
 "mergemaster" (without "-p") must be run after installworld,
 because it depends on the new userland.  If you run it
 before, then it will pick up the tools from the old version,
 which might not work, e.g. in case of missing options, like
 the one you reported.
 
 Please stick to the order documented in UPDATING:
 
 	make buildworld
 	make kernel KERNCONF=YOUR_KERNEL_HERE
 	<reboot in single user>
 	mergemaster -p
 	make installworld
 	mergemaster
 	<reboot>
 
 Best regards
    Oliver
 
 -- 
 Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
 Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
 Any opinions expressed in this message may be personal to the author
 and may not necessarily reflect the opinions of secnetix in any way.
 
 "Python is an experiment in how much freedom programmers need.
 Too much freedom and nobody can read another's code; too little
 and expressiveness is endangered."
         -- Guido van Rossum
>Unformatted:
