Staging and read-only /usr/ports

Stefan Bethke stb at lassitu.de
Thu Sep 26 21:52:55 UTC 2013


Guys,

I've noticed that more and more ports are trying to build a package /usr/ports/category/port/port-version.tgz. Since my /usr/ports is mounted read-only (via nullfs), this fails. I've looked through Mk/*.mk trying to figure out how I can redirect this to another dir. Is PACKAGES the way to go? What if I don't want to keep packages around?

For the time being, I'm setting NO_STAGE=yes.


Thanks,
Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811



====> Compressing man pages
===>  Building package for btpd-0.16_2
Creating package /usr/ports/net-p2p/btpd/btpd-0.16_2.tbz
Registering depends:.
Creating bzip'd tar ball in '/usr/ports/net-p2p/btpd/btpd-0.16_2.tbz'
tar: Failed to open '/usr/ports/net-p2p/btpd/btpd-0.16_2.tbz'
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports/net-p2p/btpd.
*** [reinstall] Error code 1

Stop in /usr/ports/net-p2p/btpd.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20130926-47352-43dmv env UPGRADE_TOOL=portupgrade UPGRADE_PORT=btpd-0.16_2 UPGRADE_PORT_VER=0.16_2 make -DFORCE_PKG_REGISTER reinstall
--->  Restoring the old version
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 208 packages found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! net-p2p/btpd (btpd-0.16_2)	(install error)



More information about the freebsd-ports mailing list