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

Bug 713740

Summary: media-sound/cdparanoia-3.10.2-r7 : utils.h: error: unknown type name int32_t
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, musl, pacho, sam
Priority: Normal Keywords: InOverlay, 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
logs.tbz2
media-sound:cdparanoia-3.10.2-r7:20200321-003103.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-21 11:03:39 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -I/var/tmp/portage/media-sound/cdparanoia-3.10.2-r7/work/cdparanoia-III-10.2/interface -c buffering_write.c
In file included from buffering_write.c:11:
utils.h:20:15: error: unknown type name int32_t
   20 | static inline int32_t swap32(int32_t x){
      |               ^~~~~~~
utils.h:20:30: error: unknown type name int32_t; did you mean 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 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Mar 20 23:14:50 UTC 2020
/var/db/repos/musl	Wed Mar 18 03:21:45 UTC 2020

emerge -qpvO media-sound/cdparanoia
[ebuild  N    ] media-sound/cdparanoia-3.10.2-r7  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-03-21 11:03:42 UTC
Created attachment 623548 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-21 11:03:44 UTC
Created attachment 623550 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-21 11:03:47 UTC
Created attachment 623552 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-21 11:03:50 UTC
Created attachment 623554 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-21 11:03:53 UTC
Created attachment 623556 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-21 11:03:56 UTC
Created attachment 623558 [details]
media-sound:cdparanoia-3.10.2-r7:20200321-003103.log
Comment 7 Toralf Förster gentoo-dev 2020-03-21 11:03:59 UTC
Created attachment 623560 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-04-19 21:37:03 UTC
Fixed in ::musl overlay, needs small patch to #include <sys/types.h>.
Upstream looks rather dead, so we will probably carry this patch.

Please copy to ::gentoo, then we can drop from overlay.
Comment 9 Michael 'veremitz' Everitt 2020-05-02 23:19:53 UTC
@pacho : can you drop this one into your patchset for cdparanoia possibly and revbump?
https://gitweb.gentoo.org/proj/musl.git/tree/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch

Then we can axe the overlay version as mentioned above! ta!
Comment 10 Larry the Git Cow gentoo-dev 2020-05-03 09:49:14 UTC
The bug has been closed via the following commit(s):

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

commit 73581e1095aa6df83f46de376faeb962c08254ba
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2020-05-03 09:27:50 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2020-05-03 09:49:06 +0000

    media-sound/cdparanoia: Fix missing musl includes
    
    Thanks-to: Toralf Förster
    Thanks-to: Michael 'veremitz' Everitt
    Closes: https://bugs.gentoo.org/713740
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild |  4 +++-
 .../files/cdparanoia-missing-sys_types_h.patch     | 24 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)