Debian Bug report logs -
#434303
sdl-mixer1.2: FTBFS: Cannot find linux/awe_voice.h
Reported by: Daniel Schepler <schepler@math.unipd.it>
Date: Mon, 23 Jul 2007 02:09:02 UTC
Severity: serious
Found in version 1.2.6-2
Fixed in version sdl-mixer1.2/1.2.6-3
Done: Aurelien Jarno <aurel32@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#434303; Package sdl-mixer1.2.
(full text, mbox, link).
Acknowledgement sent to Daniel Schepler <schepler@math.unipd.it>:
New Bug report received and forwarded. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: sdl-mixer1.2
Version: 1.2.6-2
Severity: serious
From my pbuilder build log, reproduced on both amd64 and i386:
...
/bin/sh ../libtool --mode=compile cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I.. -g -Wall -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I../mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I../timidity -DUSE_NATIVE_MIDI -I../native_midi -DOGG_MUSIC -DMP3_MUSIC -I/usr/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o emumidi.lo emumidi.c
mkdir .libs
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_mixer\" -DVERSION=\"1.2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I.. -g -Wall -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I../mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I../timidity -DUSE_NATIVE_MIDI -I../native_midi -DOGG_MUSIC -DMP3_MUSIC -I/usr/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c emumidi.c -fPIC -DPIC -o .libs/emumidi.o
In file included from emumidi.h:16,
from emumidi.c:21:
playmidi.h:17:1: warning: "/*" within comment
playmidi.h:56:29: error: linux/awe_voice.h: No such file or directory
emumidi.c: In function 'seq_key_pressure':
emumidi.c:162: warning: implicit declaration of function 'AWE_KEY_PRESSURE'
emumidi.c: In function 'seq_chn_pressure':
emumidi.c:315: warning: implicit declaration of function 'AWE_CHN_PRESSURE'
emumidi.c: In function 'seq_reset':
emumidi.c:380: warning: implicit declaration of function 'AWE_SET_CHANNEL_MODE'
emumidi.c:381: warning: implicit declaration of function 'AWE_DRUM_CHANNELS'
emumidi.c:382: warning: implicit declaration of function 'AWE_TERMINATE_ALL'
make[2]: *** [emumidi.lo] Error 1
make[2]: Leaving directory `/tmp/buildd/sdl-mixer1.2-1.2.6/native_midi_gpl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/sdl-mixer1.2-1.2.6'
make: *** [debian/stamp-makefile-build] Error 2
--
Daniel Schepler
Information forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#434303; Package sdl-mixer1.2.
(full text, mbox, link).
Acknowledgement sent to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 434303@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Daniel Schepler <schepler@math.unipd.it> (22/07/2007):
> In file included from emumidi.h:16,
> from emumidi.c:21:
> playmidi.h:17:1: warning: "/*" within comment
> playmidi.h:56:29: error: linux/awe_voice.h: No such file or directory
Hi,
you'll probably need to add a condition on the Linux version, since it
looks like awe_voice.h was dropped in 2.6.22:
| kibi@becky:~/linux-2.6-2.6.22$ grep awe_voice -r .
| ./include/linux/patchkey.h: * This exists because awe_voice.h defined its own _PATCHKEY and it wasn't
| ./include/sound/sfnt_info.h:#define SNDRV_SFNT_LOAD_INFO 0 /* awe_voice_rec */
| ./include/sound/sfnt_info.h:#define SNDRV_SFNT_MAP_PRESET 6 /* awe_voice_map */
| ./sound/synth/emux/soundfont.c: /* copy awe_voice_info parameters */
| kibi@becky:~/linux-2.6-2.6.22$ find -name awe_voice.h
| kibi@becky:~/linux-2.6-2.6.22$
(I checked that it was still present in Lenny's linux-libc-dev, which is
2.6.21-6 right now.)
Cheers,
--
Cyril Brulebois
[Message part 2 (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#434303; Package sdl-mixer1.2.
(full text, mbox, link).
Acknowledgement sent to Samuel Thibault <samuel.thibault@ens-lyon.org>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(full text, mbox, link).
Message #15 received at 434303@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Actually the packages provides its own copy of awe_voice.h, for
non-linux systems. It should be fine to use that, as the attached patch
does (it does compile, and since that's almost the same header, the
result is exactly the same).
Samuel
[patch (text/plain, attachment)]
Reply sent to Aurelien Jarno <aurel32@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Daniel Schepler <schepler@math.unipd.it>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #20 received at 434303-close@bugs.debian.org (full text, mbox, reply):
Source: sdl-mixer1.2
Source-Version: 1.2.6-3
We believe that the bug you reported is fixed in the latest version of
sdl-mixer1.2, which is due to be installed in the Debian FTP archive:
libsdl-mixer1.2-dev_1.2.6-3_amd64.deb
to pool/main/s/sdl-mixer1.2/libsdl-mixer1.2-dev_1.2.6-3_amd64.deb
libsdl-mixer1.2_1.2.6-3_amd64.deb
to pool/main/s/sdl-mixer1.2/libsdl-mixer1.2_1.2.6-3_amd64.deb
sdl-mixer1.2_1.2.6-3.diff.gz
to pool/main/s/sdl-mixer1.2/sdl-mixer1.2_1.2.6-3.diff.gz
sdl-mixer1.2_1.2.6-3.dsc
to pool/main/s/sdl-mixer1.2/sdl-mixer1.2_1.2.6-3.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 434303@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated sdl-mixer1.2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 31 Jul 2007 14:16:36 +0200
Source: sdl-mixer1.2
Binary: libsdl-mixer1.2 libsdl-mixer1.2-dev
Architecture: source amd64
Version: 1.2.6-3
Distribution: unstable
Urgency: low
Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description:
libsdl-mixer1.2 - mixer library for Simple DirectMedia Layer 1.2
libsdl-mixer1.2-dev - development files for SDL1.2 mixer library
Closes: 413655 413656 413662 422522 424268 428892 434303
Changes:
sdl-mixer1.2 (1.2.6-3) unstable; urgency=low
.
[ Aurelien Jarno ]
* debian/rules:
+ change DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS= into LDFLAGS+=
+ prepend -Wl,-z,defs before --as-needed in LDFLAGS
+ don't remove acinclude.m4 in the clean rule (closes: bug#413656,
bug#424268, bug#422522).
* debian/control:
+ depends on cdbs (>= 0.4.41)
+ depends on autotools-dev (closes: bug#413655).
* patches/00_link-libm.patch:
+ new patch from Loïc Minier to link against libm (closes:
bug#413662).
* patches/01_relibtoolize.patch:
+ update
* patches/02_hurd.patch:
+ new patch from Samuel Thibault to fix FTBFS on Hurd (closes:
bug#428892).
* patches/03_awe_voice.patch:
+ new patch to fix FTBFS with linux-libc-dev (>= 2.6.22) (closes:
bug#434303).
Files:
548c8eadcf13fad1db6a888d5b52a7e2 1007 libs optional sdl-mixer1.2_1.2.6-3.dsc
22b0bbdd0bbe601bf3f1cd988f217508 144021 libs optional sdl-mixer1.2_1.2.6-3.diff.gz
ea7d2bc40dcc590cd607a30a80458bbd 144042 libs optional libsdl-mixer1.2_1.2.6-3_amd64.deb
c4f1930c690eff0ff81959568d396623 202694 libdevel optional libsdl-mixer1.2-dev_1.2.6-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGry6Hw3ao2vG823MRAlbJAJ9BKdDFyE6pKedEx/RuUBJXDIlltwCfdngN
cFZ+F3+ZQHHOak7OI1FgE2s=
=z3JM
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 09 Sep 2007 07:25:07 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 02:06:54 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.