Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 604260

Summary: sys-apps/watchdog fails to compile on hardened/musl
Product: Gentoo Linux Reporter: Pierre-Olivier Mercier <nemunaire>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/musl/pull/18
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    

Description Pierre-Olivier Mercier 2016-12-31 12:41:20 UTC
The two versions in the tree requires some patches to build with musl ; respectively applied upstream in next releases, but there is currently no official release working.

With the USE flags set to -nfs, watchdog fails to build due to an include of rpc/types.h, which doesn't exist in sys-libs/musl. There is no problem with the USE flag nfs, because it appends a dependency to net-libs/libtirpc which provides this file. Upstream patch for both 5.14 and 5.15: https://sourceforge.net/p/watchdog/patches/11/

Upstream patch fixing musl build for 5.14: https://sourceforge.net/p/watchdog/patches/9/
Upstream patch fixing musl build for 5.15: https://sourceforge.net/p/watchdog/patches/10/
Comment 1 Anthony Basile gentoo-dev 2017-01-01 15:06:26 UTC
Since upstream has accepted these, we can backport them.
Comment 2 Anthony Basile gentoo-dev 2017-01-01 15:30:38 UTC
(In reply to Anthony Basile from comment #1)
> Since upstream has accepted these, we can backport them.

To be clear, we should backport them into the tree, not the overlay.