Your message dated Sun, 15 Jul 2007 18:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#415146: fixed in qgo 1.5.4-1
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: qgo
Version: 1.5.3-1
Severity: important
Tags: patch

Salut Cyril,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> i486-kfreebsd-gnu-g++ -fno-exceptions -fno-check-new -o qgo board.o 
> boardhandler.o gamedialog.o gamestable.o gametree.o group.o helpviewer.o 
> igsconnection.o imagehandler.o interfacehandler.o main.o maintable.o 
> mainwidget.o mainwin.o mainwindow.o mark.o matrix.o misc.o move.o 
> msg_handler.o noderesults.o parser.o playertable.o preferences.o qgo.o 
> qgo_interface.o qgtp.o qnewgamedlg.o setting.o sgfparser.o stone.o 
> stonehandler.o tables.o telnet.o textview.o tip.o tree.o wavfile.o wavplay.o 
> xmlparser.o searchpath.o clientwindow_gui.o gameinfo_gui.o gui_dialog.o 
> mainwidget_gui.o newgame_gui.o newlocalgame_gui.o noderesults_gui.o 
> normaltools_gui.o nthmove_gui.o preferences_gui.o qnewgamedlg_gui.o 
> scoretools_gui.o talk_gui.o textedit_gui.o textview_gui.o noderesults.moc.o 
> parser.moc.o mainwin.moc.o gamestable.moc.o qnewgamedlg.moc.o 
> mainwidget.moc.o maintable.moc.o tip.moc.o tables.moc.o gametree.moc.o 
> qgtp.moc.o helpviewer.moc.o gamedialog.moc.o igsconnection.moc.o board.moc.o 
> ma!
 inwindow.moc.o qgo_interface.moc.o playertable.moc.o telnet.moc.o 
