<86>Oct 29 16:13:56 userdel[2641480]: delete user 'rooter' <86>Oct 29 16:13:56 userdel[2641480]: removed group 'rooter' owned by 'rooter' <86>Oct 29 16:13:56 userdel[2641480]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 29 16:13:56 groupadd[2641487]: group added to /etc/group: name=rooter, GID=1241 <86>Oct 29 16:13:56 groupadd[2641487]: group added to /etc/gshadow: name=rooter <86>Oct 29 16:13:56 groupadd[2641487]: new group: name=rooter, GID=1241 <86>Oct 29 16:13:56 useradd[2641493]: new user: name=rooter, UID=1241, GID=1241, home=/root, shell=/bin/bash, from=none <86>Oct 29 16:13:56 userdel[2641503]: delete user 'builder' <86>Oct 29 16:13:56 userdel[2641503]: removed group 'builder' owned by 'builder' <86>Oct 29 16:13:56 userdel[2641503]: removed shadow group 'builder' owned by 'builder' <86>Oct 29 16:13:56 groupadd[2641510]: group added to /etc/group: name=builder, GID=1242 <86>Oct 29 16:13:56 groupadd[2641510]: group added to /etc/gshadow: name=builder <86>Oct 29 16:13:56 groupadd[2641510]: new group: name=builder, GID=1242 <86>Oct 29 16:13:56 useradd[2641516]: new user: name=builder, UID=1242, GID=1242, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/3proxy-0.6.1-alt2.src.rpm: The use of such a license name is ambiguous: GPL <13>Oct 29 16:14:01 rpmi: libcap-devel-1:2.69-alt1 sisyphus+339667.100.2.1 1709131771 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/3proxy-0.6.1-alt2.nosrc.rpm (w1.gzdio) Installing 3proxy-0.6.1-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.1846 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf 3proxy-0.6.1 + echo 'Source #0 (3proxy-0.6.1.tar):' Source #0 (3proxy-0.6.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/3proxy-0.6.1.tar + cd 3proxy-0.6.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (3proxy-0.6.1-alt-droproot.patch):' Patch #1 (3proxy-0.6.1-alt-droproot.patch): + /usr/bin/patch -p1 patching file Makefile.Linux patching file Makefile.unix patching file src/3proxy.c patching file src/proxy.h patching file src/proxymain.c + echo 'Patch #2 (3proxy-0.6.1-alt-changes.patch):' Patch #2 (3proxy-0.6.1-alt-changes.patch): + /usr/bin/patch -p1 patching file src/3proxy.c patching file src/stringtable.c + echo 'Patch #3 (CVE-2019-14495.patch):' Patch #3 (CVE-2019-14495.patch): + /usr/bin/patch -p1 patching file src/webadmin.c Hunk #1 succeeded at 11 (offset 1 line). Hunk #2 succeeded at 342 (offset 1 line). Hunk #3 succeeded at 391 (offset 1 line). Hunk #4 succeeded at 524 (offset 3 lines). Hunk #5 succeeded at 534 (offset 3 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.1846 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd 3proxy-0.6.1 + make -j8 -f Makefile.Linux make: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1' cat Makefile.Linux > src/Makefile.var make: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' cd .. && cat copying 3proxy 0.6 Public License Agreement (c) 2000-2009 by 3APA3A (3APA3A@security.nnov.ru) (c) 2000-2009 by SecurityVulns.com (http://3proxy.ru/) (c) 2000-2009 by Vladimir Dubrovin (vlad@sandy.ru) This software uses: RSA Data Security, Inc. MD4 Message-Digest Algorithm RSA Data Security, Inc. MD5 Message-Digest Algorithm THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software is FREEWARE. Redistribution and use in source and binary forms, with or without modification, are permitted provided that following conditions are met (BSD style license): * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the SecurityVulns.COM nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. Insted of this license, you can also use and redistribute this software under terms of compatible license, including: 1. Apache License, Version 2.0 You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 2. GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. You may obtain a copy of the License at http://www.gnu.org/licenses/gpl.txt 3. GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. You may obtain a copy of the License at http://www.gnu.org/licenses/lgpl.txt $Id: License,v 1.3 2007/04/05 11:59:47 vlad Exp $ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL 3proxy.c 3proxy.c: In function 'h_nolog': 3proxy.c:1115:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1115 | if(!strcmp(argv[0],"nolog")) acl->nolog = 1; | ~~~~^~~ | | | unsigned char * In file included from proxy.h:21, from 3proxy.c:10: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ 3proxy.c: In function 'main': 3proxy.c:1952:47: error: pointer type mismatch in conditional expression [-Wincompatible-pointer-types] 1952 | conf.conffile = opt_conffile ? opt_conffile : DEFAULTCONFIG; | ^ 3proxy.c:1952:34: note: first expression has type 'char *' 1952 | conf.conffile = opt_conffile ? opt_conffile : DEFAULTCONFIG; | ^~~~~~~~~~~~ 3proxy.c:18:23: note: second expression has type 'unsigned char *' 18 | #define DEFAULTCONFIG conf.stringtable[25] | ^~~~~~~~~~~~~~~~~~~~ 3proxy.c:1952:49: note: in expansion of macro 'DEFAULTCONFIG' 1952 | conf.conffile = opt_conffile ? opt_conffile : DEFAULTCONFIG; | ^~~~~~~~~~~~~ 3proxy.c: In function 'dumpcounters': 3proxy.c:475:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 475 | write(counterd, &cheader, sizeof(struct counter_header)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3proxy.c:485:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 485 | write(counterd, &crecord, sizeof(struct counter_record)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3proxy.c: In function 'cyclestep': 3proxy.c:583:41: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 583 | system((char *)tmpbuf+1); | ^~~~~~~~~~~~~~~~~~~~~~~~ 3proxy.c: In function 'h_ace': 3proxy.c:1536:33: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1536 | read(conf.counterd, &crecord, sizeof(struct counter_record)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3proxy.c: In function 'main': proxy.h:94:21: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ 3proxy.c:2036:5: note: in expansion of macro 'daemonize' 2036 | daemonize(); | ^~~~~~~~~ 3proxy.c: At top level: 3proxy.c:1646:12: warning: 'h_chroot' defined but not used [-Wunused-function] 1646 | static int h_chroot(int argc, unsigned char **argv){ | ^~~~~~~~ 3proxy.c:1634:12: warning: 'h_setgid' defined but not used [-Wunused-function] 1634 | static int h_setgid(int argc, unsigned char **argv){ | ^~~~~~~~ 3proxy.c:1624:12: warning: 'h_setuid' defined but not used [-Wunused-function] 1624 | static int h_setuid(int argc, unsigned char **argv){ | ^~~~~~~~ 3proxy.c:1021:12: warning: 'h_pidfile' defined but not used [-Wunused-function] 1021 | static int h_pidfile(int argc, unsigned char **argv){ | ^~~~~~~~~ make[1]: *** [Makefile.inc:66: 3proxy.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvpop3p.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL pop3p.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvtcppm.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL tcppm.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvsmtpp.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL smtpp.c smtpp.c: In function 'smtppchild': smtpp.c:44:36: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 44 | command = mystrdup(buf); | ^~~ | | | unsigned char * In file included from proxy.h:21, from smtpp.c:10: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'unsigned char *' 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:51:34: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 51 | socksend(param->clisock, "334 VXNlcm5hbWU6\r\n", 18,conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:58:27: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] 58 | parseconnusername(username, param, 0, 25); | ^~~~~~~~ | | | unsigned char * proxy.h:227:29: note: expected 'char *' but argument is of type 'unsigned char *' 227 | int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); | ~~~~~~^~~~~~~~ smtpp.c:59:34: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 59 | socksend(param->clisock, "334 UGFzc3dvcmQ6\r\n", 18,conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:67:39: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 67 | param->extpassword = mystrdup(username); | ^~~~~~~~ | | | unsigned char * /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'unsigned char *' 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:67:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 67 | param->extpassword = mystrdup(username); | ^ smtpp.c:75:42: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 75 | socksend(param->clisock, "334\r\n", 5,conf.timeouts[STRING_S]); | ^~~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:83:35: warning: pointer targets in passing argument 1 of 'parseconnusername' differ in signedness [-Wpointer-sign] 83 | parseconnusername(username+1, param, 0, 25); | ~~~~~~~~^~ | | | unsigned char * proxy.h:227:29: note: expected 'char *' but argument is of type 'unsigned char *' 227 | int parseconnusername(char *username, struct clientparam *param, int extpasswd, unsigned short port); | ~~~~~~^~~~~~~~ smtpp.c:84:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 84 | res = (int)strlen(username+1) + 2; | ~~~~~~~~^~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:87:56: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 87 | param->extpassword = mystrdup(username + res); | ~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'unsigned char *' 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:87:36: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 87 | param->extpassword = mystrdup(username + res); | ^ smtpp.c:101:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 101 | i = sprintf(buf, "EHLO [%lu.%lu.%lu.%lu]\r\n", ((ul&0xFF000000)>>24), ((ul&0x00FF0000)>>16), ((ul&0x0000FF00)>>8), ((ul&0x000000FF))); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from proxy.h:19: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ smtpp.c:117:42: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 117 | socksend(param->clisock, "235 \r\n", 6,conf.timeouts[STRING_S]); | ^~~~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:120:42: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 120 | socksend(param->remsock, "AUTH LOGIN\r\n", 12, conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:125:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 125 | en64(param->extusername, buf, (int)strlen(param->extusername)); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:126:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 126 | socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:127:42: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 127 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:132:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 132 | en64(param->extpassword, buf, (int)strlen(param->extpassword)); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:133:59: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 133 | socksend(param->remsock, buf, (int)strlen(buf), conf.timeouts[STRING_S]); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:134:42: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 134 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:139:42: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 139 | socksend(param->remsock, "AUTH PLAIN\r\n", 12, conf.timeouts[STRING_S]); | ^~~~~~~~~~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:145:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 145 | i = (int)strlen(param->extusername) + 1; | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:148:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 148 | res = (int)strlen(param->extpassword); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:152:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 152 | i = (int)strlen(buf); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ smtpp.c:154:42: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 154 | socksend(param->remsock, "\r\n", 2, conf.timeouts[STRING_S]); | ^~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ smtpp.c:160:34: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 160 | socksend(param->remsock, command, (int)strlen(command), conf.timeouts[STRING_S]); | ^~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvftppr.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL ftppr.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvsocks.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL socks.c make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o mainfunc.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DMODULEMAINFUNC=mainfunc proxymain.c proxymain.c: In function 'mainfunc': proxymain.c:405:64: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from proxy.h:21, from proxymain.c:10: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'unsigned char *' 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ proxymain.c:405:48: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 405 | if(defparam.hostname)newparam->hostname=strdup(defparam.hostname); | ^ proxy.h:94:21: warning: ignoring return value of 'daemon' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | #define daemonize() daemon(1,1) | ^~~~~~~~~~~ proxymain.c:117:40: note: in expansion of macro 'daemonize' 117 | if(!conf.demon)daemonize(); | ^~~~~~~~~ proxymain.c: In function 'drop_root': proxymain.c:499:6: warning: 'gid' may be used uninitialized [-Wmaybe-uninitialized] 499 | if(initgroups(username, gid)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ proxymain.c:469:11: note: 'gid' was declared here 469 | gid_t gid; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make[1]: Entering directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' gcc -o srvproxy.o -std=gnu99 -Wall -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL proxy.c proxy.c: In function 'proxychild': proxy.c:320:31: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 320 | su = mystrdup(sb); | ^~ | | | unsigned char * In file included from proxy.h:21, from proxy.c:11: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'unsigned char *' 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ proxy.c:320:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 320 | su = mystrdup(sb); | ^ proxy.c:474:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 474 | sscanf(sb, "%lu",&contentlength); | ^~ | | | unsigned char * In file included from proxy.h:19: /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'unsigned char *' 428 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ proxy.c:492:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 492 | reqsize = (int)strlen(req); | ^~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ proxy.c:511:58: warning: pointer targets in passing argument 3 of 'handledatfltcli' differ in signedness [-Wpointer-sign] 511 | action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); | ^~~~~~~~~~~~~~~~~~ | | | unsigned int * proxy.h:243:88: note: expected 'int *' but argument is of type 'unsigned int *' 243 | FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~~ proxy.c:511:81: warning: pointer targets in passing argument 5 of 'handledatfltcli' differ in signedness [-Wpointer-sign] 511 | action = handledatfltcli(param, ¶m->clibuf, ¶m->clibufsize, 0, ¶m->cliinbuf); | ^~~~~~~~~~~~~~~~ | | | unsigned int * proxy.h:243:117: note: expected 'int *' but argument is of type 'unsigned int *' 243 | FILTER_ACTION handledatfltcli(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~ proxy.c:624:29: warning: variable 'spaces' set but not used [-Wunused-but-set-variable] 624 | int spaces = 1; | ^~~~~~ proxy.c:795:49: warning: operation on 'res' may be undefined [-Wsequence-point] 795 | if(socksend(param->remsock, req , (res = (int)strlen((char *)req)), conf.timeouts[STRING_L]) != res) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ proxy.c:880:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 880 | sscanf(sb, "%lu", &contentlength); | ^~ | | | unsigned char * /usr/include/stdio.h:428:43: note: expected 'const char *' but argument is of type 'unsigned char *' 428 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ proxy.c:893:33: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 893 | if(!strncasecmp(sb, "chunked", 7)){ | ^~ | | | unsigned char * In file included from /usr/include/string.h:462: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ proxy.c:940:58: warning: pointer targets in passing argument 3 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] 940 | action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); | ^~~~~~~~~~~~~~~~~~ | | | unsigned int * proxy.h:244:88: note: expected 'int *' but argument is of type 'unsigned int *' 244 | FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~~ proxy.c:940:81: warning: pointer targets in passing argument 5 of 'handledatfltsrv' differ in signedness [-Wpointer-sign] 940 | action = handledatfltsrv(param, ¶m->srvbuf, ¶m->srvbufsize, 0, ¶m->srvinbuf); | ^~~~~~~~~~~~~~~~ | | | unsigned int * proxy.h:244:117: note: expected 'int *' but argument is of type 'unsigned int *' 244 | FILTER_ACTION handledatfltsrv(struct clientparam *param, unsigned char ** buf_p, int * bufsize_p, int offset, int * length_p); | ~~~~~~^~~~~~~~ proxy.c:970:67: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] 970 | while ((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) == 2) { | ^~~~~~~~ | | | char * proxy.h:153:81: note: expected 'unsigned char *' but argument is of type 'char *' 153 | int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:972:62: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 972 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:981:54: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 981 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:985:71: warning: pointer targets in passing argument 3 of 'sockgetlinebuf' differ in signedness [-Wpointer-sign] 985 | if((i = sockgetlinebuf(param, SERVER, smallbuf, 30, '\n', conf.timeouts[STRING_S])) != 2) RETURN(534); | ^~~~~~~~ | | | char * proxy.h:153:81: note: expected 'unsigned char *' but argument is of type 'char *' 153 | int sockgetlinebuf(struct clientparam * param, DIRECTION which, unsigned char * buf, int bufsize, int delim, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:986:62: warning: pointer targets in passing argument 2 of 'socksend' differ in signedness [-Wpointer-sign] 986 | if (socksend(param->clisock, smallbuf, i, conf.timeouts[STRING_S]) != i){ | ^~~~~~~~ | | | char * proxy.h:143:43: note: expected 'unsigned char *' but argument is of type 'char *' 143 | int socksend(SOCKET sock, unsigned char * buf, int bufsize, int to); | ~~~~~~~~~~~~~~~~^~~ proxy.c:1022:16: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] 1022 | logurl(param, buf, (char *)req, ftp); | ^~~ | | | unsigned char * proxy.c:133:55: note: expected 'char *' but argument is of type 'unsigned char *' 133 | static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ | ~~~~~~~^~~ proxy.c:1065:16: warning: pointer targets in passing argument 2 of 'logurl' differ in signedness [-Wpointer-sign] 1065 | logurl(param, buf, (char *)req, ftp); | ^~~ | | | unsigned char * proxy.c:133:55: note: expected 'char *' but argument is of type 'unsigned char *' 133 | static void logurl(struct clientparam * param, char * buf, char * req, int ftp){ | ~~~~~~~^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/3proxy-0.6.1/src' make: *** [Makefile.inc:8: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.1846 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.1846 (%build) Command exited with non-zero status 1 1.84user 0.23system 0:00.92elapsed 224%CPU (0avgtext+0avgdata 50192maxresident)k 0inputs+0outputs (0major+51978minor)pagefaults 0swaps hsh-rebuild: rebuild of `3proxy-0.6.1-alt2.src.rpm' failed. Command exited with non-zero status 1 5.07user 1.77system 0:09.65elapsed 70%CPU (0avgtext+0avgdata 136056maxresident)k 168inputs+0outputs (0major+182547minor)pagefaults 0swaps