ports/172389: Fix www/lynx with pkg in strict mode

Koop Mast kwm at FreeBSD.org
Sat Oct 6 10:30:11 UTC 2012


>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 at 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:



More information about the freebsd-ports-bugs mailing list