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

Bug 609382

Summary: app-misc/scrub-2.5.2 fails to compile in hardened/linux/musl/amd64 profile
Product: Gentoo Linux Reporter: Chad Joan <chadjoan>
Component: HardenedAssignee: Gentoo musl team <musl>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 609480    
Bug Blocks: 430702    
Attachments: build.log
emerge --info '=app-misc/scrub-2.5.2::gentoo'
emerge -pqv '=app-misc/scrub-2.5.2::gentoo'

Description Chad Joan 2017-02-15 07:44:39 UTC
... but app-misc/scrub-2.6.1 seems to work just fine!

Here's the build error I get from 2.5.2:

In file included from hwrand.c:32:0:
util.h:47:1: error: unknown type name 'off_t'
 off_t       blkalign(off_t offset, int blocksize, round_t rtype);
util.h:47:22: error: unknown type name 'off_t'
 off_t       blkalign(off_t offset, int blocksize, round_t rtype);

Looks pretty musl-y to me.

Because the newer version works, I suggest masking 2.5.2 and (if possible) stabilizing 2.6.1.  It looks like a very simple package (no USE flags and merging ~arch brought no new packages into my system, much less ~arch ones).

It's an unconditional dependency of app-emulation/libvirt, so it helps me on my way to better virtualization/emulation (hopefully!).
Comment 1 Chad Joan 2017-02-15 07:46:59 UTC
Created attachment 463782 [details]
Comment 2 Chad Joan 2017-02-15 07:48:09 UTC
Created attachment 463784 [details]
emerge --info '=app-misc/scrub-2.5.2::gentoo'
Comment 3 Chad Joan 2017-02-15 07:49:19 UTC
Created attachment 463786 [details]
emerge -pqv '=app-misc/scrub-2.5.2::gentoo'
Comment 4 Felix Janda 2017-02-15 12:02:35 UTC
Please file a stable request blocking this bug.
Comment 5 Chad Joan 2017-02-16 01:37:35 UTC
Comment 6 Jory A. Pratt gentoo-dev 2019-07-13 21:09:54 UTC
Current stable release compiles and runs fine.