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

Bug 713176

Summary: app-misc/ddcutil-0.9.5 : debug_util.c: fatal error: execinfo.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: fsvm88, maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 716422    
Attachments: emerge-info.txt
app-misc:ddcutil-0.9.5:20200318-042016.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
Drop execinfo.h includes for musl
Remove sys/cdefs.h, include argp.h
Include sys/types.h if ushort is not defined

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(-)