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

Bug 712892

Summary: dev-util/bsdiff-4.3-r4 : bspatch.c: error: unknown type name u_char
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED INVALID    
Severity: normal CC: maintainer-needed, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:bsdiff-4.3-r4:20200316-141828.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-16 14:42:38 UTC
x86_64-gentoo-linux-musl-gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed -o bsdiff bsdiff.c -lbz2
x86_64-gentoo-linux-musl-gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,-O1 -Wl,--as-needed -o bspatch bspatch.c -lbz2
bspatch.c:39:21: error: unknown type name u_char; did you mean char?
   39 | static off_t offtin(u_char *buf)
      |                     ^~~~~~
      |                     char

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

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

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 16 Mar 2020 13:38:33 +0000
emerge -qpvO dev-util/bsdiff
[ebuild  N    ] dev-util/bsdiff-4.3-r4
Comment 1 Toralf Förster gentoo-dev 2020-03-16 14:42:41 UTC
Created attachment 620674 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-16 14:42:44 UTC
Created attachment 620676 [details]
dev-util:bsdiff-4.3-r4:20200316-141828.log
Comment 3 Toralf Förster gentoo-dev 2020-03-16 14:42:47 UTC
Created attachment 620678 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-16 14:42:50 UTC
Created attachment 620680 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-16 14:42:53 UTC
Created attachment 620682 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-16 14:42:56 UTC
Created attachment 620684 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-16 16:12:29 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.