pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net-snmp 5.6.1.1 fails install target in man/ for target maninstall on AIX 6.1



/bin/sh: syntax error at line 1 : `;' unexpected
*** Error code 2

Stop.
bmake: stopped in /opt/pkgsrc/net/net-snmp/work/net-snmp-5.6.1.1/man
*** Error code 1

--------

Its the maninstall: target that fails, because $(MAN3) variable is unset:
-------

lpar-aix61% bmake -dA install
[snip]
install:  installed net-snmp-create-v3-user.1 in 
/opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man1
for i in  ; do /opt/pkg/bin/install-sh -c -o root -g system -m 644 ./$i 
/opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man3 ; echo "install: 
installed $i in /opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man3" ; 
done
Execute: 'for i in  ; do /opt/pkg/bin/install-sh -c -o root -g system -m 
644 ./$i /opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man3 ; echo 
"install:  installed $i in 
/opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man3" ; done'
splitting: 'for i in  ; do /opt/pkg/bin/install-sh -c -o root -g system -m 
644 ./$i /opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man3 ; echo 
"install:  installed $i in 
/opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man3" ; done' -> 20 
words
check_cwd: no obj dirs.
/bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected.

*** Failed target:  maninstall
*** Failed command: for i in ; do /opt/pkg/bin/install-sh -c -o root -g 
system -m 644 ./$i /opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man3 
; echo "install: installed $i in 
/opt/pkgsrc/net/net-snmp/work/.destdir/opt/pkg/man/man3" ; done
*** Error code 2

Stop.
bmake: stopped in /opt/pkgsrc/net/net-snmp/work/net-snmp-5.6.1.1/man
Global:.ERROR_TARGET = maninstall

[..snip..]


Obviously the mvariable substitution fails when $(MAN3) fails to populate:

-------------------------

MAN1G = $(AGENTXTRAP) snmpbulkget.1 snmpcmd.1 snmpget.1 snmpset.1 
snmpwalk.1 \
        snmpbulkwalk.1 snmpgetnext.1 snmptest.1 snmptranslate.1 snmptrap.1 
\
        snmpusm.1 snmpvacm.1 snmptable.1 snmpstatus.1 snmpconf.1 mib2c.1 \
        snmpnetstat.1 snmpdelta.1 snmpdf.1 encode_keychange.1 fixproc.1 \
        net-snmp-config.1 mib2c-update.1 tkmib.1 traptoemail.1 \
        net-snmp-create-v3-user.1

MAN3  =  <-------------------- ?!?!?!?!?!?!?!?!
MAN3_API = netsnmp_mib_api.3 netsnmp_config_api.3 snmp_alarm.3 \
        netsnmp_session_api.3 netsnmp_sess_api.3 netsnmp_trap_api.3 
netsnmp_varbind_api.3 netsnmp_pdu_api.3
MAN3G = default_store.3 netsnmp_agent_api.3 $(MAN3_API)
MAN5G = snmpd.conf.5 snmptrapd.conf.5 snmp.conf.5 snmp_config.5 
variables.5 \
        mib2c.conf.5 snmpd.examples.5 snmpd.internal.5
MAN8G = snmptrapd.8 snmpd.8


-------------------------

I'm not sure if there's a target that's supposed to append or manipulate 
the Makefile, but Makefile.in is the same in SVN.  I know there's a lot of 
PERL involved in this process

http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/trunk/net-snmp/man/Makefile.in?revision=19403&view=markup

However, pkgsrc build PERL 5.14.0 as a build-depends: 
  Summary of my perl5 (revision 5 version 14 subversion 2) configuration:

-
Brian A Seklecki <bseklecki%fedex.com@localhost>
Systems Programmer
FedEx Services
(412) 859-2215 (o)
(412) 290-8059 (m/c)
(412) 378-3823 (m/p)


Home | Main Index | Thread Index | Old Index