>>> perl-snmp: Building testing/perl-snmp 5.0404-r13 (using abuild 3.13.0-r3) started Mon, 10 Jun 2024 05:37: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/12) Installing libbz2 (1.0.8-r6) (2/12) Installing perl (5.40.0-r0) (3/12) Installing perl-utils (5.40.0-r0) (4/12) Installing perl-dev (5.40.0-r0) (5/12) Installing openssl-dev (3.3.1-r0) (6/12) Installing net-snmp-libs (5.9.4-r1) (7/12) Installing net-snmp-agent-libs (5.9.4-r1) (8/12) Installing net-snmp-dev (5.9.4-r1) (9/12) Installing .makedepends-perl-snmp (20240610.053756) (10/12) Installing perl-error (0.17029-r2) (11/12) Installing perl-git (2.45.2-r1) (12/12) Installing git-perl (2.45.2-r1) Executing busybox-1.36.1-r29.trigger OK: 379 MiB in 115 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 Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> perl-snmp: Fetching https://cpan.metacpan.org/authors/id/H/HA/HARDAKER/SNMP-5.0404.tar.gz Connecting to cpan.metacpan.org ([2a04:4e42:600::729]:443) saving to '/var/cache/distfiles/edge/SNMP-5.0404.tar.gz.part' SNMP-5.0404.tar.gz.p 100% |********************************| 113k 0:00:00 ETA '/var/cache/distfiles/edge/SNMP-5.0404.tar.gz.part' saved >>> 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 SNMP.o -o blib/arch/auto/SNMP/SNMP.so \ -Wl,--as-needed,-O1,--sort-common -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-armhf.so.1 so:libnetsnmp.so.40 >>> perl-snmp*: Package size: 212.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 05:38:01 +0000 elapsed time 0h 0m 7s >>> perl-snmp: Cleaning up srcdir >>> perl-snmp: Cleaning up pkgdir >>> perl-snmp: Uninstalling dependencies... (1/12) Purging .makedepends-perl-snmp (20240610.053756) (2/12) Purging perl-dev (5.40.0-r0) (3/12) Purging perl-utils (5.40.0-r0) (4/12) Purging net-snmp-dev (5.9.4-r1) (5/12) Purging openssl-dev (3.3.1-r0) (6/12) Purging net-snmp-agent-libs (5.9.4-r1) (7/12) Purging net-snmp-libs (5.9.4-r1) (8/12) Purging git-perl (2.45.2-r1) (9/12) Purging perl-git (2.45.2-r1) (10/12) Purging perl-error (0.17029-r2) (11/12) Purging perl (5.40.0-r0) (12/12) Purging libbz2 (1.0.8-r6) Executing busybox-1.36.1-r29.trigger OK: 315 MiB in 103 packages >>> perl-snmp: Updating the testing/armhf repository index... >>> perl-snmp: Signing the index...