Bug 9656 - util-linux: schedutils doesn't build on target w/o enabling basic binaries
Summary: util-linux: schedutils doesn't build on target w/o enabling basic binaries
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: Carlos Santos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 17:58 UTC by Aaron Holtzman
Modified: 2017-02-20 20:43 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Holtzman 2017-02-12 17:58:39 UTC
When I tried to add the schedutils portion of util-linux to my build, I noticed that that it wasn't getting built on the target. Further investigation shows that the culprit was the --disable-all-programs that was turned on if the basic binaries option (BR2_PACKAGE_UTIL_LINUX_BINARIES) was not set. If --disable-all-programs is set, the schedutils will not be built. This is not the case for other options like mount, which *do* get built. This is probably a autoconf bug in util-linux.

Version is git commit c77f7c689ffc8c5fd139e4622bd6f9d315bbc254, which is just after the disable-all-programs change landed.
Comment 1 Carlos Santos 2017-02-18 17:53:01 UTC
I confirmed that this is an autoconf bug, so let's move the discussion to the util-linux forum.
Comment 2 Carlos Santos 2017-02-18 20:11:31 UTC
Waiting for application of solution submitted to patchwork:

  http://patchwork.ozlabs.org/patch/729458/
Comment 3 Thomas Petazzoni 2017-02-20 20:43:28 UTC
Fixed by https://git.buildroot.org/buildroot/commit/?id=125213d6164a395f7d0bfb136f3a873a02630ebc.

Thanks Carlos for having investigated and fixed the issue!