Bug 135261 - [patch] graphics/py-qt4-svg: do @dirrmtry instead of @dirrm
Summary: [patch] graphics/py-qt4-svg: do @dirrmtry instead of @dirrm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 16:50 UTC by Boris Samorodov
Modified: 2009-06-15 20:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Samorodov freebsd_committer freebsd_triage 2009-06-04 16:50:01 UTC
	The port currently tries to delete those directories which may
	be populated upon the ports delettion. Hence an error (warning?)
	occures (this is with devel/eric4 port):
	-----
	...
	====================<phase 7: make package>====================
	===>  Building package for eric4-4.3.4
	Creating package /tmp/packages/All/eric4-4.3.4.tbz
	Registering depends: py25-qt4-qscintilla2-2.3.2_1,1 py25-qt4-svg-4.4.4,1 py25-qt4-gui-4.4.4,1 py25-qt4-network-4.4.4,1 py25-qt4-core-4.4.4_1,1 qscintilla2-2.3.2,1 qt4-designer-4.4.3 qt4-script-4.4.3 qt4-webkit-4.4.3 qt4-assistant-4.4.3 qt4-qt3support-4.4.3 qt4-help-4.4.3 qt4-network-4.4.3 qt4-sqlite-plugin-4.4.3 qt4-sql-4.4.3 qt4-clucene-4.4.3 qt4-imageformats-4.4.3 qt4-iconengines-4.4.3 qt4-xml-4.4.3 qt4-svg-4.4.3 qt4-inputmethods-4.4.3 qt4-gui-4.4.3_2 qt4-corelib-4.4.3 glib-2.20.3 gettext-0.17_1 libiconv-1.11_1 sqlite3-3.6.13 xorg-libraries-7.4 libxkbui-1.0.2_1 libxkbfile-1.0.5 liboldX-1.0.1 libXTrap-1.0.0 trapproto-3.4.3 libXaw-1.0.5_1,1 libXpm-3.5.7 libXmu-1.0.4,1 libXt-1.0.5_1 libXdamage-1.1.1 libXcomposite-0.4.0,1 libXcursor-1.1.9_1 libXfixes-4.0.3_1 libXxf86vm-1.0.2 libXxf86misc-1.0.1 libXxf86dga-1.0.2 libXvMC-1.0.4_1 libXv-1.0.4,1 libXtst-1.0.3_1 libXScrnSaver-1.1.3 libXres-1.0.3_3 libXfontcache-1.0.4 libXevie-1.0.2 libXp-1.0.0,1 libdmx-1.0.2_1 libXi-1.2.1,1 libXine!
 rama-1.0.3,1 libXrandr-1.3.0 libXext-1.0.5,1 libXft-2.1.13 libXrender-0.9.4_1 libX11-1.2.1,1 libxcb-1.2_1 libpthread-stubs-0.1 pcre-7.9 xtrans-1.2.3 pixman-0.15.4 libFS-1.0.1 libXfont-1.3.4,1 libfontenc-1.0.4 libSM-1.1.0_1,1 libICE-1.0.4_1,1 libXdmcp-1.0.2_1 libXau-1.0.4 xproto-7.0.15 fontconfig-2.6.0,1 freetype2-2.3.9_1 pkg-config-0.23_1 py25-sip-4.7.9,1 tiff-3.8.2_3 libmng-1.0.10 jpeg-6b_7 lcms-1.18,1 png-1.2.35 perl-5.8.9_2 xcb-proto-1.4 python25-2.5.4_1 qt4-doc-4.4.3 expat-2.0.1 fontcacheproto-0.1.2 fontsproto-2.0.2 compositeproto-0.4 damageproto-1.1.0_2 dmxproto-2.2.2 fixesproto-4.0 inputproto-1.5.0 kbproto-1.0.3 printproto-1.0.4 randrproto-1.3.0 recordproto-1.13.2 renderproto-0.9.3 scrnsaverproto-1.1.0 videoproto-2.2.2 xextproto-7.0.5 xf86dgaproto-2.0.3 xf86miscproto-0.9.2 xf86vidmodeproto-2.2.2 xineramaproto-1.1.2.
	Creating bzip'd tar ball in '/tmp/packages/All/eric4-4.3.4.tbz'
	Deleting filesystem state
	Deleting py25-qt4-svg-4.4.4,1
	pkg_delete: unable to completely remove directory '/usr/local/lib/python2.5/site-packages/PyQt4'
	pkg_delete: couldn't entirely delete package (perhaps the packing list is
	incorrectly specified?)
	...
	-----

Fix: Use @dirrmtry instead of @dirrm for %%PYTHON_SITELIBDIR%%/PyQt4.


-- 
WBR, bsam--DrvhdtBrxcD2ZNTdStb4KeexwvSRI6RGskpi1gUzaAXmLmsg
Content-Type: text/plain; name="py-qt4-svg.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="py-qt4-svg.diff"

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/py-qt4-svg/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	14 Feb 2009 22:58:52 -0000	1.9
+++ Makefile	4 Jun 2009 15:26:21 -0000
@@ -6,6 +6,7 @@
 
 PORTNAME=	svg
 PORTVERSION=	${PYQT4_VERSION}
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	graphics devel python
 MASTER_SITES=	${MASTER_SITES_PYQT4}
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/graphics/py-qt4-svg/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	14 Feb 2009 22:58:52 -0000	1.3
+++ pkg-plist	4 Jun 2009 15:26:21 -0000
@@ -6,4 +6,4 @@
 %%SIP%%share/py-sip/QtSvg/qsvgwidget.sip
 %%API%%share/qt4/qsci/api/python/QtSvg.api
 %%SIP%%@dirrm share/py-sip/QtSvg
-@dirrm %%PYTHON_SITELIBDIR%%/PyQt4
+@dirrmtry %%PYTHON_SITELIBDIR%%/PyQt4
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-06-04 16:50:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-06-15 20:19:20 UTC
makc        2009-06-15 19:19:05 UTC

  FreeBSD ports repository

  Modified files:
    devel/py-qt4-help    pkg-plist 
    graphics/py-qt4-svg  pkg-plist 
    multimedia/py-qt4-phonon pkg-plist 
  Log:
  Use @dirrmtry for common dirs.
  
  PR:             ports/135261
  Submitted by:   bsam
  
  Revision  Changes    Path
  1.2       +1 -1      ports/devel/py-qt4-help/pkg-plist
  1.4       +1 -1      ports/graphics/py-qt4-svg/pkg-plist
  1.2       +1 -1      ports/multimedia/py-qt4-phonon/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Max Brazhnikov freebsd_committer freebsd_triage 2009-06-15 20:19:24 UTC
State Changed
From-To: open->closed

Committed. Thanks!