Bug#746887: Fix for the FTBFS

2014-06-23 Thread GCS
Hi Thomas,

On Mon, Jun 16, 2014 at 6:25 PM, Thomas Goirand z...@debian.org wrote:
 FYI, the only thing that needs to be done is to add -Wno-unused-function
 in SConstruct, as per the attached patch.

 I'm uploading this fix to the DELAYED/7 queue, because otherwise the
 package may be removed from testing (in 13 days now...).
 Yes, I know that -Wno-unused-function solves this. I would better
solved this with effectively disable the unused function(s) only than
hiding everything. But well, that would need to check and alter the
upstream source constantly. I accept this for now.

Cheers,
Laszlo/GCS


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#746887: Fix for the FTBFS

2014-06-23 Thread Thomas Goirand
On 06/24/2014 01:50 AM, László Böszörményi (GCS) wrote:
 Hi Thomas,
 
 On Mon, Jun 16, 2014 at 6:25 PM, Thomas Goirand z...@debian.org wrote:
 FYI, the only thing that needs to be done is to add -Wno-unused-function
 in SConstruct, as per the attached patch.

 I'm uploading this fix to the DELAYED/7 queue, because otherwise the
 package may be removed from testing (in 13 days now...).
  Yes, I know that -Wno-unused-function solves this. I would better
 solved this with effectively disable the unused function(s) only than
 hiding everything. But well, that would need to check and alter the
 upstream source constantly. I accept this for now.
 
 Cheers,
 Laszlo/GCS

I of course would welcome a better fix as well. However, I do believe
this should be the job of the upstream for mongodb. Maybe you could ping
them (with a list of functions to remove)?

Cheers,

Thomas Goirand (zigo)


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#746887: Fix for the FTBFS

2014-06-23 Thread GCS
On Mon, Jun 23, 2014 at 8:26 PM, Thomas Goirand z...@debian.org wrote:
 On 06/24/2014 01:50 AM, László Böszörményi (GCS) wrote:
  Yes, I know that -Wno-unused-function solves this. I would better
 solved this with effectively disable the unused function(s) only than
 hiding everything. But well, that would need to check and alter the
 upstream source constantly. I accept this for now.
 I of course would welcome a better fix as well. However, I do believe
 this should be the job of the upstream for mongodb. Maybe you could ping
 them (with a list of functions to remove)?
 Sure, upstream should track if a function is still in use or not. But
there's no reason to ping them about this for the 2.4.10 release. They
have a completely reworked new major production release 2.6.3 and the
development release is 2.7.2 ATM. I don't think they care 2.4.x
releases anymore. :-| Will upload the fixed 2.4.10 for Debian soon.

Cheers,
Laszlo/GCS


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#746887: Fix for the FTBFS

2014-06-16 Thread Thomas Goirand
Hi,

FYI, the only thing that needs to be done is to add -Wno-unused-function
in SConstruct, as per the attached patch.

I'm uploading this fix to the DELAYED/7 queue, because otherwise the
package may be removed from testing (in 13 days now...).

Cheers,

Thomas Goirand (zigo)
Description: Uses -Wno-unused-function to build
 Uses -Wno-unused-function to avoid FTBFS with -Werror=unused-function
 which is now the default in gcc-4.9.
Author: Thomas Goirand z...@debian.org
Bug-Debian: http://bugs.debian.org/746887
Forwarded: no
Last-Update: 2014-06-16

--- mongodb-2.4.10.orig/SConstruct
+++ mongodb-2.4.10/SConstruct
@@ -708,6 +708,7 @@ if nix:
  -pthread,
  -Wall,
  -Wsign-compare,
+ -Wno-unused-function,
  -Wno-unknown-pragmas,
  -Winvalid-pch] )
 # env.Append(  -Wconversion ) TODO: this doesn't really work yet