From owner-freebsd-ports@FreeBSD.ORG Tue Dec 31 01:10:15 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27984867; Tue, 31 Dec 2013 01:10:15 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E105011A9; Tue, 31 Dec 2013 01:10:14 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id lx4so12105225iec.23 for ; Mon, 30 Dec 2013 17:10:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/IfKduEWpffv0OUcWzghA9mn9kaQNJ77KoHq9KdjmJ8=; b=O/+cjDwgzPJD03PZuo5Heuslr2HakIrNqnYBJVXMAThuFF2QHlYuZ0yYnhI2xVD1Yn GozhVxrImSAkSrBym8upk0WfS3TxPCNHg6rk5RtzY2BGgkKLi6IxZgWKtH0zhrwJGn9O 2syvS2VonPPpihoaZpTlaqvp8BK6tnJMSdZUScHVz4XauujOZS94keVJj5WOn63RTKYp ynxEKScEaifva9LgXiLLLQzg3e/k1rbwZUz/l/DWEhhNqx1TkgjiJLVfxMkjLwdYq4Iw iOW3TfWSWj9CR80jfpH0g/s7UaL6hUgsIaD2KyW0GK7KMDesgulfNmJ/TCha8ke88rmN 1Q1w== MIME-Version: 1.0 X-Received: by 10.50.117.3 with SMTP id ka3mr58154034igb.15.1388452214241; Mon, 30 Dec 2013 17:10:14 -0800 (PST) Received: by 10.64.11.138 with HTTP; Mon, 30 Dec 2013 17:10:14 -0800 (PST) In-Reply-To: <52C212C0.50903@marino.st> References: <52C212C0.50903@marino.st> Date: Mon, 30 Dec 2013 17:10:14 -0800 Message-ID: Subject: Re: Pourdriere: Adding package to jail environment? From: Patrick To: marino@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Dec 2013 01:10:15 -0000 On Mon, Dec 30, 2013 at 4:41 PM, John Marino wrote: > On 12/31/2013 01:37, Patrick wrote: >> ases/mongodb compiled by Pourdriere >> for a 9.2/amd64 environment. I had a similar experience in another >> jailed environment (non-Poudriere) which I resolved by first >> installing lang/v8 into the environment. I'm wondering if there's a >> way in Poudriere for me to install a package into the build jail? >> Reading through the documentation, I don't see how to do this. > > In my experience, mongodb builds fine in a stock poudriere environment > assuming there is enough space. Are you sure you aren't running out of > swap space? Are you using tmpfs on poudriere? if so, and if you don't > have that much ram, you could be burning up all your ram and swap to > build mongodb which is a mongo package. > > so yeah, I think you need to show the log that indicates WHY mongodb is > failing to build. I was just using the default settings, so perhaps that's a possibility. Is there a way to disable it completely? It's not clear from the config file, but I'm trying a new build with USE_TMPFS commented out. Here's the last bit of the output when it failed. The host system is a 10.0-RC2 on an Amazon EC2 m1.small instance, so perhaps that's related. If it fails again, I'll try spinning it up on a 9.2/m1.medium instance. [snip, snip] third_party/shim_boost.o build/freebsd/cc_cc/cxx_c++/ssl/use-system-pcre/use-system-snappy/use-system-v8/usev8/third_party/shim_pcrecpp.o build/freebsd/cc_cc/cxx_c++/ssl/use-system-pcre/use-system-snappy/use-system-v8/usev8/third_party/shim_snappy.o build/freebsd/cc_cc/cxx_c++/ssl/use-system-pcre/use-system-snappy/use-system-v8/usev8/third_party/shim_v8.o -Wl,--end-group -lv8 -lpcre -lpcrecpp -lsnappy -lkvm -lssl -lcrypto -lpcrecpp -lpcre -lsnappy -lrt -lv8 -lexecinfo c++: Internal error: Killed: 9 (program ld) Please submit a full bug report. See for instructions. scons: *** [build/freebsd/cc_cc/cxx_c++/ssl/use-system-pcre/use-system-snappy/use-system-v8/usev8/mongo/mongooplog] Error 1 scons: building terminated because of errors. *** [do-build] Error code 2 Stop in /usr/ports/databases/mongodb. ===> Cleaning for mongodb-2.4.8 build of /usr/ports/databases/mongodb ended at Mon Dec 30 20:04:15 UTC 2013 build time: 02:36:48root The full build log can be found here: http://var.pgib.me/mongodb-2.4.8.log Thanks! Patrick > > John > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"