>>> perl-snmp: Building testing/perl-snmp 5.0404-r13 (using abuild 3.13.0-r3) started Mon, 10 Jun 2024 07:56:54 +0000 >>> perl-snmp: Checking sanity of /home/buildozer/aports/testing/perl-snmp/APKBUILD... >>> perl-snmp: Analyzing dependencies... >>> perl-snmp: Installing for build: build-base perl-dev net-snmp-dev (1/11) Installing perl (5.40.0-r0) (2/11) Installing perl-utils (5.40.0-r0) (3/11) Installing perl-dev (5.40.0-r0) (4/11) Installing openssl-dev (3.3.1-r0) (5/11) Installing net-snmp-libs (5.9.4-r1) (6/11) Installing net-snmp-agent-libs (5.9.4-r1) (7/11) Installing net-snmp-dev (5.9.4-r1) (8/11) Installing .makedepends-perl-snmp (20240610.075656) (9/11) Installing perl-error (0.17029-r2) (10/11) Installing perl-git (2.45.2-r1) (11/11) Installing git-perl (2.45.2-r1) Executing busybox-1.36.1-r29.trigger OK: 441 MiB in 124 packages >>> perl-snmp: Cleaning up srcdir >>> perl-snmp: Cleaning up pkgdir >>> perl-snmp: Cleaning up tmpdir >>> perl-snmp: Fetching https://distfiles.alpinelinux.org/distfiles/edge/SNMP-5.0404.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> perl-snmp: Fetching https://cpan.metacpan.org/authors/id/H/HA/HARDAKER/SNMP-5.0404.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 113k 100 113k 0 0 275k 0 --:--:-- --:--:-- --:--:-- 276k >>> perl-snmp: Fetching https://distfiles.alpinelinux.org/distfiles/edge/SNMP-5.0404.tar.gz >>> perl-snmp: Checking sha512sums... SNMP-5.0404.tar.gz: OK >>> perl-snmp: Unpacking /var/cache/distfiles/edge/SNMP-5.0404.tar.gz... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for SNMP Writing MYMETA.yml and MYMETA.json Unable to locate "snmpd". Please enter the path: [/usr/sbin] /usr/sbin Unable to locate "snmptrapd". Please enter the path: [/usr/sbin] /usr/sbin Error: /usr/sbin/snmpd does not exist or is unreadable. 'make test' will not work. Error: /usr/sbin/snmptrapd does not exist or is unreadable. 'make test' will not work. Running Mkbootstrap for SNMP () "/usr/bin/perl" "/usr/share/perl5/core_perl/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/core_perl/ExtUtils/typemap' -typemap '/home/buildozer/aports/testing/perl-snmp/src/SNMP-5.0404/typemap' SNMP.xs > SNMP.xsc chmod 644 "SNMP.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SNMP.bs blib/arch/auto/SNMP/SNMP.bs 644 cp SNMP.pm blib/lib/SNMP.pm AutoSplitting blib/lib/SNMP.pm (blib/lib/auto/SNMP) mv SNMP.xsc SNMP.c cc -c -Os -fstack-clash-protection -Wformat -Werror=format-security -g -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -Os -fstack-clash-protection -Wformat -g -Ulinux -Dlinux=linux -I. -I/usr/include -D_REENTRANT -D_GNU_SOURCE -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DVERSION=\"5.0404\" -DXS_VERSION=\"5.0404\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" SNMP.c SNMP.xs: In function '_bulkwalk_send_pdu': SNMP.xs:1808:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1808 | netsnmp_session *ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__new_v3_session': SNMP.xs:2756:20: warning: implicit declaration of function 'memdup'; did you mean 'memcmp'? [-Wimplicit-function-declaration] 2756 | memdup(&session.securityAuthLocalKey, | ^~~~~~ | memcmp SNMP.xs: In function 'XS_SNMP__update_session': SNMP.xs:2859:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2859 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__read_mib': SNMP.xs:2959:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2959 | RETVAL = (IV)get_tree_head(); | ^ SNMP.xs: In function 'XS_SNMP__read_module': SNMP.xs:2982:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2982 | RETVAL = (IV)get_tree_head(); | ^ SNMP.xs: In function 'XS_SNMP__set': SNMP.xs:3026:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3026 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__catch': SNMP.xs:3154:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3154 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__get': SNMP.xs:3233:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3233 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__getnext': SNMP.xs:3459:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3459 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__getbulk': SNMP.xs:3704:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3704 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__bulkwalk': SNMP.xs:3929:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3929 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ In file included from /usr/lib/perl5/core_perl/CORE/perl.h:6166, from SNMP.xs:12: SNMP.xs:4124:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4124 | XPUSHs(sv_2mortal(newSViv((IV)pdu))); | ^ /usr/lib/perl5/core_perl/CORE/pp.h:549:35: note: in definition of macro 'PUSHs' 549 | # define PUSHs(s) (*++sp = (s)) | ^ SNMP.xs:4124:15: note: in expansion of macro 'XPUSHs' 4124 | XPUSHs(sv_2mortal(newSViv((IV)pdu))); | ^~~~~~ SNMP.xs:4124:22: note: in expansion of macro 'sv_2mortal' 4124 | XPUSHs(sv_2mortal(newSViv((IV)pdu))); | ^~~~~~~~~~ SNMP.xs:4124:33: note: in expansion of macro 'newSViv' 4124 | XPUSHs(sv_2mortal(newSViv((IV)pdu))); | ^~~~~~~ SNMP.xs: In function 'XS_SNMP__trapV1': SNMP.xs:4234:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4234 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__trapV2': SNMP.xs:4373:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4373 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__inform': SNMP.xs:4512:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4512 | ss = (SnmpSession *)SvIV((SV*)SvRV(*sess_ptr_sv)); | ^ SNMP.xs: In function 'XS_SNMP__translate_obj': SNMP.xs:4786:34: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] 4786 | if (verbose) warn("snmp_translate_obj:unknown translation mode: %s\n", mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | int SNMP.xs: In function 'XS_SNMP__MIB__NODE_TIEHASH': SNMP.xs:5014:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5014 | if (!tp) tp = (IV)__tag2oid(key, NULL, NULL, NULL, NULL,0); | ^ SNMP.xs: In function 'XS_SNMP__MIB__NODE_FETCH': SNMP.xs:5046:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5046 | if (SvROK(tp_ref)) tp = (SnmpMibNode*)SvIV((SV*)SvRV(tp_ref)); | ^ SNMP.xs:5098:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5098 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^ /usr/lib/perl5/core_perl/CORE/pp.h:549:35: note: in definition of macro 'PUSHs' 549 | # define PUSHs(s) (*++sp = (s)) | ^ SNMP.xs:5098:24: note: in expansion of macro 'XPUSHs' 5098 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~ SNMP.xs:5098:31: note: in expansion of macro 'sv_2mortal' 5098 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~~~~~ SNMP.xs:5098:42: note: in expansion of macro 'newSViv' 5098 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~~ SNMP.xs:5179:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5179 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^ /usr/lib/perl5/core_perl/CORE/pp.h:549:35: note: in definition of macro 'PUSHs' 549 | # define PUSHs(s) (*++sp = (s)) | ^ SNMP.xs:5179:18: note: in expansion of macro 'XPUSHs' 5179 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~ SNMP.xs:5179:25: note: in expansion of macro 'sv_2mortal' 5179 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~~~~~ SNMP.xs:5179:36: note: in expansion of macro 'newSViv' 5179 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~~ SNMP.xs:5216:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5216 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^ /usr/lib/perl5/core_perl/CORE/pp.h:549:35: note: in definition of macro 'PUSHs' 549 | # define PUSHs(s) (*++sp = (s)) | ^ SNMP.xs:5216:18: note: in expansion of macro 'XPUSHs' 5216 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~ SNMP.xs:5216:25: note: in expansion of macro 'sv_2mortal' 5216 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~~~~~ SNMP.xs:5216:36: note: in expansion of macro 'newSViv' 5216 | XPUSHs(sv_2mortal(newSViv((IV)tp))); | ^~~~~~~ rm -f blib/arch/auto/SNMP/SNMP.so LD_RUN_PATH="/usr/lib" cc -shared -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -L/usr/local/lib -fstack-protector-strong -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs SNMP.o -o blib/arch/auto/SNMP/SNMP.so \ -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/lib -lnetsnmp -lssl -lssl -lcrypto \ chmod 755 blib/arch/auto/SNMP/SNMP.so Manifying 1 pod document >>> WARNING: perl-snmp: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> perl-snmp: Entering fakeroot... "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- SNMP.bs blib/arch/auto/SNMP/SNMP.bs 644 Manifying 1 pod document Appending installation info to /home/buildozer/aports/testing/perl-snmp/pkg/perl-snmp/usr/lib/perl5/core_perl/perllocal.pod Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/buildozer/aports/testing/perl-snmp/pkg/perl-snmp/usr/lib/perl5/vendor_perl/auto/SNMP/SNMP.so Installing /home/buildozer/aports/testing/perl-snmp/pkg/perl-snmp/usr/lib/perl5/vendor_perl/SNMP.pm Installing /home/buildozer/aports/testing/perl-snmp/pkg/perl-snmp/usr/lib/perl5/vendor_perl/auto/SNMP/autosplit.ix Installing /home/buildozer/aports/testing/perl-snmp/pkg/perl-snmp/usr/share/man/man3/SNMP.3 >>> perl-snmp-doc*: Running split function doc... >>> perl-snmp-doc*: Preparing subpackage perl-snmp-doc... >>> perl-snmp-doc*: Running postcheck for perl-snmp-doc >>> perl-snmp*: Running postcheck for perl-snmp >>> perl-snmp*: Preparing package perl-snmp... >>> perl-snmp*: Stripping binaries >>> WARNING: perl-snmp*: Redundant /usr/lib in rpath found >>> perl-snmp-doc*: Scanning shared objects >>> perl-snmp*: Scanning shared objects >>> perl-snmp-doc*: Tracing dependencies... >>> perl-snmp-doc*: Package size: 36.0 KB >>> perl-snmp-doc*: Compressing data... >>> perl-snmp-doc*: Create checksum... >>> perl-snmp-doc*: Create perl-snmp-doc-5.0404-r13.apk >>> perl-snmp*: Tracing dependencies... so:libc.musl-x86.so.1 so:libnetsnmp.so.40 >>> perl-snmp*: Package size: 240.0 KB >>> perl-snmp*: Compressing data... >>> perl-snmp*: Create checksum... >>> perl-snmp*: Create perl-snmp-5.0404-r13.apk >>> perl-snmp: Build complete at Mon, 10 Jun 2024 07:57:05 +0000 elapsed time 0h 0m 11s >>> perl-snmp: Cleaning up srcdir >>> perl-snmp: Cleaning up pkgdir >>> perl-snmp: Uninstalling dependencies... (1/11) Purging .makedepends-perl-snmp (20240610.075656) (2/11) Purging perl-dev (5.40.0-r0) (3/11) Purging perl-utils (5.40.0-r0) (4/11) Purging net-snmp-dev (5.9.4-r1) (5/11) Purging openssl-dev (3.3.1-r0) (6/11) Purging net-snmp-agent-libs (5.9.4-r1) (7/11) Purging net-snmp-libs (5.9.4-r1) (8/11) Purging git-perl (2.45.2-r1) (9/11) Purging perl-git (2.45.2-r1) (10/11) Purging perl-error (0.17029-r2) (11/11) Purging perl (5.40.0-r0) Executing busybox-1.36.1-r29.trigger OK: 380 MiB in 113 packages >>> perl-snmp: Updating the testing/x86 repository index... >>> perl-snmp: Signing the index...