Bug 189062 - URGENT: graphics/colord package/install failure
Summary: URGENT: graphics/colord package/install failure
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: Koop Mast
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-28 06:50 UTC by Matthias Andree
Modified: 2014-04-28 12:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer 2014-04-28 06:50:00 UTC
$ make pretty-print-config
+MANPAGES 

$ make package
...
===>  Building package for colord-1.0.1_1
Creating package
/var/tmp/usr/ports.svn/graphics/colord/work/pkg/colord-1.0.1_1.tbz
Registering depends: polkit-0.105_3 gobject-introspection-1.36.0_2
glib-2.36.3_2 python2-2_2 python27-2.7.6_4 gettext-0.18.3.1 lcms2-2.6_1
tiff-4.0.3_1 freeglut-2.8.1_2 libXmu-1.1.2_2,1 libXt-1.1.4_2,1
libXi-1.7.2_2,1 libGLU-9.0.0 libGL-7.6.1_4 libXxf86vm-1.1.3_2
libXrandr-1.4.2_2 libXext-1.3.2_2,1 libXdamage-1.1.4_2 libXfixes-5.0.1_2
libXrender-0.9.8_2 dbus-1.8.0 libX11-1.6.2_2,1 libxcb-1.10_2
libxml2-2.8.0_5 libiconv-1.14_3 sqlite3-3.8.4.2 libffi-3.0.13_1
libdrm-2.4.17_1 libpciaccess-0.13.2_2 libpthread-stubs-0.3_4 pcre-8.34
pkgconf-0.9.5 jbigkit-1.6 jpeg-8_4 perl5-5.16.3_9 gnomehier-3.0
pciids-20140402 gnome_subr-1.0 expat-2.1.0 damageproto-1.2.1
dri2proto-2.8 fixesproto-5.0 inputproto-2.3 kbproto-1.0.6
libSM-1.2.2_2,1 libICE-1.0.8_2,1 libXau-1.0.8_2 libXdmcp-1.1.1_2
randrproto-1.4.0 renderproto-0.11.1 xextproto-7.3.0
xf86vidmodeproto-2.3.1 xproto-7.0.25.
Creating bzip'd tar ball in
'/var/tmp/usr/ports.svn/graphics/colord/work/pkg/colord-1.0.1_1.tbz'
tar: share/glib-2.0/schemas/org.freedesktop.ColorHelper.gschema.xml:
Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports.svn/graphics/colord.
*** [package] Error code 1

Stop in /usr/ports.svn/graphics/colord.
Comment 1 Edwin Groothuis freebsd_committer 2014-04-28 06:50:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kwm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-04-28 12:02:26 UTC
Author: kwm
Date: Mon Apr 28 11:02:23 2014
New Revision: 352481
URL: http://svnweb.freebsd.org/changeset/ports/352481
QAT: https://qat.redports.org/buildarchive/r352481/

Log:
  Fix packaging with pkg_*
  
  PR:		ports/189062
  Reported by:	mandree@
  Discussed with:	tijl@

Modified:
  head/graphics/colord/Makefile
  head/graphics/colord/pkg-plist

Modified: head/graphics/colord/Makefile
==============================================================================
--- head/graphics/colord/Makefile	Mon Apr 28 10:55:09 2014	(r352480)
+++ head/graphics/colord/Makefile	Mon Apr 28 11:02:23 2014	(r352481)
@@ -45,6 +45,9 @@ OPTIONS_DEFINE=	MANPAGES
 
 .include <bsd.port.options.mk>
 
+# workaround for buggy handling of "@cwd" in pkg_*
+PLIST_SUB+=	REALPREFIX=${PREFIX}
+
 .if ${PORT_OPTIONS:MMANPAGES}
 BUILD_DEPENDS+=	docbook2html:${PORTSDIR}/textproc/docbook-utils \
 		${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml

Modified: head/graphics/colord/pkg-plist
==============================================================================
--- head/graphics/colord/pkg-plist	Mon Apr 28 10:55:09 2014	(r352480)
+++ head/graphics/colord/pkg-plist	Mon Apr 28 11:02:23 2014	(r352481)
@@ -200,4 +200,4 @@ share/polkit-1/actions/org.freedesktop.c
 @cwd /
 @dirrmtry var/db/colord/icc
 @dirrmtry var/db/colord
-@cwd
+@cwd %%REALPREFIX%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Koop Mast freebsd_committer 2014-04-28 12:02:39 UTC
State Changed
From-To: open->closed

Committed a workaround for this.