Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932617 - sys-apps/iproute2-6.9.0 - [ncurses-6.5] ../.../json_print.h: error: passing argument 5 of print_color_tv from incompatible pointer type [-Wincompatible-pointer-type
Summary: sys-apps/iproute2-6.9.0 - [ncurses-6.5] ../.../json_print.h: error: passing a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-24 07:12 UTC by Toralf Förster
Modified: 2024-05-28 01:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.14 KB, text/plain)
2024-05-24 07:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,15.76 KB, text/plain)
2024-05-24 07:12 UTC, Toralf Förster
Details
environment (environment,81.85 KB, text/plain)
2024-05-24 07:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.52 KB, application/x-xz)
2024-05-24 07:12 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,41.34 KB, text/plain)
2024-05-24 07:12 UTC, Toralf Förster
Details
sys-apps:iproute2-6.9.0:20240524-060842.log (sys-apps:iproute2-6.9.0:20240524-060842.log,160.85 KB, text/plain)
2024-05-24 07:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.91 KB, application/x-xz)
2024-05-24 07:12 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-05-24 07:12:17 UTC
   80 | _PRINT_FUNC(tv, const struct timeval *)
      |                              ^~~~~~~
../include/json_print.h:55:45: note: in definition of macro '_PRINT_FUNC'
   55 |                                             type value)                 \
      |                                             ^~~~
../include/json_print.h: In function 'print_tv':
../include/json_print.h:58:48: error: passing argument 5 of 'print_color_tv' from incompatible pointer type [-Wincompatible-pointer-types]
   58 |                                                value);                  \
      |                                                ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240524-014518

  UNMASKED:
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
Python 3.11.9
php cli (if any):

  HEAD of ::gentoo
commit f2bdd3705ec8f27a1df27ccb3fa2bc516c744a23
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 24 04:18:55 2024 +0000

    2024-05-24 04:18:54 UTC

emerge -qpvO sys-apps/iproute2
Comment 1 Toralf Förster gentoo-dev 2024-05-24 07:12:17 UTC
Created attachment 894171 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-24 07:12:18 UTC
Created attachment 894172 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-24 07:12:20 UTC
Created attachment 894173 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-24 07:12:20 UTC
Created attachment 894174 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-24 07:12:21 UTC
Created attachment 894175 [details]
qlist-info.txt
Comment 6 Toralf Förster gentoo-dev 2024-05-24 07:12:23 UTC
Created attachment 894176 [details]
sys-apps:iproute2-6.9.0:20240524-060842.log
Comment 7 Toralf Förster gentoo-dev 2024-05-24 07:12:24 UTC
Created attachment 894177 [details]
temp.tar.xz
Comment 8 Gabi Falk 2024-05-26 19:45:22 UTC
It looks like this was fixed for all versions except the latest (due to a PR merge delay -- the new version was added after the PR was created, but before it was merged).  I'll make another PR to apply the patch to 6.9.0 as well.
Comment 9 Larry the Git Cow gentoo-dev 2024-05-28 01:59:02 UTC
The bug has been closed via the following commit(s):

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

commit ab8bcf8ca7241b8d2218790f2f41fd6f0759d62b
Author:     Gabi Falk <gabifalk@gmx.com>
AuthorDate: 2024-05-26 08:00:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-28 01:53:42 +0000

    sys-apps/iproute2: 6.9.0: fix compilation on musl-based systems with C99
    
    Closes: https://bugs.gentoo.org/932617
    Signed-off-by: Gabi Falk <gabifalk@gmx.com>
    Closes: https://github.com/gentoo/gentoo/pull/36830
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/iproute2/iproute2-6.9.0.ebuild | 1 +
 1 file changed, 1 insertion(+)