Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944194 - sys-process/acct-6.6.4-r4 - [ncurses-6.5] [meson] [libtool] [gcc-15] sa.c: error: passing argument 4 of qsort from incompatible pointer type [-Wincompatible-pointer-types
Summary: sys-process/acct-6.6.4-r4 - [ncurses-6.5] [meson] [libtool] [gcc-15] sa.c: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-11-20 17:45 UTC by Toralf Förster
Modified: 2024-11-26 06:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.64 KB, text/plain)
2024-11-20 17:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,98.57 KB, text/plain)
2024-11-20 17:45 UTC, Toralf Förster
Details
environment (environment,84.58 KB, text/plain)
2024-11-20 17:45 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-20 17:45 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.43 KB, application/x-xz)
2024-11-20 17:45 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,23.15 KB, application/x-xz)
2024-11-20 17:45 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,214.72 KB, text/plain)
2024-11-20 17:45 UTC, Toralf Förster
Details
sys-process:acct-6.6.4-r4:20241120-173331.log (sys-process:acct-6.6.4-r4:20241120-173331.log,74.19 KB, text/plain)
2024-11-20 17:45 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.82 KB, application/x-xz)
2024-11-20 17:45 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-11-20 17:45:06 UTC
make[2]: Entering directory '/var/tmp/portage/sys-process/acct-6.6.4-r4/work/acct-6.6.4'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./lib -I./lib   -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wmissing-prototypes -c -o pacct_rd.o pacct_rd.c
make[2]: Leaving directory '/var/tmp/portage/sys-process/acct-6.6.4-r4/work/acct-6.6.4'
make[2]: Entering directory '/var/tmp/portage/sys-process/acct-6.6.4-r4/work/acct-6.6.4'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./lib -I./lib   -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wmissing-prototypes -c -o sa.o sa.c
sa.c: In function print_user_list:
sa.c:1509:42: error: passing argument 4 of qsort from incompatible pointer type [-Wincompatible-pointer-types]
 1509 |          sizeof (struct hashtab_elem *), (int (*)()) compare_user_entry);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241117-232508

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 15dbd8d74c3e5d48aa50271ddcff2b3854db8d67
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 20 16:03:28 2024 +0000

    2024-11-20 16:03:28 UTC

emerge -qpvO =sys-process/acct-6.6.4-r4
[ebuild  N    ] sys-process/acct-6.6.4-r4  USE="(-selinux)"
Comment 1 Toralf Förster gentoo-dev 2024-11-20 17:45:07 UTC
Created attachment 910812 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-20 17:45:08 UTC
Created attachment 910813 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-20 17:45:09 UTC
Created attachment 910814 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-20 17:45:10 UTC
Created attachment 910815 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-20 17:45:10 UTC
Created attachment 910816 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-20 17:45:11 UTC
Created attachment 910817 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-20 17:45:13 UTC
Created attachment 910818 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-11-20 17:45:14 UTC
Created attachment 910819 [details]
sys-process:acct-6.6.4-r4:20241120-173331.log
Comment 9 Toralf Förster gentoo-dev 2024-11-20 17:45:15 UTC
Created attachment 910820 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-26 06:42:32 UTC
The bug has been closed via the following commit(s):

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

commit 55da25cb0e26075eb21d2422c96f0c3e1d0f6ea6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-26 06:34:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-26 06:34:59 +0000

    sys-process/acct: build w/ -std=gnu17
    
    No upstream activity in a long time, still uses svn.
    
    Closes: https://bugs.gentoo.org/944194
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/acct/acct-6.6.4-r4.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)