[Custom LOCALBASE/PREFIX] net-mgmt/p5-SNMP - fails: makefile

QAT at FreeBSD.org QAT at FreeBSD.org
Thu Jul 16 10:17:19 UTC 2009


The Restless Daemon identified a makefile error while trying to build:
 p5-SNMP-4.2.7.1 maintained by perl at FreeBSD.org
 Makefile ident: $FreeBSD: ports/net-mgmt/p5-SNMP/Makefile,v 1.27 2008/09/26 14:43:11 clsung Exp $

THIS A BUILD WITH _CUSTOM_ PREFIX AND LOCALBASE, _standard_ env in rest.
Patches for testing and committing welcomed as a reply to this email.

To check if the latest version port builds OK with
standard PREFIX/LOCALBASE and with -DNOPORT* please see:
http://qat.tecnik93.com/index.php?action=list_buildports&build=7-STABLE-FPT-NPD&search_port_name=p5-SNMP
PortsMon page for the port:
http://portsmon.freebsd.org/portoverview.py?category=net-mgmt&portname=p5-SNMP

See http://docs.freebsd.org/cgi/mid.cgi?20090531085138.5bd9cc21 for some help

Excerpt from http://QATty.TecNik93.com/logs/7-STABLE-FPT-CustDir/p5-SNMP-4.2.7.1.log :

building p5-SNMP-4.2.7.1 in directory /usr/local/tinderbox/7-STABLE-FPT-CustDir
  build started at Thu Jul 16 09:55:15 UTC 2009
    port directory: /usr/ports/net-mgmt/p5-SNMP
building for:  7.2-STABLE amd64

...........................<Last 40 lines of the log>..................

====================<phase 4: make build>====================
add_pkg perl-5.8.9_3.tbz ucd-snmp-4.2.7.1.tbz
adding dependencies
pkg_add perl-5.8.9_3.tbz
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/PPP/bin/perl5.8.9 to /usr/bin/perl
    Symlinking /usr/PPP/bin/perl5.8.9 to /usr/bin/perl5
Done.
Cleaning up /etc/make.conf... Done.
Spamming /etc/make.conf... Done.
Cleaning up /etc/manpath.config... Done.
Spamming /etc/manpath.config... Done.
pkg_add ucd-snmp-4.2.7.1.tbz
===>   p5-SNMP-4.2.7.1 depends on file: /usr/PPP/bin/perl5.8.9 - found
===>   p5-SNMP-4.2.7.1 depends on shared library: snmp.4 - found
===>  Configuring for p5-SNMP-4.2.7.1
Where are the ucd-snmp include files? [/usr/local/include] /usr/local/include
Where is the ucd-snmp library installed? [/usr/lib] /usr/lib
Unable to open /usr/local/include/ucd-snmp/ucd-snmp-config.h, assuming no SSL
Checking if your kit is complete...
Looks good
Writing Makefile for SNMP
Unable to locate the MIBs, Please enter the path:  [/usr/local/sbin] /usr/local/sbin
Unable to locate "snmpd". Please enter the path:  [/usr/local/sbin] /usr/local/sbin
Unable to locate "snmptrapd". Please enter the path:  [/usr/local/sbin] /usr/local/sbin
Error: /usr/local/sbin/snmpd does not exist or is unreadable. 'make test' will not work.
Error: /usr/local/sbin/snmptrapd does not exist or is unreadable. 'make test' will not work.
===>  Building for p5-SNMP-4.2.7.1
cp SNMP.pm blib/lib/SNMP.pm
AutoSplitting blib/lib/SNMP.pm (blib/lib/auto/SNMP)
make: don't know how to make /usr/local/include/ucd-snmp/ucd-snmp-config.h. Stop
*** Error code 1

Stop in /a/ports/net-mgmt/p5-SNMP.
================================================================
build of /usr/ports/net-mgmt/p5-SNMP ended at Thu Jul 16 09:55:47 UTC 2009

The tarballed WRKDIR can be found here:
http://QATty.TecNik93.com/wrkdirs/7-STABLE-FPT-CustDir/p5-SNMP-4.2.7.1.tbz


The build which triggered this BotMail was done under
tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4
with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with:
PREFIX=/usr/PPP, LOCALBASE=/usr/PPP, X11BASE=/usr/PPP.

A description of the testing process can be found here:
http://T32.TecNik93.com/FreeBSD/QA-Tindy/


Thanks for your work on making FreeBSD better,

--
QAT - your friendly neighborhood Daemon,
preparing  a heck of an error trapping system:
 - "HMC and EOI?"
 - "Halt, Melt and Catch fire or Execute Operator Immediately."



More information about the freebsd-perl mailing list