Build of toolame with vanilla toolchain

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

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

SLOCLanguage
10,298 ansic
53 makefile
10,351 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: toolame 02l-10 (Wed Aug 24 13:22:11 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# patching file Makefile
# patching file audio_read.c
# patching file fft.c
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c common.c -o common.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c encode.c -o encode.o
# In file included from common.c:13:0:
# encode_new.h:6:15: warning: inline function 'mod' declared but never defined
# INLINE double mod (double a);
# ^~~
# encode.c: In function 'main_bit_allocation':
# encode.c:508:23: warning: variable 'lay' set but not used [-Wunused-but-set-variable]
# int mode, mode_ext, lay;
# ^~~
# encode.c:507:7: warning: variable 'noisy_sbs' set but not used [-Wunused-but-set-variable]
# int noisy_sbs;
# ^~~~~~~~~
# In file included from encode.c:6:0:
# encode.c: At top level:
# bitstream.h:12:13: warning: inline function 'putbits' declared but never defined
# INLINE void putbits (Bit_stream_struc *, unsigned int, int);
# ^~~~~~~
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c ieeefloat.c -o ieeefloat.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c toolame.c -o toolame.o
# toolame.c: In function 'main':
# toolame.c:99:7: warning: variable 'win_que' set but not used [-Wunused-but-set-variable]
# IN *win_que;
# ^~~~~~~
# In file included from toolame.c:21:0:
# toolame.c: At top level:
# encode_new.h:6:15: warning: inline function 'mod' declared but never defined
# INLINE double mod (double a);
# ^~~
# In file included from toolame.c:17:0:
# psycho_4.h:8:14: warning: inline function 'psycho_4_sin' declared but never defined
# INLINE FLOAT psycho_4_sin(FLOAT phi);
# ^~~~~~~~~~~~
# psycho_4.h:7:14: warning: inline function 'psycho_4_cos' declared but never defined
# INLINE FLOAT psycho_4_cos(FLOAT phi);
# ^~~~~~~~~~~~
# In file included from toolame.c:9:0:
# bitstream.h:12:13: warning: inline function 'putbits' declared but never defined
# INLINE void putbits (Bit_stream_struc *, unsigned int, int);
# ^~~~~~~
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c portableio.c -o portableio.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c psycho_n1.c -o psycho_n1.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c psycho_0.c -o psycho_0.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c psycho_1.c -o psycho_1.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c psycho_2.c -o psycho_2.o
# In file included from psycho_1.c:6:0:
# fft.h:9:14: warning: inline function 'atan_table' declared but never defined
# INLINE FLOAT atan_table(FLOAT y, FLOAT x);
# ^~~~~~~~~~
# In file included from psycho_2.c:8:0:
# fft.h:9:14: warning: inline function 'atan_table' declared but never defined
# INLINE FLOAT atan_table(FLOAT y, FLOAT x);
# ^~~~~~~~~~
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c psycho_3.c -o psycho_3.o
# psycho_3.c: In function 'psycho_3':
# psycho_3.c:75:7: warning: unused variable 'sblimit' [-Wunused-variable]
# int sblimit = frame->sblimit;
# ^~~~~~~
# psycho_3.c: At top level:
# psycho_3.c:68:15: warning: 'dbtable' is static but used in inline function 'psycho_3_add_db' which is not static
# return (b + dbtable[-idiff]);
# ^~~~~~~
# psycho_3.c:65:17: warning: 'dbtable' is static but used in inline function 'psycho_3_add_db' which is not static
# return (a + dbtable[idiff]);
# ^~~~~~~
# In file included from psycho_3.c:9:0:
# fft.h:9:14: warning: inline function 'atan_table' declared but never defined
# INLINE FLOAT atan_table(FLOAT y, FLOAT x);
# ^~~~~~~~~~
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c psycho_4.c -o psycho_4.o
# psycho_4.c:120:17: warning: 'sin_table' is static but used in inline function 'psycho_4_sin' which is not static
# return(sign * sin_table[index]);
# ^~~~~~~~~
# psycho_4.c:119:24: warning: 'sin_table' is static but used in inline function 'psycho_4_sin' which is not static
# return(-1 * sign * sin_table[index]);
# ^~~~~~~~~
# psycho_4.c:106:17: warning: 'cos_table' is static but used in inline function 'psycho_4_cos' which is not static
# return(sign * cos_table[index]);
# ^~~~~~~~~
# In file included from psycho_4.c:9:0:
# fft.h:9:14: warning: inline function 'atan_table' declared but never defined
# INLINE FLOAT atan_table(FLOAT y, FLOAT x);
# ^~~~~~~~~~
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c fft.c -o fft.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c subband.c -o subband.o
# fft.c:1208:10: warning: 'atan_t' is static but used in inline function 'atan_table' which is not static
# return(atan_t[index]);
# ^~~~~~
# fft.c:1206:13: warning: 'atan_t' is static but used in inline function 'atan_table' which is not static
# return( atan_t[index] - PI );
# ^~~~~~
# fft.c:1203:14: warning: 'atan_t' is static but used in inline function 'atan_table' which is not static
# return( -atan_t[index] );
# ^~~~~~
# fft.c:1200:18: warning: 'atan_t' is static but used in inline function 'atan_table' which is not static
# return( PI - atan_t[index] );
# ^~~~~~
# In file included from subband.c:7:0:
# bitstream.h:12:13: warning: inline function 'putbits' declared but never defined
# INLINE void putbits (Bit_stream_struc *, unsigned int, int);
# ^~~~~~~
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c audio_read.c -o audio_read.o
# audio_read.c: In function 'parse_input_file':
# audio_read.c:332:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
# samplerate = *(unsigned long *) (&wave_header_buffer[24]);
# ^~~~~~~~~~
# audio_read.c:264:7: warning: variable 'wave_header_16bit' set but not used [-Wunused-but-set-variable]
# int wave_header_16bit = -1;
# ^~~~~~~~~~~~~~~~~
# audio_read.c:262:7: warning: variable 'wave_header_read' set but not used [-Wunused-but-set-variable]
# int wave_header_read = 0;
# ^~~~~~~~~~~~~~~~
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c bitstream.c -o bitstream.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c mem.c -o mem.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c crc.c -o crc.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c tables.c -o tables.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c availbits.c -o availbits.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c ath.c -o ath.o
# cc -O2 -DNDEBUG -DINLINE=inline -march=x86-64 -pipe -Wall -DNEWENCODE -DNEWATAN -c encode_new.c -o encode_new.o
# encode_new.c: In function 'main_bit_allocation_new':
# encode_new.c:739:23: warning: variable 'lay' set but not used [-Wunused-but-set-variable]
# int mode, mode_ext, lay;
# ^~~
# encode_new.c:738:7: warning: variable 'noisy_sbs' set but not used [-Wunused-but-set-variable]
# int noisy_sbs;
# ^~~~~~~~~
# In file included from encode_new.c:6:0:
# encode_new.c: At top level:
# bitstream.h:12:13: warning: inline function 'putbits' declared but never defined
# INLINE void putbits (Bit_stream_struc *, unsigned int, int);
# ^~~~~~~
# tables.c: In function 'pick_table':
# tables.c:21:14: warning: variable 'lay' set but not used [-Wunused-but-set-variable]
# int table, lay, ws, bsp, br_per_ch, sfrq;
# ^~~
# cc -o toolame common.o encode.o ieeefloat.o toolame.o portableio.o psycho_n1.o psycho_0.o psycho_1.o psycho_2.o psycho_3.o psycho_4.o fft.o subband.o audio_read.o bitstream.o mem.o crc.o tables.o availbits.o ath.o encode_new.o -lm
# toolame.o: In function `main':
# toolame.c:(.text.startup+0xc3b): undefined reference to `putbits'
# toolame.c:(.text.startup+0xca9): undefined reference to `putbits'
# toolame.c:(.text.startup+0xcbf): undefined reference to `putbits'
# toolame.c:(.text.startup+0xd01): undefined reference to `putbits'
# encode.o: In function `encode_info':
# encode.c:(.text+0x1a): undefined reference to `putbits'
# encode.o:encode.c:(.text+0x3a): more undefined references to `putbits' follow
# collect2: error: ld returned 1 exit status
# make: *** [Makefile:75: toolame] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...