Bug#470979: bmpx: FTBFS with g++-4.3: Missing includes

2008-04-06 Thread Alexander Schmehl
Hi!

* William Pitcock <[EMAIL PROTECTED]> [080324 21:52]:

> This is fixed upstream, so I am waiting for the next release which is in
> a few days.

Any news on this?  You know, you could always upload/let upload a
package with the patch and a the new upstream version later.


Yours sincerely,
  Alexander


signature.asc
Description: Digital signature


Bug#470979: bmpx: FTBFS with g++-4.3: Missing includes

2008-04-06 Thread William Pitcock
Hi,

On Sun, 2008-04-06 at 21:59 +0200, Alexander Schmehl wrote:
> Hi!
> 
> * William Pitcock <[EMAIL PROTECTED]> [080324 21:52]:
> 
> > This is fixed upstream, so I am waiting for the next release which is in
> > a few days.
> 
> Any news on this?  You know, you could always upload/let upload a
> package with the patch and a the new upstream version later.
> 

BMPx 0.40.14 release is less than a week away. We tried to release
today, but found a bug with internationalization.

If this is a critical issue and it needs to be handled before then, feel
free to do a 0day NMU; bmpx is marked as a LowThresholdNMU package. I
will acknowledge the NMU when BMPx 0.40.14 is uploaded.

William


signature.asc
Description: This is a digitally signed message part


Bug#470979: bmpx: FTBFS with g++-4.3: Missing includes

2008-04-08 Thread Alexander Schmehl

Hi!

Am 6.4.2008 schrieb "William Pitcock" <[EMAIL PROTECTED]>:

>> > This is fixed upstream, so I am waiting for the next release which is in
>> > a few days.
>> Any news on this?  You know, you could always upload/let upload a
>> package with the patch and a the new upstream version later.
>BMPx 0.40.14 release is less than a week away. We tried to release
>today, but found a bug with internationalization.
>
>If this is a critical issue and it needs to be handled before then, feel
>free to do a 0day NMU; bmpx is marked as a LowThresholdNMU package. I
>will acknowledge the NMU when BMPx 0.40.14 is uploaded.

Well, it's a release critical bug (since the gcc 4.3 suite is now the
default compiler on several architectures), so IMHO it should be fixed
ASAP.  But since you are well aware of the bug and preperaing a fix for
it, I don't think it's worth an NMU.


Yours sincerely,
  Alexander

Yours sincerely,
  Alexander




Bug#470979: bmpx: FTBFS with g++-4.3: Missing includes

2008-04-08 Thread William Pitcock
Hi,

On Tue, 2008-04-08 at 12:39 +0100, Alexander Schmehl wrote:
> Hi!
> 
> Am 6.4.2008 schrieb "William Pitcock" <[EMAIL PROTECTED]>:
> 
> >> > This is fixed upstream, so I am waiting for the next release which is in
> >> > a few days.
> >> Any news on this?  You know, you could always upload/let upload a
> >> package with the patch and a the new upstream version later.
> >BMPx 0.40.14 release is less than a week away. We tried to release
> >today, but found a bug with internationalization.
> >
> >If this is a critical issue and it needs to be handled before then, feel
> >free to do a 0day NMU; bmpx is marked as a LowThresholdNMU package. I
> >will acknowledge the NMU when BMPx 0.40.14 is uploaded.
> 
> Well, it's a release critical bug (since the gcc 4.3 suite is now the
> default compiler on several architectures), so IMHO it should be fixed
> ASAP.  But since you are well aware of the bug and preperaing a fix for
> it, I don't think it's worth an NMU.

The upload should go up today sometime. :)

William



signature.asc
Description: This is a digitally signed message part


Bug#470979: bmpx: FTBFS with g++-4.3: Missing includes

2008-03-14 Thread Daniel Schepler
Package: bmpx
Version: 0.40.13-2
Severity: important
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.3

From my pbuilder build log, with g++ -> g++-4.3:

