On Sun, Feb 16, 2020 at 12:06:03AM -0500, Kurt Mosiejczuk wrote:
> The erlang21 FLAVOR of devel/rebar does not build. It will fail to build
> and thus DPB will never try the other FLAVORS because of the lock hanging
> around. (I've checked, the other two FLAVORs do build on sparc64).

> Rather than mark the whole port BROKEN for these architectures, this
> just drops the erlang21 FLAVOR for sparc64/mips64 so the other flavors
> can build.

> Yes, the better solution would be to fix the erlang21 FLAVOR, but I
> don't know how to do that.

For the record, this is a bad idea. DPB gets unhappy.

--Kurt

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/rebar/Makefile,v
> retrieving revision 1.24
> diff -u -p -r1.24 Makefile
> --- Makefile  14 Feb 2020 13:15:36 -0000      1.24
> +++ Makefile  16 Feb 2020 03:00:20 -0000
> @@ -17,7 +17,13 @@ PERMIT_PACKAGE=    Yes
>  
>  # This port cannot use the erlang module for the module depends on this port.
>  # Keep in sync with erlang.port.mk
> +
> +# erlang21 broken on sparc64/mips64 and keeps other flavors from building
> +.if ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "mips64"
> +FLAVORS =            erlang16 erlang19
> +.else
>  FLAVORS =            erlang16 erlang19 erlang21
> +.endif
>  FLAVOR ?=            erlang16
>  
>  .if ${FLAVOR:Merlang16} || ${FLAVOR:Merlang19 || ${FLAVOR:Merlang21}} 
> 

Reply via email to