Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2014 11:46:16 +0530
From:      Amitabh Kant <>
To:        "" <>
Subject:   make package-recursive not installing port
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

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

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@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

root@test_pkg:/usr/ports/databases/postgresql92-server # make

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-
===>  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
total 11248
-rw-r--r--  2 root  wheel   2.0M Oct  2 11:18 gettext-
-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-             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" .


Want to link to this message? Use this URL: <>