preferences.moc.o qgo.moc.o searchpath.moc.o textview.moc.o  -L/usr/lib 
-lresolv /usr/lib/libqt-mt.so -L/usr/X11R6/lib -lfontconfig -laudio -lXt 
/usr/lib/libjpeg.so -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft 
/usr/lib/libfreetype.so -lfontconfig -ldl -lpng -lz -lm -lXext -lX11 -lresolv 
-lSM -lICE -lpthread
> qgo.o: In function `qGo::playClick()':
> qgo.cpp:(.text+0x1ea): undefined reference to `play'
> qgo.o: In function `qGo::playDisConnectSound()':
> qgo.cpp:(.text+0x2a8): undefined reference to `play'
> qgo.o: In function `qGo::playConnectSound()':
> qgo.cpp:(.text+0x366): undefined reference to `play'
> qgo.o: In function `qGo::playLeaveSound()':
> qgo.cpp:(.text+0x424): undefined reference to `play'
> qgo.o: In function `qGo::playEnterSound()':
> qgo.cpp:(.text+0x4e2): undefined reference to `play'
> qgo.o:qgo.cpp:(.text+0x5a0): more undefined references to `play' follow
> collect2: ld returned 1 exit status
> make[4]: *** [qgo] Error 1

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

Please find attached a patch to fix this, based on the __GLIBC__ macro defined
on the GNU/k*BSD platforms. You could also use __FreeBSD_kernel__, though it is
less portable.

Cheers,

-- 
Cyril Brulebois
--- qgo-1.5.3/src/qgo.cpp	2007-03-16 15:07:14.083550000 +0100
+++ qgo-1.5.3/src/qgo.cpp	2007-03-16 15:09:47.000000000 +0100
@@ -304,7 +304,7 @@
 {
 	if (clickSound) //setting->readBoolEntry("SOUND_STONE") && clickSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!clickSound->isAvailable())
 			play(clickSound->fileName().latin1());
 		else
@@ -317,7 +317,7 @@
 {
 	if (setting->readBoolEntry("SOUND_AUTOPLAY") && clickSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!clickSound->isAvailable())
 			play(clickSound->fileName().latin1());
 		else
@@ -330,7 +330,7 @@
 {
 	if (setting->readBoolEntry("SOUND_TALK") && talkSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!talkSound->isAvailable())
 			play(talkSound->fileName().latin1());
 		else
@@ -343,7 +343,7 @@
 {
 	if (setting->readBoolEntry("SOUND_MATCH") && matchSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!matchSound->isAvailable())
 			play(matchSound->fileName().latin1());
 		else
@@ -356,7 +356,7 @@
 {
 	if (setting->readBoolEntry("SOUND_PASS") && passSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!passSound->isAvailable())
 			play(passSound->fileName().latin1());
 		else
@@ -369,7 +369,7 @@
 {
 	if (setting->readBoolEntry("SOUND_GAMEEND") && gameEndSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!gameEndSound->isAvailable())
 			play(gameEndSound->fileName().latin1());
 		else
@@ -382,7 +382,7 @@
 {
 	if (setting->readBoolEntry("SOUND_TIME") && timeSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!timeSound->isAvailable())
 			play(timeSound->fileName().latin1());
 		else
@@ -395,7 +395,7 @@
 {
 	if (setting->readBoolEntry("SOUND_SAY") && saySound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!saySound->isAvailable())
 			play(saySound->fileName().latin1());
 		else
@@ -408,7 +408,7 @@
 {
 	if (setting->readBoolEntry("SOUND_ENTER") && enterSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!enterSound->isAvailable())
 			play(enterSound->fileName().latin1());
 		else
@@ -421,7 +421,7 @@
 {
 	if (setting->readBoolEntry("SOUND_LEAVE") && leaveSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!leaveSound->isAvailable())
 			play(leaveSound->fileName().latin1());
 		else
@@ -436,7 +436,7 @@
 
 	if (setting->readBoolEntry("SOUND_CONNECT") && connectSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!connectSound->isAvailable())
 			play(connectSound->fileName().latin1());
 		else
@@ -449,7 +449,7 @@
 {
 	if (setting->readBoolEntry("SOUND_DISCONNECT") && connectSound)
 	{                                                                      //added eb 7
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 		if (!connectSound->isAvailable())
 			play(connectSound->fileName().latin1());
 		else
--- qgo-1.5.3/src/qgo.h	2007-03-16 15:10:21.965539000 +0100
+++ qgo-1.5.3/src/qgo.h	2007-03-16 15:10:36.000000000 +0100
@@ -17,7 +17,7 @@
 #include <qfiledialog.h>
 #endif
 
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(__GLIBC__)
 #include "wavplay.h"
 #endif
 
--- qgo-1.5.3/src/wavfile.c	2007-03-16 15:12:28.494916000 +0100
+++ qgo-1.5.3/src/wavfile.c	2007-03-16 15:13:17.000000000 +0100
@@ -41,7 +41,7 @@
  *	wavplay project.
  */	
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
 
 static const char rcsid[] = "@(#)wavfile.c $Revision: 1.8 $";
 
@@ -60,8 +60,11 @@
 #include <sys/ipc.h>
 #include <sys/ioctl.h>
 #include <assert.h>
-#include <linux/soundcard.h>
-
+#if defined(__linux__)
+# include <linux/soundcard.h>
+#else
+# include <sys/soundcard.h>
+#endif
 
 
 
--- qgo-1.5.3/src/wavplay.c	2007-03-16 15:12:28.570625000 +0100
+++ qgo-1.5.3/src/wavplay.c	2007-03-16 15:13:57.000000000 +0100
@@ -54,7 +54,7 @@
  *
  */
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
 
 static const char rcsid[] = "@(#)recplay.c $Revision: 1.8 $";
 
@@ -66,7 +66,11 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/stat.h>
-#include <linux/soundcard.h>
+#if defined(__linux__)
+# include <linux/soundcard.h>
+#else
+# include <sys/soundcard.h>
+#endif
 #include "wavplay.h"
 /*/#include "server.h"*/
 

--- End Message ---
--- Begin Message ---
Source: qgo
Source-Version: 1.5.4-1

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

qgo_1.5.4-1.diff.gz
  to pool/main/q/qgo/qgo_1.5.4-1.diff.gz
qgo_1.5.4-1.dsc
  to pool/main/q/qgo/qgo_1.5.4-1.dsc
qgo_1.5.4-1_i386.deb
  to pool/main/q/qgo/qgo_1.5.4-1_i386.deb
qgo_1.5.4.orig.tar.gz
  to pool/main/q/qgo/qgo_1.5.4.orig.tar.gz



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.
Cyril Chaboisseau <[EMAIL PROTECTED]> (supplier of updated qgo 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: Wed, 13 Jun 2007 00:26:02 +0200
Source: qgo
Binary: qgo
Architecture: source i386
Version: 1.5.4-1
Distribution: unstable
Urgency: low
Maintainer: Cyril Chaboisseau <[EMAIL PROTECTED]>
Changed-By: Cyril Chaboisseau <[EMAIL PROTECTED]>
Description: 
 qgo        - Go client and full featured SGF editor
Closes: 415146
Changes: 
 qgo (1.5.4-1) unstable; urgency=low
 .
   * New upstream release
   * fix FTBFS on kFreeBSD, thanks to Cyril Brulebois (closes: #415146)
Files: 
 da45f64cd14b041dd301a27aa1096d5b 652 games optional qgo_1.5.4-1.dsc
 a91e903194d676ee9970300adcef70b1 2427901 games optional qgo_1.5.4.orig.tar.gz
 ede8963fc97a24e75fa819b953cccbb7 25212 games optional qgo_1.5.4-1.diff.gz
 1f726b2af5d61de472aedb6af67e1390 1789934 games optional qgo_1.5.4-1_i386.deb

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

iD8DBQFGml5hvPbGD26BadIRAjg6AKCwOG6u2nB8y9NO40qNDnDiOtgP/gCdGtI2
ypQUB3C1fWf8z9D9RroII0c=
=EhEc
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to