Trouble building Apache 2.4.51 after upgrading to FBSD 13
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Nov 2021 11:53:27 UTC
Hello
After upgrading I was rebuilding all my ports when I hit an error. The problem appears to be in C syntax so could it be a LLVM problem? If it is, why can’t I find anything online? In the error message there was a hint to retry with MAKE_JOBS_UNSAFE but it didn’t solve the problem.
I would appreciate any pointers.
br, Petri
[root@hopo /usr/ports/www/apache24]# MAKE_JOBS_UNSAFE=yes make build
===> Building for apache24-2.4.51
Making all in srclib
Making all in os
Making all in unix
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -I. -I/usr/ports/www/apache24/work/httpd-2.4.51/os/unix -I/usr/ports/www/apache24/work/httpd-2.4.51/include -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/local/include/db5 -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/aaa -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/cache -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/core -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/database -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/filters -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/ldap -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/loggers -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/lua -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/proxy -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/http2 -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/session -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/ssl -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/test -I/usr/ports/www/apache24/work/httpd-2.4.51/server -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/md -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/arch/unix -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/dav/main -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/generators -I/usr/ports/www/apache24/work/httpd-2.4.51/modules/mappers -prefer-non-pic -static -c unixd.c && touch unixd.lo
unixd.c:245:25: error: variable has incomplete type 'union semun'
union semun ick;
^
unixd.c:245:19: note: forward declaration of 'union semun'
union semun ick;
^
1 error generated.
*** Error code 1
Stop.
make[5]: stopped in /usr/ports/www/apache24/work/httpd-2.4.51/os/unix
*** Error code 1
Stop.
make[4]: stopped in /usr/ports/www/apache24/work/httpd-2.4.51/os/unix
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/www/apache24/work/httpd-2.4.51/os
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/www/apache24/work/httpd-2.4.51
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/apache24
*** Error code 1
Stop.
make: stopped in /usr/ports/www/apache24
[root@hopo /usr/ports/www/apache24]# uname -a
FreeBSD hopo.metis.fi 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0: Tue Aug 24 07:33:27 UTC 2021 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[root@hopo /usr/ports/www/apache24]# freebsd-version
13.0-RELEASE-p5