NetBSD Problem Report #40074
From kre@munnari.OZ.AU Sun Nov 30 23:13:11 2008
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id CF8E763BE89
for <gnats-bugs@gnats.NetBSD.org>; Sun, 30 Nov 2008 23:13:11 +0000 (UTC)
Message-Id: <200811302311.mAUNBpsx012885@jade.coe.psu.ac.th>
Date: Mon, 1 Dec 2008 06:11:51 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: sysutils/cdrkit and sysutils/cdrtools conflict, but are not marked
X-Send-Pr-Version: 3.95
>Number: 40074
>Category: pkg
>Synopsis: sysutils/cdrkit and sysutils/cdrtools conflict, but are not marked
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 30 23:15:00 +0000 2008
>Closed-Date: Wed Mar 24 09:43:45 +0000 2010
>Last-Modified: Thu Mar 25 02:55:01 +0000 2010
>Originator: Robert Elz
>Release: NetBSD 4.0_STABLE (pkgsrc current within the hour)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
sysutils/cdrkit and sysutils/cdrtools install files into the
same pathnames (equivalent files, I believe, at least equivalent
enough), yet the packages ar enot marked as conflicting.
>How-To-Repeat:
Install both packages, and observe the warning messages about
files being overwritten when installing whichever is installed
second, or just by observation ...
jade$ grep bin/iso cdrkit/PLIST cdrtools/PLIST
cdrkit/PLIST:bin/isodebug
cdrkit/PLIST:bin/isodump
cdrkit/PLIST:bin/isoinfo
cdrkit/PLIST:bin/isovfy
cdrtools/PLIST:bin/isodebug
cdrtools/PLIST:bin/isodump
cdrtools/PLIST:bin/isoinfo
cdrtools/PLIST:bin/isovfy
jade$ grep CONFLI cdrkit/Makefile cdrtools/Makefile
cdrtools/Makefile:CONFLICTS= mkisofs-[0-9]* cdrtools-ossdvd-[0-9]* cdrecord-[0-9]*
>Fix:
The cheap fix is just to add a CONFLICTS to sysutils/cdrkit
and augment the CONFLICTS already present in sysutils/cdrtools.
A much better fix, and I believe, the right way, would be to
split the objects that are duplicated into a package of
their own (sysutils/cdr-utils or something) and have both
sysutils/cdrkit and sysutils/cdrtools depend upon that one.
I suspect that the duplicates (the list above might not be
conplete, the grep was just to show the problem exists, it
was not intended to get everything) are more or less equivalent,
and it shouldn't matter which version gets installed, but
the new package could make it an option (from where to get
the sources for that stuff) if desired.
>Release-Note:
>Audit-Trail:
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/40074 CVS commit: pkgsrc/sysutils
Date: Tue, 2 Dec 2008 13:03:22 +0000 (UTC)
Module Name: pkgsrc
Committed By: obache
Date: Tue Dec 2 13:03:22 UTC 2008
Modified Files:
pkgsrc/sysutils/cdrkit: Makefile
pkgsrc/sysutils/cdrtools: Makefile
Log Message:
conflict between cdrkit and cdrtools. PR 40074.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/sysutils/cdrkit/Makefile
cvs rdiff -r1.47 -r1.48 pkgsrc/sysutils/cdrtools/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/40074: sysutils/cdrkit and sysutils/cdrtools conflict, but are not marked
Date: Wed, 24 Mar 2010 11:52:10 +0700
obache@ fixed this problem Dec 2, 2008. The PR can probably close.
kre
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 24 Mar 2010 09:43:45 +0000
State-Changed-Why:
CONFLICT marked, problem solved.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/40074: sysutils/cdrkit and sysutils/cdrtools conflict, but
are not marked
Date: Thu, 25 Mar 2010 02:51:42 +0000
On Wed, Mar 24, 2010 at 04:55:02AM +0000, Robert Elz wrote:
> obache@ fixed this problem Dec 2, 2008. The PR can probably close.
Oops, I should have closed it ages ago. It apparently got misflagged
in my pkgsrc-bugs mailbox...
--
David A. Holland
dholland@netbsd.org
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.