Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.2: build fails against re2 20220601 #7369

Closed
kloczek opened this issue Oct 30, 2022 · 17 comments
Closed

4.0.2: build fails against re2 20220601 #7369

kloczek opened this issue Oct 30, 2022 · 17 comments

Comments

@kloczek
Copy link

kloczek commented Oct 30, 2022

Looksd like it is something wrong when re2 20220601 is used

[ 54%] Building CXX object src/CMakeFiles/common.dir/common/SimilarToRegex.cpp.o
cd /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src && /usr/bin/g++ -DDEV_BUILD -Dcommon_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/libtommath -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/libtomcrypt/src/headers -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/decNumber -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/icu/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/zlib -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/include/gen -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src/include/gen -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -fPIC -msse4 -std=c++17 -DNDEBUG -fPIC -MD -MT src/CMakeFiles/common.dir/common/SimilarToRegex.cpp.o -MF CMakeFiles/common.dir/common/SimilarToRegex.cpp.o.d -o CMakeFiles/common.dir/common/SimilarToRegex.cpp.o -c /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp: In constructor ‘{anonymous}::SimilarToCompiler::SimilarToCompiler(Firebird::MemoryPool&, Firebird::AutoPtr<re2::RE2>&, unsigned int, const char*, unsigned int, const char*, unsigned int)’:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp:113:33: error: ‘class re2::RE2::Options’ has no member named ‘set_utf8’
  113 |                         options.set_utf8(!(flags & COMP_FLAG_LATIN));
      |                                 ^~~~~~~~
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp: In member function ‘void {anonymous}::SimilarToCompiler::parsePrimary(int*)’:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp:393:46: warning: unused variable ‘range’ [-Wunused-variable]
  393 |                                         bool range = false;
      |                                              ^~~~~
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp: In constructor ‘{anonymous}::SubstringSimilarCompiler::SubstringSimilarCompiler(Firebird::MemoryPool&, Firebird::AutoPtr<re2::RE2>&, unsigned int, const char*, unsigned int, const char*, unsigned int)’:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp:764:33: error: ‘class re2::RE2::Options’ has no member named ‘set_utf8’
  764 |                         options.set_utf8(!(flags & COMP_FLAG_LATIN));
      |                                 ^~~~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/SimilarToRegex.h:27,
                 from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp:22:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array<T, Storage>::grow(size_type) [with T = re2::StringPiece; Storage = Firebird::EmptyStorage<re2::StringPiece>; size_type = unsigned int]’:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/../common/classes/array.h:340:4:   required from ‘void Firebird::Array<T, Storage>::resize(size_type) [with T = re2::StringPiece; Storage = Firebird::EmptyStorage<re2::StringPiece>; size_type = unsigned int]’
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp:836:16:   required from here
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class re2::StringPiece’; use assignment or value-initialization instead [-Wclass-memaccess]
  317 |                 memset(data + count, 0, sizeof(T) * (newCount - count));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/re2/re2.h:218,
                 from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/SimilarToRegex.h:25:
