[40056] trunk/base/src

Rainer Müller raimue at macports.org
Sun Nov 9 18:02:42 PST 2008


toby at macports.org wrote:
> Revision: 40056
>           http://trac.macports.org/changeset/40056
> Author:   toby at macports.org
> Date:     2008-09-18 19:42:46 -0700 (Thu, 18 Sep 2008)
> Log Message:
> -----------
> Stop setting MACOSX_DEPLOYMENT_TARGET
> 
> Modified Paths:
> --------------
>     trunk/base/src/pextlib1.0/Makefile
>     trunk/base/src/registry2.0/Makefile
>     trunk/base/src/tclobjc1.0/Makefile.in
> 
> Modified: trunk/base/src/pextlib1.0/Makefile
> ===================================================================
> --- trunk/base/src/pextlib1.0/Makefile	2008-09-19 02:33:48 UTC (rev 40055)
> +++ trunk/base/src/pextlib1.0/Makefile	2008-09-19 02:42:46 UTC (rev 40056)
> @@ -4,7 +4,6 @@
>  		tracelib.o tty.o
>  SHLIB_NAME=	Pextlib${SHLIB_SUFFIX}
>  INSTALLDIR= ${DESTDIR}${datadir}/macports/Tcl/pextlib1.0
> -export MACOSX_DEPLOYMENT_TARGET=10.3
>  
>  include ../../Mk/macports.autoconf.mk
>  include ../../Mk/macports.tea.mk
> 
[...]

This revision broke tracemode on trunk. Now I get a lot of the following
warnings, using 'port -t':
  Warning: setrlimit failed (22)

errno 22 is EINVAL.

According to the man page of setrlimit(2), the interface changed
somewhere between 10.3 and 10.5:

| COMPATIBILITY
|      setrlimit() now returns with errno set to EINVAL in places that
historically
|      succeeded.  It no longer accepts "rlim_cur = RLIM_INFINITY" for
RLIM_NOFILE.
|      Use "rlim_cur = min(OPEN_MAX, rlim_max)".

We should either restore the MACOSX_DEPLOYMENT_TARGET or change that
code in TracelibRunCmd() in pextlib1.0/tracelib.c.

Rainer


More information about the macports-dev mailing list