Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609382 - app-misc/scrub-2.5.2 fails to compile in hardened/linux/musl/amd64 profile
Summary: app-misc/scrub-2.5.2 fails to compile in hardened/linux/musl/amd64 profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on: 609480
Blocks: musl-porting
  Show dependency tree
 
Reported: 2017-02-15 07:44 UTC by Chad Joan
Modified: 2019-07-13 21:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,6.82 KB, text/x-log)
2017-02-15 07:46 UTC, Chad Joan
Details
emerge --info '=app-misc/scrub-2.5.2::gentoo' (emerge-info.log,5.65 KB, text/x-log)
2017-02-15 07:48 UTC, Chad Joan
Details
emerge -pqv '=app-misc/scrub-2.5.2::gentoo' (emerge-pqv.log,149 bytes, text/x-log)
2017-02-15 07:49 UTC, Chad Joan
Details

Note You need to log in before you can comment on or make changes to this bug.
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]
build.log
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
Done.
Comment 6 Jory A. Pratt gentoo-dev 2019-07-13 21:09:54 UTC
Current stable release compiles and runs fine.