Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604260 - sys-apps/watchdog fails to compile on hardened/musl
Summary: sys-apps/watchdog fails to compile on hardened/musl
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2016-12-31 12:41 UTC by Pierre-Olivier Mercier
Modified: 2017-01-01 15:30 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 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.