Your message dated Wed, 7 Sep 2005 08:25:52 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#327023: Duplicate report, sorry
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Sep 2005 06:08:06 +0000
>From [EMAIL PROTECTED] Tue Sep 06 23:08:06 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d020135.adsl.hansenet.de (localhost.localdomain) [80.171.20.135] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ECt6L-0005dL-00; Tue, 06 Sep 2005 23:08:06 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
        id 1ECt6I-0002tc-Uk; Wed, 07 Sep 2005 08:08:03 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: openalpp-cvs: FTBFS: invalid conversion from 'ALubyte*' to 'const 
ALchar*'
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 07 Sep 2005 08:08:02 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        UPPERCASE_25_50 autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Package: openalpp-cvs
Version: 20041206-2
Severity: serious
Tags: patch

When building 'openalpp-cvs' on unstable, I get the following error:

make[2]: Entering directory `/openalpp-cvs-20041206/src'
if /bin/sh ../libtool --mode=compile x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"\" 
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openalpp\" -DVERSION=\"0.2\" 
-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 -DHAVE_LIBOPENAL=1 
-DSTDC_HEADERS=1  -I. -I. -I../include  -I/usr/local/include  -Wall -g -O2 -MT 
audioenvironment.lo -MD -MP -MF ".deps/audioenvironment.Tpo" \
  -c -o audioenvironment.lo `test -f 'audioenvironment.cpp' || echo 
'./'`audioenvironment.cpp; \
then mv -f ".deps/audioenvironment.Tpo" ".deps/audioenvironment.Plo"; \
else rm -f ".deps/audioenvironment.Tpo"; exit 1; \
fi
mkdir .libs
 x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
-DPACKAGE=\"openalpp\" -DVERSION=\"0.2\" -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 -DHAVE_LIBOPENAL=1 -DSTDC_HEADERS=1 -I. -I. -I../include 
-I/usr/local/include -Wall -g -O2 -MT audioenvironment.lo -MD -MP -MF 
.deps/audioenvironment.Tpo -c audioenvironment.cpp  -fPIC -DPIC -o 
.libs/audioenvironment.o
audioenvironment.cpp: In member function 'void 
openalpp::AudioEnvironment::initiateReverb()':
audioenvironment.cpp:150: error: invalid conversion from 'ALubyte*' to 'const 
ALchar*'
audioenvironment.cpp:150: error:   initializing argument 1 of 'void* 
alGetProcAddress(const ALchar*)'
audioenvironment.cpp:152: error: invalid conversion from 'ALubyte*' to 'const 
ALchar*'
audioenvironment.cpp:152: error:   initializing argument 1 of 'void* 
alGetProcAddress(const ALchar*)'
make[2]: *** [audioenvironment.lo] Error 1
make[2]: Leaving directory `/openalpp-cvs-20041206/src'

The attached patch fixes this, but there are still other problems,
i.e. the package still FTBFS.

Regards
Andreas Jochens

diff -urN ../tmp-orig/openalpp-cvs-20041206/src/audiobase.cpp 
./src/audiobase.cpp
--- ../tmp-orig/openalpp-cvs-20041206/src/audiobase.cpp 2004-11-11 
07:57:58.000000000 +0000
+++ ./src/audiobase.cpp 2005-09-06 19:28:14.000000000 +0000
@@ -37,7 +37,7 @@
     device_ =alcOpenDevice((unsigned char *)initString);
 
 #else
-    device_=alcOpenDevice((/*const */ALubyte *)"'((direction \"write\")) 
'((devices '(alsa sdl native null)))");
+    device_=alcOpenDevice((/*const */ALchar *)"'((direction \"write\")) 
'((devices '(alsa sdl native null)))");
 #endif
     if(!device_)
       throw InitError("Couldn't open device.");
@@ -70,17 +70,17 @@
 
     // Check for EAX 2.0 support
     unsigned char szFnName[256];
-    ALboolean g_bEAX = alIsExtensionPresent((ALubyte*)"EAX2.0");
+    ALboolean g_bEAX = alIsExtensionPresent((ALchar*)"EAX2.0");
     if (g_bEAX == AL_TRUE)
     {
       sprintf((char*)szFnName, "EAXSet");
-      ALvoid *eaxSet = alGetProcAddress(szFnName);
+      ALvoid *eaxSet = alGetProcAddress((ALchar*)szFnName);
       if (eaxSet == NULL) g_bEAX = AL_FALSE;
     }
     if (g_bEAX == AL_TRUE)
     {
       sprintf((char*)szFnName,"EAXGet");
-      ALvoid *eaxGet = alGetProcAddress(szFnName);
+      ALvoid *eaxGet = alGetProcAddress((ALchar*)szFnName);
       if (eaxGet == NULL) g_bEAX = AL_FALSE;
     }
     if (g_bEAX == AL_TRUE)
diff -urN ../tmp-orig/openalpp-cvs-20041206/src/audioenvironment.cpp 
./src/audioenvironment.cpp
--- ../tmp-orig/openalpp-cvs-20041206/src/audioenvironment.cpp  2004-11-11 
07:57:58.000000000 +0000
+++ ./src/audioenvironment.cpp  2005-09-06 19:25:59.000000000 +0000
@@ -147,9 +147,9 @@
     return;
  
   alReverbScale=(void (*)(ALuint sid, ALfloat param))
-    alGetProcAddress((ALubyte *)"alReverbScale_LOKI");
+    alGetProcAddress((ALchar *)"alReverbScale_LOKI");
   alReverbDelay=(void (*)(ALuint sid, ALfloat param))
-    alGetProcAddress((ALubyte *)"alReverbDelay_LOKI");
+    alGetProcAddress((ALchar *)"alReverbDelay_LOKI");
   if(!(alReverbScale && alReverbDelay)) {
     throw InitError("Couldn't initiate reverb");
   } else

---------------------------------------
Received: (at 327023-done) by bugs.debian.org; 7 Sep 2005 06:25:54 +0000
>From [EMAIL PROTECTED] Tue Sep 06 23:25:54 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d020135.adsl.hansenet.de (localhost.localdomain) [80.171.20.135] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ECtNa-0001XJ-00; Tue, 06 Sep 2005 23:25:54 -0700
Received: from aj by localhost.localdomain with local (Exim 4.51)
        id 1ECtNY-00068f-NM; Wed, 07 Sep 2005 08:25:52 +0200
Date: Wed, 7 Sep 2005 08:25:52 +0200
To: [EMAIL PROTECTED]
Subject: Bug#327023: Duplicate report, sorry
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
From: Andreas Jochens <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

This was a duplicate report, sorry!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to