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

Bug 928613

Summary: sys-process/cronutils-1.10 fails tests: 1.sh: line 3: 48880 Segmentation fault runalarm -d -t 5 bash -c for i in $(seq 1 7); do echo $i; sleep 1; done; echo exited
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 926147    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-04-05 02:34:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-process/cronutils-1.10 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-05 02:34:43 UTC
Created attachment 889480 [details]
build.log

build log and emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-06 16:40:59 UTC
(In reply to Sam James from comment #2)
> Probably fixed by
> https://github.com/google/cronutils/commit/
> cbab73af5a3c218aabd16e3733c77d2b1c541564.

.. that said, the file has `#define _GNU_SOURCE /* basename */` so... is it really getting the basename it expects on musl?
Comment 4 Larry the Git Cow gentoo-dev 2024-05-01 11:22:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a2058ec6a21b717a2fe18abf7b92f6eb7c23f0

commit 27a2058ec6a21b717a2fe18abf7b92f6eb7c23f0
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-05-01 11:08:17 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-05-01 11:22:19 +0000

    sys-process/cronutils: Fix build / tests with musl-1.2.5
    
    Closes: https://bugs.gentoo.org/928613
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-process/cronutils/cronutils-1.10.ebuild        |  6 +++-
 .../files/cronutils-1.10-musl-1.2.5.patch          | 37 ++++++++++++++++++++++
 2 files changed, 42 insertions(+), 1 deletion(-)