Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716120 - sys-apps/pcmciautils-018_p8-r1 : src/read-cis.c: error: u_int undeclared (first use in this function)
Summary: sys-apps/pcmciautils-018_p8-r1 : src/read-cis.c: error: u_int undeclared (fir...
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: PATCH
: 829154 (view as bug list)
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-04 07:35 UTC by Toralf Förster
Modified: 2021-12-29 07:15 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.53 KB, text/plain)
2020-04-04 07:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,305.59 KB, text/plain)
2020-04-04 07:35 UTC, Toralf Förster
Details
environment (environment,116.63 KB, text/plain)
2020-04-04 07:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.27 KB, application/x-bzip)
2020-04-04 07:35 UTC, Toralf Förster
Details
sys-apps:pcmciautils-018_p8-r1:20200404-040419.log (sys-apps:pcmciautils-018_p8-r1:20200404-040419.log,4.77 KB, text/plain)
2020-04-04 07:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.98 KB, application/x-bzip)
2020-04-04 07:35 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-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(-)