Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944048 - sys-block/parted-3.6-r2 fails to compile with gcc15.0.0_pre20241117-r2::gentoo
Summary: sys-block/parted-3.6-r2 fails to compile with gcc15.0.0_pre20241117-r2::gentoo
Status: RESOLVED DUPLICATE of bug 943690
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 21:37 UTC by OldManSeph
Modified: 2024-11-20 03:53 UTC (History)
2 users (show)

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


Attachments
sys-block/parted-3.6-r2 (parted-3.6-r2.build.log,150.92 KB, text/x-log)
2024-11-19 21:37 UTC, OldManSeph
Details
OldManSeph emerge --info (emerge_info.txt,6.93 KB, text/plain)
2024-11-19 21:37 UTC, OldManSeph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description OldManSeph 2024-11-19 21:37:25 UTC
Created attachment 910382 [details]
sys-block/parted-3.6-r2

x86_64-pc-linux-gnu-gcc  -I. -I../lib  -I../lib -I../include -I../include     -O2 -pipe -c -o version.o version.c
rm -f libver.a
x86_64-pc-linux-gnu-ar cr libver.a version.o 
x86_64-pc-linux-gnu-ranlib libver.a
parted.c: In function '_init_commands':
parted.c:2469:9: error: passing argument 2 of 'command_create' from incompatible pointer type [-Wincompatible-pointer-types]
 2469 |         do_version,
      |         ^~~~~~~~~~
      |         |
      |         int (*)(void)
In file included from parted.c:28:
command.h:35:39: note: expected 'int (*)(PedDevice **, PedDisk **)' {aka 'int (*)(struct _PedDevice **, struct _PedDisk **)'} but argument is of type 'int (*)(void)'
   35 |                                 int (*method) (PedDevice** dev, PedDisk** diskp),
      |                                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1818: parted.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/var/tmp/portage/sys-block/parted-3.6-r2/work/parted-3.6/parted'
make[2]: *** [Makefile:1702: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-block/parted-3.6-r2/work/parted-3.6/parted'
make[1]: *** [Makefile:1829: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-block/parted-3.6-r2/work/parted-3.6'
make: *** [Makefile:1751: all] Error 2
 * ERROR: sys-block/parted-3.6-r2::gentoo failed (compile phase):
 *   emake failed
Comment 1 OldManSeph 2024-11-19 21:37:48 UTC
Created attachment 910383 [details]
OldManSeph emerge --info
Comment 2 immolo 2024-11-20 03:53:45 UTC

*** This bug has been marked as a duplicate of bug 943690 ***