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

Bug 713372

Summary: sys-apps/heirloom-tools-070715-r6 : getdir.c: fatal error: sys/dirent.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: patrick, sultan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-apps:heirloom-tools-070715-r1:20200318-215324.log
temp.tbz2
patch to fix build errors

Description Toralf Förster gentoo-dev 2020-03-19 11:08:00 UTC
x86_64-gentoo-linux-musl-gcc -Os -fomit-frame-pointer  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L  -I. -c strtol.c
x86_64-gentoo-linux-musl-gcc -Os -fomit-frame-pointer  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L  -I. -c getdir.c
getdir.c:62:10: fatal error: sys/dirent.h: No such file or directory
   62 | #include <sys/dirent.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

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

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

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

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.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO sys-apps/heirloom-tools
[ebuild  N    ] sys-apps/heirloom-tools-070715-r1
Comment 1 Toralf Förster gentoo-dev 2020-03-19 11:08:03 UTC
Created attachment 622132 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 11:08:06 UTC
Created attachment 622134 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 11:08:09 UTC
Created attachment 622136 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-19 11:08:11 UTC
Created attachment 622138 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-19 11:08:14 UTC
Created attachment 622140 [details]
sys-apps:heirloom-tools-070715-r1:20200318-215324.log
Comment 6 Toralf Förster gentoo-dev 2020-03-19 11:08:17 UTC
Created attachment 622142 [details]
temp.tbz2
Comment 7 Stephan Hartmann (RETIRED) gentoo-dev 2020-03-25 17:01:15 UTC
Created attachment 625808 [details, diff]
patch to fix build errors

This patch fixes the build errors, but requires heirloom-tools-070715-major.patch applied first.
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-08 07:26:45 UTC
tinderbox_musl has reproduced this issue with version 070715-r4 - Updating summary.
Comment 9 Agostino Sarubbo gentoo-dev 2024-02-20 16:20:32 UTC
tinderbox_musl has reproduced this issue with version 070715-r6 - Updating summary.