Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943696 - media-sound/schismtracker-20240529 - [ncurses-6.5] [gcc-15] /.../seqmid.h: error: unknown type name snd_ump_endpoint_info_t
Summary: media-sound/schismtracker-20240529 - [ncurses-6.5] [gcc-15] /.../seqmid.h: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-11-17 20:33 UTC by Toralf Förster
Modified: 2024-12-15 16:38 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.32 KB, text/plain)
2024-11-17 20:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,179.40 KB, text/plain)
2024-11-17 20:33 UTC, Toralf Förster
Details
environment (environment,41.59 KB, text/plain)
2024-11-17 20:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-17 20:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.97 KB, application/x-xz)
2024-11-17 20:33 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.29 KB, application/x-xz)
2024-11-17 20:33 UTC, Toralf Förster
Details
media-sound:schismtracker-20240529:20241117-195839.log (media-sound:schismtracker-20240529:20241117-195839.log,57.93 KB, text/plain)
2024-11-17 20:33 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,54.29 KB, application/x-xz)
2024-11-17 20:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,10.89 KB, application/x-xz)
2024-11-17 20:33 UTC, Toralf Förster
Details
Patch to fix this issue in schismtracker (0001-fix-alsalib-1.2.13-ump.patch,598 bytes, patch)
2024-12-15 00:59 UTC, Sven Hesse
Details | Diff

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

make[1]: Entering directory '/var/tmp/portage/media-sound/schismtracker-20240529/work/schismtracker-20240529'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./include -I.   -I/usr/include/SDL2 -D_REENTRANT            -O2 -pipe -march=native -fno-diagnostics-color -c -o auto/schismtracker-helptext.o `test -f 'auto/helptext.c' || echo './'`auto/helptext.c
make[1]: Leaving directory '/var/tmp/portage/media-sound/schismtracker-20240529/work/schismtracker-20240529'
make[1]: Entering directory '/var/tmp/portage/media-sound/schismtracker-20240529/work/schismtracker-20240529'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./include -I.   -I/usr/include/SDL2 -D_REENTRANT            -O2 -pipe -march=native -fno-diagnostics-color -c -o sys/alsa/schismtracker-midi-alsa.o `test -f 'sys/alsa/midi-alsa.c' || echo './'`sys/alsa/midi-alsa.c
In file included from sys/alsa/midi-alsa.c:46:
/usr/include/alsa/seqmid.h:525:39: error: unknown type name snd_ump_endpoint_info_t; did you mean snd_seq_port_info_t?
  525 |                                 const snd_ump_endpoint_info_t *info,
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20241112-111005

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0
  [3]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 1bd1387cde7e061ef35d21d6763f1d225d4bc560
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 17 19:33:51 2024 +0000

    2024-11-17 19:33:50 UTC

emerge -qpvO =media-sound/schismtracker-20240529
[ebuild  N    ] media-sound/schismtracker-20240529
Comment 1 Toralf Förster gentoo-dev 2024-11-17 20:33:11 UTC
Created attachment 908897 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-17 20:33:12 UTC
Created attachment 908898 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-11-17 20:33:13 UTC
Created attachment 908899 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-17 20:33:14 UTC
Created attachment 908900 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-17 20:33:15 UTC
Created attachment 908901 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-17 20:33:16 UTC
Created attachment 908902 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-17 20:33:17 UTC
Created attachment 908903 [details]
media-sound:schismtracker-20240529:20241117-195839.log
Comment 8 Toralf Förster gentoo-dev 2024-11-17 20:33:18 UTC
Created attachment 908904 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-17 20:33:19 UTC
Created attachment 908905 [details]
temp.tar.xz
Comment 10 Sven Hesse 2024-12-15 00:59:11 UTC
Created attachment 914068 [details, diff]
Patch to fix this issue in schismtracker

That seems to be an issue in upstream media-libs/alsa-lib-1.2.13. This commits probably fixes it: https://github.com/alsa-project/alsa-lib/commit/07cee0ba05179a56764c35975d5822420d4f31f9

I'm attaching a user patch that fixes the issue in schismtracker by including the necessary header. It shouldn't be on client code to do that, but it does fix the bug and doesn't hurt.

Upstream schismtracker fixed it by instead replacing all the includes by including alsalib.h, but that commit fails their CI. So in the interest of caution, the attached user patch just does the minimum work.
Comment 11 Larry the Git Cow gentoo-dev 2024-12-15 16:38:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cfd0c86dff91f57c0da3af1a5fbe04fa344ee8c

commit 7cfd0c86dff91f57c0da3af1a5fbe04fa344ee8c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-15 16:29:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-15 16:29:17 +0000

    media-libs/alsa-lib: restore include in headers
    
    Consumers were relying on it and upstream have restored it, so restore
    the include in a header via a backport.
    
    Closes: https://bugs.gentoo.org/943696
    Signed-off-by: Sam James <sam@gentoo.org>

 ...lib-1.2.13.ebuild => alsa-lib-1.2.13-r1.ebuild} |  1 +
 .../files/alsa-lib-1.2.13-seq-ump-headers.patch    | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)