Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829239 - sys-devel/dwz-0.15-r1 - dwz.c: fatal error: error.h: No such file or directory
Summary: sys-devel/dwz-0.15-r1 - dwz.c: fatal error: error.h: No such file or directory
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: musl-porting
  Show dependency tree
 
Reported: 2021-12-15 09:38 UTC by Toralf Förster
Modified: 2023-06-16 11:19 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.77 KB, text/plain)
2021-12-15 09:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,151.96 KB, text/plain)
2021-12-15 09:39 UTC, Toralf Förster
Details
environment (environment,54.32 KB, text/plain)
2021-12-15 09:39 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.64 KB, application/x-bzip)
2021-12-15 09:39 UTC, Toralf Förster
Details
sys-devel:dwz-0.14:20211215-043849.log (sys-devel:dwz-0.14:20211215-043849.log,2.71 KB, text/plain)
2021-12-15 09:39 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,14.32 KB, application/x-bzip)
2021-12-15 09:39 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 2021-12-15 09:38:57 UTC
too long lines were shrinked:

make -j4 
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"'   -c -o dwz.o dwz.c
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"'   -c -o hashtab.o hashtab.c
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"'   -c -o sha1.o sha1.c
dwz.c:23:10: fatal error: error.h: No such file or directory
   23 | #include <error.h>
      |          ^~~~~~~~~
compilation terminated.
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.14"' -DFSF_YEARS='"1992-2021"' -DRH_YEARS='"2001-2021"' -DSUSE_YEARS='"2019-2021"'   -c -o dwarfnames.o dwarfnames.c

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211213-184654

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 83472ff90967205b78f227645536f5768bf2fd5e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 15 03:51:45 2021 +0000

    2021-12-15 03:51:44 UTC

emerge -qpvO sys-devel/dwz
[ebuild  N    ] sys-devel/dwz-0.14  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2021-12-15 09:38:59 UTC
Created attachment 759067 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-15 09:39:01 UTC
Created attachment 759068 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-15 09:39:02 UTC
Created attachment 759069 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-15 09:39:03 UTC
Created attachment 759070 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-15 09:39:04 UTC
Created attachment 759071 [details]
sys-devel:dwz-0.14:20211215-043849.log
Comment 6 Toralf Förster gentoo-dev 2021-12-15 09:39:06 UTC
Created attachment 759072 [details]
temp.tar.bz2
Comment 7 Konstantin Tokarev 2021-12-18 00:28:31 UTC
dwz uses <error.h> which is GNU extension and seems to be not supported in musl. If you need to support building dwz with musl, you can submit patch (e.g. change code to use portable functions instead of error.h, or make its use optional) to mailing list at https://sourceware.org/mailman/listinfo/dwz.
Comment 8 Agostino Sarubbo gentoo-dev 2023-06-16 11:19:28 UTC
tinderbox_musl has reproduced this issue with version 0.15-r1 - Updating summary.