Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937273 - sys-apps/bolt-0.9.8-r1 - [icu-75.1] ../.../bolt-test.c: error: passing argument 2 of bind from incompatible pointer type [-Wincompatible-pointer-types]
Summary: sys-apps/bolt-0.9.8-r1 - [icu-75.1] ../.../bolt-test.c: error: passing argume...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2024-08-04 08:53 UTC by Toralf Förster
Modified: 2025-01-28 16:36 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.40 KB, text/plain)
2024-08-04 08:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,32.89 KB, text/plain)
2024-08-04 08:53 UTC, Toralf Förster
Details
environment (environment,141.57 KB, text/plain)
2024-08-04 08:53 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.00 KB, application/x-xz)
2024-08-04 08:53 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.18 KB, application/x-xz)
2024-08-04 08:53 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,84.97 KB, text/plain)
2024-08-04 08:53 UTC, Toralf Förster
Details
sys-apps:bolt-0.9.8-r1:20240803-222734.log (sys-apps:bolt-0.9.8-r1:20240803-222734.log,89.10 KB, text/plain)
2024-08-04 08:53 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.72 KB, application/x-xz)
2024-08-04 08:53 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-08-04 08:53:26 UTC
too long lines were shrinked:

[60/110] x86_64-pc-linux-musl-gcc -Iboltctl.p -I. -I../bolt-0.9.8 -I../bolt-0.9.8/common -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_
[61/110] x86_64-pc-linux-musl-gcc -Itest-common.p -I. -I../bolt-0.9.8 -I../bolt-0.9.8/tests -I../bolt-0.9.8/common -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnos
[62/110] x86_64-pc-linux-musl-gcc -Itest-auth.p -I. -I../bolt-0.9.8 -I../bolt-0.9.8/tests -I../bolt-0.9.8/common -I../bolt-0.9.8/boltd -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gi
FAILED: test-auth.p/tests_bolt-test.c.o 
x86_64-pc-linux-musl-gcc -Itest-auth.p -I. -I../bolt-0.9.8 -I../bolt-0.9.8/tests -I../bolt-0.9.8/common -I../bolt-0.9.8/boltd -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.
../bolt-0.9.8/tests/bolt-test.c: In function 'notify_socket_new':
../bolt-0.9.8/tests/bolt-test.c:131:17: error: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types]
  131 |   r = bind (fd, &sau, socklen);
      |                 ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240803-100502

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Rust versions:
  [1]   rust-bin-1.79.0 *
php cli (if any):

  HEAD of ::gentoo
commit 0dda42ed75c3b99bf370f485c8072f38c8c9c8b1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 3 20:03:57 2024 +0000

    2024-08-03 20:03:56 UTC

emerge -qpvO sys-apps/bolt
[ebuild  N    ] sys-apps/bolt-0.9.8-r1  USE="(-selinux) -test"
Comment 1 Toralf Förster gentoo-dev 2024-08-04 08:53:27 UTC
Created attachment 898921 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-04 08:53:28 UTC
Created attachment 898922 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-04 08:53:30 UTC
Created attachment 898923 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-04 08:53:30 UTC
Created attachment 898924 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-04 08:53:31 UTC
Created attachment 898925 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-04 08:53:33 UTC
Created attachment 898926 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-08-04 08:53:34 UTC
Created attachment 898927 [details]
sys-apps:bolt-0.9.8-r1:20240803-222734.log
Comment 8 Toralf Förster gentoo-dev 2024-08-04 08:53:35 UTC
Created attachment 898928 [details]
temp.tar.xz
Comment 9 NHO 2025-01-04 19:31:46 UTC
That's sockaddr

Upstream bug:
https://gitlab.freedesktop.org/bolt/bolt/-/issues/192
Comment 11 Larry the Git Cow gentoo-dev 2025-01-06 22:43:27 UTC
The bug has been referenced in the following commit(s):

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

commit a96cc9c522dc52b2f739f381da4869b3492aeacd
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-06 14:31:03 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2025-01-06 22:42:26 +0000

    sys-apps/bolt: C23 porting: upstream patch
    
    https://gitlab.freedesktop.org/bolt/bolt/-/commit/9f85914f1efd7b74fb7bd906b339fcba2214d86a
    Also pushed Python to 3.13
    
    Bug: https://bugs.gentoo.org/937273
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40011
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-apps/bolt/bolt-0.9.8-r1.ebuild            |  6 ++--
 sys-apps/bolt/files/bolt-0.9.8-sockaddr.patch | 46 +++++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 2 deletions(-)
Comment 12 Andreas Sturmlechner gentoo-dev 2025-01-28 16:36:16 UTC
So, this shall be closed then ... ?