Portmaster ignoring +IGNOREME??

Doug Barton dougb at FreeBSD.org
Mon Feb 11 23:27:07 UTC 2008


Mark Ovens wrote:
> Doug, it's happened again:

It's impossible for me to debug this properly without knowing the 
command line options you used. I'm guessing from your description of the 
problem that you used at least -r and -u.

> It honoured the +IGNOREME during the recursive ``make config'' but 
> failed during the build.

If I understand the problem correctly, the attached patch will fix it. 
Please confirm this for me when you can.

> This also highlights a potential problem with portmaster. because it 
> prints out all the pkg-message files at the end, and the summary list, 
> there is the potential for the reason for the abort to have scrolled out 
> of the shell's scrollback buffer (it wasn't far off in this instance) 

If you don't use -u, there is a pause between the end of the failed 
build and the display of the pkg-message files. If you do use -u it's 
assumed that you are able to handle the consequences of doing so.

I actually suggest that people stop using -u, and I am seriously 
considering just removing it. It doesn't do what people apparently think 
it should do, and it's caused way more trouble than it's worth.

Doug

-- 

     This .signature sanitized for your protection
-------------- next part --------------
--- portmaster	2008/01/30 01:40:33	2.24
+++ portmaster	2008/02/11 23:17:35
@@ -1811,7 +1811,7 @@
 			fi
 			;;
 		esac
-	elif [ -n "$NO_RECURSIVE_CONFIG" ]; then
+	elif [ -n "$NO_RECURSIVE_CONFIG" -o -n "$URB_YES" ]; then
 		echo ''
 		echo "===>>> $upg_port has an +IGNOREME file, ignoring"
 		echo ''


More information about the freebsd-ports mailing list