Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712390 - app-arch/dump-0.4.47-r3 : bylabel.c: fatal error: sys/cdefs.h: No such file or directory
Summary: app-arch/dump-0.4.47-r3 : bylabel.c: fatal error: sys/cdefs.h: No such file o...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard: cdefs.h
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-13 15:46 UTC by Toralf Förster
Modified: 2024-01-17 07:50 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.05 KB, text/plain)
2020-03-13 15:46 UTC, Toralf Förster
Details
app-arch:dump-0.4.46-r1:20200313-145112.log (app-arch:dump-0.4.46-r1:20200313-145112.log,10.74 KB, text/plain)
2020-03-13 15:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,26.62 KB, text/plain)
2020-03-13 15:46 UTC, Toralf Förster
Details
environment (environment,21.22 KB, text/plain)
2020-03-13 15:46 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.80 KB, application/x-bzip)
2020-03-13 15:46 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.30 KB, application/x-bzip)
2020-03-13 15:46 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.54 KB, application/x-bzip)
2020-03-13 15:46 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-03-13 15:46:25 UTC
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../compat/include -D_USE_BSD_SIGNAL -D_PATH_DUMPDATES=\/etc/dumpdates\ -D_DUMP_VERSION=\0.4b46\ -D_PATH_RMT=\/usr/sbin/rmt\  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o bylabel.lo bylabel.c
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../compat/include -D_USE_BSD_SIGNAL -D_PATH_DUMPDATES=\/etc/dumpdates\ -D_DUMP_VERSION=\0.4b46\ -D_PATH_RMT=\/usr/sbin/rmt\ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c bylabel.c  -fPIC -DPIC -o .libs/bylabel.o
bylabel.c:23:10: fatal error: sys/cdefs.h: No such file or directory
   23 | #include <sys/cdefs.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *

clang:
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
llvm:
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) *





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 13 Mar 2020 13:09:02 +0000

emerge -qpvO app-arch/dump
[ebuild  N    ] app-arch/dump-0.4.46-r1  USE="bzip2 readline ssl zlib -debug -ermt -libressl -lzo (-selinux) -sqlite -static -test -uuid"
Comment 1 Toralf Förster gentoo-dev 2020-03-13 15:46:28 UTC
Created attachment 618540 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-13 15:46:31 UTC
Created attachment 618542 [details]
app-arch:dump-0.4.46-r1:20200313-145112.log
Comment 3 Toralf Förster gentoo-dev 2020-03-13 15:46:35 UTC
Created attachment 618544 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-13 15:46:38 UTC
Created attachment 618546 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-13 15:46:41 UTC
Created attachment 618548 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-13 15:46:44 UTC
Created attachment 618550 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-13 15:46:47 UTC
Created attachment 618552 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-16 14:09:27 UTC
musl upstream has a FAQ entry specifically for this error:
https://wiki.musl-libc.org/faq.html#Q:-When-compiling-something-against-musl,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E

We will need to check/report upstream and patch affected code temporarily.
Comment 9 Toralf Förster gentoo-dev 2020-03-16 16:12:40 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.
Comment 10 Agostino Sarubbo gentoo-dev 2021-12-30 07:00:15 UTC
tinderbox_musl has reproduced this issue with version 0.4.47-r1 - Updating summary.
Comment 11 Agostino Sarubbo gentoo-dev 2024-01-17 07:50:43 UTC
tinderbox_musl has reproduced this issue with version 0.4.47-r3 - Updating summary.