On 2019/11/17 23:07, Charlene Wendling wrote:
> Hi,
> 
> The latest version was not able to be built on bulk machines. I've
> tried `DPB_PROPERTIES=lonesome` without success.
> 
> So i tried at home, with infinite memory limits for _pbuild and 4GB
> (2GB of ram and 2GB for swap), a single job, and it's definitely
> broken [0] (warning: 60 MBytes gunzip'd).
> 
> This port takes a significant amount of system resources, for finally
> failing due to archs limits late in the build. I really would like to
> see it marked BROKEN.
> 
> OK? 

Fine with me.

> Charlène.
> 
> 
> [0] https://bin.charlenew.xyz/mlpack_oom.log.gz
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/math/mlpack/Makefile,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 Makefile
> --- Makefile  3 Nov 2019 14:16:44 -0000       1.12
> +++ Makefile  17 Nov 2019 21:53:11 -0000
> @@ -1,5 +1,7 @@
>  # $OpenBSD: Makefile,v 1.12 2019/11/03 14:16:44 ajacoutot Exp $
>  
> +BROKEN-powerpc = virtual memory exhausted, even with -O1
> +
>  COMMENT-main =        C++ machine learning library
>  COMMENT-python = python bindings to C++ machine learning library
>  
> @@ -96,12 +98,6 @@ SITEDIR =  lib/python${MODPY_VERSION}/si
>  EGGDIR =     ${SITEDIR}/mlpack-$V-py${MODPY_VERSION}.egg-info
>  
>  SUBST_VARS +=        EGGDIR SITEDIR
> -
> -# Fix OOM error
> -.if ${MACHINE_ARCH:Mpowerpc}
> -CFLAGS =     -O1 -pipe
> -CXXFLAGS =   -O1 -pipe
> -.endif
>  
>  post-extract:
>       mkdir -p ${WRKBUILD}/deps/stb
> 

Reply via email to