Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925102 - media-libs/aubio-0.4.9-r2 - python/.../ufuncs.c: error: initialization of void ( )(char , const npy_intp , const npy_intp , void ) {aka void ( )(char
Summary: media-libs/aubio-0.4.9-r2 - python/.../ufuncs.c: error: initialization of voi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting 935423
  Show dependency tree
 
Reported: 2024-02-20 19:50 UTC by Toralf Förster
Modified: 2024-07-03 19:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.86 KB, text/plain)
2024-02-20 19:50 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,83.36 KB, application/x-xz)
2024-02-20 19:50 UTC, Toralf Förster
Details
environment (environment,164.79 KB, text/plain)
2024-02-20 19:50 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2024-02-20 19:50 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.77 KB, application/x-xz)
2024-02-20 19:50 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.77 KB, application/x-xz)
2024-02-20 19:51 UTC, Toralf Förster
Details
media-libs:aubio-0.4.9-r2:20240220-184500.log (media-libs:aubio-0.4.9-r2:20240220-184500.log,89.66 KB, text/plain)
2024-02-20 19:51 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,86.46 KB, application/x-xz)
2024-02-20 19:51 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,41.29 KB, application/x-xz)
2024-02-20 19:51 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-02-20 19:50:54 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_
x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_
x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_
x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_
x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_
x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O3 -pipe -march=native -fno-diagnostics-color -fPIC -DAUBIO_VERSION=0.4.9 -DUSE_LOCAL_AUBIO=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_MATH_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_C99_VARARGS_MACROS=1 -DHAVE_LIMITS_H=1 -DHAVE_STDARG_H=1 -DHAVE_
python/ext/ufuncs.c:48:3: error: initialization of void (*)(char **, const npy_intp *, const npy_intp *, void *) {aka void (*)(char **, const long int *, const long int *, void *)} from incompatible pointer type void (*)(char **, npy_intp *, npy_intp *, void *) {aka void (*)(char **, long int *, lon
   48 |   &aubio_PyUFunc_f_f_As_d_d,
      |   ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20240210-104503

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  (none found)
go version go1.22.0 linux/amd64

  HEAD of ::gentoo
commit c2aac933e187159fdfbed08ea987700872fd748f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 20 17:34:08 2024 +0000

    2024-02-20 17:34:07 UTC

emerge -qpvO media-libs/aubio
[ebuild  N    ] media-libs/aubio-0.4.9-r2  USE="examples libsamplerate python -doc -double-precision -ffmpeg -fftw -jack -sndfile -test" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-02-20 19:50:55 UTC
Created attachment 885536 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-20 19:50:56 UTC
Created attachment 885537 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-02-20 19:50:57 UTC
Created attachment 885538 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-02-20 19:50:58 UTC
Created attachment 885539 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-20 19:50:59 UTC
Created attachment 885540 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-20 19:51:00 UTC
Created attachment 885541 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-20 19:51:01 UTC
Created attachment 885542 [details]
media-libs:aubio-0.4.9-r2:20240220-184500.log
Comment 8 Toralf Förster gentoo-dev 2024-02-20 19:51:02 UTC
Created attachment 885543 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-02-20 19:51:04 UTC
Created attachment 885544 [details]
temp.tar.xz
Comment 10 pva 2024-06-12 20:36:35 UTC
I can confirm that aubio-0.4.9-numpy-2.patch fixes problem with numpy2.
Comment 11 N. Andrew Walsh 2024-06-13 08:23:05 UTC
(In reply to pva from comment #10)
> I can confirm that aubio-0.4.9-numpy-2.patch fixes problem with numpy2.

That file isn't in the attachment list; where did you find it?
Comment 12 pva 2024-06-13 08:25:49 UTC
(In reply to N. Andrew Walsh from comment #11)
> (In reply to pva from comment #10)
> > I can confirm that aubio-0.4.9-numpy-2.patch fixes problem with numpy2.
> 
> That file isn't in the attachment list; where did you find it?

I've taken it from upstream git, but the same patch you can find in this MR: https://github.com/gentoo/gentoo/pull/36988
Comment 13 N. Andrew Walsh 2024-06-13 08:49:17 UTC
That patch didn't seem to work for me.
Comment 14 N. Andrew Walsh 2024-06-13 08:52:10 UTC
ETA: there are two patchfiles at that MR; do I need to have both of them?
Comment 15 pva 2024-06-13 09:37:49 UTC
(In reply to N. Andrew Walsh from comment #13)
> That patch didn't seem to work for me.

Then you have a different problem. I think it's worth trying ebuild/patches from that MR in any case.
Comment 16 N. Andrew Walsh 2024-06-13 10:00:35 UTC
My mistake: there were two patchfiles on that MR, and I needed both of them. Emerging aubio with both completed successfully.
Comment 17 Larry the Git Cow gentoo-dev 2024-06-25 02:09:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=765cbe9e259d277abfaa186a9d5cb2d7725b211a

commit 765cbe9e259d277abfaa186a9d5cb2d7725b211a
Author:     Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
AuthorDate: 2024-06-19 00:59:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-25 02:08:49 +0000

    media-libs/aubio: revbump to 0.4.9-r4
    
    These changes fix:
      - compile with python-exec[-native-symlinks]
      - GCC 14 compatibility
      - NumPy 2 compatibility
      - documentation issues:
        * partially missing docs on the first install
        * duplicated docs on reinstalls
      - missing blas USE flag
      - missing pytest dependency
    
    [sam: Drop the changes to -r2.]
    
    Closes: https://bugs.gentoo.org/933405
    Closes: https://bugs.gentoo.org/925102
    Bug: https://bugs.gentoo.org/589262
    Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36988
    Signed-off-by: Sam James <sam@gentoo.org>

 ...aubio-0.4.9-r3.ebuild => aubio-0.4.9-r4.ebuild} | 32 +++++++++++++------
 media-libs/aubio/files/aubio-0.4.9-gcc-14.patch    | 37 ++++++++++++++++++++++
 media-libs/aubio/files/aubio-0.4.9-numpy-2.patch   | 13 ++++++++
 3 files changed, 72 insertions(+), 10 deletions(-)