Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2020 09:58:20 +0200
From:      Per olof Ljungmark <peo@nethead.se>
To:        FreeBSD <freebsd-ports@freebsd.org>
Subject:   Several kf5 qt5 ports fail build
Message-ID:  <73beb87f-d41a-cbbc-60ac-e474dd66b475@nethead.se>

next in thread | raw e-mail | index | archive | help
Updated ports and 12.1-STABLE r362185

Failures like this, anyone here having the same problem or am I alone?

Determining if the __GLIBC__ exist failed with the following output:
Change Dir: 
/usr/ports/x11-toolkits/kf5-kdesignerplugin/work/.build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/local/bin/ninja cmTC_8b830 && [1/2] Building C 
object CMakeFiles/cmTC_8b830.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_8b830.dir/CheckSymbolExists.c.o
/usr/bin/cc   -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing 
-o CMakeFiles/cmTC_8b830.dir/CheckSymbolExists.c.o   -c CheckSymbolExists.c
CheckSymbolExists.c:8:19: error: use of undeclared identifier '__GLIBC__'
   return ((int*)(&__GLIBC__))[argc];
                   ^
1 error generated.
ninja: build stopped: subcommand failed.


File 
/usr/ports/x11-toolkits/kf5-kdesignerplugin/work/.build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <stdlib.h>

int main(int argc, char** argv)
{
   (void)argv;
#ifndef __GLIBC__
   return ((int*)(&__GLIBC__))[argc];
#else
   (void)argc;
   return 0;
#endif
}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73beb87f-d41a-cbbc-60ac-e474dd66b475>