Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875458 - net-ftp/ncftp-3.2.6-r4 - io_get.c: error: expected )
Summary: net-ftp/ncftp-3.2.6-r4 - io_get.c: error: expected )
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: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 18:13 UTC by Toralf Förster
Modified: 2022-11-15 05:32 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.50 KB, text/plain)
2022-10-05 18:13 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,4.14 KB, application/x-bzip)
2022-10-05 18:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,84.86 KB, text/plain)
2022-10-05 18:13 UTC, Toralf Förster
Details
environment (environment,75.80 KB, text/plain)
2022-10-05 18:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.05 KB, application/x-bzip)
2022-10-05 18:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.17 KB, application/x-bzip)
2022-10-05 18:13 UTC, Toralf Förster
Details
net-ftp:ncftp-3.2.6-r4:20221005-144414.log (net-ftp:ncftp-3.2.6-r4:20221005-144414.log,71.78 KB, text/plain)
2022-10-05 18:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,30.24 KB, application/x-bzip)
2022-10-05 18:13 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 2022-10-05 18:13:08 UTC
/usr/include/sys/cdefs.h:339:51: note: expanded from macro
      '__attribute_deprecated__'
# define __attribute_deprecated__ __attribute__ ((__deprecated__))
                                                  ^
io_get.c:477:66: error: expected ')'
  ...FTPLogError(cip, kDontPerror, "Remote read timed out after " PRINTF_LONG...
                                                                  ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221005-010004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0 *
  [3]   php8.1
GNU Make 4.3

  HEAD of ::gentoo
commit 4321f9f5da8d387cced4fb852ffddc23e9d0696b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 14:32:56 2022 +0000

    2022-10-05 14:32:56 UTC

emerge -qpvO net-ftp/ncftp
[ebuild  N    ] net-ftp/ncftp-3.2.6-r4  USE="(-pch)"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:13:09 UTC
Created attachment 821236 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:13:10 UTC
Created attachment 821239 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:13:11 UTC
Created attachment 821242 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:13:12 UTC
Created attachment 821245 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:13:14 UTC
Created attachment 821248 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:13:15 UTC
Created attachment 821251 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:13:16 UTC
Created attachment 821254 [details]
net-ftp:ncftp-3.2.6-r4:20221005-144414.log
Comment 8 Toralf Förster gentoo-dev 2022-10-05 18:13:18 UTC
Created attachment 821257 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-11-15 05:32:54 UTC
The bug has been closed via the following commit(s):

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

commit bc257c9a3f6e30f1d1d1204ef2edb3a9a94a1b26
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2022-11-13 18:12:30 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2022-11-15 05:32:39 +0000

    net-ftp/ncftp: fix compilation with clang
    
    Closes: https://bugs.gentoo.org/875458
    Closes: https://github.com/gentoo/gentoo/pull/28258
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 net-ftp/ncftp/files/ncftp-3.2.6-fix-clang.patch | 437 ++++++++++++++++++++++++
 net-ftp/ncftp/ncftp-3.2.6-r5.ebuild             |  58 ++++
 2 files changed, 495 insertions(+)