Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 715862 - sys-fs/diskdev_cmds-332.14_p1-r2 : makehfs.c: fatal error: sys/sysctl.h: No such file or directory
Summary: sys-fs/diskdev_cmds-332.14_p1-r2 : makehfs.c: fatal error: sys/sysctl.h: No s...
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: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-02 07:24 UTC by Toralf Förster
Modified: 2020-08-19 20:43 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.66 KB, text/plain)
2020-04-02 07:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,235.96 KB, text/plain)
2020-04-02 07:25 UTC, Toralf Förster
Details
environment (environment,51.11 KB, text/plain)
2020-04-02 07:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.19 KB, application/x-bzip)
2020-04-02 07:25 UTC, Toralf Förster
Details
sys-fs:diskdev_cmds-332.14_p1-r2:20200402-021314.log (sys-fs:diskdev_cmds-332.14_p1-r2:20200402-021314.log,9.53 KB, text/plain)
2020-04-02 07:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.87 KB, application/x-bzip)
2020-04-02 07:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-02 07:24:55 UTC
    1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
      |  ^~~~~~~
makehfs.c:40:10: fatal error: sys/sysctl.h: No such file or directory
   40 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr  2 01:07:42 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-fs/diskdev_cmds
[ebuild  N    ] sys-fs/diskdev_cmds-332.14_p1-r2
Comment 1 Toralf Förster gentoo-dev 2020-04-02 07:24:59 UTC
Created attachment 628812 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 07:25:02 UTC
Created attachment 628814 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-02 07:25:05 UTC
Created attachment 628816 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-02 07:25:10 UTC
Created attachment 628818 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-02 07:25:14 UTC
Created attachment 628820 [details]
sys-fs:diskdev_cmds-332.14_p1-r2:20200402-021314.log
Comment 6 Toralf Förster gentoo-dev 2020-04-02 07:25:17 UTC
Created attachment 628822 [details]
temp.tbz2
Comment 7 Georg Rudoy 2020-08-19 19:04:50 UTC
Can confirm the same error with glibc-2.32.
Comment 8 Larry the Git Cow gentoo-dev 2020-08-19 20:43:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e18040d345fe623061142cca2a8e0c43ff332e8

commit 0e18040d345fe623061142cca2a8e0c43ff332e8
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-08-19 20:43:21 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-08-19 20:43:34 +0000

    sys-fs/diskdev_cmds: tweak for glibc-2.32
    
    It does not fix build on musl but fixes build on glibc-2.32.
    
    Reported-by: Georg Rudoy
    Bug: https://bugs.gentoo.org/715862
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r3.ebuild         |  1 +
 .../files/diskdev_cmds-332.14_p1-no-sysctl.patch             | 12 ++++++++++++
 2 files changed, 13 insertions(+)