/usr/include/re2/stringpiece.h:34:7: note: ‘class re2::StringPiece’ declared here
   34 | class StringPiece {
      |       ^~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/../common/classes/array.h: In instantiation of ‘void Firebird::Array<T, Storage>::grow(size_type) [with T = re2::RE2::Arg; Storage = Firebird::EmptyStorage<re2::RE2::Arg>; size_type = unsigned int]’:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/../common/classes/array.h:340:4:   required from ‘void Firebird::Array<T, Storage>::resize(size_type) [with T = re2::RE2::Arg; Storage = Firebird::EmptyStorage<re2::RE2::Arg>; size_type = unsigned int]’
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/SimilarToRegex.cpp:839:14:   required from here
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/../common/classes/array.h:317:23: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘class re2::RE2::Arg’; use assignment or value-initialization instead [-Wclass-memaccess]
  317 |                 memset(data + count, 0, sizeof(T) * (newCount - count));
      |                 ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/re2/re2.h:818:12: note: ‘class re2::RE2::Arg’ declared here
  818 | class RE2::Arg {
      |            ^~~
make[2]: *** [src/CMakeFiles/common.dir/build.make:233: src/CMakeFiles/common.dir/common/SimilarToRegex.cpp.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu'
make[1]: *** [CMakeFiles/Makefile2:782: src/CMakeFiles/common.dir/all] Error 2
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu'
make: *** [Makefile:94: all] Error 2
@kloczek
Copy link
Author

kloczek commented Oct 31, 2022

Just tested that commit and looks like it solved re2 issu however there other issue

[ 54%] Building CXX object src/CMakeFiles/common.dir/common/CharSet.cpp.o
cd /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src && /usr/bin/g++ -DDEV_BUILD -Dcommon_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/libtommath -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/libtomcrypt/src/headers -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/decNumber -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/icu/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/zlib -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/include/gen -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src/include/gen -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -fPIC -msse4 -std=c++17 -DNDEBUG -fPIC -MD -MT src/CMakeFiles/common.dir/common/CharSet.cpp.o -MF CMakeFiles/common.dir/common/CharSet.cpp.o.d -o CMakeFiles/common.dir/common/CharSet.cpp.o -c /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/CharSet.cpp
In file included from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../jrd/intl_classes.h:35,
                 from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/CharSet.cpp:95:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../jrd/../common/unicode_util.h:37:10: fatal error: unicode/ucnv.h: No such file or directory
   37 | #include <unicode/ucnv.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/common.dir/build.make:121: src/CMakeFiles/common.dir/common/CharSet.cpp.o] Error 1

Looks like there is no anywhere in cmake files checking pkgconfig(icu-uc) dependencies.

@kloczek
Copy link
Author

kloczek commented Oct 31, 2022

After install pkgconfig(icu-uc) build passes this point and fails in another one

[ 55%] Building CXX object src/CMakeFiles/common.dir/common/TimeZoneUtil.cpp.o
cd /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src && /usr/bin/g++ -DDEV_BUILD -Dcommon_EXPORTS -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/libtommath -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/libtomcrypt/src/headers -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/decNumber -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/icu/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/extern/zlib -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/include/gen -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src/include -I/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src/include/gen -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -fPIC -msse4 -std=c++17 -DNDEBUG -fPIC -MD -MT src/CMakeFiles/common.dir/common/TimeZoneUtil.cpp.o -MF CMakeFiles/common.dir/common/TimeZoneUtil.cpp.o.d -o CMakeFiles/common.dir/common/TimeZoneUtil.cpp.o -c /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/TimeZoneUtil.cpp
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/TimeZoneUtil.cpp: In constructor ‘{anonymous}::TimeZoneDataPath::TimeZoneDataPath(Firebird::MemoryPool&)’:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/TimeZoneUtil.cpp:102:29: error: ‘FB_TZDATADIR’ was not declared in this scope
  102 |                         if (FB_TZDATADIR[0])
      |                             ^~~~~~~~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/include/firebird.h:38,
                 from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/TimeZoneUtil.cpp:27:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/TimeZoneUtil.cpp: In static member function ‘static ISC_TIMESTAMP_TZ Firebird::TimeZoneUtil::getCurrentGmtTimeStamp()’:
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu/src/include/gen/autoconfig.h:675:37: error: too few arguments to function ‘int gettimeofday(timeval*, void*)’
  675 | #define GETTIMEOFDAY(x) gettimeofday((x))
      |                         ~~~~~~~~~~~~^~~~~
/home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/TimeZoneUtil.cpp:827:9: note: in expansion of macro ‘GETTIMEOFDAY’
  827 |         GETTIMEOFDAY(&tp);
      |         ^~~~~~~~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/include/../common/classes/NoThrowTimeStamp.h:35,
                 from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/../common/classes/timestamp.h:30,
                 from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/../common/TimeZoneUtil.h:32,
                 from /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/src/common/TimeZoneUtil.cpp:28:
/usr/include/sys/time.h:67:12: note: declared here
   67 | extern int gettimeofday (struct timeval *__restrict __tv,
      |            ^~~~~~~~~~~~

@AlexPeshkoff
Copy link
Member

It's not good style to proceed with OOT discussion in closed item.

@kloczek
Copy link
Author

kloczek commented Oct 31, 2022

So?

@AlexPeshkoff
Copy link
Member

AlexPeshkoff commented Oct 31, 2022 via email

@asfernandes
Copy link
Member

cmake build is not supported, so please try standard (autogen, make) build before report another possible issue.

@kloczek
Copy link
Author

kloczek commented Oct 31, 2022

You ask questions (icu, gettimeofday) absolutely unrelated with re2.

Should I open separated ticket?

@asfernandes
Copy link
Member

As I already said, if problem happens only with cmake, please do not open issue. You can open a pull request in this case.

If problem happens with standard build, you can open an issue.

@kloczek
Copy link
Author

kloczek commented Nov 1, 2022

As I already said, if problem happens only with cmake, please do not open issue. You can open a pull request in this case.

If problem happens with standard build, you can open an issue.

I don't think that #7369 (comment) is cmake specyfic.

@AlexPeshkoff
Copy link
Member

AlexPeshkoff commented Nov 2, 2022

autoconfig.h:

/* tzdata DIR (PREFIX/tzdata) */
#define FB_TZDATADIR ""

@AlexPeshkoff
Copy link
Member

AlexPeshkoff commented Nov 2, 2022

configure.ac:

AC_CHECK_FUNCS(gettimeofday)
if test "$ac_cv_func_gettimeofday" = "yes"; then
    AC_MSG_CHECKING(if gettimeofday accepts second (timezone) argument)
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/time.h>]], [[struct timeval tp; gettimeofday(&tp, (struct timezone *)0);]])],[AC_DEFINE(GE
       [Define this if gettimeofday accepts second (timezone) argument])
     AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)])
  AH_BOTTOM([#ifdef GETTIMEOFDAY_RETURNS_TIMEZONE
#define GETTIMEOFDAY(x) gettimeofday((x), (struct timezone *)0)
#else
#define GETTIMEOFDAY(x) gettimeofday((x))
#endif])
fi

@AlexPeshkoff
Copy link
Member

Both issues are solved by autotools

@aafemt
Copy link
Contributor

aafemt commented Nov 2, 2022

According to manpages gettimeofday() was part of POSIX.1-2001 and declared obsolete in POSIX.1-2008. Is there any point to test for its existence nowadays?

@kloczek
Copy link
Author

kloczek commented Nov 2, 2022

Just in case if someone would be asking in my build procedure I'm executing autoreronf -fiv (from autoconf 2.71) before executing configire.

@AlexPeshkoff
Copy link
Member

AlexPeshkoff commented Nov 2, 2022 via email

@kloczek
Copy link
Author

kloczek commented Nov 2, 2022

Take a look what else does autogen.sh . Your issues look much like incomplete or failed configure.

I can confirm that all what is coded ion that script is possible to replace by autoreconf -fiv.
It calls automatically libtoolize and other bits

[tkloczko@pers-jacek firebird-4.0.2]$ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'builds/make.new/config'.
libtoolize: copying file 'builds/make.new/config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force
autoreconf: running: /usr/bin/autoconf --force
configure.ac:16: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:16: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:16: the top level
configure.ac:580: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:580: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
acx_pthread.m4:4: ACX_PTHREAD is expanded from...
configure.ac:580: the top level
configure.ac:580: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:580: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
acx_pthread.m4:4: ACX_PTHREAD is expanded from...
configure.ac:580: the top level
configure.ac:756: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:756: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...
configure.ac:756: the top level
configure.ac:767: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:767: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:767: the top level
configure.ac:782: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:782: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:782: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: 'builds/make.new/config/config.sub' is created
autoreconf: 'builds/make.new/config/config.guess' is created
autoreconf: Leaving directory '.'

@kloczek
Copy link
Author

kloczek commented Nov 2, 2022

cmake as well is performing here necessary checks

+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S .
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file aio.h
-- Looking for include file aio.h - found
-- Looking for include file assert.h
-- Looking for include file assert.h - found
-- Looking for include file atomic.h
-- Looking for include file atomic.h - not found
-- Looking for include file atomic_ops.h
-- Looking for include file atomic_ops.h - not found
-- Looking for include file crypt.h
-- Looking for include file crypt.h - found
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file editline.h
-- Looking for include file editline.h - not found
-- Looking for include file errno.h
-- Looking for include file errno.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file float.h
-- Looking for include file float.h - found
-- Looking for include file grp.h
-- Looking for include file grp.h - found
-- Looking for include file iconv.h
-- Looking for include file iconv.h - found
-- Looking for include file io.h
-- Looking for include file io.h - not found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file libio.h
-- Looking for include file libio.h - not found
-- Looking for include file linux/falloc.h
-- Looking for include file linux/falloc.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file math.h
-- Looking for include file math.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file mntent.h
-- Looking for include file mntent.h - found
-- Looking for include file mnttab.h
-- Looking for include file mnttab.h - not found
-- Looking for include file ndir.h
-- Looking for include file ndir.h - not found
-- Looking for include file netconfig.h
-- Looking for include file netconfig.h - not found
-- Looking for include file netinet/in.h
-- Looking for include file netinet/in.h - found
-- Looking for include file poll.h
-- Looking for include file poll.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Looking for include file rpc/rpc.h
-- Looking for include file rpc/rpc.h - not found
-- Looking for include file rpc/xdr.h
-- Looking for include file rpc/xdr.h - not found
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - found
-- Looking for include file setjmp.h
-- Looking for include file setjmp.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file socket.h
-- Looking for include file socket.h - not found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/dir.h
-- Looking for include file sys/dir.h - found
-- Looking for include file sys/file.h
-- Looking for include file sys/file.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - found
-- Looking for include file sys/mntent.h
-- Looking for include file sys/mntent.h - not found
-- Looking for include file sys/mnttab.h
-- Looking for include file sys/mnttab.h - not found
-- Looking for include file sys/mount.h
-- Looking for include file sys/mount.h - found
-- Looking for include file sys/ndir.h
-- Looking for include file sys/ndir.h - not found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - found
-- Looking for include file sys/sem.h
-- Looking for include file sys/sem.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file sys/siginfo.h
-- Looking for include file sys/siginfo.h - not found
-- Looking for include file sys/signal.h
-- Looking for include file sys/signal.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file sys/sockio.h
-- Looking for include file sys/sockio.h - not found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/syscall.h
-- Looking for include file sys/syscall.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/timeb.h
-- Looking for include file sys/timeb.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/uio.h
-- Looking for include file sys/uio.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file termio.h
-- Looking for include file termio.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file varargs.h
-- Looking for include file varargs.h - not found
-- Looking for include file vfork.h
-- Looking for include file vfork.h - not found
-- Looking for include file winsock2.h
-- Looking for include file winsock2.h - not found
-- Looking for include file zlib.h
-- Looking for include file zlib.h - found
-- Looking for accept4
-- Looking for accept4 - found
-- Looking for AO_compare_and_swap_full
-- Looking for AO_compare_and_swap_full - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for ctime_r
-- Looking for ctime_r - found
-- Looking for dirname
-- Looking for dirname - found
-- Looking for fallocate
-- Looking for fallocate - found
-- Looking for fchmod
-- Looking for fchmod - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for flock
-- Looking for flock - found
-- Looking for fork
-- Looking for fork - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for getwd
-- Looking for getwd - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found       <<<<<<< ======= HERE
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for initgroups
-- Looking for initgroups - found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for poll
-- Looking for poll - found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Looking for pread
-- Looking for pread - found
-- Looking for pwrite
-- Looking for pwrite - found
-- Looking for pthread_cancel
-- Looking for pthread_cancel - found
-- Looking for pthread_keycreate
-- Looking for pthread_keycreate - not found
-- Looking for pthread_key_create
-- Looking for pthread_key_create - found
-- Looking for pthread_mutexattr_setprotocol
-- Looking for pthread_mutexattr_setprotocol - found
-- Looking for pthread_mutexattr_setrobust_np
-- Looking for pthread_mutexattr_setrobust_np - not found
-- Looking for pthread_mutex_consistent_np
-- Looking for pthread_mutex_consistent_np - not found
-- Looking for pthread_rwlockattr_setkind_np
-- Looking for pthread_rwlockattr_setkind_np - found
-- Looking for qsort_r
-- Looking for qsort_r - found
-- Looking for setitimer
-- Looking for setitimer - found
-- Looking for semtimedop
-- Looking for semtimedop - found
-- Looking for setpgid
-- Looking for setpgid - found
-- Looking for setpgrp
-- Looking for setpgrp - found
-- Looking for setmntent
-- Looking for setmntent - found
-- Looking for getmntent
-- Looking for getmntent - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for sigset
-- Looking for sigset - found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strnicmp
-- Looking for strnicmp - not found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for swab
-- Looking for swab - found
-- Looking for _swab
-- Looking for _swab - not found
-- Looking for tcgetattr
-- Looking for tcgetattr - found
-- Looking for time
-- Looking for time - found
-- Looking for times
-- Looking for times - found
-- Looking for vfork
-- Looking for vfork - found
-- Performing Test HAVE_FDATASYNC
-- Performing Test HAVE_FDATASYNC - Success
-- Looking for dladdr in dl
-- Looking for dladdr in dl - found
-- Looking for fegetenv in m
-- Looking for fegetenv in m - found
-- Looking for llrint in m
-- Looking for llrint in m - found
-- Looking for sem_init in pthread
-- Looking for sem_init in pthread - found
-- Looking for sem_timedwait in pthread
-- Looking for sem_timedwait in pthread - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of caddr_t
-- Check size of caddr_t - done
-- Performing Test HAVE_SEMUN
-- Performing Test HAVE_SEMUN - Failed
-- Check size of socklen_t
-- Check size of socklen_t - done
-- Check size of long
-- Check size of long - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of void *
-- Check size of void * - done
-- Check size of gid_t
-- Check size of gid_t - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of pid_t
-- Check size of pid_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of uid_t
-- Check size of uid_t - done
-- Looking for INFINITY
-- Looking for INFINITY - found
-- Looking for va_copy
-- Looking for va_copy - found
-- Looking for SOCK_CLOEXEC - socket.h
-- Looking for SOCK_CLOEXEC
-- Looking for SOCK_CLOEXEC - not found
-- Looking for SOCK_CLOEXEC - sys/socket.h
-- Looking for SOCK_CLOEXEC
-- Looking for SOCK_CLOEXEC - found
-- Check size of char[MAX_PATH]
-- Check size of char[MAX_PATH] - failed
-- Checking prototype gettimeofday for GETTIMEOFDAY_RETURNS_TIMEZONE
-- Checking prototype gettimeofday for GETTIMEOFDAY_RETURNS_TIMEZONE - False
-- Checking prototype getmntent for GETMNTENT_TAKES_TWO_ARGUMENTS
-- Checking prototype getmntent for GETMNTENT_TAKES_TWO_ARGUMENTS - False
-- Performing Test HAVE_STRUCT_DIRENT_D_TYPE
-- Performing Test HAVE_STRUCT_DIRENT_D_TYPE - Success
-- Performing Test GETPGRP_VOID
-- Performing Test GETPGRP_VOID - Success
-- Performing Test SETPGRP_VOID
-- Performing Test SETPGRP_VOID - Success
-- Performing Test HAVE___THREAD
-- Performing Test HAVE___THREAD - Success
-- Performing Test TIME_WITH_SYS_TIME
-- Performing Test TIME_WITH_SYS_TIME - Success
-- Performing Test WORKING_SEM_INIT
-- Performing Test WORKING_SEM_INIT - Success
-- Performing Test FB_ALIGNMENT
-- Performing Test FB_ALIGNMENT - Failed
-- Performing Test FB_ALIGNMENT - Success
-- Performing Test FB_DOUBLE_ALIGN
-- Performing Test FB_DOUBLE_ALIGN - Failed
-- Performing Test FB_DOUBLE_ALIGN - Success
-- Configuring done
CMake Warning (dev) at builds/cmake/BuildFunctions.cmake:236 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "makeHeader" of target "copy_files" does not exist.
Call Stack (most recent call first):
  builds/cmake/BuildFunctions.cmake:245 (add_dependencies_cc)
  src/CMakeLists.txt:942 (add_dependencies_unix_cc)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_Fortran_FLAGS_RELEASE
    INCLUDE_INSTALL_DIR
    LIB_INSTALL_DIR
    LIB_SUFFIX
    SHARE_INSTALL_PREFIX
    SYSCONF_INSTALL_DIR


-- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/firebird-4.0.2/x86_64-redhat-linux-gnu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants