Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651304 - sys-apps/systemd-238-r1 fails to build with sys-apps/util-linux-2.32
Summary: sys-apps/systemd-238-r1 fails to build with sys-apps/util-linux-2.32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
: 651384 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-24 00:19 UTC by Livid
Modified: 2018-03-27 07:04 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Livid 2018-03-24 00:19:25 UTC
Here's the relevant upstream issue: https://github.com/systemd/systemd/issues/8507

Long story short, some #defines conflict between the header files, producing an enigmatic error message:

../../../src/systemd/src/basic/missing.h:528:17: error: expected identifier before numeric constant
 #define MS_MOVE 8192

A patch is available, but it will break compatibility with older util-linux versions.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-03-25 01:41:29 UTC
*** Bug 651384 has been marked as a duplicate of this bug. ***
Comment 2 ernsteiswuerfel archtester 2018-03-26 18:35:46 UTC
Same goes for sys-apps/systemd-237-r3.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-03-26 19:59:30 UTC
https://github.com/systemd/systemd/commit/227b8a762fea1458547be2cdf0e6e4aac0079730
Comment 4 Larry the Git Cow gentoo-dev 2018-03-26 21:17:31 UTC
The bug has been closed via the following commit(s):

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

commit 9463c487ae1bf6a960ea83fafcda88b17c90ef06
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-03-26 21:17:04 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-03-26 21:17:23 +0000

    sys-apps/systemd: fix build with util-linux-2.32
    
    Closes: https://bugs.gentoo.org/651304
    Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81

 sys-apps/systemd/files/238-libmount-include.patch | 72 +++++++++++++++++++++++
 sys-apps/systemd/systemd-236-r5.ebuild            |  1 +
 sys-apps/systemd/systemd-237-r3.ebuild            |  1 +
 sys-apps/systemd/systemd-238-r1.ebuild            |  1 +
 4 files changed, 75 insertions(+)
Comment 5 Pacho Ramos gentoo-dev 2018-03-26 21:27:27 UTC
[master 151f6156cb0] sys-apps/systemd: Apply libmount include fix to latest revision too
 1 file changed, 1 insertion(+)

We collide-> applied to 238-r2 too
Comment 6 Juergen Rose 2018-03-27 07:04:10 UTC
It works for me again with 238-r2.