Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 880433 Details for
Bug 920774
net-mail/relay-ctrl-3.1.1-r3 - [clang] relay-ctrl-check.c: error: call to undeclared function do_chdir; ISO C99
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-mail:relay-ctrl-3.1.1-r3:20231227-001513.log
net-mail:relay-ctrl-3.1.1-r3:20231227-001513.log (text/plain), 10.80 KB, created by
Toralf Förster
on 2023-12-27 08:54:41 UTC
(
hide
)
Description:
net-mail:relay-ctrl-3.1.1-r3:20231227-001513.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-27 08:54:41 UTC
Size:
10.80 KB
patch
obsolete
> * Package: net-mail/relay-ctrl-3.1.1-r3:0 > * Repository: gentoo > * Maintainer: robbat2@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking relay-ctrl-3.1.1.tar.gz to /var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/work >>>> Source unpacked in /var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/work >>>> Preparing source in /var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/work/relay-ctrl-3.1.1 ... > * Replacing obsolete head/tail with POSIX compliant ones > * - fixed /var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/work/relay-ctrl-3.1.1/Makefile > * Applying authenticated.c-relayfixup.diff ... > [ ok ] > * Applying relay-ctrl-3.1.1-NOFILE-overstep.patch ... > [ ok ] >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/work/relay-ctrl-3.1.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/work/relay-ctrl-3.1.1 ... >make -j4 >( echo '#!/bin/sh';\ > echo 'main="$1"; shift';\ > echo exec `head -n 1 conf-ld` '-o "$main" "$main.o" ${1+"$@"}';\ >) >load >( echo '#!/bin/sh'; \ > echo 'source=$1; shift'; \ > echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; \ > echo exec `head -n 1 conf-cc` '-I. -o ${base}.o -c $source ${1+"$@"}'; \ >) >compile >( echo '#!/bin/sh'; \ > echo 'main="$1"; shift';\ > echo 'rm -f "$main"';\ > echo 'x86_64-pc-linux-gnu-ar cr "$main" ${1+"$@"}';\ > echo 'x86_64-pc-linux-gnu-ranlib "$main"';\ >) >makelib >cat warn-auto.sh choose.sh >choose >chmod 755 load >chmod 755 compile >chmod 755 makelib >head -n 1 conf-bin | \ > sed -e 's/"/\\"/g' \ > -e 's/^/const char conf_bin[] = "/' \ > -e 's/$/";/' >conf_bin.c >head -n 1 conf-man | \ > sed -e 's/"/\\"/g' \ > -e 's/^/const char conf_man[] = "/' \ > -e 's/$/";/' >conf_man.c >chmod 755 choose >./compile instcheck.c >./compile instshow.c >( ( ./compile trysystime.c >/dev/null 2>&1 && \ > echo '#include <sys/time.h>' ); \ > ( ./compile trytime.c >/dev/null 2>&1 && \ > echo '#include <time.h>' ) ) >systime.h >./compile authenticated.c >./compile chdir.c >./compile touch.c >rm -f trysystime.o trytime.o >./compile validate_ip.c >./compile misc/strtou.c >./compile misc/utoa.c >./compile misc/utoa2.c >./compile msg/common.c >./compile msg/debug.c >./compile msg/die.c >./compile msg/error.c >./compile msg/warn.c >./compile iobuf/iobuf_close.c >./compile iobuf/iobuf_copy.c >./compile iobuf/iobuf_init.c >./choose clr trypoll iopoll.h1 iopoll.h2 > iopoll.h >./compile iobuf/ibuf_getc.c >./compile iobuf/ibuf_gets.c >./compile iobuf/ibuf_getu.c >./compile iobuf/ibuf_init.c >./compile iobuf/ibuf_open.c >./compile iobuf/ibuf_peek.c >./compile iobuf/ibuf_read.c >./compile iobuf/ibuf_refill.c >./compile iobuf/ibuf_seek.c >./compile iobuf/ibuf_status.c >iobuf/ibuf_refill.c:17:7: warning: ignoring return value of function declared > with 'warn_unused_result' attribute [-Wunused-result] > 17 | write(1, errmsg, sizeof errmsg); > | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ >./compile iobuf/ibuf_stdin.c >1 warning generated. >./compile iobuf/ibuf_tell.c >./compile iobuf/obuf_close.c >./compile iobuf/obuf_endl.c >./compile iobuf/obuf_flush.c >./compile iobuf/obuf_init.c >./compile iobuf/obuf_open.c >./compile iobuf/obuf_pad.c >./compile iobuf/obuf_put2s.c >./compile iobuf/obuf_put3s.c >./compile iobuf/obuf_put4s.c >./compile iobuf/obuf_put5s.c >./compile iobuf/obuf_put6s.c >./compile iobuf/obuf_put7s.c >./compile iobuf/obuf_putc.c >./compile iobuf/obuf_putiw.c >./compile iobuf/obuf_putnetstring.c >./compile iobuf/obuf_putsflush.c >./compile iobuf/obuf_putuw.c >./compile iobuf/obuf_seek.c >./compile iobuf/obuf_stderr.c >./compile iobuf/obuf_stdout.c >./compile iobuf/obuf_sync.c >./compile iobuf/obuf_write.c >./choose c trysysel select.h1 select.h2 > select.h >./choose cl trysetenv setenv.h1 setenv.h2 > setenv.h >( ./compile trydirent.c >/dev/null 2>&1 \ > && cat direntry.h2 || cat direntry.h1 ) > direntry.h >./compile relay-ctrl-udp.c >./compile net/ipv4_addr.c >rm -f trydirent.o >./compile net/ipv4_format.c >./compile net/ipv4_parse.c >./compile net/accept4.c >./compile net/acceptu.c >./compile net/bind4.c >./compile net/bindu.c >net/accept4.c:32:49: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > 32 | if ((fd = accept(sock, (struct sockaddr*)&sa, &dummy)) != -1) { > | ^~~~~~ >/usr/include/sys/socket.h:307:28: note: passing argument to parameter > '__addr_len' here > 307 | socklen_t *__restrict __addr_len); > | ^ >1 warning generated. >./compile net/broadcast.c >net/acceptu.c:30:46: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > 30 | return accept(sock, (struct sockaddr*)&sa, &dummy); > | ^~~~~~ >/usr/include/sys/socket.h:307:28: note: passing argument to parameter > '__addr_len' here > 307 | socklen_t *__restrict __addr_len); > | ^ >1 warning generated. >./compile net/connect4.c >./compile net/connected.c >./compile net/connectu.c >./compile net/cork.c >net/connected.c:30:30: warning: passing 'int *' to parameter of type > 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer > types with different sign [-Wpointer-sign] > 30 | if (getpeername(sock, &sa, &dummy) == -1) { > | ^~~~~~ >/usr/include/sys/socket.h:131:26: note: passing argument to parameter '__len' > here > 131 | socklen_t *__restrict __len) __THROW; > | ^ >net/connected.c:31:5: warning: ignoring return value of function declared with > 'warn_unused_result' attribute [-Wunused-result] > 31 | read(sock,&ch,1); > | ^~~~ ~~~~~~~~~~ >2 warnings generated. >./compile net/getaddr4.c >./compile net/linger.c >./compile net/listen.c >./compile net/pair.c >net/getaddr4.c:30:48: warning: passing 'int *' to parameter of type > 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer > types with different sign [-Wpointer-sign] > 30 | if (getsockname(sock, (struct sockaddr*)&sa, &size) == -1) return 0; > | ^~~~~ >/usr/include/sys/socket.h:117:26: note: passing argument to parameter '__len' > here > 117 | socklen_t *__restrict __len) __THROW; > | ^ >net/getaddr4.c:33:37: warning: sizeof on array function parameter will return > size of 'unsigned char *' instead of 'ipv4addr' (aka 'unsigned char[4]') > [-Wsizeof-array-argument] > 33 | memcpy(addr, &sa.sin_addr, sizeof addr); > | ^ >net/getaddr4.c:25:40: note: declared here > 25 | int socket_getaddr4(int sock, ipv4addr addr, unsigned short* port) > | ^ >net/getaddr4.c:33:37: warning: 'memcpy' call operates on objects of type > 'unsigned char' while the size is based on a different type > 'unsigned char *' [-Wsizeof-pointer-memaccess] > 33 | memcpy(addr, &sa.sin_addr, sizeof addr); > | ~~~~ ^~~~ >net/getaddr4.c:33:37: note: did you mean to provide an explicit length? > 33 | memcpy(addr, &sa.sin_addr, sizeof addr); > | ^~~~ >3 warnings generated. >./compile net/recv4.c >./compile net/recvu.c >./compile net/reuse.c >./compile net/send4.c >net/recv4.c:32:64: warning: passing 'int *' to parameter of type 'socklen_t *' > (aka 'unsigned int *') converts between pointers to integer types with > different sign [-Wpointer-sign] > 32 | r = recvfrom(sock, buffer, buflen, 0, (struct sockaddr*)&sa, &dummy); > | ^~~~~~ >/usr/include/bits/socket2.h:62:49: note: passing argument to parameter > '__addr_len' here > 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) > | ^ >./compile net/sendu.c >1 warning generated. >./compile net/shutdown.c >./compile net/tcp.c >./compile net/udp.c >./compile net/uncork.c >./compile net/unixdgm.c >./compile net/unixstr.c >( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null 2>&1 \ > && cat fork.h2 || cat fork.h1 ) > fork.h >./compile relay-ctrl-chdir.c >./compile installer.c >rm -f tryvfork.o tryvfork >./compile insthier.c >./compile relay-ctrl-allow.c >./makelib relay-ctrl.a authenticated.o chdir.o touch.o validate_ip.o >./makelib misc/misc.a misc/strtou.o misc/utoa.o misc/utoa2.o >./makelib msg/msg.a msg/common.o msg/debug.o msg/die.o msg/error.o msg/warn.o >./compile iobuf/iobuf_timeout.c >./compile iopoll.c >./compile relay-ctrl-check.c >./compile setenv.c >In file included from iopoll.c:2: >./select.h:9:12: warning: a function declaration without a prototype is > deprecated in all versions of C and is treated as a zero-parameter > prototype in C2x, conflicting with a previous declaration > [-Wdeprecated-non-prototype] > 9 | extern int select(); > | ^ >/usr/include/sys/select.h:102:12: note: conflicting prototype is here > 102 | extern int select (int __nfds, fd_set *__restrict __readfds, > | ^ >./compile relay-ctrl-age.c >1 warning generated. >./makelib net/ipv4.a net/ipv4_addr.o net/ipv4_format.o net/ipv4_parse.o >relay-ctrl-check.c:87:14: error: call to undeclared function 'do_chdir'; ISO C99 > and later do not support implicit function declarations > [-Wimplicit-function-declaration] > 87 | else if (do_chdir()) > | ^ >1 error generated. >make: *** [Makefile:358: relay-ctrl-check.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: net-mail/relay-ctrl-3.1.1-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-mail/relay-ctrl-3.1.1-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-mail/relay-ctrl-3.1.1-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/net-mail:relay-ctrl-3.1.1-r3:20231227-001513.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/temp/environment'. > * Working directory: '/var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/work/relay-ctrl-3.1.1' > * S: '/var/tmp/portage/net-mail/relay-ctrl-3.1.1-r3/work/relay-ctrl-3.1.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 920774
:
880428
|
880429
|
880430
|
880431
|
880432
| 880433 |
880434
|
880435