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

Bug 716206

Summary: media-sound/brutefir-1.0o : shmalloc.c: error: ptrdiff_t undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: fordfrog, 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:brutefir-1.0k-r2:20200404-170928.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-04-04 17:31:24 UTC
      |              ^~~~
shmalloc.c: In function shmalloc:
shmalloc.c:65:11: error: ptrdiff_t undeclared (first use in this function)
   65 |     if (((ptrdiff_t)p & (ALIGNMENT - 1)) != 0) {
      |           ^~~~~~~~~
shmalloc.c:23:1: note: ptrdiff_t is defined in header <stddef.h>; did you forget to #include <stddef.h>?

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

  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-1.42.0 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Apr  4 16:39:40 UTC 2020
/var/db/repos/musl	Sat Apr  4 03:02:24 UTC 2020

emerge -qpvO media-sound/brutefir
[ebuild  N    ] media-sound/brutefir-1.0k-r2
Comment 1 Toralf Förster gentoo-dev 2020-04-04 17:31:26 UTC
Created attachment 630022 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-04 17:31:29 UTC
Created attachment 630024 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-04 17:31:32 UTC
Created attachment 630026 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-04 17:31:35 UTC
Created attachment 630028 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-04 17:31:38 UTC
Created attachment 630030 [details]
media-sound:brutefir-1.0k-r2:20200404-170928.log
Comment 6 Toralf Förster gentoo-dev 2020-04-04 17:31:40 UTC
Created attachment 630032 [details]
temp.tbz2
Comment 7 Miroslav Šulc gentoo-dev 2021-07-22 05:17:45 UTC
is this issue still valid for media-sound/brutefir-1.0o?
Comment 8 Toralf Förster gentoo-dev 2021-07-22 11:48:23 UTC
seems to be fixed there
Comment 9 Toralf Förster gentoo-dev 2021-12-27 09:37:01 UTC
nope
Comment 10 Agostino Sarubbo gentoo-dev 2022-01-28 22:25:17 UTC
tinderbox_musl has reproduced this issue with version 1.0o - Updating summary.