From nobody@FreeBSD.org  Wed Apr 21 00:00:25 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 22116106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Apr 2010 00:00:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1099A8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Apr 2010 00:00:25 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3L00Okj046890
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Apr 2010 00:00:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o3L00Oxk046887;
	Wed, 21 Apr 2010 00:00:24 GMT
	(envelope-from nobody)
Message-Id: <201004210000.o3L00Oxk046887@www.freebsd.org>
Date: Wed, 21 Apr 2010 00:00:24 GMT
From: moto kawasaki <moto@kawasaki3.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: "make package" fails "tar: ossec-hids/etc/ossec.conf.sample: Cannot stat: No such file or directory"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145896
>Category:       ports
>Synopsis:       security/ossec-hids-client: "make package" fails "tar: ossec-hids/etc/ossec.conf.sample: Cannot stat: No such file or directory"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 21 00:10:02 UTC 2010
>Closed-Date:    Fri Jun 25 13:46:44 UTC 2010
>Last-Modified:  Mon Jun 28 03:20:03 UTC 2010
>Originator:     moto kawasaki
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
FreeBSD dauntless.kawasaki3.org 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Tue Mar 23 14:35:54 JST 2010     root@dauntless.kawasaki3.org:/usr/obj/usr/src/sys/DAUNTLESS  amd64
>Description:
[root@dauntless moto]# cd /usr/ports/security/ossec-hids-client/
[root@dauntless ossec-hids-client]# make package-noinstall
===>   Generating temporary packing list
Creating package /usr/ports/packages/All/ossec-hids-client-2.0.tbz
Registering depends:.
Registering conflicts: ossec-hids-server-[0-9]* ossec-hids-local-[0-9]*.
Creating bzip'd tar ball in '/usr/ports/packages/All/ossec-hids-client-2.0.tbz'
tar: ossec-hids/etc/ossec.conf.sample: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

Stop in /usr/ports/security/ossec-hids-client.
*** Error code 1

Stop in /usr/ports/security/ossec-hids-client.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: stefan 
State-Changed-When: Mon May 17 15:34:22 UTC 2010 
State-Changed-Why:  
Awaiting maintainer's feedback. 


Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Mon May 17 15:34:22 UTC 2010 
Responsible-Changed-Why:  
Track this for now. 

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

From: Stefan Walter <stefan@freebsd.org>
To: Valerio Daelli <valerio.daelli@gmail.com>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/145896: security/ossec-hids-client: "make package" fails
 "tar: ossec-hids/etc/ossec.conf.sample: Cannot stat: No such file or
 directory"
Date: Mon, 17 May 2010 17:33:46 +0200

 Dear maintainer of security/ossec-hids-client,
 
 a problem report has been submitted for your port for which your 
 feedback might be required; its contents can be found at [1]. If it 
 contains a patch or suggestions for a change, please send a followup to 
 the PR explaining whether or not you approve it and want it to be 
 committed.
 
 Regards,
 Stefan
 
 [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/145896
State-Changed-From-To: feedback->closed 
State-Changed-By: stefan 
State-Changed-When: Fri Jun 25 13:46:07 UTC 2010 
State-Changed-Why:  
"make package(-noinstall)" used incorrectly. 

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

From: Stefan Walter <stefan@FreeBSD.org>
To: moto kawasaki <moto@kawasaki3.org>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/145896: security/ossec-hids-client: "make package" fails
 "tar: ossec-hids/etc/ossec.conf.sample: Cannot stat: No such file or
 directory"
Date: Fri, 25 Jun 2010 15:30:24 +0200

 Hi moto,
 
 in the subject line you wrote "make package", but in the description you
 used "make package-noinstall". While the latter can be used to create a
 package if the port has already been installed, you should use "make
 package" to install it and create a package from it. (Creating a package
 without installing the port first is not supported.)
 
 I was able to build and package ossec-hids-client on multiple systems
 without problems, so I'm going to close this PR.
 
 Regards,
 Stefan

From: moto kawasaki <moto@kawasaki3.org>
To: stefan@FreeBSD.org
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/145896: security/ossec-hids-client: "make package" fails
 "tar: ossec-hids/etc/ossec.conf.sample: Cannot stat: No such file or
 directory"
Date: Mon, 28 Jun 2010 12:03:05 +0900 (JST)

 Hi Stefan,
 
 Thank you very much for your attention.
 
 Sorry, so I misunderstood make package/install+package-noinstall.
 Thank you again.
 
 
 Best Regards,
 
 -- 
 moto kawasaki <moto@kawasaki3.org> 090-2464-8454
>Unformatted:
