0.78.0: cmake fails
cmake fails on:
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd poppler-0.78.0
+ export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto'
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto'
+ export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto'
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto'
+ export 'FFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto'
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto'
+ export 'FCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto'
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules -flto'
+ export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin'
+ export AR=/usr/bin/gcc-ar RANLIB=/usr/bin/gcc-ranlib NM=/usr/bin/gcc-nm
+ AR=/usr/bin/gcc-ar
+ RANLIB=/usr/bin/gcc-ranlib
+ NM=/usr/bin/gcc-nm
+ export CC=gcc CXX=g++
+ CC=gcc
+ CXX=g++
+ /usr/bin/cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_NM=/usr/bin/gcc-nm -DCMAKE_RANLIB=/usr/bin/gcc-ranlib -DCMAKE_VERBOSE_MAKEFILE=ON -DINCLUDE_INSTALL_DIR=/usr/include -DLIB_INSTALL_DIR=/usr/lib64 -DLIB_SUFFIX=64 -DSHARE_INSTALL_PREFIX=/usr/share -DSYSCONF_INSTALL_DIR=/etc . -DENABLE_CMS=lcms2 -DENABLE_DCTDECODER=libjpeg -DENABLE_GTK_DOC=ON -DENABLE_LIBOPENJPEG=openjpeg2 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_ZLIB=OFF
-- The C compiler identification is GNU 9.1.1
-- The CXX compiler identification is GNU 9.1.1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test GCC_HAS_AS_NEEDED
-- Performing Test GCC_HAS_AS_NEEDED - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - failed
-- Check size of unsigned int
-- Check size of unsigned int - failed
-- Check size of unsigned long
-- Check size of unsigned long - failed
CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:50 (message):
no suitable type found
Call Stack (most recent call first):
CMakeLists.txt:21 (test_big_endian)
Content of the poppler-0.78.0/CMakeFiles/CMakeError.log:
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_07d00/fast
/usr/bin/gmake -f CMakeFiles/cmTC_07d00.dir/build.make CMakeFiles/cmTC_07d00.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_07d00.dir/CheckSymbolExists.c.o
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -o CMakeFiles/cmTC_07d00.dir/CheckSymbolExists.c.o -c /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_07d00
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07d00.dir/link.txt --verbose=1
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -rdynamic CMakeFiles/cmTC_07d00.dir/CheckSymbolExists.c.o -o cmTC_07d00
/usr/bin/ld: CMakeFiles/cmTC_07d00.dir/CheckSymbolExists.c.o: relocation R_X86_64_32S against undefined symbol `pthread_create' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_07d00.dir/build.make:87: cmTC_07d00] Error 1
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_07d00/fast] Error 2
File /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if compiler accepts -pthread failed with the following output:
Change Dir: /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_9e772/fast
/usr/bin/gmake -f CMakeFiles/cmTC_9e772.dir/build.make CMakeFiles/cmTC_9e772.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9e772.dir/CheckForPthreads.c.o
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -o CMakeFiles/cmTC_9e772.dir/CheckForPthreads.c.o -c /usr/share/cmake/Modules/CheckForPthreads.c
Linking C executable cmTC_9e772
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9e772.dir/link.txt --verbose=1
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -rdynamic CMakeFiles/cmTC_9e772.dir/CheckForPthreads.c.o -o cmTC_9e772 -pthread
/usr/bin/ld: CMakeFiles/cmTC_9e772.dir/CheckForPthreads.c.o: relocation R_X86_64_32 against symbol `start_routine' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_9e772.dir/build.make:87: cmTC_9e772] Error 1
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_9e772/fast] Error 2
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_1f883/fast
/usr/bin/gmake -f CMakeFiles/cmTC_1f883.dir/build.make CMakeFiles/cmTC_1f883.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1f883.dir/CheckFunctionExists.c.o
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_1f883.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_1f883
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1f883.dir/link.txt --verbose=1
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -rdynamic CMakeFiles/cmTC_1f883.dir/CheckFunctionExists.c.o -o cmTC_1f883 -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_1f883.dir/build.make:87: cmTC_1f883] Error 1
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_1f883/fast] Error 2
Determining size of unsigned short failed with the following output:
Change Dir: /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_d013e/fast
/usr/bin/gmake -f CMakeFiles/cmTC_d013e.dir/build.make CMakeFiles/cmTC_d013e.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d013e.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -o CMakeFiles/cmTC_d013e.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -c /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c
Linking C executable cmTC_d013e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d013e.dir/link.txt --verbose=1
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -rdynamic CMakeFiles/cmTC_d013e.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -o cmTC_d013e
/usr/bin/ld: CMakeFiles/cmTC_d013e.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o: relocation R_X86_64_32S against symbol `info_size' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_d013e.dir/build.make:87: cmTC_d013e] Error 1
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_d013e/fast] Error 2
/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(unsigned short))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of unsigned int failed with the following output:
Change Dir: /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_94f26/fast
/usr/bin/gmake -f CMakeFiles/cmTC_94f26.dir/build.make CMakeFiles/cmTC_94f26.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_94f26.dir/CMAKE_SIZEOF_UNSIGNED_INT.c.o
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -o CMakeFiles/cmTC_94f26.dir/CMAKE_SIZEOF_UNSIGNED_INT.c.o -c /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_INT.c
Linking C executable cmTC_94f26
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94f26.dir/link.txt --verbose=1
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -rdynamic CMakeFiles/cmTC_94f26.dir/CMAKE_SIZEOF_UNSIGNED_INT.c.o -o cmTC_94f26
/usr/bin/ld: CMakeFiles/cmTC_94f26.dir/CMAKE_SIZEOF_UNSIGNED_INT.c.o: relocation R_X86_64_32S against symbol `info_size' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_94f26.dir/build.make:87: cmTC_94f26] Error 1
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_94f26/fast] Error 2
/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_INT.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(unsigned int))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of unsigned long failed with the following output:
Change Dir: /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake cmTC_77f32/fast
/usr/bin/gmake -f CMakeFiles/cmTC_77f32.dir/build.make CMakeFiles/cmTC_77f32.dir/build
gmake[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_77f32.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -o CMakeFiles/cmTC_77f32.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o -c /home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c
Linking C executable cmTC_77f32
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_77f32.dir/link.txt --verbose=1
/usr/bin/gcc -std=c99 -D_DEFAULT_SOURCE -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -rdynamic CMakeFiles/cmTC_77f32.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o -o cmTC_77f32
/usr/bin/ld: CMakeFiles/cmTC_77f32.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o: relocation R_X86_64_32S against symbol `info_size' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_77f32.dir/build.make:87: cmTC_77f32] Error 1
gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_77f32/fast] Error 2
/home/tkloczko/rpmbuild/BUILD/poppler-0.78.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif
#define SIZE (sizeof(unsigned long))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}