Build of p3scan with vanilla toolchain

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

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

SLOCLanguage
14,622 ansic
253 makefile
148 sh
15,023 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: p3scan 2.3.2-11 (Wed Aug 24 13:19:22 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c getlinep3.c
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c getline_ssl.c
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c parsefile.c
# getline_ssl.c: In function 'initialize_ctx':
# getline_ssl.c:78:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# meth=SSLv23_method();
# ^
# getline_ssl.c: In function 'SSL_create_conn':
# getline_ssl.c:276:25: warning: variable 'direccion' set but not used [-Wunused-but-set-variable]
# struct sockaddr_in * direccion;
# ^~~~~~~~~
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c p3scan.c
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_basic.c
# scanner_basic.c: In function 'scan':
# scanner_basic.c:133:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
# } else
# ^~~~
# scanner_basic.c:135:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
# ret=WEXITSTATUS(ret);
# ^~~
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_avpd.c
# scanner_avpd.c: In function 'avp_sendcommand':
# scanner_avpd.c:136:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
# else
# ^~~~
# scanner_avpd.c:138:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
# do_log(LOG_DEBUG, "Test result: 0x%x, flags: 0x%x",
# ^~~~~~
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_avpd_new.c
# p3scan.c: In function 'send_mailfile':
# p3scan.c:1028:36: warning: variable 'gottxt' set but not used [-Wunused-but-set-variable]
# int res=0, sendret=0, gotprd=0, gottxt=0, nogo=0;
# ^~~~~~
# p3scan.c: In function 'proxy':
# p3scan.c:1643:81: warning: passing argument 5 of 'getsockopt' from incompatible pointer type [-Wincompatible-pointer-types]
# if (getsockopt(p->client_fd, SOL_IP, SO_ORIGINAL_DST, &p->server_addr, &p->socksize)){
# ^
# In file included from /usr/include/netinet/in.h:23:0,
# from /usr/include/arpa/inet.h:22,
# from p3scan.c:47:
# /usr/include/sys/socket.h:219:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'size_t * {aka long unsigned int *}'
# extern int getsockopt (int __fd, int __level, int __optname,
# ^~~~~~~~~~
# p3scan.c:1570:8: warning: variable 'smtprstlb' set but not used [-Wunused-but-set-variable]
# int smtprstlb=0;
# ^~~~~~~~~
# p3scan.c: In function 'main':
# p3scan.c:3014:61: warning: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
# while ((connfd = accept(sockfd, (struct sockaddr *)&addr,&socksize)) >= 0){
# ^
# In file included from /usr/include/netinet/in.h:23:0,
# from /usr/include/arpa/inet.h:22,
# from p3scan.c:47:
# /usr/include/sys/socket.h:243:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'size_t * {aka long unsigned int *}'
# extern int accept (int __fd, __SOCKADDR_ARG __addr,
# ^~~~~~
# p3scan.c:2887:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
# int ret=0;
# ^~~
# scanner_avpd_new.c: In function 'avp_sendcommand':
# scanner_avpd_new.c:207:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
# else
# ^~~~
# scanner_avpd_new.c:209:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
# do_log(LOG_DEBUG, "Test result: 0x%x, flags: 0x%x",
# ^~~~~~
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_trophie.c
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_clamd.c
# gcc -Wall -DLOGOPT="LOG_PID|LOG_CONS" -DLOGFAC="LOG_DAEMON" -c scanner_bash.c
# scanner_clamd.c: In function 'check':
# scanner_clamd.c:245:43: warning: value computed is not used [-Wunused-value]
# while(*buf_c == '\r' || *buf_c == ' ') *buf_c --;
# ^~~~~~~~~
# scanner_bash.c: In function 'scan':
# scanner_bash.c:230:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
# } else
# ^~~~
# scanner_bash.c:232:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
# ret=WEXITSTATUS(ret);
# ^~~
# cd ripmime && make libripmime || exit 1
# make[1]: Entering directory '/tmp/p3scan/src/p3scan-2.3.2/ripmime'
# cc -Wall -I. -DRIPOLE -c strstack.c
# cc -Wall -I. -DRIPOLE -c mime.c
# mime.c: In function 'MIME_decode_raw':
# mime.c:1347:33: warning: pointer targets in passing argument 2 of 'FFGET_raw' differ in signedness [-Wpointer-sign]
# while ((readcount=FFGET_raw(f, buffer,bufsize)) > 0)
# ^~~~~~
# In file included from mime.c:44:0:
# ffget.h:46:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int FFGET_raw( FFGET_FILE *f, unsigned char *buffer, int max );
# ^~~~~~~~~
# mime.c: In function 'MIME_decode_64':
# mime.c:1721:7: warning: variable 'lastchar_was_linebreak' set but not used [-Wunused-but-set-variable]
# int lastchar_was_linebreak=0;
# ^~~~~~~~~~~~~~~~~~~~~~
# cc -Wall -I. -DRIPOLE -c ffget.c
# cc -Wall -I. -DRIPOLE -c MIME_headers.c
# MIME_headers.c: In function 'MIMEH_are_headers_RFC822':
# MIME_headers.c:709:15: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower(lc_headers);
# ^~~~~~~~~~
# In file included from MIME_headers.c:33:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# MIME_headers.c: In function 'MIMEH_read_headers':
# MIME_headers.c:964:8: warning: variable 'headerline_end' set but not used [-Wunused-but-set-variable]
# char *headerline_end;
# ^~~~~~~~~~~~~~
# MIME_headers.c:959:6: warning: variable 'firstline' set but not used [-Wunused-but-set-variable]
# int firstline = 1;
# ^~~~~~~~~
# MIME_headers.c: In function 'MIMEH_parse_header_parameter':
# MIME_headers.c:1433:15: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower(hl);
# ^~
# In file included from MIME_headers.c:33:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# MIME_headers.c: In function 'MIMEH_parse_contenttype':
# MIME_headers.c:1828:17: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower( header_value );
# ^~~~~~~~~~~~
# In file included from MIME_headers.c:33:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# MIME_headers.c: In function 'MIMEH_parse_contentlocation':
# MIME_headers.c:2066:16: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower( header_name );
# ^~~~~~~~~~~
# In file included from MIME_headers.c:33:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# MIME_headers.c: In function 'MIMEH_parse_contenttransferencoding':
# MIME_headers.c:2153:17: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower( p );
# ^
# In file included from MIME_headers.c:33:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# MIME_headers.c: In function 'MIMEH_parse_contentdisposition':
# MIME_headers.c:2259:17: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower( header_value );
# ^~~~~~~~~~~~
# In file included from MIME_headers.c:33:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# MIME_headers.c: In function 'MIMEH_headers_process':
# MIME_headers.c:2685:19: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower( header_name );
# ^~~~~~~~~~~
# In file included from MIME_headers.c:33:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# MIME_headers.c:2568:8: warning: variable 'safeh' set but not used [-Wunused-but-set-variable]
# char *safeh, *h, *safehl;
# ^~~~~
# ./build_tnef
# make[2]: Entering directory '/tmp/p3scan/src/p3scan-2.3.2/ripmime/tnef'
# make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# cc -Wall -I. -D___TNEF_BYTE_ORDER=4321 -c tnef.c
# cc -Wall -I. -DRIPOLE -c rawget.c
# cc -Wall -I. -DRIPOLE -c pldstr.c
# tnef.c: In function 'read_attribute':
# tnef.c:486:8: warning: variable 'component' set but not used [-Wunused-but-set-variable]
# uint8 component = 0;
# ^~~~~~~~~
# pldstr.c: In function 'PLD_strstr':
# pldstr.c:41:16: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower(hs);
# ^~
# In file included from pldstr.c:11:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# pldstr.c:43:16: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower(ne);
# ^~
# In file included from pldstr.c:11:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# cc -Wall -I. -DRIPOLE -c logger.c
# make[2]: Leaving directory '/tmp/p3scan/src/p3scan-2.3.2/ripmime/tnef'
# cc -Wall -I. -DRIPOLE -c libmime-decoders.c
# cc -Wall -I. -DRIPOLE -c boundary-stack.c
# cc -Wall -I. -DRIPOLE -c uuencode.c
# cc -Wall -I. -DRIPOLE -c filename-filters.c
# ./build_ripOLE
# make[2]: Entering directory '/tmp/p3scan/src/p3scan-2.3.2/ripmime/ripOLE'
# make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# rm -f *.o ripole
# cc -Wall -I. -DRIPOLE -c ripOLE/olestream-unwrap.c
# make[2]: Leaving directory '/tmp/p3scan/src/p3scan-2.3.2/ripmime/ripOLE'
# make[2]: Entering directory '/tmp/p3scan/src/p3scan-2.3.2/ripmime/ripOLE'
# make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# cc -Wall -I. -c ole.c
# ole.c: In function 'OLE_get_header':
# ole.c:568:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]
# int result = 0;
# ^~~~~~
# ole.c: In function 'OLE_convert_header':
# ole.c:25:34: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness [-Wpointer-sign]
# #define header_minor_version(x) ((x) +0x18)
# ^
# ole.c:611:37: note: in expansion of macro 'header_minor_version'
# h->minor_version = get_2byte_value(header_minor_version(hb));
# ^~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_2byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:26:33: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness [-Wpointer-sign]
# #define header_dll_version(x) ((x) +0x1a)
# ^
# ole.c:612:35: note: in expansion of macro 'header_dll_version'
# h->dll_version = get_2byte_value(header_dll_version(hb));
# ^~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_2byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:27:32: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness [-Wpointer-sign]
# #define header_byte_order(x) ((x) +0x1c)
# ^
# ole.c:613:34: note: in expansion of macro 'header_byte_order'
# h->byte_order = get_2byte_value(header_byte_order(hb)); /** 0xFEFF = Little endian, 0xFFFE = big endian **/
# ^~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_2byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:28:33: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness [-Wpointer-sign]
# #define header_sector_shift(x) ((x) +0x1e)
# ^
# ole.c:614:36: note: in expansion of macro 'header_sector_shift'
# h->sector_shift = get_2byte_value(header_sector_shift(hb));
# ^~~~~~~~~~~~~~~~~~~
# cc -Wall -I. -DRIPOLE -c ripOLE/bytedecoders.c
# In file included from ole.c:12:0:
# bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_2byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:29:37: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness [-Wpointer-sign]
# #define header_mini_sector_shift(x) ((x) +0x20)
# ^
# ole.c:617:41: note: in expansion of macro 'header_mini_sector_shift'
# h->mini_sector_shift = get_2byte_value(header_mini_sector_shift(hb));
# ^~~~~~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_2byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:30:36: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# #define header_fat_sector_count(x) ((x) +0x2c)
# ^
# ole.c:620:40: note: in expansion of macro 'header_fat_sector_count'
# h->fat_sector_count = get_4byte_value(header_fat_sector_count(hb)); /** Total number of sectors use for the SAT **/
# ^~~~~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:31:49: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# #define header_directory_stream_start_sector(x) ((x) +0x30)
# ^
# ole.c:621:53: note: in expansion of macro 'header_directory_stream_start_sector'
# h->directory_stream_start_sector = get_4byte_value(header_directory_stream_start_sector(hb)); /** Start sector-ID for the DIRECTORY STREAM **/
# ^
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:32:36: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# #define header_mini_cutoff_size(x) ((x) +0x38)
# ^
# ole.c:622:40: note: in expansion of macro 'header_mini_cutoff_size'
# h->mini_cutoff_size = get_4byte_value(header_mini_cutoff_size(hb));
# ^~~~~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:33:35: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# #define header_mini_fat_start(x) ((x) +0x3c)
# ^
# ole.c:623:38: note: in expansion of macro 'header_mini_fat_start'
# h->mini_fat_start = get_4byte_value(header_mini_fat_start(hb));
# ^~~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:34:41: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# #define header_mini_fat_sector_count(x) ((x) +0x40)
# ^
# ole.c:624:45: note: in expansion of macro 'header_mini_fat_sector_count'
# h->mini_fat_sector_count = get_4byte_value(header_mini_fat_sector_count(hb));
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:35:36: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# #define header_dif_start_sector(x) ((x) +0x44)
# ^
# ole.c:625:40: note: in expansion of macro 'header_dif_start_sector'
# h->dif_start_sector = get_4byte_value(header_dif_start_sector(hb));
# ^~~~~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:36:36: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# #define header_dif_sector_count(x) ((x) +0x48)
# ^
# ole.c:626:40: note: in expansion of macro 'header_dif_sector_count'
# h->dif_sector_count = get_4byte_value(header_dif_sector_count(hb));
# ^~~~~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:639:32: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# h->FAT[i] = get_4byte_value( fat_start +(LEN_ULONG *i));
# ^~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c: In function 'OLE_convert_directory':
# ole.c:790:50: warning: pointer targets in passing argument 1 of 'get_2byte_value' differ in signedness [-Wpointer-sign]
# dir->element_name_byte_count = get_2byte_value( buf + 0x40 );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:2:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_2byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:800:39: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness [-Wpointer-sign]
# dir->element_type = get_1byte_value( buf +0x42 );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:1:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_1byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:806:41: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness [-Wpointer-sign]
# dir->element_colour = get_1byte_value( buf +0x43 );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:1:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_1byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:809:37: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# dir->left_child = get_4byte_value( buf +0x44 );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:812:38: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# dir->right_child = get_4byte_value( buf +0x48 );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:818:31: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# dir->root = get_4byte_value( buf +0x4c );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:821:36: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# dir->userflags = get_4byte_value( buf +0x60 );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:825:39: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# dir->start_sector = get_4byte_value( buf +0x74 );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:835:38: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# dir->stream_size = get_4byte_value( buf +0x78 );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c: In function 'OLE_load_FAT':
# ole.c:1005:58: warning: pointer targets in passing argument 2 of 'OLE_print_sector' differ in signedness [-Wpointer-sign]
# if (OLE_DPEDANTIC(ole->debug)) OLE_print_sector(ole, fat_block, ole->header.sector_size);
# ^~~~~~~~~
# ole.c:502:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int OLE_print_sector( struct OLE_object *ole, char *sector, unsigned int bytes)
# ^~~~~~~~~~~~~~~~
# ole.c:1014:39: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# import_sector = get_4byte_value( DIF );
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c:1067:40: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# current_sector = get_4byte_value( fat_block_end );
# ^~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c: In function 'OLE_follow_chain':
# ole.c:1124:34: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# next_sector = get_4byte_value( next_sector_location );
# ^~~~~~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c: In function 'OLE_follow_minichain':
# ole.c:1202:34: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# next_sector = get_4byte_value( ole->miniFAT +(LEN_ULONG *current_sector));
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c: In function 'OLE_load_minichain':
# ole.c:1283:35: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# next_sector = get_4byte_value( ole->miniFAT +(LEN_ULONG *current_sector));
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c: In function 'OLE_load_chain':
# ole.c:1369:36: warning: pointer targets in passing argument 1 of 'get_4byte_value' differ in signedness [-Wpointer-sign]
# next_sector = get_4byte_value( ole->FAT +(LEN_ULONG *current_sector));
# ^~~
# In file included from ole.c:12:0:
# bytedecoders.h:3:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_4byte_value( char *start );
# ^~~~~~~~~~~~~~~
# ole.c: In function 'OLE_decode_stream':
# ole.c:1673:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# stream_data = OLE_load_chain( ole, adir->start_sector );
# ^
# ole.c:1693:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
# stream_data = OLE_load_minichain( ole, adir->start_sector );
# ^
# ole.c: In function 'OLE_decode_file':
# ole.c:1805:36: warning: pointer targets in passing argument 1 of 'get_1byte_value' differ in signedness [-Wpointer-sign]
# property_value = get_1byte_value(current_property);
# ^~~~~~~~~~~~~~~~
# In file included from ole.c:12:0:
# bytedecoders.h:1:5: note: expected 'char *' but argument is of type 'unsigned char *'
# int get_1byte_value( char *start );
# ^~~~~~~~~~~~~~~
# cc -Wall -I. -DRIPOLE -c ripOLE/bt-int.c
# cc -Wall -I. -DRIPOLE -c ripmime-api.c
# cc -Wall -I. -c olestream-unwrap.c
# cc -Wall -I. -c bytedecoders.c
# cc -Wall -I. -c logger.c
# cc -Wall -I. -c pldstr.c
# pldstr.c: In function 'PLD_strstr':
# pldstr.c:41:16: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower(hs);
# ^~
# In file included from pldstr.c:11:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# pldstr.c:43:16: warning: pointer targets in passing argument 1 of 'PLD_strlower' differ in signedness [-Wpointer-sign]
# PLD_strlower(ne);
# ^~
# In file included from pldstr.c:11:0:
# pldstr.h:34:5: note: expected 'unsigned char *' but argument is of type 'char *'
# int PLD_strlower( unsigned char *convertme );
# ^~~~~~~~~~~~
# pldstr.c: In function 'PLD_strlower':
# pldstr.c:367:12: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
# char *c = convertme;
# ^~~~~~~~~
# cc -Wall -I. -c bt-int.c
# cc -Wall -I. ole.o olestream-unwrap.o bytedecoders.o logger.o pldstr.o bt-int.o ripole.c -o ripole
# make[2]: Leaving directory '/tmp/p3scan/src/p3scan-2.3.2/ripmime/ripOLE'
# ar ruvs libripmime.a strstack.o mime.o ffget.o MIME_headers.o tnef/tnef.o rawget.o pldstr.o logger.o libmime-decoders.o boundary-stack.o uuencode.o filename-filters.o ripOLE/ole.o ripOLE/olestream-unwrap.o ripOLE/bytedecoders.o ripOLE/bt-int.o ripmime-api.o
# ar: `u' modifier ignored since `D' is the default (see `U')
# ar: creating libripmime.a
# a - strstack.o
# a - mime.o
# a - ffget.o
# a - MIME_headers.o
# a - tnef/tnef.o
# a - rawget.o
# a - pldstr.o
# a - logger.o
# a - libmime-decoders.o
# a - boundary-stack.o
# a - uuencode.o
# a - filename-filters.o
# a - ripOLE/ole.o
# a - ripOLE/olestream-unwrap.o
# a - ripOLE/bytedecoders.o
# a - ripOLE/bt-int.o
# a - ripmime-api.o
# make[1]: Leaving directory '/tmp/p3scan/src/p3scan-2.3.2/ripmime'
# ln -sf ripmime/libripmime.a libripmime.a
# gcc -o p3scan getlinep3.o getline_ssl.o parsefile.o p3scan.o scanner_basic.o scanner_avpd.o scanner_avpd_new.o scanner_trophie.o scanner_clamd.o scanner_bash.o -L. -lripmime -lpcre -lssl -lcrypto
# ==> Entering fakeroot environment...
# ==> Starting package()...
# install -D -v -m 550 --strip p3scan /tmp/p3scan/pkg/p3scan/usr/bin/
# 'p3scan' -> '/tmp/p3scan/pkg/p3scan/usr/bin/p3scan'
# 'rc.p3scan' -> '/tmp/p3scan/pkg/p3scan/etc/rc.d/rc.p3scan'
# chown: changing ownership of '/tmp/p3scan/pkg/p3scan/etc/p3scan': Operation not permitted
# make: *** [Makefile:96: install] Error 1
# ==> ERROR: A failure occurred in package().
# Aborting...