Created attachment 430536 [details]
emerge --info for system
Trying to build "plasma-meta" for new KDE5, parted fails to compile.
attaching "emerge --info" and build log
It is complaining about an implicit definition of the "major" macro. The only place I find that is in "/usr/include/sys/sysmacros.h" which seems not to be included anywhere in the chain at the moment. [XOSlib would, but I don't see it.]
Created attachment 430538 [details]
emerge log for parted-3.2
Created attachment 430604 [details, diff]
proposed patch to correct missing major() minor() macro definitions
Something caused parted to no longer include sysmacros.h (probably was a side efect before). This just explicitly brings in the <sys/sysmacros.h> for
libparted/arch/linux.c It could also go in linux.h alternatively.
I am seeing the same problem in cryptsetup-1.7.1 atm.
So, some header include got changed and sysmacros.h is not a side effect anymore.
Do you, by chance, use 4.5.x (unstable/testing) kernels?
Also it seems, folks upgrading to kde5 who already have these packages installed won't get this problem.
I just comprehended what is being discussed in gentoo-dev with the topic "glibc 2.23 ... breaking stuff" and this seems to be a fallout from the glibc update?
Created attachment 432332 [details]
feed the blocker\n\nThis bug report feeds bug #575232 (sys-libs/glibc-2.23-r1 breakage).
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -rdynamic -o parted command.o parted.o strlist.o ui.o table.o libver.a ../libparted/libparted.la -lreadline -ldl -lncurses
libtool: link: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -rdynamic -o .libs/parted command.o parted.o strlist.o ui.o table.o -Wl,--as-needed libver.a ../libparted/.libs/libparted.so -luuid -lblkid -lreadline -ldl -lncurses
../libparted/.libs/libparted.so: undefined reference to `minor'
Created attachment 432334 [details]
Created attachment 432336 [details]
Created attachment 432338 [details]
sent upstream and fixed here:
The bug has been referenced in the following commit(s):
Author: Andreas K. Hüttel <email@example.com>
AuthorDate: 2018-02-23 22:31:11 +0000
Commit: Andreas K. Hüttel <firstname.lastname@example.org>
CommitDate: 2018-02-23 22:31:30 +0000
sys-block/parted: Drop old, bug 575232
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sys-block/parted/Manifest | 2 -
sys-block/parted/files/parted-2.4-no-gets.patch | 10 --
sys-block/parted/files/parted-2.4-readline.patch | 11 --
sys-block/parted/files/parted-3.1-readline.patch | 11 --
sys-block/parted/files/parted-3.1-zfs.patch | 170 -----------------------
sys-block/parted/parted-2.4-r1.ebuild | 54 -------
sys-block/parted/parted-2.4.ebuild | 55 --------
sys-block/parted/parted-3.1-r1.ebuild | 81 -----------
sys-block/parted/parted-3.1-r2.ebuild | 85 ------------
9 files changed, 479 deletions(-)}