Created attachment 599844 [details] build.log This is somehow related bug #658846 but applies to systems using ucblic-ng which does hot has builtin support for obstack (https://wiki.gentoo.org/wiki/Project:Hardened_uClibc#Upgrade_to_.3Dsys-libs.2Fuclibc-ng-1.0.22). Compilation of cronie with anacron USE flag enabled fails during linking due to undefined references to obstack functions. A patch to resolve this issue appears to be trivial and is similar to the musl-related steps in the ebuild. I've attached a proposal for the ebuild of version 1.5.4-r1. In principle, it should work with 1.5.5 as well.
Created attachment 599846 [details, diff] cronie-1.5.4-r1-uclibc.patch
What about cronie-1.5.5? Same patch required with that version?
Created attachment 600548 [details] build-v1.5.5.log build.log from cronie 1.5.5 without patched ebuild
(In reply to Lars Wendler (Polynomial-C) from comment #2) > What about cronie-1.5.5? Same patch required with that version? Yes, the patch is required for that version as well. Essentially, the same changes are required to successfully build cronie-1.5.5 with uclibc-ng
Created attachment 600550 [details, diff] cronie-1.5.5-uclibc.patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92731111617b2c6ba7c0d301fec2aab1a71ed0d9 commit 92731111617b2c6ba7c0d301fec2aab1a71ed0d9 Author: Steffen Christgau <mail@s14u.de> AuthorDate: 2019-12-23 17:53:39 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-12-23 17:56:19 +0000 sys-process/cronie: Fixed build on uclibc-ng systems Closes: https://bugs.gentoo.org/703126 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-process/cronie/cronie-1.5.4-r1.ebuild | 2 ++ sys-process/cronie/cronie-1.5.5.ebuild | 2 ++ 2 files changed, 4 insertions(+)