[PLD 2.x (Ac): Bug 80] New: lost perl-Net-Arping

btsadmin at pld-linux.org btsadmin at pld-linux.org
Wed Dec 19 04:23:25 CET 2007


http://bugs.pld-linux.org/show_bug.cgi?id=80

           Summary: lost perl-Net-Arping
           Product: PLD 2.x (Ac)
           Version: unspecified
          Platform: All
        OS/Version: PLD Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: bugs at pld-linux.org
        ReportedBy: wolvverine at pld-linux.org
   Estimated Hours: 0.0


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.8.1.11)
Gecko/20071201 PLD/3.0 (Th) BonEcho/2.0.0.11
Build Identifier: nagios-plugins-contrib-0:1.4.10-4.athlon

use old, not build, package:

$ ./builder perl-Net-Arping.spec
....
i686-pld-linux-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2  
-DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC
"-I/usr/lib/perl5/5.8.8/i686-pld-linux-thread-multi/CORE"  -D_BSD_SOURCE
-D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H Arping.c
Arping.xs: In function 'XS_Net__Arping_send_arp':
Arping.xs:124: warning: passing argument 1 of 'libnet_select_device' from
incompatible pointer type
Arping.xs:124: error: too many arguments to function 'libnet_select_device'
Arping.xs:130: warning: assignment makes pointer from integer without a cast
Arping.xs:140: error: 'LIBNET_IP_H' undeclared (first use in this function)
Arping.xs:140: error: (Each undeclared identifier is reported only once
Arping.xs:140: error: for each function it appears in.)
Arping.xs:148: warning: passing argument 1 of 'libnet_get_hwaddr' from
incompatible pointer type
Arping.xs:148: error: too many arguments to function 'libnet_get_hwaddr'
Arping.xs:148: warning: assignment from incompatible pointer type
Arping.xs:156: warning: passing argument 6 of 'libnet_build_ethernet' from
incompatible pointer type
Arping.xs:156: error: too few arguments to function 'libnet_build_ethernet'
Arping.xs:161: warning: passing argument 12 of 'libnet_build_arp' from
incompatible pointer type
Arping.xs:161: error: too few arguments to function 'libnet_build_arp'
make: *** [Arping.o] Error 1
...

Reproducible: Always

Steps to Reproduce:
# /usr/lib/nagios/plugins/check_arping.pl 

Actual Results:  
Can't locate Net/Arping.pm in @INC (@INC contains: /usr/lib/nagios/plugins
/usr/local/lib/perl5/5.8.0/athlon-pld-linux-thread-multi /usr/local/share/perl5
/usr/lib/perl5/vendor_perl/5.8.0/athlon-pld-linux-thread-multi
/usr/share/perl5/vendor_perl /usr/lib/perl5/5.8.8/athlon-pld-linux-thread-multi
/usr/share/perl5/5.8.8 .) at /usr/lib/nagios/plugins/check_arping.pl line 33.
BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/check_arping.pl
line 33.


-- 
Configure bugmail: http://bugs.pld-linux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


More information about the pld-bugs mailing list