Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921487 - net-ftp/ncftp-3.2.7 - [slibtool] /.../config.h: error: passing argument 2 of select from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-ftp/ncftp-3.2.7 - [slibtool] /.../config.h: error: passing argument 2 of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-06 09:21 UTC by Toralf Förster
Modified: 2024-01-06 11:04 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.44 KB, text/plain)
2024-01-06 09:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,126.80 KB, text/plain)
2024-01-06 09:21 UTC, Toralf Förster
Details
environment (environment,76.74 KB, text/plain)
2024-01-06 09:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-06 09:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.38 KB, application/x-xz)
2024-01-06 09:21 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.39 KB, application/x-xz)
2024-01-06 09:21 UTC, Toralf Förster
Details
net-ftp:ncftp-3.2.7:20240106-053322.log (net-ftp:ncftp-3.2.7:20240106-053322.log,24.61 KB, text/plain)
2024-01-06 09:21 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,211.59 KB, text/plain)
2024-01-06 09:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.04 KB, application/x-xz)
2024-01-06 09:21 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 2024-01-06 09:21:24 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -Wno-format-y2k -DLINUX=66010 -DLINUX_GLIBC=23800 -DHAVE_CONFIG_H -DLINUX=66010 -DLINUX_GLIBC=23800 -I/var/tmp/portage/net-ftp/ncftp-3.2.7/work/ncftp-3.2.7 -I/var/tmp/portage/net-ftp/ncftp-3.2.7/work/ncftp-3.2.7/libn
x86_64-pc-linux-gnu-gcc -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -Wno-format-y2k -DLINUX=66010 -DLINUX_GLIBC=23800 -DHAVE_CONFIG_H -DLINUX=66010 -DLINUX_GLIBC=23800 -I/var/tmp/portage/net-ftp/ncftp-3.2.7/work/ncftp-3.2.7 -I/var/tmp/portage/net-ftp/ncftp-3.2.7/work/ncftp-3.2.7/libn
x86_64-pc-linux-gnu-gcc -D_REENTRANT -O2 -pipe -march=native -fno-diagnostics-color -Wno-format-y2k -DLINUX=66010 -DLINUX_GLIBC=23800 -DHAVE_CONFIG_H -DLINUX=66010 -DLINUX_GLIBC=23800 -I/var/tmp/portage/net-ftp/ncftp-3.2.7/work/ncftp-3.2.7 -I/var/tmp/portage/net-ftp/ncftp-3.2.7/work/ncftp-3.2.7/libn
In file included from syshdrs.h:75,
                 from UAccept.c:1:
UAccept.c: In function UAccept:
/var/tmp/portage/net-ftp/ncftp-3.2.7/work/ncftp-3.2.7/config.h:358:28: error: passing argument 2 of select from incompatible pointer type [-Wincompatible-pointer-types]
  358 | #define SELECT_TYPE_ARG234 (int *)
UAccept.c:51:42: note: in expansion of macro SELECT_TYPE_ARG234

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20240104-075517

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

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:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit dd04ae0481ef15033fb2f0cebab075e669d60b43
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 6 03:03:24 2024 +0000

    2024-01-06 03:03:24 UTC

emerge -qpvO net-ftp/ncftp
[ebuild  N    ] net-ftp/ncftp-3.2.7  USE="(-pch)"
Comment 1 Toralf Förster gentoo-dev 2024-01-06 09:21:25 UTC
Created attachment 881528 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-06 09:21:26 UTC
Created attachment 881529 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-06 09:21:28 UTC
Created attachment 881530 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-06 09:21:29 UTC
Created attachment 881531 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-06 09:21:30 UTC
Created attachment 881532 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-06 09:21:31 UTC
Created attachment 881533 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-06 09:21:32 UTC
Created attachment 881534 [details]
net-ftp:ncftp-3.2.7:20240106-053322.log
Comment 8 Toralf Förster gentoo-dev 2024-01-06 09:21:33 UTC
Created attachment 881535 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-01-06 09:21:34 UTC
Created attachment 881536 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-01-06 11:04:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ae4caa066de886e02b101711c71c7f83152416

commit b1ae4caa066de886e02b101711c71c7f83152416
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-01-06 11:02:26 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-01-06 11:03:59 +0000

    net-ftp/ncftp: fix building with gcc 14
    
    Closes: https://bugs.gentoo.org/921487
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch | 13 ++++++
 net-ftp/ncftp/ncftp-3.2.7-r1.ebuild             | 56 +++++++++++++++++++++++++
 2 files changed, 69 insertions(+)