Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715834 - sys-apps/pnputils-0.1 : lspnp.c: error: unknown type name u_int
Summary: sys-apps/pnputils-0.1 : lspnp.c: error: unknown type name u_int
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-02 07:16 UTC by Toralf Förster
Modified: 2020-08-27 17:49 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.16 KB, text/plain)
2020-04-02 07:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,198.35 KB, text/plain)
2020-04-02 07:16 UTC, Toralf Förster
Details
environment (environment,50.92 KB, text/plain)
2020-04-02 07:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.96 KB, application/x-bzip)
2020-04-02 07:16 UTC, Toralf Förster
Details
sys-apps:pnputils-0.1:20200401-212036.log (sys-apps:pnputils-0.1:20200401-212036.log,6.15 KB, text/plain)
2020-04-02 07:16 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.29 KB, application/x-bzip)
2020-04-02 07:16 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-02 07:16:13 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wall -Wstrict-prototypes   -c -o lspnp.o lspnp.c
lspnp.c: In function dump_mem32:
lspnp.c:407:5: error: unknown type name u_int; did you mean int?
  407 |     u_int min = flip32(r->mem32.min), max = flip32(r->mem32.max);
      |     ^~~~~
      |     int

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

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

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

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 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr  1 20:37:19 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-apps/pnputils
[ebuild  N    ] sys-apps/pnputils-0.1
Comment 1 Toralf Förster gentoo-dev 2020-04-02 07:16:18 UTC
Created attachment 628640 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 07:16:21 UTC
Created attachment 628642 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-02 07:16:24 UTC
Created attachment 628644 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-02 07:16:28 UTC
Created attachment 628646 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-02 07:16:33 UTC
Created attachment 628648 [details]
sys-apps:pnputils-0.1:20200401-212036.log
Comment 6 Toralf Förster gentoo-dev 2020-04-02 07:16:36 UTC
Created attachment 628650 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-08-27 17:49:47 UTC
The bug has been closed via the following commit(s):

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

commit 12d4517eb75d91633694cca71f02a633c8d4d69f
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-08-27 17:47:53 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-08-27 17:49:37 +0000

    sys-apps/pnputils: fix compilation with musl
    
    Closes: https://bugs.gentoo.org/715834
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 sys-apps/pnputils/files/pnputils-0.1-musl.patch | 22 ++++++++++++++++++++++
 sys-apps/pnputils/pnputils-0.1.ebuild           |  5 ++++-
 2 files changed, 26 insertions(+), 1 deletion(-)