Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716058 - sys-apps/mtree-1.0.4 : configure: error: required header file sys/cdefs.h missing
Summary: sys-apps/mtree-1.0.4 : configure: error: required header file sys/cdefs.h mis...
Status: RESOLVED FIXED
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: cdefs.h
Keywords: PMASKED
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-03 19:07 UTC by Toralf Förster
Modified: 2021-11-28 21:48 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.97 KB, text/plain)
2020-04-03 19:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,294.76 KB, text/plain)
2020-04-03 19:07 UTC, Toralf Förster
Details
environment (environment,57.49 KB, text/plain)
2020-04-03 19:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.07 KB, application/x-bzip)
2020-04-03 19:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.80 KB, application/x-bzip)
2020-04-03 19:07 UTC, Toralf Förster
Details
sys-apps:mtree-1.0.4:20200403-190532.log (sys-apps:mtree-1.0.4:20200403-190532.log,5.80 KB, text/plain)
2020-04-03 19:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,16.69 KB, application/x-bzip)
2020-04-03 19:07 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-03 19:07:15 UTC
checking sys/cdefs.h presence... no
checking for sys/cdefs.h... no
configure: error: required header file sys/cdefs.h missing

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/mtree-1.0.4/work/mtree-port-1.0.4/config.log

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

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

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

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 *
The following VMs are available for generation-2:

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr  3 17:37:46 UTC 2020
/var/db/repos/musl	Thu Apr  2 19:02:24 UTC 2020

emerge -qpvO sys-apps/mtree
[ebuild  N    ] sys-apps/mtree-1.0.4
Comment 1 Toralf Förster gentoo-dev 2020-04-03 19:07:18 UTC
Created attachment 629504 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-03 19:07:21 UTC
Created attachment 629506 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-03 19:07:24 UTC
Created attachment 629508 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-03 19:07:27 UTC
Created attachment 629510 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-03 19:07:30 UTC
Created attachment 629512 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-03 19:07:33 UTC
Created attachment 629514 [details]
sys-apps:mtree-1.0.4:20200403-190532.log
Comment 7 Toralf Förster gentoo-dev 2020-04-03 19:07:36 UTC
Created attachment 629516 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-04 11:49:09 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 Larry the Git Cow gentoo-dev 2021-10-25 13:28:16 UTC
The bug has been referenced in the following commit(s):

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

commit a64d48a07aa55f3a4afa84b570a5bfce5a203750
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-25 13:23:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-25 13:27:01 +0000

    profiles: last-rite sys-apps/mtree
    
    Bug: https://bugs.gentoo.org/716058
    Bug: https://bugs.gentoo.org/775962
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2021-11-28 21:48:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91bc9fc4979192a270f1727ec86d7040f379887b

commit 91bc9fc4979192a270f1727ec86d7040f379887b
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-11-28 21:43:30 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-11-28 21:43:30 +0000

    sys-apps/mtree: treeclean
    
    Closes: https://bugs.gentoo.org/716058
    Closes: https://bugs.gentoo.org/775962
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask             |  6 ------
 sys-apps/mtree/Manifest           |  1 -
 sys-apps/mtree/metadata.xml       | 11 -----------
 sys-apps/mtree/mtree-1.0.4.ebuild | 30 ------------------------------
 4 files changed, 48 deletions(-)