NetBSD Problem Report #35396

From dauphin@enst.fr  Wed Jan 10 15:27:16 2007
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 3C0AD63BBB8
	for <gnats-bugs@gnats.netbsd.org>; Wed, 10 Jan 2007 15:27:16 +0000 (UTC)
Message-Id: <1168442835.22108@bi.enst.fr>
Date: Wed, 10 Jan 2007 16:27:15 +0100
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: IMAKE_MAN_DIR solaris
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         35396
>Category:       pkg
>Synopsis:       IMAKE_MAN_DIR solaris
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 10 15:30:00 +0000 2007
>Last-Modified:  Sun Feb 21 14:42:54 +0000 2010
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc


>Description:


xli-1.17.0nb7 requires installed package jpeg-6bnb3
xli-1.17.0nb7 requires installed package png-1.2.15
=> Checking file-check results for xli-1.17.0nb7
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/share/man/man1/xli.1
ERROR:         /usr/pkg/share/man/man1/xlito.1
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/man/man1/xli.1
ERROR:         /usr/pkg/man/man1/xlito.1
*** Error code 1



>How-To-Repeat:


bmake install


>Fix:


somethings are wrong with IMAKE_MAN_DIR
package like 
pixmap
tgif
xgraph
xli
xv

won't install


>Release-Note:

