Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938874 - sys-auth/polkit-125 - [gcc-15] ../.../polkitbackendduktapeauthority.c: error: passing argument 2 of polkit_backend_authority_log makes integer from pointer wit
Summary: sys-auth/polkit-125 - [gcc-15] ../.../polkitbackendduktapeauthority.c: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard: fixed in 125
Keywords:
: 938888 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-09-01 09:19 UTC by Toralf Förster
Modified: 2024-11-01 16:58 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.95 KB, text/plain)
2024-09-01 09:19 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,89.89 KB, application/x-xz)
2024-09-01 09:19 UTC, Toralf Förster
Details
environment (environment,142.48 KB, text/plain)
2024-09-01 09:19 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-09-01 09:19 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,44.33 KB, application/x-xz)
2024-09-01 09:19 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,90.31 KB, application/x-xz)
2024-09-01 09:19 UTC, Toralf Förster
Details
sys-auth:polkit-125:20240901-032037.log (sys-auth:polkit-125:20240901-032037.log,118.79 KB, text/plain)
2024-09-01 09:19 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.68 KB, application/x-xz)
2024-09-01 09:19 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-09-01 09:19:02 UTC
In file included from <command-line>:
./config.h:46:9: warning: "_GNU_SOURCE" redefined
   46 | #define _GNU_SOURCE
      |         ^~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
../polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c: In function 'runaway_killer_common':
../polkit-125/src/polkitbackend/polkitbackendduktapeauthority.c:770:35: error: passing argument 2 of 'polkit_backend_authority_log' makes integer from pointer without a cast [-Wint-conversion]
  770 |                                   "Error initializing condition variable attributes: %s",
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-15 *
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.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 4bbf1441bd16febecef8ecc7adbb5a57427ad077
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 1 01:48:59 2024 +0000

    2024-09-01 01:48:59 UTC

emerge -qpvO =sys-auth/polkit-125
[ebuild     U ] sys-auth/polkit-125 [124-r1] USE="daemon duktape introspection pam -examples -gtk -kde (-selinux) (-systemd) -test"
Comment 1 Toralf Förster gentoo-dev 2024-09-01 09:19:03 UTC
Created attachment 901812 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-01 09:19:04 UTC
Created attachment 901813 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-09-01 09:19:06 UTC
Created attachment 901814 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-01 09:19:07 UTC
Created attachment 901815 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-01 09:19:08 UTC
Created attachment 901816 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-01 09:19:09 UTC
Created attachment 901817 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-01 09:19:10 UTC
Created attachment 901818 [details]
sys-auth:polkit-125:20240901-032037.log
Comment 8 Toralf Förster gentoo-dev 2024-09-01 09:19:11 UTC
Created attachment 901819 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-09-01 09:26:28 UTC
The bug has been closed via the following commit(s):

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

commit 876a5e69fe11b38c85839fd3906d4c5fca3f4a03
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-01 09:24:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-01 09:24:33 +0000

    sys-auth/polkit: fix musl build
    
    Closes: https://bugs.gentoo.org/938874
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/polkit/files/polkit-125-musl.patch | 34 +++++++++++++++++++++++++++++
 sys-auth/polkit/polkit-125.ebuild           |  4 ++++
 2 files changed, 38 insertions(+)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-01 19:52:53 UTC
*** Bug 938888 has been marked as a duplicate of this bug. ***