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

Bug 717014

Summary: media-sound/mp3info-0.8.5a-r1 : mp3tech.c: error: uint 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: sound
Priority: Normal    
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
media-sound:mp3info-0.8.5a-r1:20200410-233453.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-11 06:26:14 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native   -c -o mp3tech.o mp3tech.c
mp3tech.c: In function sameConstant:
mp3tech.c:282:11: error: uint undeclared (first use in this function); did you mean int?
  282 |     if((*(uint*)h1) == (*(uint*)h2)) return 1;
      |           ^~~~
      |           int

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

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

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

  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-bin-1.42.0
  [2]   rust-1.42.0 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr 10 22:38:26 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO media-sound/mp3info
[ebuild  N    ] media-sound/mp3info-0.8.5a-r1  USE="-gtk"
Comment 1 Toralf Förster gentoo-dev 2020-04-11 06:26:17 UTC
Created attachment 632044 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-11 06:26:20 UTC
Created attachment 632046 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-11 06:26:23 UTC
Created attachment 632048 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-11 06:26:26 UTC
Created attachment 632050 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-11 06:26:29 UTC
Created attachment 632052 [details]
media-sound:mp3info-0.8.5a-r1:20200410-233453.log
Comment 6 Toralf Förster gentoo-dev 2020-04-11 06:26:32 UTC
Created attachment 632054 [details]
temp.tbz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-12 14:24:49 UTC
*** Bug 828919 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2023-02-15 09:56:09 UTC
The bug has been closed via the following commit(s):

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

commit 501d68999d858a4dea36114a599ec2aa57944b3d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-15 09:51:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-15 09:51:44 +0000

    media-sound/mp3info: fix build w/ musl
    
    Closes: https://bugs.gentoo.org/717014
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/mp3info/files/mp3info-0.8.5a-musl.patch | 12 ++++++++++++
 media-sound/mp3info/mp3info-0.8.5a-r1.ebuild        |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)