Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2011 22:07:10 GMT
From:      "4720@hushmail.com" <4720@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162119: [patch] audio/audacity-devel attempts to unconditonally remove shared directories
Message-ID:  <201110282207.p9SM7A1b072589@red.freebsd.org>
Resent-Message-ID: <201110282210.p9SMAADa039129@freefall.freebsd.org>

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

>Number:         162119
>Category:       ports
>Synopsis:       [patch] audio/audacity-devel attempts to unconditonally remove shared directories
>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:   Fri Oct 28 22:10:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     4720@hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
audio/audacity lists several shared directories in its plist with @dirrm, causing packing list errors when upgraded/uninstalled and other ports have files in those directories.

pkg_delete: unable to completely remove directory '/usr/local/share/mime/packages'
pkg_delete: unable to completely remove directory '/usr/local/share/mime'
pkg_delete: unable to completely remove directory '/usr/local/share/locale/oc/LC_MESSAGES'
pkg_delete: unable to completely remove directory '/usr/local/share/locale/oc'
pkg_delete: unable to completely remove directory '/usr/local/share/locale/my/LC_MESSAGES'
pkg_delete: unable to completely remove directory '/usr/local/share/locale/my'
pkg_delete: unable to completely remove directory '/usr/local/share/locale/ca@valencia/LC_MESSAGES'
pkg_delete: unable to completely remove directory '/usr/local/share/locale/ca@valencia'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/scalable/apps'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/scalable'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/48x48/apps'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/48x48'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/32x32/apps'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/32x32'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/24x24/apps'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/24x24'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/22x22/apps'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/22x22'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/16x16/apps'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor/16x16'
pkg_delete: unable to completely remove directory '/usr/local/share/icons/hicolor'
pkg_delete: unable to completely remove directory '/usr/local/share/icons'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
>How-To-Repeat:

>Fix:
attached patch changes unconditional @dirrm to @dirrmtry for shared directories.

Patch attached with submission follows:

Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/audio/audacity-devel/pkg-plist,v
retrieving revision 1.16
diff -u -r1.16 pkg-plist
--- pkg-plist	10 Jun 2011 22:19:56 -0000	1.16
+++ pkg-plist	28 Oct 2011 22:01:05 -0000
@@ -118,30 +118,30 @@
 share/pixmaps/audacity16.xpm
 share/pixmaps/audacity32.xpm
 share/pixmaps/gnome-mime-application-x-audacity-project.xpm
-@dirrm share/mime/packages
-@dirrm share/mime
-@dirrm share/locale/oc/LC_MESSAGES
-@dirrm share/locale/oc
-@dirrm share/locale/my/LC_MESSAGES
-@dirrm share/locale/my
-@dirrm share/locale/km/LC_MESSAGES
-@dirrm share/locale/km
-@dirrm share/locale/ca@valencia/LC_MESSAGES
-@dirrm share/locale/ca@valencia
-@dirrm share/icons/hicolor/scalable/apps
-@dirrm share/icons/hicolor/scalable
-@dirrm share/icons/hicolor/48x48/apps
-@dirrm share/icons/hicolor/48x48
-@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/32x32
-@dirrm share/icons/hicolor/24x24/apps
-@dirrm share/icons/hicolor/24x24
-@dirrm share/icons/hicolor/22x22/apps
-@dirrm share/icons/hicolor/22x22
-@dirrm share/icons/hicolor/16x16/apps
-@dirrm share/icons/hicolor/16x16
-@dirrm share/icons/hicolor
-@dirrm share/icons
+@dirrmtry share/mime/packages
+@dirrmtry share/mime
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/my/LC_MESSAGES
+@dirrmtry share/locale/my
+@dirrmtry share/locale/km/LC_MESSAGES
+@dirrmtry share/locale/km
+@dirrmtry share/locale/ca@valencia/LC_MESSAGES
+@dirrmtry share/locale/ca@valencia
+@dirrmtry share/icons/hicolor/scalable/apps
+@dirrmtry share/icons/hicolor/scalable
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor/32x32/apps
+@dirrmtry share/icons/hicolor/32x32
+@dirrmtry share/icons/hicolor/24x24/apps
+@dirrmtry share/icons/hicolor/24x24
+@dirrmtry share/icons/hicolor/22x22/apps
+@dirrmtry share/icons/hicolor/22x22
+@dirrmtry share/icons/hicolor/16x16/apps
+@dirrmtry share/icons/hicolor/16x16
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
 @dirrm %%DATADIR%%/plug-ins
 @dirrm %%DATADIR%%/nyquist/rawwaves
 @dirrm %%DATADIR%%/nyquist


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



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