Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2010 10:54:36 GMT
From:      Olivier Cochard-Labbé <olivier@cochard.me>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/146699: net-mgmt/net-snmp: make package failed
Message-ID:  <201005181054.o4IAsaf3047344@www.freebsd.org>
Resent-Message-ID: <201005181100.o4IB097H074927@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146699
>Category:       ports
>Synopsis:       net-mgmt/net-snmp: make package failed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 18 11:00:09 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005181054.o4IAsaf3047344>