make package-recursive not installing port
Amitabh Kant
amitabhkant at gmail.com
Thu Oct 2 06:16:37 UTC 2014
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 at 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 at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64
root at test_pkg:~ # mkdir -p /usr/ports/packages/All
root at test_pkg:~ # cd /usr/ports/databases/postgresql92-server
root at test_pkg:/usr/ports/databases/postgresql92-server # make
config-recursive
root at 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 at 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 at 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
More information about the freebsd-questions
mailing list