Bug 9656

Summary: util-linux: schedutils doesn't build on target w/o enabling basic binaries
Product: buildroot Reporter: Aaron Holtzman <aholtzma>
Component: OtherAssignee: Carlos Santos <casantos>
Status: RESOLVED FIXED    
Severity: normal CC: aholtzma, buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

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!