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

v4.8.3 does not compile with testing enabled #708

Closed
amadio opened this issue May 18, 2018 · 1 comment
Closed

v4.8.3 does not compile with testing enabled #708

amadio opened this issue May 18, 2018 · 1 comment

Comments

@amadio
Copy link
Member

amadio commented May 18, 2018

When I try to compile xrootd-4.8.3 with tesing enabled, I hit the error below:

[  3%] Building CXX object src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysPriv.cc.o
cd /var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3_build/src && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -DHAVE_ATOMICS -DHAVE_CRYPT -DHAVE_ET_COM_ERR_H -DHAVE_FSTATAT -DHAVE_FUSE -DHAVE_GETHBYXR -DHAVE_GETIFADDRS -DHAVE_LIBZ -DHAVE_NAMEINFO -DHAVE_PROTOR -DHAVE_READLINE -DHAVE_SENDFILE -DHAVE_SETRESUID -DHAVE_SHADOWPW -DHAVE_SIGWTI -DHAVE_SSL -DHAVE_SYSTEMD -DHAVE_TLS1 -DHAVE_TLS11 -DHAVE_TLS12 -DHAVE_XML2 -DHAVE_XRDCRYPTO -DUSE_LIBC_SEMAPHORE=0 -DXRDPLUGIN_SOVERSION=\"4\" -DXrdUtils_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__linux__=1 -I/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3/src/.. -I/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3/src/. -I/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3/src -I/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3_build/src -I/usr/local/include   -DNDEBUG -march=native -O3 -pipe -std=c++0x -std=c++0x -Wall -Wextra -Werror -Wno-unused-parameter -fno-omit-frame-pointer -Wno-error=misleading-indentation -fPIC   -o CMakeFiles/XrdUtils.dir/XrdSys/XrdSysPriv.cc.o -c /var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3/src/XrdSys/XrdSysPriv.cc
/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3/tests/XrdSsiTests/XrdShMap.cc: In function ‘int DoA32(const char*)’:
/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3/tests/XrdSsiTests/XrdShMap.cc:418:34: error: expected initializer before ‘OF’
    ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
                                  ^~
/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3/tests/XrdSsiTests/XrdShMap.cc: In function ‘int DoC32(const char*)’:
/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3/tests/XrdSsiTests/XrdShMap.cc:441:32: error: expected initializer before ‘OF’
    ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
                                ^~
make[2]: *** [tests/XrdSsiTests/CMakeFiles/xrdshmap.dir/build.make:63: tests/XrdSsiTests/CMakeFiles/xrdshmap.dir/XrdShMap.cc.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-libs/xrootd-4.8.3/work/xrootd-4.8.3_build'
make[1]: *** [CMakeFiles/Makefile2:3052: tests/XrdSsiTests/CMakeFiles/xrdshmap.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I am compiling with these versions of packages:

app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29::gentoo, 2.29.1-r1::gentoo, 2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r2::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
sys-libs/zlib:            1.2.11::gentoo

Please let me know if you need any more information.

@abh3
Copy link
Member

abh3 commented Jun 21, 2018

This is a gentoo issue and has been resolved.

@abh3 abh3 closed this as completed Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants