Package: mongodb
Version: 1:1.8.0-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Hello,

This package has failed to build on i386
https://buildd.debian.org/build.php?arch=i386&pkg=mongodb&ver=1%3A1.8.0-1.
>From logs, it seems like there is no TERM variable on the build machine.
I am sending patch that may help.

Best,
Janos

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sr_RS.UTF-8@latin (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Fix nonexistent TERM environment variable on build machine
 SCons script is assuming that there is TERM variable which may not exist.
Author: Janos Guljas <ja...@resenje.org>
Last-Update: 2011-04-05

--- a/SConstruct
+++ b/SConstruct
@@ -679,7 +679,7 @@ if nix:
 
     #make scons colorgcc friendly
     env['ENV']['HOME'] = os.environ['HOME']
-    env['ENV']['TERM'] = os.environ['TERM']
+    env['ENV']['TERM'] = os.environ.get('TERM', '')
 
     if linux and has_option( "sharedclient" ):
         env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )

Reply via email to