Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 10:28:37 GMT
From:      Koop Mast <kwm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172389: Fix www/lynx with pkg in strict mode
Message-ID:  <201210061028.q96ASbWt022539@freefall.freebsd.org>
Resent-Message-ID: <201210061030.q96AUB9Z022704@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172389
>Category:       ports
>Synopsis:       Fix www/lynx with pkg in strict mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 06 10:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Koop Mast
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
	when pkg is run in strict mode warnings turn into failures.
	We shouldn't try to remove directories we don't make.
	
>How-To-Repeat:
	===>   Registering installation for lynx-2.8.7.2,1
	pkg: lstat(/usr/local/share/locale/rw/LC_MESSAGES/): No such file or directory
	pkg: DEVELOPER_MODE: Plist error: @dirrm share/locale/rw/LC_MESSAGES
	pkg: lstat(/usr/local/share/locale/rw/): No such file or directory
	pkg: DEVELOPER_MODE: Plist error: @dirrm share/locale/rw
	*** Error code 74

	Stop in /usr/ports/www/lynx.
	
>Fix:

	

--- lynx-pkg.diff begins here ---
Index: www/lynx/pkg-plist
===================================================================
--- www/lynx/pkg-plist	(revision 305185)
+++ www/lynx/pkg-plist	(working copy)
@@ -145,5 +145,3 @@
 %%NLS%%share/locale/uk/LC_MESSAGES/lynx.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/lynx.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/lynx.mo
-%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
-%%NLS%%@dirrmtry share/locale/rw
--- lynx-pkg.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210061028.q96ASbWt022539>