From nobody@FreeBSD.org  Fri Apr 11 02:51:26 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id CBFE0953
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Apr 2014 02:51:26 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id AC5841607
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Apr 2014 02:51:26 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3B2pQuU062450
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Apr 2014 02:51:26 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3B2pP2Q062437;
	Fri, 11 Apr 2014 02:51:25 GMT
	(envelope-from nobody)
Message-Id: <201404110251.s3B2pP2Q062437@cgiserv.freebsd.org>
Date: Fri, 11 Apr 2014 02:51:25 GMT
From: Jonathan Chen <jonc@chen.org.nz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mail/mail-notification fails to install
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: mwisnicki+freebsd@gmail.com

>Number:         188446
>Category:       ports
>Synopsis:       mail/mail-notification fails to install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 03:00:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Wed Apr 23 04:00:00 UTC 2014
>Originator:     Jonathan Chen
>Release:        FreeBSD 10.0-STABLE amd64
>Organization:
>Environment:
FreeBSD jonathan.chen 10.0-STABLE FreeBSD 10.0-STABLE #0 r262952: Mon Ma
r 10 09:16:10 NZDT 2014 root@jonathan.chen:/usr/obj/usr/src/sys/TAO amd64

>Description:
# cd /usr/ports/mail/mail-notification && make install
[...]
===>   Generating temporary packing list
cd /usr/ports/mail/mail-notification/work/mail-notification-5.4 && ./jb install
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/16x16/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/22x22/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/24x24/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/32x32/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/48x48/apps/mail-notification.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/icons/hicolor/scalable/apps/mail-notification.svg
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/logo.png
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/gmail.png
updating the GTK+ icon cache
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/applications/mail-notification-properties.desktop
installing /usr/ports/mail/mail-notification/work/stage/usr/local/etc/xdg/autostart/mail-notification.desktop
installing /usr/ports/mail/mail-notification/work/stage/usr/local/etc/gconf/schemas/mail-notification.schemas
installing GConf schemas mail-notification.schemas
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/new-mail.wav
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/gnome/help/mail-notification/C/mail-notification.xml
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/gnome/help/mail-notification/C/documentation-license.xml
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/gnome/help/mail-notification/C/software-license.xml
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/gnome/help/mail-notification/C/figures/mail.png
installing /usr/local/share/omf/mail-notification/mail-notification-C.omf
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/bg/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/ca/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/cs/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/de/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/es/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/fr/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/ja/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/nl/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/pl/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/pt/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/pt_BR/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/ru/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/sr/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/sr@Latn/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/locale/sv/LC_MESSAGES/mail-notification.mo
installing /usr/ports/mail/mail-notification/work/stage/usr/local/bin/mail-notification
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/mailbox-properties-dialog.glade
installing /usr/ports/mail/mail-notification/work/stage/usr/local/share/mail-notification/properties-dialog.glade

Mail Notification 5.4 was installed successfully.
====> Compressing man pages (compress-man)
===>  Installing for mail-notification-5.4_11
===>  Checking if mail/mail-notification already installed
===>   Registering installation for mail-notification-5.4_11
pkg-static: lstat(/usr/ports/mail/mail-notification/work/stage/usr/local/share/omf/mail-notification/mail-notification-C.omf):
No such file or directory
pkg-static: lstat(/usr/ports/mail/mail-notification/work/stage/usr/local/share/omf/mail-notification/):
No such file or directory

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/mail/mail-notification/Makefile ./Makefile
--- /usr/ports/mail/mail-notification/Makefile	2014-03-11 08:58:59.697769798 +1300
+++ ./Makefile	2014-04-11 14:41:24.877474836 +1200
@@ -21,7 +21,7 @@
 USE_GNOME=	gconf2 gnomeprefix gnomevfs2 libglade2 libgnomeui libxml2
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-JB_CONF_ARGS=	cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}" prefix="${STAGEDIR}${PREFIX}"
+JB_CONF_ARGS=	cc="${CC}" cflags="${CFLAGS}" cppflags="${CPPFLAGS}" ldflags="${LDFLAGS}" prefix="${STAGEDIR}${PREFIX}" omf-dir="\$$prefix/share/omf"
 JB_CONF_ENV=	jb_cppflags="${CPPFLAGS}" jb_ldflags="${LDFLAGS}"
 GCONF_SCHEMAS=	mail-notification.schemas
 INSTALLS_OMF=	yes


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Apr 11 03:00:04 UTC 2014 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=188446 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: mwisnicki+freebsd@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/188446: mail/mail-notification fails to install
Date: Fri, 11 Apr 2014 03:00:04 UT

 Maintainer of mail/mail-notification,
 
 Please note that PR ports/188446 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/188446
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Jonathan Chen <jonc@chen.org.nz>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/188446: mail/mail-notification fails to install
Date: Fri, 11 Apr 2014 15:46:21 +1200

 Unfortunately, I've discovered that the patch is incomplete, as icons
 are not installing under /usr/local, and there are references to the
 staging directory within the omf file. Staging support is just not
 quite there for this port.
 -- 
 Jonathan Chen <jonc@chen.org.nz>

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/188446: commit references a PR
Date: Sun, 20 Apr 2014 20:10:45 +0000 (UTC)

 Author: antoine
 Date: Sun Apr 20 20:10:43 2014
 New Revision: 351639
 URL: http://svnweb.freebsd.org/changeset/ports/351639
 QAT: https://qat.redports.org/buildarchive/r351639/
 
 Log:
   Mark broken, Violates stagedir and fails to package
   
   PR:		ports/188446
   Reported by:	pkg-fallout
 
 Modified:
   head/mail/mail-notification/Makefile
 
 Modified: head/mail/mail-notification/Makefile
 ==============================================================================
 --- head/mail/mail-notification/Makefile	Sun Apr 20 20:02:06 2014	(r351638)
 +++ head/mail/mail-notification/Makefile	Sun Apr 20 20:10:43 2014	(r351639)
 @@ -11,6 +11,8 @@ MASTER_SITE_SUBDIR=	mailnotify
  MAINTAINER=	mwisnicki+freebsd@gmail.com
  COMMENT=	A mail notification for freedesktop.org-compliant system trays
  
 +BROKEN=		Violates stagedir and fails to package
 +
  LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
  		libgnome-keyring.so:${PORTSDIR}/security/gnome-keyring \
  		libnotify.so:${PORTSDIR}/devel/libnotify
 _______________________________________________
 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"
 

From: Jonathan Chen <jonc@chen.org.nz>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/188446: mail/mail-notification fails to install
Date: Wed, 23 Apr 2014 15:56:13 +1200

 Hi,
 
 Would it be terribly bad if the port were to revert back to
 NO_STAGE=yes? I've tried to figure out how the "jb" program works, but
 got lost digging for a way to implement staging support.
 
 A local version with staging support removed installs and works as expected.
 
 Cheers.
 -- 
 Jonathan Chen <jonc@chen.org.nz>
>Unformatted:
