Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713176 - app-misc/ddcutil-0.9.5 : debug_util.c: fatal error: execinfo.h: No such file or directory
Summary: app-misc/ddcutil-0.9.5 : debug_util.c: fatal error: execinfo.h: No such file ...
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:
Keywords:
Depends on:
Blocks: 716422
  Show dependency tree
 
Reported: 2020-03-18 09:00 UTC by Toralf Förster
Modified: 2020-07-30 23:07 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.93 KB, text/plain)
2020-03-18 09:00 UTC, Toralf Förster
Details
app-misc:ddcutil-0.9.5:20200318-042016.log (app-misc:ddcutil-0.9.5:20200318-042016.log,15.22 KB, text/plain)
2020-03-18 09:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,68.16 KB, text/plain)
2020-03-18 09:00 UTC, Toralf Förster
Details
environment (environment,145.11 KB, text/plain)
2020-03-18 09:00 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.72 KB, application/x-bzip)
2020-03-18 09:00 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.90 KB, application/x-bzip)
2020-03-18 09:00 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.54 KB, application/x-bzip)
2020-03-18 09:00 UTC, Toralf Förster
Details
Drop execinfo.h includes for musl (drop-execinfo.patch,1018 bytes, patch)
2020-03-25 22:47 UTC, Fabio Scaccabarozzi
Details | Diff
Remove sys/cdefs.h, include argp.h (c010-sys_cdefs_h.patch,362 bytes, patch)
2020-03-25 22:48 UTC, Fabio Scaccabarozzi
Details | Diff
Include sys/types.h if ushort is not defined (include-sys-types-for-ushort.patch,391 bytes, patch)
2020-03-25 22:49 UTC, Fabio Scaccabarozzi
Details | Diff

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-18 09:00:35 UTC
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../..  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -Werror  -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o debug_util.lo debug_util.c
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c debug_util.c  -fPIC -DPIC -o .libs/debug_util.o
debug_util.c:29:10: fatal error: execinfo.h: No such file or directory
   29 | #include <execinfo.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) *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 03:39:31 +0000
emerge -qpvO app-misc/ddcutil
[ebuild  N    ] app-misc/ddcutil-0.9.5  USE="-X -drm -usb-monitor -user-permissions" VIDEO_CARDS="-nvidia"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 09:00:38 UTC
Created attachment 621510 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 09:00:40 UTC
Created attachment 621512 [details]
app-misc:ddcutil-0.9.5:20200318-042016.log
Comment 3 Toralf Förster gentoo-dev 2020-03-18 09:00:43 UTC
Created attachment 621514 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-18 09:00:46 UTC
Created attachment 621516 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-18 09:00:49 UTC
Created attachment 621518 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 09:00:52 UTC
Created attachment 621520 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-18 09:00:55 UTC
Created attachment 621522 [details]
temp.tbz2
Comment 8 Fabio Scaccabarozzi 2020-03-25 22:47:36 UTC
Created attachment 625874 [details, diff]
Drop execinfo.h includes for musl

This patch fixes the execinfo.h includes
Comment 9 Fabio Scaccabarozzi 2020-03-25 22:48:47 UTC
Created attachment 625876 [details, diff]
Remove sys/cdefs.h, include argp.h
Comment 10 Fabio Scaccabarozzi 2020-03-25 22:49:55 UTC
Created attachment 625878 [details, diff]
Include sys/types.h if ushort is not defined
Comment 11 Fabio Scaccabarozzi 2020-03-25 22:51:01 UTC
The attached patches make ddcutil compile with musl.
Perhaps the title should be updated to better reflect the multiple issues and patches.
Comment 12 Larry the Git Cow gentoo-dev 2020-07-30 23:07:46 UTC
The bug has been closed via the following commit(s):

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

commit b6a980e776954dbc69640c3afc2d1204c3a8d8f5
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2020-07-30 23:05:33 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2020-07-30 23:07:42 +0000

    app-misc/ddcutil: version bump
    
    Fixes: https://bugs.gentoo.org/713176
    Fixes: https://bugs.gentoo.org/666094
    Fixes: https://bugs.gentoo.org/662804
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 app-misc/ddcutil/Manifest             |   1 +
 app-misc/ddcutil/ddcutil-0.9.9.ebuild | 114 ++++++++++++++++++++++++++++++++++
 app-misc/ddcutil/metadata.xml         |   5 +-
 3 files changed, 119 insertions(+), 1 deletion(-)