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

Bug 713314

Summary: media-sound/streamripper-1.64.6 : ripstream.c: error: unknown type name _uint32_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: sound
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36079
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-sound:streamripper-1.64.6:20200318-201121.log
temp.tbz2
Solves the problem of assembling for musl.

Description Toralf Förster gentoo-dev 2020-03-18 20:32:32 UTC
      |            ^~~~~~~~~~~~
ripstream.c: In function write_id3v2_frame:
ripstream.c:717:5: error: unknown type name __uint32_t; did you mean uint32_t?
  717 |     __uint32_t framesize = 0;
      |     ^~~~~~~~~~
      |     uint32_t

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

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

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

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.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO media-sound/streamripper
[ebuild  N    ] media-sound/streamripper-1.64.6  USE="-vorbis"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 20:32:35 UTC
Created attachment 622058 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 20:32:38 UTC
Created attachment 622060 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-18 20:32:41 UTC
Created attachment 622062 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-18 20:32:44 UTC
Created attachment 622064 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-18 20:32:46 UTC
Created attachment 622066 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 20:32:49 UTC
Created attachment 622068 [details]
media-sound:streamripper-1.64.6:20200318-201121.log
Comment 7 Toralf Förster gentoo-dev 2020-03-18 20:32:52 UTC
Created attachment 622070 [details]
temp.tbz2
Comment 8 Roman 2023-11-26 11:21:23 UTC
Created attachment 875710 [details, diff]
Solves the problem of assembling for musl.

This problem is still relevant. This patch solves the assembly problem for musl. This does not affect the build for glibc, since __uint32_t is an alias to the uint32_t type.