Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919288 - net-ftp/gftp-2.9.1b - socket-connect.c: error: passing argument 3 of accept from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-ftp/gftp-2.9.1b - socket-connect.c: error: passing argument 3 of accept f...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-05 16:06 UTC by Toralf Förster
Modified: 2024-04-26 23:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.58 KB, text/plain)
2023-12-05 16:06 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,90.54 KB, application/x-xz)
2023-12-05 16:06 UTC, Toralf Förster
Details
environment (environment,80.12 KB, text/plain)
2023-12-05 16:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-05 16:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.84 KB, application/x-xz)
2023-12-05 16:06 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.22 KB, application/x-xz)
2023-12-05 16:06 UTC, Toralf Förster
Details
net-ftp:gftp-2.9.1b:20231205-151711.log (net-ftp:gftp-2.9.1b:20231205-151711.log,17.13 KB, text/plain)
2023-12-05 16:06 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,99.27 KB, application/x-xz)
2023-12-05 16:06 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.24 KB, application/x-xz)
2023-12-05 16:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-05 16:06:11 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\"   -O3 -pipe -march=native -fno-diagnostics-color -c -o pty.o pty.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\"   -O3 -pipe -march=native -fno-diagnostics-color -c -o sshv2.o sshv2.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\"   -O3 -pipe -march=native -fno-diagnostics-color -c -o sslcommon.o sslcommon.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\"   -O3 -pipe -march=native -fno-diagnostics-color -c -o socket-connect.o socket-con
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -D_REENTRANT -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\"   -O3 -pipe -march=native -fno-diagnostics-color -c -o sockutils.o sockutils.c
socket-connect.c: In function gftp_accept_connection:
socket-connect.c:399:31: error: passing argument 3 of accept from incompatible pointer type [-Wincompatible-pointer-types]
  399 |   newfd = accept (*fd, saddr, &request->remote_addr_len);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-170505

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 0f96e18a7da9084d2ec370f6c125b90a8558c00e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 5 14:32:04 2023 +0000

    2023-12-05 14:32:03 UTC

emerge -qpvO net-ftp/gftp
[ebuild  N    ] net-ftp/gftp-2.9.1b  USE="gtk ssl"
Comment 1 Toralf Förster gentoo-dev 2023-12-05 16:06:12 UTC
Created attachment 877521 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-05 16:06:14 UTC
Created attachment 877522 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-05 16:06:16 UTC
Created attachment 877523 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-05 16:06:17 UTC
Created attachment 877524 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-05 16:06:18 UTC
Created attachment 877525 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-05 16:06:19 UTC
Created attachment 877526 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-05 16:06:20 UTC
Created attachment 877527 [details]
net-ftp:gftp-2.9.1b:20231205-151711.log
Comment 8 Toralf Förster gentoo-dev 2023-12-05 16:06:22 UTC
Created attachment 877528 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-05 16:06:23 UTC
Created attachment 877529 [details]
temp.tar.xz
Comment 10 jy6x2b32pie9 2024-04-26 09:10:26 UTC
Upstream issue: https://github.com/masneyb/gftp/issues/178