...
if /bin/bash ../libtool --tag=CXX --mode=compile 
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2  
-fno-strict-aliasing -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fPIC -MT 
libjsoncpp_la-json_reader.lo -MD -MP -MF ".deps/libjsoncpp_la-json_reader.Tpo" 
-c -o 
libjsoncpp_la-json_reader.lo `test -f 'json_reader.cpp' || echo 
'./'`json_reader.cpp; \
then mv -f ".deps/libjsoncpp_la-json_reader.Tpo" 
".deps/libjsoncpp_la-json_reader.Plo"; else 
rm -f ".deps/libjsoncpp_la-json_reader.Tpo"; exit 1; fi
mkdir .libs
 
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 
-fno-strict-aliasing -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fPIC -MT 
libjsoncpp_la-json_reader.lo -MD -MP -MF .deps/libjsoncpp_la-json_reader.Tpo -c 
json_reader.cpp  -fPIC -DPIC -o .libs/libjsoncpp_la-json_reader.o
json_reader.cpp: In member function 'bool 
Json::Reader::decodeDouble(Json::Reader::Token&)':
json_reader.cpp:522: error: 'memcpy' was not declared in this scope
make[3]: *** [libjsoncpp_la-json_reader.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/bmpx-0.40.13/json'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/bmpx-0.40.13'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/bmpx-0.40.13'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
-- 
Daniel Schepler




Bug#470979: bmpx: FTBFS with g++-4.3: Missing includes

2008-03-24 Thread William Pitcock
Hi,

This is fixed upstream, so I am waiting for the next release which is in
a few days.

William

On Fri, 2008-03-14 at 17:37 -0400, Daniel Schepler wrote:
> Package: bmpx
> Version: 0.40.13-2
> Severity: important
> User: [EMAIL PROTECTED]
> Usertags: ftbfs-gcc-4.3
> 
> From my pbuilder build log, with g++ -> g++-4.3:
> 
> ...
> if /bin/bash ../libtool --tag=CXX --mode=compile 
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2  
> -fno-strict-aliasing -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fPIC -MT 
> libjsoncpp_la-json_reader.lo -MD -MP -MF 
> ".deps/libjsoncpp_la-json_reader.Tpo" -c -o 
> libjsoncpp_la-json_reader.lo `test -f 'json_reader.cpp' || echo 
> './'`json_reader.cpp; \
> then mv -f ".deps/libjsoncpp_la-json_reader.Tpo" 
> ".deps/libjsoncpp_la-json_reader.Plo"; else 
> rm -f ".deps/libjsoncpp_la-json_reader.Tpo"; exit 1; fi
> mkdir .libs
>  
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 
> -fno-strict-aliasing -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fPIC -MT 
> libjsoncpp_la-json_reader.lo -MD -MP -MF .deps/libjsoncpp_la-json_reader.Tpo 
> -c 
> json_reader.cpp  -fPIC -DPIC -o .libs/libjsoncpp_la-json_reader.o
> json_reader.cpp: In member function 'bool 
> Json::Reader::decodeDouble(Json::Reader::Token&)':
> json_reader.cpp:522: error: 'memcpy' was not declared in this scope
> make[3]: *** [libjsoncpp_la-json_reader.lo] Error 1
> make[3]: Leaving directory `/tmp/buildd/bmpx-0.40.13/json'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/buildd/bmpx-0.40.13'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/buildd/bmpx-0.40.13'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2


signature.asc
Description: This is a digitally signed message part


Bug#470979: bmpx: FTBFS with g++-4.3: Missing includes

2008-03-24 Thread Gregory Colpart
tags 470979 patch
thanks

Hello,

Find a patch in attachment which fixes bmpx issues with GCC 4.3.

Regards,
-- 
Gregory Colpart <[EMAIL PROTECTED]>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/
diff -u -r ../bmpx-0.40.13/json/json_reader.cpp bmpx-0.40.13/json/json_reader.cpp
--- ../bmpx-0.40.13/json/json_reader.cpp	2007-10-18 19:17:09.0 +0200
+++ bmpx-0.40.13/json/json_reader.cpp	2008-03-24 19:55:44.147507273 +0100
@@ -6,6 +6,9 @@
 #include 
 #include 
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 #if _MSC_VER >= 1400 // VC++ 8.0
 #pragma warning( disable : 4996 )   // disable warning about strdup being deprecated.
 #endif
diff -u -r ../bmpx-0.40.13/json/json_value.cpp bmpx-0.40.13/json/json_value.cpp
--- ../bmpx-0.40.13/json/json_value.cpp	2007-10-18 19:17:09.0 +0200
+++ bmpx-0.40.13/json/json_value.cpp	2008-03-24 19:55:21.687510822 +0100
@@ -12,6 +12,9 @@
 # include "json_batchallocator.h"
 #endif // #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 #define JSON_ASSERT_UNREACHABLE assert( false )
 #define JSON_ASSERT( condition ) assert( condition );  // @todo <= change this into an exception throw
 #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) throw std::runtime_error( message );
diff -u -r ../bmpx-0.40.13/json/json_writer.cpp bmpx-0.40.13/json/json_writer.cpp
--- ../bmpx-0.40.13/json/json_writer.cpp	2007-10-18 19:17:09.0 +0200
+++ bmpx-0.40.13/json/json_writer.cpp	2008-03-24 19:55:00.015503494 +0100
@@ -4,6 +4,9 @@
 #include 
 #include 
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 #if _MSC_VER >= 1400 // VC++ 8.0
 #pragma warning( disable : 4996 )   // disable warning about strdup being deprecated.
 #endif
diff -u -r ../bmpx-0.40.13/libhal++/util.cc bmpx-0.40.13/libhal++/util.cc
--- ../bmpx-0.40.13/libhal++/util.cc	2007-10-18 19:17:21.0 +0200
+++ bmpx-0.40.13/libhal++/util.cc	2008-03-24 19:52:02.987509890 +0100
@@ -3,6 +3,9 @@
 
 #include "types.hh"
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 namespace Hal
 {
   namespace Util
diff -u -r ../bmpx-0.40.13/src/hal.hh bmpx-0.40.13/src/hal.hh
--- ../bmpx-0.40.13/src/hal.hh	2007-10-18 19:17:08.0 +0200
+++ bmpx-0.40.13/src/hal.hh	2008-03-24 19:52:19.011503080 +0100
@@ -46,6 +46,9 @@
 #include "database.hh"
 #include "hal++.hh"
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 namespace Bmp
 {
 class HAL
@@ -169,7 +172,7 @@
 
 void  device_condition(std::string const& udi,
std::string const& cond_name,
-   std::string const& cond_name );
+   std::string const& cond_details );
 void  device_added(std::string const& udi );
 void  device_removed  (std::string const& udi );
 void  device_property (std::string const& udi,
diff -u -r ../bmpx-0.40.13/src/minisoup.cc bmpx-0.40.13/src/minisoup.cc
--- ../bmpx-0.40.13/src/minisoup.cc	2007-10-18 19:17:08.0 +0200
+++ bmpx-0.40.13/src/minisoup.cc	2008-03-24 19:53:48.899512544 +0100
@@ -26,6 +26,9 @@
 #  include 
 #endif //HAVE_CONFIG_H
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 #include 
 #include 
 #include 
diff -u -r ../bmpx-0.40.13/src/parser/libxml2-sax-base.cc bmpx-0.40.13/src/parser/libxml2-sax-base.cc
--- ../bmpx-0.40.13/src/parser/libxml2-sax-base.cc	2007-10-18 19:17:06.0 +0200
+++ bmpx-0.40.13/src/parser/libxml2-sax-base.cc	2008-03-24 19:52:46.327667131 +0100
@@ -38,6 +38,9 @@
 
 #include "libxml2-sax-base.hh"
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 namespace
 {
   xmlEntityPtr
diff -u -r ../bmpx-0.40.13/src/streams-shoutcast.cc bmpx-0.40.13/src/streams-shoutcast.cc
--- ../bmpx-0.40.13/src/streams-shoutcast.cc	2007-10-18 19:17:08.0 +0200
+++ bmpx-0.40.13/src/streams-shoutcast.cc	2008-03-24 19:53:30.427502970 +0100
@@ -28,6 +28,9 @@
 #include 
 #include 
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 #include 
 #include 
 #include 
diff -u -r ../bmpx-0.40.13/src/vfs.hh bmpx-0.40.13/src/vfs.hh
--- ../bmpx-0.40.13/src/vfs.hh	2007-10-18 19:17:08.0 +0200
+++ bmpx-0.40.13/src/vfs.hh	2008-03-24 19:54:11.987499629 +0100
@@ -32,6 +32,9 @@
 #include "bmp/types/types-basic.hh"
 #include "bmp/types/types-library.hh"
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 namespace Bmp
 {
 namespace VFS
diff -u -r ../bmpx-0.40.13/src/video-widget.cc bmpx-0.40.13/src/video-widget.cc
--- ../bmpx-0.40.13/src/video-widget.cc	2007-10-18 19:17:08.0 +0200
+++ bmpx-0.40.13/src/video-widget.cc	2008-03-24 19:50:27.571510091 +0100
@@ -27,6 +27,9 @@
 #include "audio/play.hh"
 #include 
 
+// Added for #470979 (ftbfs-gcc-4.3)
+#include 
+
 namespace Bmp
 {
   using namespace Gtk;
diff -u -r ../bmpx-0.40.13/src/xds.cc bmpx-0.40.13/src/xds.cc
--- ../bmpx-0.40.13/src/xds.cc	2007-10-