NetBSD Problem Report #8755

Received: (qmail 22314 invoked from network); 6 Nov 1999 11:44:40 -0000
Message-Id: <19991106124437.A10645@pluto.geo.Uni-Koeln.DE>
Date: Sat, 6 Nov 1999 12:44:37 +0100
From: "Dr. Lex Wennmacher" <wennmach@geo.Uni-Koeln.DE>
Reply-To: wennmach@geo.Uni-Koeln.DE
To: gnats-bugs@gnats.netbsd.org
Subject: kdebase-1.1.2 installs it's own `rman'

>Number:         8755
>Category:       pkg
>Synopsis:       kdebase-1.1.2 installs it's own `rman'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    fredb
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 06 03:45:00 +0000 1999
>Closed-Date:    Tue Mar 20 00:33:17 +0000 2001
>Last-Modified:  Tue Mar 20 00:33:17 +0000 2001
>Originator:     Dr. Lex Wennmacher
>Release:        1.4
>Organization:
Dr. Alexandre Wennmacher
Institut fuer Geophysik und Meteorologie         wennmach@geo.Uni-Koeln.DE
Universitaet zu Koeln                            phone  +49 221 470 - 3387
D-50923 Koeln                                    fax    +49 221 470 - 5198
>Environment:

System: NetBSD hal 1.4 NetBSD 1.4 (HAL) #5: Thu Nov 4 16:27:59 MET 1999 wennmach@hal:/usr/src/sys/arch/i386/compile/HAL i386


>Description:

kdebase-1.1.2 installs it's own version of `rman' instead of depending
on textproc/rman.
>How-To-Repeat:

hal:~ >pkg_info -F /usr/X11R6/bin/rman
Information for kdebase-1.1.2:
[...]

hal:~ >/usr/X11R6/bin/rman --version
PolyglotMan v3.0.7 of $Date: 1999/04/09 10:32:12 $

hal:~ >pkg_info -F /usr/pkg/bin/rman
Information for rman-3.0.6:
[...]

hal:~ >/usr/pkg/bin/rman --version
PolyglotMan v3.0.7 of $Date: 1998/07/13 09:46:51 $

>Fix:

Don't build and install rman with kdebase.
Make kdebase depend on textproc/rman.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Sat Nov 6 10:56:30 PST 1999 
State-Changed-Why:  
Because the "textproc" package has a restricted license we couldn't put 
KDE on CD-ROMs easily anymore. So I would prefer to keep it's own copy 
of "rman". 

From: "Dr. Lex Wennmacher" <wennmach@geo.Uni-Koeln.DE>
To: tron@netbsd.org
Cc: "Dr. Lex Wennmacher" <wennmach@pluto.geo.Uni-Koeln.DE>,
        gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/8755
Date: Sun, 7 Nov 1999 22:47:45 +0100

 On Sat, Nov 06, 1999 at 06:58:17PM -0000, tron@netbsd.org wrote:
 > Because the "textproc" package has a restricted license we couldn't put
 > KDE on CD-ROMs easily anymore. So I would prefer to keep it's own copy
 > of "rman".

 Ok, I see. I thought it was an oversight. Now I understand that there's a 
 reason behind it.

 However, it is suboptimal to have to maintain two different locations
 for one executable and to have two identical executables in the tree.

 Is there no better way to handle this (ask the author for permission to
 put rman on CD-ROM)?

 This discussion is probably beyond the scope of my PR, so feel free to
 close it.

 Cheers
 Lex
State-Changed-From-To: feedback->analyzed 
State-Changed-By: fredb 
State-Changed-When: Fri Sep 22 23:07:58 CDT 2000 
State-Changed-Why:  
The latest PolyGlotMan, rman-3.0.9, is now "Open Source" (more restrictive 
than BSD License, but less restrictive than GPL), so like, go for it! 

From: Frederick Bruckman <fb@enteract.com>
To: <tech-pkg@NetBSD.ORG>
Cc: <gnats-bugs@gnats.NetBSD.ORG>
Subject: Re: pkg/8755 kdebase installs it's own rman.
Date: Wed, 14 Mar 2001 08:53:52 -0600 (CST)

 Another wrinkle...

 We seem to have an "rman" in the NetBSD cvs repository
 (xsrc/xfree/xc/extras/rman/). Since I don't have an XFree86-4.x
 installation right now, it's not clear to me if "make World" in
 xsrc/xfree/xc actually installs it.

 Could someone please tell me if "rman" is or is not installed?

 Some of the tools in the "extras" directory are obviously installed
 (Xpm), and some seem destined to remain optional (regex). Is anyone
 privy to xfree86's future plans? If it's installed, or going to be
 installed, pkgsrc need to special case it as for "xpm".


 Frederick


