From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: [PATCH] gnu: Add mongodb. Date: Fri, 18 Mar 2016 15:45:32 -0400 Message-ID: References: <877fh1rvkn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah0L0-000420-Ky for guix-devel@gnu.org; Fri, 18 Mar 2016 15:45:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ah0Kz-0002bu-Ie for guix-devel@gnu.org; Fri, 18 Mar 2016 15:45:34 -0400 Received: from mail-yw0-x236.google.com ([2607:f8b0:4002:c05::236]:33329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ah0Kz-0002bC-Bo for guix-devel@gnu.org; Fri, 18 Mar 2016 15:45:33 -0400 Received: by mail-yw0-x236.google.com with SMTP id h65so9064966ywe.0 for ; Fri, 18 Mar 2016 12:45:32 -0700 (PDT) In-Reply-To: <877fh1rvkn.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Roel Janssen Cc: guix-devel Hi Roel, 2016-03-17 11:08 GMT-04:00 Roel Janssen : > Dear Guix, > > This is a patch to add MongoDB (server and client) tools. I used a > three-line patch to fix the build process's reliance on Git and the > .git/ directory. Sorry to be the bearer of bad news, but I became suspicious about this package recipe when I noticed that it had no inputs. Unfortunately, MongoDB is one of those projects that bundles the source code for all of their dependencies in their release tarballs. Here's a list from the src/third_party directory: asio-asio-1-11-0 boost-1.56.0 gperftools-2.2 IntelRDFPMathLib20U1 libstemmer_c mozjs-38 murmurhash3 pcre-8.36 pcre-8.37 s2 SConscript shim_allocator.cpp shim_asio.cpp shim_boost.cpp shim_intel_decimal128.cpp shim_mozjs.cpp shim_pcrecpp.cc shim_snappy.cpp shim_stemmer.cpp shim_tz.cpp shim_v8.cpp shim_wiredtiger.cpp shim_yaml.cpp shim_zlib.cpp snappy-1.1.2 tz unicode-8.0.0 valgrind-3.11.0 wiredtiger yaml-cpp-0.5.1 zlib-1.2.8 This is a really bad practice from a security and maintenance perspective, so in Guix we do our best to unbundle as many things as possible. I recommend deleting everything above besides the "shim_*" files using a snippet in the origin record (search for "snippet" in gnu/packages for examples) and seeing if its possible to use system-provided dependencies for everything. From a quick look, you'll probably have to package an additional library or two. Thanks and sorry! - Dave