Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683314 - sys-apps/systemd should have sys-devel/m4 as a build dependency
Summary: sys-apps/systemd should have sys-devel/m4 as a build dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-14 15:14 UTC by Albert W. Hopkins
Modified: 2019-04-16 19:32 UTC (History)
1 user (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 Albert W. Hopkins 2019-04-14 15:14:59 UTC
When m4 is not installed on the system (e.g. it was cleaned out with `emerge --depclean --with-bdeps=n`) then subsequently building systemd fails.

```
...
Checking for function "bpf" : NO
Checking for function "statx" : YES
Checking for function "explicit_bzero" : YES
Checking for function "reallocarray" : YES
Checking for function "getrandom" : YES
Program sed found: YES (/bin/sed)
Program awk found: YES (/usr/bin/awk)
Program m4 found: NO

meson.build:606:0: ERROR:  Program(s) ['m4'] not found or not executable
```
Comment 1 Larry the Git Cow gentoo-dev 2019-04-16 19:32:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1635f6b71ec62429f8141f40565c731679d275a6

commit 1635f6b71ec62429f8141f40565c731679d275a6
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-04-16 19:32:23 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-04-16 19:32:23 +0000

    sys-apps/systemd: depend on sys-devel/m4
    
    Closes: https://bugs.gentoo.org/683314
    Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/systemd-241-r1.ebuild | 1 +
 sys-apps/systemd/systemd-242.ebuild    | 1 +
 sys-apps/systemd/systemd-9999.ebuild   | 1 +
 3 files changed, 3 insertions(+)