Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 911916 Details for
Bug 943875
net-ftp/ftp-0.17.34.0.2.5.1 fails to compile with gcc-15.0.0_pre20241117: cmds.c:1117:11: error: two or more data types in declaration specifiers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-ftp/ftp-0.17.34.0.2.5.1 build log
ftp-0.17.34.0.2.5.1.build.log (text/x-log), 17.47 KB, created by
OldManSeph
on 2024-11-25 20:12:40 UTC
(
hide
)
Description:
net-ftp/ftp-0.17.34.0.2.5.1 build log
Filename:
MIME Type:
Creator:
OldManSeph
Created:
2024-11-25 20:12:40 UTC
Size:
17.47 KB
patch
obsolete
> * Package: net-ftp/ftp-0.17.34.0.2.5.1:0 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux readline ssl > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking netkit-ftp-0.17.tar.gz to /var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work >tar: A lone zero block at 420 >>>> Unpacking netkit-ftp-ssl_0.17.34+0.2-5.1.debian.tar.xz to /var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work >>>> Unpacking netkit-ftp-0.17-patches-3.tar.bz2 to /var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work >>>> Source unpacked in /var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work >>>> Preparing source in /var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work/netkit-ftp-0.17 ... > * Applying 010_patches_in_sarge.diff ... > [ ok ] > * Applying 025_long_cmd_overflow.diff ... > [ ok ] > * Applying 030_argv_handling.diff ... > [ ok ] > * Applying 035_lintian_pedantic.diff ... > [ ok ] > * Applying 040_ipv6_ftp_c.diff ... > [ ok ] > * Applying 041_user_address_commands.diff ... > [ ok ] > * Applying 043_tune_non_autologin.diff ... > [ ok ] > * Applying 050_support_gnu_hurd.diff ... > [ ok ] > * Applying 060_full_offset_range.diff ... > [ ok ] > * Applying 070_hash_increments.diff ... > [ ok ] > * Applying 500_ssl.diff ... > [ ok ] > * Applying 510_fix_ssl_auth_response.diff ... > [ ok ] > * Applying 520_check_ssl_new.diff ... > [ ok ] > * Applying 530_move_interrupt_handler.diff ... > [ ok ] > * Applying 540_tls.diff ... > [ ok ] > * Applying 550_doc_fixes.diff ... > [ ok ] > * Applying 560_hurd.diff ... > [ ok ] > * Applying 570_fix_warnings.diff ... > [ ok ] > * Applying 580_ssl_fflush.diff ... > [ ok ] > * Applying 590_fix_ssl_without_autologin.diff ... > [ ok ] > * Applying 600_fix_passive_mode.diff ... > [ ok ] > * Applying 610_usage.diff ... > [ ok ] > * Applying 620_enforce_ssl_in_user_cmd.diff ... > [ ok ] > * Applying 630_fix_-z_segfault.diff ... > [ ok ] > * Applying 640_use_editline.diff ... > [ ok ] > * Applying 650_broken_ssl_connection.diff ... > [ ok ] > * Applying 660_hashes_and_ticks.diff ... > [ ok ] > * Applying 670_capture_ssl_error.diff ... > [ ok ] > * Applying 700_prefer_tls.diff ... > [ ok ] > * Applying use-cmake-as-buildsystem.patch ... > [ ok ] > * Applying use-cmake-as-buildsystem-debian-extras.patch ... > [ ok ] > * Applying use-cmake-as-buildsystem-ssl-extras.patch ... > [ ok ] > * Applying 0001-ftp-ssl-shutdown-the-session-properly.patch ... > [ ok ] > * Applying 0002-ftp-ssl-use-get-set-session-instead-of-copy-id.patch ... > [ ok ] > * Applying 710_fix_ftbfs_gcc10.diff ... > [ ok ] > * Applying patches from /var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work/patch ... > * 000_all_ssl-r1.patch ... > [ ok ] > * 020_all_dont-strcpy-overlapping-r1.patch ... > [ ok ] > * 030_all_acct.patch ... > [ ok ] > * 040_all_locale.patch ... >patching file ftp/main.c >Hunk #1 succeeded at 63 (offset 12 lines). >Hunk #2 succeeded at 237 with fuzz 1 (offset 127 lines). > [ ok ] > * 070_all_segv-r1.patch ... >patching file ftp/ftp.c >Hunk #1 succeeded at 1990 (offset 200 lines). >Hunk #2 succeeded at 2022 (offset 203 lines). >Hunk #3 succeeded at 2112 (offset 207 lines). >patching file ftp/main.c >Hunk #1 succeeded at 480 with fuzz 2 (offset 245 lines). >Hunk #2 succeeded at 496 with fuzz 2 (offset 249 lines). > [ ok ] > * 080_all_custom-cflags.patch ... > [ ok ] > * 100_all_arg-max.patch ... > [ ok ] > * 110_all_CPPFLAGS-r1.patch ... > [ ok ] > * 900_all_gentoo-r1.patch ... >patching file configure >Hunk #3 succeeded at 147 with fuzz 2. > [ ok ] > * Applying ftp-0.17.34.0.2.5.1-musl-glob-brace.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work/netkit-ftp-0.17 ... > * ./configure --prefix=/usr --enable-ipv6 --enable-readline --enable-ssl >Directories: /usr/bin /usr/man >Checking if C compiler works... yes >Checking if x86_64-pc-linux-gnu-gcc accepts gcc warnings... yes >Checking if x86_64-pc-linux-gnu-gcc accepts -O2... yes >Whether to enable SSL support... yes >Whether to enable IPv6 support... yes >Search for IPv6 library... not found >Checking for BSD signal semantics... yes >Checking for ncurses... yes >Checking for GNU libc... yes >Checking for libreadline... yes >Checking for socklen_t... yes >Checking for snprintf declaration... ok >Checking for snprintf implementation... ok >Generating MCONFIG... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work/netkit-ftp-0.17 ... >make -j8 >(cd ftp && make) >make[1]: Entering directory '/var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work/netkit-ftp-0.17/ftp' >x86_64-pc-linux-gnu-gcc -O2 -pipe -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE cmds.c -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE cmdtab.c -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE domacro.c -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE ftp.c -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE glob.c -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE main.c -c >x86_64-pc-linux-gnu-gcc -O2 -pipe -DUSE_SSL -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE ruserpass.c -c >domacro.c: In function âdomacroâ: >domacro.c:116:37: warning: this statement may fall through [-Wimplicit-fallthrough=[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough]] > 116 | if (*(cp1+1) == 'i') { > | ^ >domacro.c:125:29: note: here > 125 | default: > | ^~~~~~~ >ftp.c: In function âsendrequestâ: >ftp.c:880:35: warning: comparison of integer expressions of different signedness: â-Wsign-compare[m[K][]] > 880 | if (bytes < hashstep) > | ^ >ftp.c: In function ârecvrequestâ: >ftp.c:1261:35: warning: comparison of integer expressions of different signedness: â-Wsign-compare[m[K][]] > 1261 | if (bytes < hashstep) > | ^ >ftp.c: In function âdataconnâ: >ftp.c:1701:66: warning: format â-Wformat=[m[K][]] > 1701 | sprintf(errbuf,"ftp: SSL_connect DATA error %d - %s\n", > | ~^ > | | > | int > | %ld >ftp.c: In function âssl_initâ: >ftp.c:2206:29: warning: â-Wdeprecated-declarations[m[K][]] > 2206 | const char *e = ERR_func_error_string(ERR_peek_error()); > | ^~~~~ >In file included from sslapp.h:35, > from ftp_var.h:187, > from ftp.c:77: >/usr/include/openssl/err.h:459:35: note: declared here > 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); > | ^~~~~~~~~~~~~~~~~~~~~ >ftp.c:2242:37: warning: â-Wdeprecated-declarations[m[K][]] > 2242 | ERR_func_error_string(ERR_peek_error()), > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/err.h:459:35: note: declared here > 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); > | ^~~~~~~~~~~~~~~~~~~~~ >ftp.c:2249:25: warning: â-Wdeprecated-declarations[m[K][]] > 2249 | if (!SSL_use_RSAPrivateKey_file(ssl_con, my_ssl_key_file, > | ^~ >In file included from sslapp.h:34: >/usr/include/openssl/ssl.h:1720:12: note: declared here > 1720 | __owur int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >ftp.c:2257:41: warning: â-Wdeprecated-declarations[m[K][]] > 2257 | ERR_func_error_string(ERR_peek_error()), > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/err.h:459:35: note: declared here > 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); > | ^~~~~~~~~~~~~~~~~~~~~ >In file included from main.c:120: >sslapp.c: In function âdo_ssleay_initâ: >sslapp.c:100:7: warning: â-Wdeprecated-declarations[m[K][]] > 100 | rsa = RSA_new(); > | ^~~ >In file included from /usr/include/openssl/x509.h:36, > from sslapp.h:33, > from ftp_var.h:187, > from main.c:87: >/usr/include/openssl/rsa.h:212:28: note: declared here > 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >sslapp.c:112:11: warning: â-Wdeprecated-declarations[m[K][]] > 112 | RSA_generate_key_ex(rsa, 512, exp, NULL); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:271:27: note: declared here > 271 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >sslapp.c:128:7: warning: â-Wdeprecated-declarations[m[K][]] > 128 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:304:28: note: declared here > 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >sslapp.c:169:15: warning: â-Wdeprecated-declarations[m[K][]] > 169 | const char *e = ERR_func_error_string(ERR_peek_error()); > | ^~~~~ >In file included from sslapp.h:35: >/usr/include/openssl/err.h:459:35: note: declared here > 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); > | ^~~~~~~~~~~~~~~~~~~~~ >sslapp.c:214:26: warning: â-Wdeprecated-declarations[m[K][]] > 214 | ERR_func_error_string(ERR_peek_error()), > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/err.h:459:35: note: declared here > 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); > | ^~~~~~~~~~~~~~~~~~~~~ >sslapp.c:222:11: warning: â-Wdeprecated-declarations[m[K][]] > 222 | if (!SSL_CTX_use_RSAPrivateKey_file(ssl_ctx, ssl_key_file, > | ^~ >In file included from sslapp.h:34: >/usr/include/openssl/ssl.h:1728:12: note: declared here > 1728 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >sslapp.c:230:30: warning: â-Wdeprecated-declarations[m[K][]] > 230 | ERR_func_error_string(ERR_peek_error()), > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/err.h:459:35: note: declared here > 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); > | ^~~~~~~~~~~~~~~~~~~~~ >main.c: In function âset_ssl_traceâ: >main.c:181:13: warning: â-Wdeprecated-declarations[m[K][]] > 181 | BIO_set_callback(SSL_get_rbio(con),bio_dump_cb); > | ^~~~~~~~~~~~~~~~ >In file included from sslapp.h:27: >/usr/include/openssl/bio.h:310:28: note: declared here > 310 | OSSL_DEPRECATEDIN_3_0 void BIO_set_callback(BIO *b, BIO_callback_fn callback); > | ^~~~~~~~~~~~~~~~ >main.c: In function âmainâ: >main.c:401:9: warning: â-Wdeprecated-declarations[m[K][]] > 401 | siginterrupt(SIGINT, 1); > | ^~~~~~~~~~~~ >In file included from main.c:67: >/usr/include/signal.h:324:12: note: declared here > 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW > | ^~~~~~~~~~~~ >main.c:416:29: warning: â-Wdeprecated-declarations[m[K][]] > 416 | ERR_func_error_string(ERR_peek_error()), > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/err.h:459:35: note: declared here > 459 | OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e); > | ^~~~~~~~~~~~~~~~~~~~~ >cmds.c: In function âcheckglobâ: >cmds.c:1078:29: warning: comparison of integer expressions of different signedness: â-Wsign-compare[m[K][]] > 1078 | if (nrslash >= sizeof(dotdot)) { > | ^~ >cmds.c: At top level: >cmds.c:1117:11: error: two or more data types in declaration specifiers > 1117 | onoff(int bool) > | ^~~~ >cmds.c: In function âonoffâ: >cmds.c:1119:21: error: expected â)â before â?â token > 1119 | return (bool ? "on" : "off"); > | ~ ^~ > | ) >cmds.c:1119:37: error: expected expression before â;â token > 1119 | return (bool ? "on" : "off"); > | ^ >cmds.c: In function âsettickâ: >cmds.c:1304:28: warning: format â-Wformat=[m[K][]] > 1304 | printf(" (%d bytes/tick increment)", 10 * hashstep); > | ~^ ~~~~~~~~~~~~~ > | | | > | int size_t {aka long unsigned int} > | %ld >cmds.c: In function âdomapâ: >cmds.c:2364:36: warning: this statement may fall through [-Wimplicit-fallthrough=[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough]] > 2364 | if (isdigit(*(cp2 + 1))) { > | ^ >cmds.c:2382:25: note: here > 2382 | default: > | ^~~~~~~ >cmds.c: In function âonoffâ: >cmds.c:1120:1: warning: control reaches end of non-void function [-Wreturn-type[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wno-return-type]] > 1120 | } > | ^ >cmds.c: In function âsethashâ: >cmds.c:1265:42: warning: this statement may fall through [-Wimplicit-fallthrough=[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough]] > 1265 | hashstep *= 1024; > | ~~~~~~~~~^~~~~~~ >cmds.c:1266:25: note: here > 1266 | case 'm': > | ^~~~ >cmds.c:1268:42: warning: this statement may fall through [-Wimplicit-fallthrough=[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough]] > 1268 | hashstep *= 1024; > | ~~~~~~~~~^~~~~~~ >cmds.c:1269:25: note: here > 1269 | case 'k': > | ^~~~ >cmds.c: In function âuserâ: >cmds.c:1705:25: warning: ignoring return value of â-Wunused-result[m[K][]] > 1705 | fgets(theacct, sizeof(theacct), stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make[1]: *** [../MRULES:4: cmds.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >ftp.c: In function âhookupâ: >ftp.c:148:45: warning: variable â-Wclobbered[m[K][]] > 148 | struct addrinfo hints, *ai = NULL, *aiptr = NULL; > | ^~~~~ >ftp.c: In function ârecvrequestâ: >ftp.c:1033:13: warning: variable â-Wclobbered[m[K][]] > 1033 | int tqcflag = 0; > | ^~~~~~~ >make[1]: Leaving directory '/var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work/netkit-ftp-0.17/ftp' >make: *** [Makefile:7: ftp.build] Error 2 > * ERROR: net-ftp/ftp-0.17.34.0.2.5.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-ftp/ftp-0.17.34.0.2.5.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-ftp/ftp-0.17.34.0.2.5.1::gentoo'`. > * The complete build log is located at '/var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/temp/environment'. > * Working directory: '/var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work/netkit-ftp-0.17' > * S: '/var/tmp/portage/net-ftp/ftp-0.17.34.0.2.5.1/work/netkit-ftp-0.17'
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 943875
:
909678
|
909679
|
909683
|
910338
| 911916