Build of rtmpdump with vanilla toolchain

The build took 00h 00m 12s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
12,659 ansic
261 sh
166 makefile
13,086 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: rtmpdump 1:2.4.r96.fa8646d-2 (Wed Aug 24 14:06:54 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting pkgver()...
# ==> Starting build()...
# make[1]: Entering directory '/tmp/rtmpdump/src/rtmpdump/librtmp'
# gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c -o rtmp.o rtmp.c
# rtmp.c: In function 'RTMP_ReadPacket':
# rtmp.c:3555:7: warning: variable 'didAlloc' set but not used [-Wunused-but-set-variable]
# int didAlloc = FALSE;
# ^~~~~~~~
# At top level:
# rtmp.c:2907:19: warning: 'av_NetConnection_Connect_Rejected' defined but not used [-Wunused-const-variable=]
# static const AVal av_NetConnection_Connect_Rejected =
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# rtmp.c:1559:35: warning: 'av_record' defined but not used [-Wunused-const-variable=]
# #define SAVC(x) static const AVal av_##x = AVC(#x)
# ^
# rtmp.c:1905:1: note: in expansion of macro 'SAVC'
# SAVC(record);
# ^~~~
# gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c -o log.o log.c
# gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c -o amf.o amf.c
# gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c -o hashswf.o hashswf.c
# gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c -o parseurl.o parseurl.c
# ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
# ar: creating librtmp.a
# gcc -shared -Wl,-soname,librtmp.so.1 -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz
# ln -sf librtmp.so.1 librtmp.so
# make[1]: Leaving directory '/tmp/rtmpdump/src/rtmpdump/librtmp'
# gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -c -o rtmpdump.o rtmpdump.c
# gcc -Wall -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz
# rtmpdump.o: In function `main':
# rtmpdump.c:(.text+0x2d04): undefined reference to `CleanupSockets'
# collect2: error: ld returned 1 exit status
# make: *** [Makefile:79: rtmpdump] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...