NetBSD Problem Report #46937

From www@NetBSD.org  Mon Sep 10 22:21:07 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 06AFA63DC4E
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 10 Sep 2012 22:21:07 +0000 (UTC)
Message-Id: <20120910222106.4E5B263B9BC@www.NetBSD.org>
Date: Mon, 10 Sep 2012 22:21:06 +0000 (UTC)
From: lloyd@must-have-coffee.gen.nz
Reply-To: lloyd@must-have-coffee.gen.nz
To: gnats-bugs@NetBSD.org
Subject: Lots of broken syspkgs
X-Send-Pr-Version: www-1.0

>Number:         46937
>Category:       misc
>Synopsis:       Lots of broken syspkgs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    uki
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 10 22:25:00 +0000 2012
>Closed-Date:    Thu Jan 07 15:21:22 +0000 2021
>Last-Modified:  Sat Jan 09 20:05:00 +0000 2021
>Originator:     Lloyd Parkes
>Release:        6.0_POST_RC1
>Organization:
Must Have Coffee
>Environment:
NetBSD thallid.must-have-coffee.gen.nz 6.0_POST_RC1 NetBSD 6.0_POST_RC1 (XEN3PAE_DOMU) #1: Wed Sep  5 09:10:48 NZST 2012  lloyd@castigate.must-have-coffee.gen.nz:/Users/lloyd/scratch/build6/obj.i386/sys/arch/i386/compile/XEN3PAE_DOMU i386
>Description:
All sorts of files, especially all of the kernel modules, are listed in syspkgs that they can't be built into. The syspkgs system has a requirement that the package a file is in must be a part of the set that the file is in. e.g. /bin/ls is in base.tgz and base-util-root. 

I seem to be the only person who uses syspkgs, so set the priority of this PR accordingly.
>How-To-Repeat:
Run "build.sh syspkgs" and then try and find your kernel modules.

>Fix:
I have a patch at http://www.must-have-coffee.gen.nz/lloyd/syspkg-fixes-6.diff that fixes up all of the syspkg lists that I have found so far and adds a check to the listpkgs script that will halt the build if any broken lists are found.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: misc-bug-people->uki
Responsible-Changed-By: uki@NetBSD.org
Responsible-Changed-When: Sat, 01 Feb 2020 10:29:51 +0000
Responsible-Changed-Why:
This link is 404. But I have the copy. I can review it.
https://github.com/user340/basepkg/blob/master/distrib/www.must-have-coffee.gen.nz/lloyd/syspkg-fixes-6.diff


From: "Yuuki Enomoto" <uki@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46937 CVS commit: src/distrib/sets
Date: Tue, 11 Feb 2020 11:36:53 +0000

 Module Name:	src
 Committed By:	uki
 Date:		Tue Feb 11 11:36:53 UTC 2020

 Modified Files:
 	src/distrib/sets: comments deps regpkgset
 	src/distrib/sets/lists/base: mi
 	src/distrib/sets/lists/modules: ad.aarch64 ad.arm ad.m68k ad.mips
 	    ad.powerpc ad.sh3 md.alpha md.amd64 md.hppa md.i386 md.ia64
 	    md.sparc md.sparc64 md.vax mi

 Log Message:
 PR misc/46937: add modules package, from Lloyd Parkes.


 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.24 src/distrib/sets/comments
 cvs rdiff -u -r1.18 -r1.19 src/distrib/sets/deps
 cvs rdiff -u -r1.14 -r1.15 src/distrib/sets/regpkgset
 cvs rdiff -u -r1.1228 -r1.1229 src/distrib/sets/lists/base/mi
 cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/modules/ad.aarch64
 cvs rdiff -u -r1.14 -r1.15 src/distrib/sets/lists/modules/ad.arm
 cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/modules/ad.m68k
 cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/lists/modules/ad.mips
 cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/modules/ad.powerpc \
     src/distrib/sets/lists/modules/ad.sh3 \
     src/distrib/sets/lists/modules/md.vax
 cvs rdiff -u -r1.5 -r1.6 src/distrib/sets/lists/modules/md.alpha \
     src/distrib/sets/lists/modules/md.ia64 \
     src/distrib/sets/lists/modules/md.sparc
 cvs rdiff -u -r1.83 -r1.84 src/distrib/sets/lists/modules/md.amd64
 cvs rdiff -u -r1.6 -r1.7 src/distrib/sets/lists/modules/md.hppa
 cvs rdiff -u -r1.84 -r1.85 src/distrib/sets/lists/modules/md.i386
 cvs rdiff -u -r1.8 -r1.9 src/distrib/sets/lists/modules/md.sparc64
 cvs rdiff -u -r1.131 -r1.132 src/distrib/sets/lists/modules/mi

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

State-Changed-From-To: open->feedback
State-Changed-By: uki@NetBSD.org
State-Changed-When: Tue, 11 Feb 2020 11:49:38 +0000
State-Changed-Why:
I imported your patch to current branch without listpkgs changes.
The listpkgs changes does not allow having /var/db/obsolete/XXX file in each mi.
So, I decided to exclude it.


State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 07 Jan 2021 15:21:22 +0000
State-Changed-Why:
Looks like the author's patch is somewhat committed after changes. So I assume it is fixed. (Also: feedback timeout)


From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
To: gnats-bugs@netbsd.org, uki@netbsd.org, netbsd-bugs@netbsd.org,
 gnats-admin@netbsd.org, maya@NetBSD.org
Cc: 
Subject: Re: misc/46937 (Lots of broken syspkgs)
Date: Sun, 10 Jan 2021 07:43:36 +1300

 That's a fair call.

 I was literally fixing my build server when I got your email.

 Thanks

 On 8/01/21 4:21 am, maya@NetBSD.org wrote:
 > Synopsis: Lots of broken syspkgs
 >
 > State-Changed-From-To: feedback->closed
 > State-Changed-By: maya@NetBSD.org
 > State-Changed-When: Thu, 07 Jan 2021 15:21:22 +0000
 > State-Changed-Why:
 > Looks like the author's patch is somewhat committed after changes. So I assume it is fixed. (Also: feedback timeout)
 >
 >
 >

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.