>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
Date: Wed, 10 Jan 2007 16:42:39 +0100

 On Wed, Jan 10, 2007 at 03:30:00PM +0000, Gilles Dauphin wrote:
 > => Checking file-check results for xli-1.17.0nb7
 > ERROR: ************************************************************
 > ERROR: The following files are in the PLIST but not in /usr/pkg:
 > ERROR:         /usr/pkg/share/man/man1/xli.1
 > ERROR:         /usr/pkg/share/man/man1/xlito.1
 > ERROR: ************************************************************
 > ERROR: The following files are in /usr/pkg but not in the PLIST:
 > ERROR:         /usr/pkg/man/man1/xli.1
 > ERROR:         /usr/pkg/man/man1/xlito.1
 > *** Error code 1
 > 
 > somethings are wrong with IMAKE_MAN_DIR

 pkgsrc/mk/SunOS.mk, IMAKE_MAN_SOURCE_PATH.

 Joerg

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	pkgsrc-bugs@NetBSD.org, dauphin@enst.fr, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
Date: Fri, 12 Jan 2007 14:27:59 +0100 (CET)

 > X-Virus-Scanned: amavisd-new at enst.fr
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org, 
 "Gilles Dauphin" <dauphin@enst.fr>
 > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
 > X-Gnats-Was-Stupid: no
 > Cc: 
 > 
 > The following reply was made to PR pkg/35396; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
 > Date: Wed, 10 Jan 2007 16:42:39 +0100
 > 
 >  On Wed, Jan 10, 2007 at 03:30:00PM +0000, Gilles Dauphin wrote:
 >  > => Checking file-check results for xli-1.17.0nb7
 >  > ERROR: ************************************************************
 >  > ERROR: The following files are in the PLIST but not in /usr/pkg:
 >  > ERROR:         /usr/pkg/share/man/man1/xli.1
 >  > ERROR:         /usr/pkg/share/man/man1/xlito.1
 >  > ERROR: ************************************************************
 >  > ERROR: The following files are in /usr/pkg but not in the PLIST:
 >  > ERROR:         /usr/pkg/man/man1/xli.1
 >  > ERROR:         /usr/pkg/man/man1/xlito.1
 >  > *** Error code 1
 >  > 
 >  > somethings are wrong with IMAKE_MAN_DIR
 >  
 >  pkgsrc/mk/SunOS.mk, IMAKE_MAN_SOURCE_PATH.

 Not only, MANPATH is /usr/pkg/man, when the 
 '/usr/ccs/bin/make MANPATH=/usr/pkg/man ... install.man'
 the MANPATH variable is set to 'standard' pkg man.
 The solaris's make overwrite the MANPATH seted in Makefile as usual, but not 
 recursilvy.
 One of patch is maybe to set MANPATH=IMAKE_MAN_SOURCE_PATH when using imake.
 An other is to set IMAKE_MAN_SOURCE_PATH=${MANPATH} in SunOS.mk and use
 gmake instead of solaris's make when USE_IMAKE is True.
 A good test is time/xcal.

 Gilles

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
Date: Sat, 13 Jan 2007 00:05:57 +0100

 On Fri, Jan 12, 2007 at 01:30:02PM +0000, Gilles Dauphin wrote:
 >  One of patch is maybe to set MANPATH=IMAKE_MAN_SOURCE_PATH when using imake.
 >  An other is to set IMAKE_MAN_SOURCE_PATH=${MANPATH} in SunOS.mk and use
 >  gmake instead of solaris's make when USE_IMAKE is True.
 >  A good test is time/xcal.

 Both is wrong. The variable needs to match the imake settings -- whether
 or not imake turns in gmake is completely separate. MANPATH must not be
 changed by the infrastructure. The canonical test case is x11/xsnow.

 Joerg

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
Date: Tue, 16 Jan 2007 12:31:46 +0100 (CET)

 Joerg,

 On Solaris the problem is here:

 [dauphin@bi 218] cat Makefile 
           MANPATH = $(PREFIX)/share/man
 all:
         @echo First make MANPATH=$(MANPATH)
         @$(MAKE) inside

 inside:
         @echo Second make MANPATH=$(MANPATH)
 [dauphin@bi 219] gmake MANPATH=/somewhere
 First make MANPATH=/somewhere
 gmake[1]: Entering directory `/home/dauphin'
 Second make MANPATH=/somewhere
 gmake[1]: Leaving directory `/home/dauphin'
 [dauphin@bi 220] /usr/ccs/bin/make MANPATH=/somewhere
 First make MANPATH=/somewhere
 Second make MANPATH=/share/man
 [dauphin@bi 221] 

 Gilles

 > X-Virus-Scanned: amavisd-new at enst.fr
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org, 
 "Gilles Dauphin" <dauphin@enst.fr>
 > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
 > X-Gnats-Was-Stupid: no
 > Cc: 
 > 
 > The following reply was made to PR pkg/35396; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
 > Date: Sat, 13 Jan 2007 00:05:57 +0100
 > 
 >  On Fri, Jan 12, 2007 at 01:30:02PM +0000, Gilles Dauphin wrote:
 >  >  One of patch is maybe to set MANPATH=IMAKE_MAN_SOURCE_PATH when using 
 imake.
 >  >  An other is to set IMAKE_MAN_SOURCE_PATH=${MANPATH} in SunOS.mk and use
 >  >  gmake instead of solaris's make when USE_IMAKE is True.
 >  >  A good test is time/xcal.
 >  
 >  Both is wrong. The variable needs to match the imake settings -- whether
 >  or not imake turns in gmake is completely separate. MANPATH must not be
 >  changed by the infrastructure. The canonical test case is x11/xsnow.
 >  
 >  Joerg
 >  

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	pkgsrc-bugs@NetBSD.org, dauphin@enst.fr, gnats-bugs@NetBSD.org
Cc: tech-pkg@NetBSD.org
Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
Date: Tue, 16 Jan 2007 12:47:48 +0100 (CET)

 Proposal for Solaris:

 set IMAKE_MAN_DIR=${MANPATH} or remove it.
 when USE_IMAKE == yes
   set USE_TOOLS+= gmake
   MAKE_ARGS+=     MAKE=${GMAKE}

 and all man go to /usr/pkg/man. why not?

 Gilles

 > X-Virus-Scanned: amavisd-new at enst.fr
 > From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
 > To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org, 
 "Gilles Dauphin" <dauphin@enst.fr>
 > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
 > X-Gnats-Was-Stupid: no
 > Cc: 
 > 
 > The following reply was made to PR pkg/35396; it has been noted by GNATS.
 > 
 > From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
 > To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
 > 	gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
 > Date: Tue, 16 Jan 2007 12:31:46 +0100 (CET)
 > 
 >  Joerg,
 >  
 >  On Solaris the problem is here:
 >  
 >  [dauphin@bi 218] cat Makefile 
 >            MANPATH = $(PREFIX)/share/man
 >  all:
 >          @echo First make MANPATH=$(MANPATH)
 >          @$(MAKE) inside
 >  
 >  inside:
 >          @echo Second make MANPATH=$(MANPATH)
 >  [dauphin@bi 219] gmake MANPATH=/somewhere
 >  First make MANPATH=/somewhere
 >  gmake[1]: Entering directory `/home/dauphin'
 >  Second make MANPATH=/somewhere
 >  gmake[1]: Leaving directory `/home/dauphin'
 >  [dauphin@bi 220] /usr/ccs/bin/make MANPATH=/somewhere
 >  First make MANPATH=/somewhere
 >  Second make MANPATH=/share/man
 >  [dauphin@bi 221] 
 >  
 >  Gilles
 >  
 >  > X-Virus-Scanned: amavisd-new at enst.fr
 >  > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 >  > To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org, 
 >  "Gilles Dauphin" <dauphin@enst.fr>
 >  > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
 >  > X-Gnats-Was-Stupid: no
 >  > Cc: 
 >  > 
 >  > The following reply was made to PR pkg/35396; it has been noted by GNATS.
 >  > 
 >  > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 >  > To: gnats-bugs@NetBSD.org
 >  > Cc: 
 >  > Subject: Re: pkg/35396: IMAKE_MAN_DIR solaris
 >  > Date: Sat, 13 Jan 2007 00:05:57 +0100
 >  > 
 >  >  On Fri, Jan 12, 2007 at 01:30:02PM +0000, Gilles Dauphin wrote:
 >  >  >  One of patch is maybe to set MANPATH=IMAKE_MAN_SOURCE_PATH when using 
 >  imake.
 >  >  >  An other is to set IMAKE_MAN_SOURCE_PATH=${MANPATH} in SunOS.mk and use
 >  >  >  gmake instead of solaris's make when USE_IMAKE is True.
 >  >  >  A good test is time/xcal.
 >  >  
 >  >  Both is wrong. The variable needs to match the imake settings -- whether
 >  >  or not imake turns in gmake is completely separate. MANPATH must not be
 >  >  changed by the infrastructure. The canonical test case is x11/xsnow.
 >  >  
 >  >  Joerg
 >  >  
 >  

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 21 Feb 2010 14:42:54 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


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