Subject: pkg/36213: www/elinks missing file in PLIST
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Loic Hoguin <essen@dev-extend.eu>
List: pkgsrc-bugs
Date: 04/25/2007 14:35:01
>Number:         36213
>Category:       pkg
>Synopsis:       www/elinks missing file in PLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 25 14:35:01 +0000 2007
>Originator:     Loic Hoguin
>Release:        NetBSD 4.99.17 amd64
>Organization:
Dev:Extend 
>Environment:


System: NetBSD 4.99.17 (BLACKROSE) #9: Fri Apr 20 20:30:21 CEST 2007
	root@blackrose.dev-extend.eu:/usr/obj/sys/arch/amd64/compile/BLACKROSE



>Description:


The elinks package is missing a file in PLIST. The file is /usr/pkg/share/locale/locale.alias... but as this file may be shared between different packages it is probably normal. However if it is normal the error should not happen, and if it is shared there should be a special handling of this file.

Here's the error when installing:
=> Checking file-check results for elinks-0.11.2
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/share/locale/locale.alias
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/elinks



>How-To-Repeat:


cd www/elinks
make install

You probably won't have more than a warning if PKG_DEVELOPER is set to NO.


>Fix:


The following patch fixes the error; however this is certainly NOT the right way to fix this.

--- elinks-patch begins here ---
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/www/elinks/PLIST,v
retrieving revision 1.8
diff -r1.8 PLIST
1c1
< @comment $NetBSD: PLIST,v 1.8 2006/04/17 07:07:37 jlam Exp $
---
> @comment $NetBSD$
23a24
> share/locale/locale.alias
--- elinks-patch ends here ---