Your message dated Fri, 21 Dec 2007 15:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#415671: fixed in yiff 2.14.5-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: yiff
Version: 2.14.5-2.2
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> gcc -c ymixer.c  -DALSA_RUN_CONFORM -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT 
> -D__USE_BSD -Wall -O6 -fomit-frame-pointer -funroll-loops -finline-functions 
> -ffast-math
> ymixer.c: In function 'GET_MIXER_NUM_BY_NAME':
> ymixer.c:102: error: 'SOUND_DEVICE_NAMES' undeclared (first use in this 
> function)
> ymixer.c:102: error: (Each undeclared identifier is reported only once
> ymixer.c:102: error: for each function it appears in.)
> ymixer.c:108: error: 'SOUND_MIXER_READ_DEVMASK' undeclared (first use in this 
> function)
> ymixer.c:108: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c:114: error: 'SOUND_MIXER_NRDEVICES' undeclared (first use in this 
> function)
> ymixer.c:114: warning: comparison between pointer and integer
> ymixer.c:122: warning: comparison between pointer and integer
> ymixer.c: In function 'YMixerSetBass':
> ymixer.c:161: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:161: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c:161: warning: implicit declaration of function 'MIXER_WRITE'
> ymixer.c: In function 'YMixerSetCD':
> ymixer.c:172: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:172: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetGainIn':
> ymixer.c:183: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:183: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetGainOut':
> ymixer.c:194: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:194: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetLine':
> ymixer.c:205: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:205: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetLine1':
> ymixer.c:216: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:216: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetLine2':
> ymixer.c:227: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:227: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetLine3':
> ymixer.c:238: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:238: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetMic':
> ymixer.c:249: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:249: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetMix':
> ymixer.c:260: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:260: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetPCM':
> ymixer.c:271: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:271: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetPCM2':
> ymixer.c:282: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:282: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetRec':
> ymixer.c:293: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:293: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetSpeaker':
> ymixer.c:304: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:304: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetSynth':
> ymixer.c:315: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:315: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetTreble':
> ymixer.c:326: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:326: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetVolume':
> ymixer.c:337: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:337: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetDigital1':
> ymixer.c:348: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:348: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetDigital2':
> ymixer.c:359: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:359: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetDigital3':
> ymixer.c:370: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:370: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetPhoneIn':
> ymixer.c:381: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:381: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetPhoneOut':
> ymixer.c:392: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:392: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetVideo':
> ymixer.c:403: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:403: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetRadio':
> ymixer.c:414: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:414: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerSetMonitor':
> ymixer.c:425: error: 'SOUND_MIXER_READ_STEREODEVS' undeclared (first use in 
> this function)
> ymixer.c:425: warning: passing argument 2 of 'ioctl' makes integer from 
> pointer without a cast
> ymixer.c: In function 'YMixerGetBass':
> ymixer.c:452: warning: implicit declaration of function 'MIXER_READ'
> make[1]: *** [ymixer.o] Error 1


Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=yiff>.

Please find attached a patch to fix this. The change from linux/ to sys/
is motivated by the fact that sys/soundcard.h includes linux/soundcard.h
on Linux, so it is harmless to do so, and makes it more portable. If you
consider it too intrusive, feel free to use another #elif instead.

Cheers,

-- 
Cyril Brulebois
--- yiff-2.14.5/yiff/ymixer.c	2007-03-21 08:32:00.652899000 +0100
+++ yiff-2.14.5/yiff/ymixer.c	2007-03-21 08:32:20.000000000 +0100
@@ -5,8 +5,8 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 
-#if defined(__linux__)
-# include <linux/soundcard.h>
+#if defined(__linux__) || defined(__FreeBSD_kernel__)
+# include <sys/soundcard.h>
 #elif defined(__FreeBSD__)
 # include <machine/soundcard.h>
 #endif
--- yiff-2.14.5/yiff/ysound.c	2007-03-21 08:37:01.619199000 +0100
+++ yiff-2.14.5/yiff/ysound.c	2007-03-21 08:37:16.000000000 +0100
@@ -7,8 +7,8 @@
 #include <fcntl.h>
 #include <unistd.h>
 
-#if defined(__linux__)
-# include <linux/soundcard.h>
+#if defined(__linux__) || defined(__FreeBSD_kernel__)
+# include <sys/soundcard.h>
 #elif defined(__FreeBSD__)
 # include <machine/soundcard.h>
 #endif

--- End Message ---
--- Begin Message ---
Source: yiff
Source-Version: 2.14.5-3

We believe that the bug you reported is fixed in the latest version of
yiff, which is due to be installed in the Debian FTP archive:

liby-dev_2.14.5-3_i386.deb
  to pool/main/y/yiff/liby-dev_2.14.5-3_i386.deb
liby2-14_2.14.5-3_i386.deb
  to pool/main/y/yiff/liby2-14_2.14.5-3_i386.deb
yiff-server_2.14.5-3_i386.deb
  to pool/main/y/yiff/yiff-server_2.14.5-3_i386.deb
yiff_2.14.5-3.diff.gz
  to pool/main/y/yiff/yiff_2.14.5-3.diff.gz
yiff_2.14.5-3.dsc
  to pool/main/y/yiff/yiff_2.14.5-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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Phil Brooke <[EMAIL PROTECTED]> (supplier of updated yiff 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 21 Dec 2007 14:26:11 +0000
Source: yiff
Binary: liby-dev liby2-14 yiff-server
Architecture: source i386
Version: 2.14.5-3
Distribution: unstable
Urgency: low
Maintainer: Phil Brooke <[EMAIL PROTECTED]>
Changed-By: Phil Brooke <[EMAIL PROTECTED]>
Description: 
 liby-dev   - Y Sound Server Library Header Files
 liby2-14   - Y Sound Server Library
 yiff-server - Y Sound Server
Closes: 415671 419407 438355
Changes: 
 yiff (2.14.5-3) unstable; urgency=low
 .
   * Acknowledge NMUs 2.1 and 2.2 -- thanks.
   * Bumped standards-version to 3.7.3.
   * Moved homepage in debian/control.
   * Makefiles modified to not strip binaries so that nostrip build
     option works properly.  Also debian/rules (closes: #438355).
   * Debconf Dutch translation from Bart Cornelis, thanks (closes: #419407).
   * Applied patch for GNU/kFreeBSD FTBFS from Cyril Brulebois, thanks
     (closes: #415671).
   * Fixed use of binary:Version in debian/control.
   * Updating yiff-server.templates.
Files: 
 c5a109fe123f86f4ec8a9bc4b09b83bf 716 libs optional yiff_2.14.5-3.dsc
 27340a83534f429d523dce3e60980f94 35398 libs optional yiff_2.14.5-3.diff.gz
 85be5bc0053d73499ea25c3d4771c0ba 158040 sound optional 
yiff-server_2.14.5-3_i386.deb
 895a76a8e09eaeb6d80d31135d7a5598 41716 libs optional liby2-14_2.14.5-3_i386.deb
 d08e91b4023979158b9d79609cbb3c3f 98916 libdevel optional 
liby-dev_2.14.5-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHa9WqHb8HEVCXO5ERArHTAJ9oX9Upq6tTPgWnRI8YSxjrYA2cOgCfU7vD
w8wZw8X4e9GUxJ9Z+Wrfu6Q=
=iGzH
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to