From: netbsd@arresum.inka.de (Bernd Ernesti)
To: fb@enteract.com
Cc: tech-pkg@netbsd.org, gnats-bugs@gnats.NetBSD.ORG
Subject: Re: pkg/8755 kdebase installs it's own rman.
Date: Sat, 17 Mar 2001 18:37:16 +0100 (CET)

 On Wed Mar 14 15:53:52 2001, Frederick Bruckman wrote:
 > 
 > Another wrinkle...
 > 
 > We seem to have an "rman" in the NetBSD cvs repository
 > (xsrc/xfree/xc/extras/rman/). Since I don't have an XFree86-4.x
 > installation right now, it's not clear to me if "make World" in
 > xsrc/xfree/xc actually installs it.

 It will be installed.

 > Could someone please tell me if "rman" is or is not installed?

 It is.

 > Some of the tools in the "extras" directory are obviously installed
 > (Xpm), and some seem destined to remain optional (regex). Is anyone
 > privy to xfree86's future plans? If it's installed, or going to be
 > installed, pkgsrc need to special case it as for "xpm".

 Yeah, looks like we need add a hack for it. The next problem is that
 there are now .html manpages installed when you use Imakefiles and
 XFree 4.x. There is no handling for that in pkgsrc.

 Bernd


From: Frederick Bruckman <fb@enteract.com>
To: Bernd Ernesti <netbsd@arresum.inka.de>
Cc: <tech-pkg@netbsd.org>, <gnats-bugs@gnats.NetBSD.ORG>
Subject: Re: pkg/8755 kdebase installs it's own rman.
Date: Sun, 18 Mar 2001 09:30:36 -0600 (CST)

 On Sat, 17 Mar 2001, Bernd Ernesti wrote:

 > On Wed Mar 14 15:53:52 2001, Frederick Bruckman wrote:
 > >
 > > We seem to have an "rman" in the NetBSD cvs repository
 > > (xsrc/xfree/xc/extras/rman/). Since I don't have an XFree86-4.x
 > > installation right now, it's not clear to me if "make World" in
 > > xsrc/xfree/xc actually installs it.
 >
 > It will be installed.

 Thanks.

 > > Some of the tools in the "extras" directory are obviously installed
 > > (Xpm), and some seem destined to remain optional (regex). Is anyone
 > > privy to xfree86's future plans? If it's installed, or going to be
 > > installed, pkgsrc need to special case it as for "xpm".
 >
 > Yeah, looks like we need add a hack for it.

 It turns out to be a little easier than xpm, since there's no way the
 package rman could be installed to ${X11BASE}.

 If no one objects, I'll commit the patch below, conditionally set
 IGNORE in textproc/rman, change the only package that currently
 depends on rman -- tkman -- to use USE_RMAN, and then proceed to rip
 "rman" out of the kdebase package, replacing it with USE_RMAN.

 I'm DEPEND'ing on 3.0.9 exactly, since earlier versions had the
 more restrictive license.

 > The next problem is that
 > there are now .html manpages installed when you use Imakefiles and
 > XFree 4.x. There is no handling for that in pkgsrc.

 Let's see. Imake.tmpl sets BuildHtmlManPages to YES conditionally on
 RmanCmd being set, which in turn is set if BuildRman is set to YES. We
 could turn the html man pages off by setting ``#define
 BuildHtmlManPages NO'' in NetBSD.cf, as is done in linux.def, but I'd
 rather not. I kind of like them. As a matter of fact, I wish we would
 install the source man pages (for rman/tkman), and while I'm wishing,
 the font metric (.afm) files for t1lib.

 I think we could do the PLIST munging conditionally on finding
 BuildHtmlManPages in Imake.tmpl, but that will mess up folks who've
 set BuildHtmlManPages to NO in their own host.def. Just don't do that!


 Frederick

 Index: bsd.pkg.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
 retrieving revision 1.687
 diff -c -r1.687 bsd.pkg.mk
 *** bsd.pkg.mk	2001/03/16 12:43:45	1.687
 --- bsd.pkg.mk	2001/03/18 15:15:42
 ***************
 *** 833,838 ****
 --- 833,848 ----
   .undef __BUILTIN_MESA
   .endif	# USE_MESA

 + # Check if we got "rman" with XFree86, for packages that need "rman".
 + .if defined(USE_RMAN)
 + .if !exists(${X11BASE}/bin/rman)
 + DEPENDS+=		rman-3.0.9:../../textproc/rman
 + RMAN?=			${LOCALBASE}/bin/rman
 + .else
 + RMAN?=			${X11BASE}/bin/rman
 + .endif
 + .endif
 +
   # Popular master sites
   MASTER_SITE_XCONTRIB+=	\
   	ftp://crl.dec.com/pub/X11/contrib/ \

Responsible-Changed-From-To: pkg-manager->fredb 
Responsible-Changed-By: fredb 
Responsible-Changed-When: Sun Mar 18 21:50:00 CST 2001 
Responsible-Changed-Why:  
I've worked out the fix for this. I'll commit it tomorrow. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: fredb 
State-Changed-When: Mon Mar 19 18:32:31 CST 2001 
State-Changed-Why:  
Fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.