ports/146699: net-mgmt/net-snmp: make package failed
Olivier Cochard-Labbé
olivier at cochard.me
Tue May 18 11:00:10 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list