Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2021 09:47:53 -0700
From:      Jose Quinteiro <freebsd@quinteiro.org>
To:        ports@freebsd.org
Subject:   Re: Strange things when trying to build math/arb
Message-ID:  <c3b01dec-401b-a5bb-624e-dfe1dfbb2231@quinteiro.org>
In-Reply-To: <4a3a7b57-b13e-2823-0a46-aa8197d1ef5e@FreeBSD.org>
References:  <4a3a7b57-b13e-2823-0a46-aa8197d1ef5e@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Port probably needs a revbump:
https://github.com/fredrik-johansson/arb/commit/d271652d3124c9e65a97df310a141c607a0b5ee5

Thanks,
Jose

On 10/23/21 9:19 AM, Stephen Montgomery-Smith wrote:
> I get the weirdest errors when I try to build the port math/arb, which
> was recently updated to version 2.21.0.  Maybe it is a compiler error?
> 
> Here is a sample:
> 
> /usr/bin/cc -DARB_BUILD_DLL -Darb_EXPORTS -I/usr/local/include
> -I/usr/ports/math/arb/work/arb-2.21.0 -O2 -pipe -fstack-protector-strong
> -fno-strict-aliasing -O2 -pipe -fstack-protector-strong
> -fno-strict-aliasing -fPIC -pthread -MD -MT
> CMakeFiles/arb.dir/acb_hypgeom/gamma_taylor.c.o -MF
> CMakeFiles/arb.dir/acb_hypgeom/gamma_taylor.c.o.d -o
> CMakeFiles/arb.dir/acb_hypgeom/gamma_taylor.c.o -c
> /usr/ports/math/arb/work/arb-2.21.0/acb_hypgeom/gamma_taylor.c
> /usr/ports/math/arb/work/arb-2.21.0/acb_hypgeom/gamma_taylor.c:48:22:
> /usr/ports/math/arb/work/arb-2.21.0/acb_hypgeom/gamma_taylor.c:87:35:
> error: use of undeclared identifier 'arb_hypgeom_gamma_coeffs'; did you
> mean 'arb_hypgeom_gamma_lower'?
>         mag_mul_2exp_si(err, err, arb_hypgeom_gamma_coeffs[N].exp);
>                                   ^~~~~~~~~~~~~~~~~~~~~~~~
> It is as though the c compiler failed to preprocess the source code, and
> forget the include files.
> 
> Note, if I add USE_GCC=yes to the port Makefile, it builds just fine.
> 
> I am using:
> 
> cc --version
> FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git
> llvmorg-10.0.1-0-gef32c611aa2)
> 
> uname -a
> FreeBSD wilberforce 12.3-PRERELEASE FreeBSD 12.3-PRERELEASE
> stable/12-n234170-35f1d655819 GENERIC  amd64
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c3b01dec-401b-a5bb-624e-dfe1dfbb2231>