Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920266 - net-nntp/tin-2.6.2-r2 - ../.../tin.h: error: too few arguments to function gettimeofday
Summary: net-nntp/tin-2.6.2-r2 - ../.../tin.h: error: too few arguments to function ge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-18 16:00 UTC by Toralf Förster
Modified: 2024-11-17 05:10 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.65 KB, text/plain)
2023-12-18 16:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.66 KB, text/plain)
2023-12-18 16:00 UTC, Toralf Förster
Details
environment (environment,65.65 KB, text/plain)
2023-12-18 16:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-18 16:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.35 KB, application/x-xz)
2023-12-18 16:00 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,21.61 KB, application/x-xz)
2023-12-18 16:00 UTC, Toralf Förster
Details
net-nntp:tin-2.6.2-r2:20231217-223611.log (net-nntp:tin-2.6.2-r2:20231217-223611.log,36.29 KB, text/plain)
2023-12-18 16:00 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,241.51 KB, text/plain)
2023-12-18 16:00 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.86 KB, application/x-xz)
2023-12-18 16:00 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-18 16:00:22 UTC
./misc.c: In function 'draw_mark_selected':
./misc.c:4293:35: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration]
 4293 |         for (j = art_mark_width - wcwidth(tinrc.art_marked_selected); j > 0; --j)
      |                                   ^~~~~~~
In file included from ./misc.c:42:
./misc.c: In function 'tin_gettime':
../include/tin.h:2477:42: error: too few arguments to function 'gettimeofday'
 2477 | #               define gettimeofday(a,b) gettimeofday(a)
      |                                          ^~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20231214-201013

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-gentoo-linux-musl-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	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  system-vm
  [3]   openjdk-bin-21 

php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 95ead3d8f7908b29d819e4ade07b5ffb82a3b3dd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 17 22:01:56 2023 +0000

    2023-12-17 22:01:55 UTC

emerge -qpvO net-nntp/tin
[ebuild  N    ] net-nntp/tin-2.6.2-r2  USE="gnutls sasl ssl -cancel-locks -debug -gpg -libtls -nls -socks5"
Comment 1 Toralf Förster gentoo-dev 2023-12-18 16:00:23 UTC
Created attachment 879786 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-18 16:00:25 UTC
Created attachment 879787 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-18 16:00:26 UTC
Created attachment 879788 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-18 16:00:27 UTC
Created attachment 879789 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-18 16:00:28 UTC
Created attachment 879790 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-18 16:00:29 UTC
Created attachment 879791 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-18 16:00:30 UTC
Created attachment 879792 [details]
net-nntp:tin-2.6.2-r2:20231217-223611.log
Comment 8 Toralf Förster gentoo-dev 2023-12-18 16:00:31 UTC
Created attachment 879793 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-18 16:00:32 UTC
Created attachment 879794 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-17 03:59:40 UTC
+20241109
+       + work around musl header ifdef's (report by Urs Jansen, cf: Gentoo
+         #920266).
+       + improve error-reporting in write_entry.c (report by Changqing Li).
+       + remove unused #include from DJGPP configuration (report by Stas
+         Sergeev).
+       + workaround/fix issues from clang-analyze
Comment 11 Larry the Git Cow gentoo-dev 2024-11-17 05:10:58 UTC
The bug has been closed via the following commit(s):

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

commit b7eac5f5d2a8cc362c098b56e75dc454b8540b09
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-17 05:09:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-17 05:10:29 +0000

    sys-libs/ncurses: add 6.5_p20241109
    
    The t64 patch is added to the patchset.
    
    Bug: https://bugs.gentoo.org/930805
    Closes: https://bugs.gentoo.org/920266
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.mask                |   4 +
 sys-libs/ncurses/Manifest                     |  37 +++
 sys-libs/ncurses/ncurses-6.5_p20241109.ebuild | 452 ++++++++++++++++++++++++++
 3 files changed, 493 insertions(+)