Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 871180

Summary: net-misc/wput-0.6.2 - ftp-ls.c: error: call to undeclared function strptime; ISO C99 and later
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-misc:wput-0.6.2:20220918-085743.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-18 09:13:35 UTC
progress.c:338:5: note: previous statement is here
    if(fsession->local_fname)   /* input-pipe */
    ^
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\"    -c -o ftp-ls.o ftp-ls.c
ftp-ls.c:850:7: error: call to undeclared function 'strptime'; ISO C99 and later
      do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 5f2fa9b1a32565dcaa7598b8076fc7af1e205e0b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 08:16:58 2022 +0000

    2022-09-18 08:16:58 UTC

emerge -qpvO net-misc/wput
[ebuild  N    ] net-misc/wput-0.6.2  USE="nls ssl -debug"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 09:13:36 UTC
Created attachment 810265 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 09:13:37 UTC
Created attachment 810268 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 09:13:38 UTC
Created attachment 810271 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 09:13:39 UTC
Created attachment 810274 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 09:13:40 UTC
Created attachment 810277 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 09:13:41 UTC
Created attachment 810280 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 09:13:42 UTC
Created attachment 810283 [details]
net-misc:wput-0.6.2:20220918-085743.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 09:13:43 UTC
Created attachment 810286 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-09-26 12:10:52 UTC
The bug has been closed via the following commit(s):

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

commit 8ec95f3f9000ec314553778e3fc9aedae8a93775
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-26 03:58:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-26 03:58:02 +0000

    net-misc/wput: add 0.6.2_p20130413_p11 (Debian fork)
    
    Fixes Clang 15.
    
    Closes: https://bugs.gentoo.org/871180
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/wput/Manifest                             |  2 +
 ...-0.6.2_p20130413_p11-no-compress-manpages.patch | 39 ++++++++++++++++
 ...t-0.6.2_p20130413_p11-xopen_source-strdup.patch | 14 ++++++
 net-misc/wput/wput-0.6.2_p20130413_p11.ebuild      | 54 ++++++++++++++++++++++
 4 files changed, 109 insertions(+)