Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 23:52:42 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Staging and read-only /usr/ports
Message-ID:  <99A515E2-46D8-4EB4-9383-4100918E701C@lassitu.de>

next in thread | raw e-mail | index | archive | help
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=3Dyes.


Thanks,
Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811



=3D=3D=3D=3D> Compressing man pages
=3D=3D=3D>  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=3Dportupgrade =
UPGRADE_PORT=3Dbtpd-0.16_2 UPGRADE_PORT_VER=3D0.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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99A515E2-46D8-4EB4-9383-4100918E701C>