From nobody@FreeBSD.org  Tue May 18 10:54:38 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 A4BC81065677
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 May 2010 10:54:36 +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 945878FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 May 2010 10:54:36 +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 o4IAsatS047351
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 18 May 2010 10:54:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4IAsaf3047344;
	Tue, 18 May 2010 10:54:36 GMT
	(envelope-from nobody)
Message-Id: <201005181054.o4IAsaf3047344@www.freebsd.org>
Date: Tue, 18 May 2010 10:54:36 GMT
From: Olivier Cochard-Labb <olivier@cochard.me>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net-mgmt/net-snmp: make package failed
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146699
>Category:       ports
>Synopsis:       net-mgmt/net-snmp: make package failed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sylvio
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 18 11:00:09 UTC 2010
>Closed-Date:    Fri May 28 19:03:53 UTC 2010
>Last-Modified:  Fri May 28 19:10:04 UTC 2010
>Originator:     Olivier Cochard-Labb
>Release:        FreeBSD 8.0-STABLE
>Organization:
>Environment:
FreeBSD dev.bsdrp.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Feb 11 18:50:25 CET 2010     root@dev.bsdrp.net:/usr/obj/usr/src/sys/DEDIBOX  i386

>Description:
The "make install" of net-mgmt/net-snmp run greats, but it's with the "make package" that I meet a problem.

===>  Building package for net-snmp-5.4.2.1_7
Creating package /usr/ports/packages/All/net-snmp-5.4.2.1_7.tbz
Registering depends:.
Registering conflicts: ucd-snmp-4.* net-snmp-5.3.*.
Creating bzip'd tar ball in '/usr/ports/packages/All/net-snmp-5.4.2.1_7.tbz'
tar: %%WITH_PERL_EMBEDDED%%share/snmp/snmp_perl.pl: 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/net-mgmt/net-snmp.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.
>How-To-Repeat:
Simply do a "make package" of net-mgmt/net-snmp.

>Fix:
Patch the Makefile with the included patch.
Note: I don't know if this patch create other problem.

Patch attached with submission follows:

--- Makefile.orig       2010-05-18 11:43:52.000000000 +0200
+++ Makefile    2010-05-18 11:44:08.000000000 +0200
@@ -76,6 +76,7 @@
 USE_PERL5_BUILD=yes
 CONFIGURE_ARGS+=--disable-embedded-perl --without-perl-modules
 PLIST_SUB+=    WITH_PERL="@comment "
+PLIST_SUB+= WITH_PERL_EMBEDDED="@comment "
 .endif

 .if defined(WITH_DMALLOC)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sylvio 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue May 18 11:00:19 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146699 
State-Changed-From-To: open->closed 
State-Changed-By: sylvio 
State-Changed-When: Fri May 28 19:03:51 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146699: commit references a PR
Date: Fri, 28 May 2010 19:03:39 +0000 (UTC)

 sylvio      2010-05-28 19:03:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt/net-snmp    Makefile 
   Log:
   - Fixed "make package" when option WITH_PERL_EMBEDDED if off
   
   PR:             ports/146699
   Submitted by:   Olivier Cochard-Labb <olivier@cochard.me>
   
   Revision  Changes    Path
   1.180     +1 -0      ports/net-mgmt/net-snmp/Makefile
 _______________________________________________
 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"
 
>Unformatted:
