From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 06:16:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B763E9CA for ; Thu, 2 Oct 2014 06:16:37 +0000 (UTC) Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 849E2ADC for ; Thu, 2 Oct 2014 06:16:37 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id i138so1405593oig.23 for ; Wed, 01 Oct 2014 23:16:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=k+kIMGNtosNaezFx3Pgh3U3/hgLzmH2PnMiZC0gDrFw=; b=rx6sYf4NC/4b5g77zfVwHzHEDMLCny5VwD/tsOowPV7X09hvAczJkGWI2okbAQsPpL E/3p4aOVm0GE0GdiBDtSmtc+AZWM63onrFcPv5udSOe6Ex0BU9iSPGjoM3jFsVVEEEoq lB8TjEbT51hC7mBdnZo/rY36xs7MZwadUhaee7pP8xjrDLMmnNzZC7xg8dqVzouGbjWh DyI78GFVEdFFNIKRD23GzCON590iJk96xkbRsJ6bM6XEBJj9QsKPFSREHkNMzkS4tuTQ O9U9zPtWzRIn9K4JmQ3mBKRl7XaKppEDb7XJeM/gJ39O35hEe0fm9s0p7aYgCOvP5axB /8uA== X-Received: by 10.60.145.143 with SMTP id su15mr62517245oeb.58.1412230596820; Wed, 01 Oct 2014 23:16:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.178.39 with HTTP; Wed, 1 Oct 2014 23:16:16 -0700 (PDT) From: Amitabh Kant Date: Thu, 2 Oct 2014 11:46:16 +0530 Message-ID: Subject: make package-recursive not installing port To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 06:16:37 -0000 Hi I am trying to create packages from ports (with non default options). The packages get created, but the root port does get installed on the machine where the package is created. The related/dependent ports though get installed and packages created. For example on a freshly installed and patched system with latest ports tree: root@test_pkg:~ # uname -a FreeBSD test_pkg 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu Jul 10 23:44:39 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 root@test_pkg:~ # mkdir -p /usr/ports/packages/All root@test_pkg:~ # cd /usr/ports/databases/postgresql92-server root@test_pkg:/usr/ports/databases/postgresql92-server # make config-recursive root@test_pkg:/usr/ports/databases/postgresql92-server # make package-recursive command output (last couple of lines) ====> Compressing man pages (compress-man) ===> Building package for pkg-1.3.8_2 ===> Building package for gmake-3.82_2 ===> Building package for libxml2-2.9.1_1 ===> Building package for postgresql92-client-9.2.9 ===> Building package for gettext-0.18.3.1_1 ===> Building package for libiconv-1.14_4 ===> Building package for indexinfo-0.2 ===> Building package for pkgconf-0.9.7 The package has been created for all ports including postgresql92-server root@test_pkg:/usr/ports/databases/postgresql92-server # ls -lh /usr/ports/packages/All/ total 11248 -rw-r--r-- 2 root wheel 2.0M Oct 2 11:18 gettext-0.18.3.1_1.txz -rw-r--r-- 2 root wheel 333k Oct 2 11:18 gmake-3.82_2.txz -rw-r--r-- 2 root wheel 4.8k Oct 2 11:18 indexinfo-0.2.txz -rw-r--r-- 2 root wheel 587k Oct 2 11:18 libiconv-1.14_4.txz -rw-r--r-- 2 root wheel 752k Oct 2 11:18 libxml2-2.9.1_1.txz -rw-r--r-- 2 root wheel 2M Oct 2 11:18 pkg-1.3.8_2.txz -rw-r--r-- 2 root wheel 22k Oct 2 11:18 pkgconf-0.9.7.txz -rw-r--r-- 2 root wheel 1.9M Oct 2 11:18 postgresql92-client-9.2.9.txz -rw-r--r-- 2 root wheel 3.2M Oct 2 11:16 postgresql92-server-9.2.9.txz But postgresql92-server has not been installed on the system root@test_pkg:/usr/ports/databases/postgresql92-server # pkg info dialog4ports-0.1.5_2 Console Interface to configure ports gettext-0.18.3.1_1 GNU gettext package gmake-3.82_2 GNU version of 'make' utility indexinfo-0.2 Utility to regenerate the GNU info page index libiconv-1.14_4 Character set conversion library libxml2-2.9.1_1 XML parser library for GNOME pkg-1.3.8_2 Package manager pkgconf-0.9.7 Utility to help to configure compiler and linker flags postgresql92-client-9.2.9 PostgreSQL database (client) I have now tested this with multiple ports (postgresql server, pgbouncer, nginx) with the same results. It seems even 10-RELEASE has the same behaviour. Is this how it is meant to behave, because earlier creating packages from ports used to install all the ports? Running in virtualbox (host OS X Mavericks) . Fully patched using freebsd-update. Latest ports tree fetched through "portsnap fetch extract" . Amitabh