==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done ==> Making package: rtmpdump 1:2.4.r105.6f6bb13-1 (Tue Mar 5 21:31:47 2024) ==> Retrieving sources... -> Cloning rtmpdump git repo... Cloning into bare repository '/home/leming/work/rtmpdump/rtmpdump'... ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... rtmpdump ... Skipped ==> Making package: rtmpdump 1:2.4.r105.6f6bb13-1 (Tue 05 Mar 2024 09:31:55 PM MST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (4) perl-error-0.17029-5 perl-mailtools-2.21-7 perl-timedate-2.33-5 git-2.44.0-1 Total Installed Size: 42.12 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of rtmpdump git repo... Cloning into 'rtmpdump'... done. Switched to a new branch 'makepkg' ==> Starting pkgver()... ==> Starting build()... gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -c -o rtmpdump.o rtmpdump.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -c -o rtmpgw.o rtmpgw.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -c -o thread.o thread.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -c -o rtmpsrv.o rtmpsrv.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -c -o rtmpsuck.o rtmpsuck.c make[1]: Entering directory '/build/rtmpdump/src/rtmpdump/librtmp' gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -c -o rtmp.o rtmp.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -c -o log.o log.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -c -o amf.o amf.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -c -o hashswf.o hashswf.c gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fPIC -c -o parseurl.o parseurl.c hashswf.c: In function 'RTMP_HashSWF': hashswf.c:604:16: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_set_key' differ in signedness [-Wpointer-sign] In file included from hashswf.c:46: /usr/include/nettle/hmac.h:172:55: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 172 | size_t key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ rtmpsrv.c:170:19: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] rtmpsrv.c:159:19: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] rtmpsrv.c:155:19: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] rtmpsuck.c:141:19: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] rtmpsuck.c:138:19: warning: 'av_mode' defined but not used [-Wunused-const-variable=] rtmpsuck.c:137:19: warning: 'av_fmsVer' defined but not used [-Wunused-const-variable=] rtmpsuck.c:134:19: warning: 'av_createStream' defined but not used [-Wunused-const-variable=] rtmpsuck.c:133:19: warning: 'av__result' defined but not used [-Wunused-const-variable=] rtmpsuck.c:131:19: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] rtmpsuck.c:128:19: warning: 'av_capabilities' defined but not used [-Wunused-const-variable=] rtmpsuck.c:127:19: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] In file included from rtmp.c:153: handshake.h: In function 'InitRC4Encryption': handshake.h:126:16: warning: variable 'digestLen' set but not used [-Wunused-but-set-variable] rtmp.c: In function 'RTMP_TLS_AllocServerContext': rtmp.c:281:3: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] rtmp.c: In function 'b64enc': rtmp.c:2456:22: warning: pointer targets in passing argument 1 of 'nettle_base64_encode_raw' differ in signedness [-Wpointer-sign] In file included from rtmp.c:58: /usr/include/nettle/base64.h:117:32: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 117 | base64_encode_raw(char *dst, size_t length, const uint8_t *src); | ~~~~~~^~~ rtmp.c: In function 'PublisherAuth': rtmp.c:2603:28: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] In file included from rtmp.c:59: /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2604:28: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2605:54: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2620:15: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2623:34: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2625:40: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2626:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2769:28: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2770:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2771:28: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2772:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2773:54: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2788:29: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2789:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2790:32: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2792:39: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2801:19: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2802:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2803:30: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2804:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2805:28: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2806:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2807:29: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2808:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2809:26: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2810:14: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2811:19: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] /usr/include/nettle/md5.h:71:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 71 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c: At top level: rtmp.c:2908:19: warning: 'av_NetConnection_Connect_Rejected' defined but not used [-Wunused-const-variable=] rtmp.c:1906:19: warning: 'av_record' defined but not used [-Wunused-const-variable=] ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o gcc -shared -Wl,-soname,librtmp.so.1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o -lgnutls -lhogweed -lnettle -lgmp -lz ar: creating librtmp.a ln -sf librtmp.so.1 librtmp.so make[1]: Leaving directory '/build/rtmpdump/src/rtmpdump/librtmp' gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o rtmpgw rtmpgw.o thread.o -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o rtmpsrv rtmpsrv.o thread.o -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o rtmpsuck rtmpsuck.o thread.o -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz ==> Entering fakeroot environment... ==> Starting package()... make[1]: Entering directory '/build/rtmpdump/src/rtmpdump/librtmp' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/build/rtmpdump/src/rtmpdump/librtmp' mkdir -p /build/rtmpdump/pkg/rtmpdump/usr/bin /build/rtmpdump/pkg/rtmpdump/usr/bin /build/rtmpdump/pkg/rtmpdump/usr/share/man/man1 /build/rtmpdump/pkg/rtmpdump/usr/share/man/man8 cp rtmpdump /build/rtmpdump/pkg/rtmpdump/usr/bin cp rtmpgw rtmpsrv rtmpsuck /build/rtmpdump/pkg/rtmpdump/usr/bin cp rtmpdump.1 /build/rtmpdump/pkg/rtmpdump/usr/share/man/man1 cp rtmpgw.8 /build/rtmpdump/pkg/rtmpdump/usr/share/man/man8 make[1]: Entering directory '/build/rtmpdump/src/rtmpdump/librtmp' sed -e "s;@prefix@;/usr;" -e "s;@libdir@;/usr/lib;" \ -e "s;@VERSION@;v2.4;" \ -e "s;@CRYPTO_REQ@;gnutls,hogweed,nettle;" \ -e "s;@PUBLIC_LIBS@;-lgmp;" \ -e "s;@PRIVATE_LIBS@;;" librtmp.pc.in > librtmp.pc mkdir -p /build/rtmpdump/pkg/rtmpdump/usr/lib cp librtmp.so.1 /build/rtmpdump/pkg/rtmpdump/usr/lib cd /build/rtmpdump/pkg/rtmpdump/usr/lib; ln -sf librtmp.so.1 librtmp.so mkdir -p /build/rtmpdump/pkg/rtmpdump/usr/include/librtmp /build/rtmpdump/pkg/rtmpdump/usr/lib/pkgconfig /build/rtmpdump/pkg/rtmpdump/usr/share/man/man3 cp amf.h http.h log.h rtmp.h /build/rtmpdump/pkg/rtmpdump/usr/include/librtmp cp librtmp.a /build/rtmpdump/pkg/rtmpdump/usr/lib cp librtmp.pc /build/rtmpdump/pkg/rtmpdump/usr/lib/pkgconfig cp librtmp.3 /build/rtmpdump/pkg/rtmpdump/usr/share/man/man3 make[1]: Leaving directory '/build/rtmpdump/src/rtmpdump/librtmp' ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "rtmpdump"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... xz: Reduced the number of threads from 6 to 5 to not exceed the memory usage limit of 928 MiB ==> Leaving fakeroot environment. ==> Finished making: rtmpdump 1:2.4.r105.6f6bb13-1 (Tue 05 Mar 2024 09:32:03 PM MST) ==> Cleaning up...