Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829581 - sys-libs/gpm-1.20.7-r3 - prog/display-buttons.c: fatal error: gpm.h: No such file or directory
Summary: sys-libs/gpm-1.20.7-r3 - prog/display-buttons.c: fatal error: gpm.h: No such ...
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: musl-porting
  Show dependency tree
 
Reported: 2021-12-18 20:34 UTC by Toralf Förster
Modified: 2022-01-28 02:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.29 KB, text/plain)
2021-12-18 20:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,171.00 KB, text/plain)
2021-12-18 20:34 UTC, Toralf Förster
Details
environment (environment,110.49 KB, text/plain)
2021-12-18 20:34 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.73 KB, application/x-bzip)
2021-12-18 20:34 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.29 KB, application/x-bzip)
2021-12-18 20:34 UTC, Toralf Förster
Details
sys-libs:gpm-1.20.7-r3:20211218-195508.log (sys-libs:gpm-1.20.7-r3:20211218-195508.log,52.49 KB, text/plain)
2021-12-18 20:34 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,36.57 KB, application/x-bzip)
2021-12-18 20:34 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-18 20:34:18 UTC
# create dependencies
for DEPS in `echo *.c */*.c`; do \
x86_64-gentoo-linux-musl-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -M  -I/var/tmp/portage/sys-libs/gpm-1.20.7-r3/work/gpm-1.20.7-abi_x86_64.amd64/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -D_GNU_SOURCE  $DEPS | \
/bin/sed 's/^\(.*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done
prog/display-buttons.c:39:10: fatal error: gpm.h: No such file or directory
   39 | #include <gpm.h>              /* gpm information      */
      |          ^~~~~~~

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

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

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

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:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit ed5edcd3a448bdcce3275be4d18e6432bf9a53f3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 18 19:21:37 2021 +0000

    2021-12-18 19:21:36 UTC

emerge -qpvO sys-libs/gpm
[ebuild  N    ] sys-libs/gpm-1.20.7-r3  USE="(split-usr) (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2021-12-18 20:34:19 UTC
Created attachment 759624 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-18 20:34:21 UTC
Created attachment 759625 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-18 20:34:25 UTC
Created attachment 759626 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-18 20:34:29 UTC
Created attachment 759627 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-18 20:34:29 UTC
Created attachment 759628 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-18 20:34:30 UTC
Created attachment 759629 [details]
sys-libs:gpm-1.20.7-r3:20211218-195508.log
Comment 7 Toralf Förster gentoo-dev 2021-12-18 20:34:35 UTC
Created attachment 759630 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-01-28 02:30:54 UTC
The bug has been closed via the following commit(s):

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

commit 77c6aa5ac90ebe5ef18bf7f6afe44833b383c974
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-28 02:30:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-28 02:30:42 +0000

    sys-libs/gpm: fix build with musl, misc upstream backports
    
    - Backport musl patches
    - Backport include path fix
    - Backport signedness fix
    
    Closes: https://bugs.gentoo.org/829581
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/gpm/files/gpm-1.20.7-gcc-include.patch |  18 +++
 sys-libs/gpm/files/gpm-1.20.7-musl.patch        | 143 ++++++++++++++++++++++++
 sys-libs/gpm/files/gpm-1.20.7-signedness.patch  |  20 ++++
 sys-libs/gpm/gpm-1.20.7-r4.ebuild               | 112 +++++++++++++++++++
 4 files changed, 293 insertions(+)