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

Bug 716120

Summary: sys-apps/pcmciautils-018_p8-r1 : src/read-cis.c: error: u_int undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: maintainer-needed, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-apps:pcmciautils-018_p8-r1:20200404-040419.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-04 07:35:09 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -pipe -DPCMCIAUTILS_VERSION=\018\ -I/var/tmp/portage/sys-apps/pcmciautils-018_p8-r1/work/pcmciautils-018/src -Wall -Wchar-subscripts -Wpointer-arith -Wsign-compare -Wno-pointer-sign -Wdeclaration-after-statement -Wshadow -I/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/include -O2 -pipe -march=native   -D_GNU_SOURCE  -c -o src/read-cis.o src/read-cis.c
src/read-cis.c: In function follow_link:
src/read-cis.c:54:11: error: u_int undeclared (first use in this function); did you mean int?
   54 |   ofs = *(u_int *)(link+1);
      |           ^~~~~
      |           int

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

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

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

  Please see the tracker bug for details.

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 *
The following VMs are available for generation-2:

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Apr  4 02:37:50 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO sys-apps/pcmciautils
[ebuild  N    ] sys-apps/pcmciautils-018_p8-r1  USE="-debug -staticsocket"
Comment 1 Toralf Förster gentoo-dev 2020-04-04 07:35:12 UTC
Created attachment 629734 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-04 07:35:15 UTC
Created attachment 629736 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-04 07:35:18 UTC
Created attachment 629738 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-04 07:35:21 UTC
Created attachment 629740 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-04 07:35:23 UTC
Created attachment 629742 [details]
sys-apps:pcmciautils-018_p8-r1:20200404-040419.log
Comment 6 Toralf Förster gentoo-dev 2020-04-04 07:35:26 UTC
Created attachment 629744 [details]
temp.tbz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-29 06:12:53 UTC
*** Bug 829154 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2021-12-29 06:27:18 UTC
The bug has been closed via the following commit(s):

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

commit aa59b7b0761874e3478702334b14a7df8c08b912
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-29 06:17:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-29 06:27:10 +0000

    sys-apps/pcmciautils: fix musl build
    
    Closes: https://bugs.gentoo.org/716120
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pcmciautils-018_p8-musl-unsigned-type.patch    | 24 ++++++++++++++++++++++
 sys-apps/pcmciautils/pcmciautils-018_p8-r3.ebuild  | 13 ++++++------
 2 files changed, 31 insertions(+), 6 deletions(-)