# portmaster -r pixman fails with !#/bin/sh list too long

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Oct 1 13:46:15 UTC 2013

Antonio Olivares <olivares14031 at gmail.com> writes:

> I tried your advice with the -R option, it worked, but for only pixman
> the other ports that depend on it don't get rebuilt :(
> I try to use -x 'texlive-*' but it does not work :(
> I get
> Could not execute shell
> "/usr/ports/Mk/bsd.port.mk",  line 1192:  warning "/usr/bin/awk
> '/^#define[[:blank:]]....FreeBSD_version/ {print $3}
> </usr/include/sys/param.h" returned non-zero status
> /usr/local/sbin/portmaster:  rm: Argument list too long
> and it justs sits there.  Out of 3 machines only 1 is working because
> I overlooked the pixman update entry in /usr/src/UPDATING :(
> Please advice me as to how to get the desktop working again on these
> machines.  I did not want to shoot myself in the foot but I did so :(

Try the '-R' again; it may get a bit farther each time. 

You can always recover by removing some of the ports and reinstalling
them after the remaining ports are updated. You're going to have to
rebuild a huge number of ports anyway, so this is not very different
from using portmaster on everything.

Good luck.

More information about the freebsd-questions mailing list