-
Notifications
You must be signed in to change notification settings - Fork 44
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
5.3.128: openpgm does not build #69
Comments
In case of cmake it is even more issues: [tkloczko@barrel x86_64-redhat-linux-gnu]$ make -k -j 48
/usr/bin/cmake -S/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm -B/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu/CMakeFiles /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make -f CMakeFiles/mkversion.dir/build.make CMakeFiles/mkversion.dir/depend
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu/CMakeFiles/mkversion.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make -f CMakeFiles/mkversion.dir/build.make CMakeFiles/mkversion.dir/build
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make[2]: Nothing to be done for 'CMakeFiles/mkversion.dir/build'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
[ 2%] Built target mkversion
make -f CMakeFiles/libpgm.dir/build.make CMakeFiles/libpgm.dir/depend
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu/CMakeFiles/libpgm.dir/DependInfo.cmake --color=
Consolidate compiler generated dependencies of target libpgm
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make -f CMakeFiles/libpgm.dir/build.make CMakeFiles/libpgm.dir/build
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
[ 4%] Building C object CMakeFiles/libpgm.dir/time.c.o
[ 5%] Building C object CMakeFiles/libpgm.dir/getifaddrs.c.o
[ 7%] Building C object CMakeFiles/libpgm.dir/recv.c.o
/usr/bin/gcc -DGETTEXT_PACKAGE="'\"pgm\"'" -DHAVE_DSO_VISIBILITY -DHAVE_FTIME -DHAVE_ISO_VARARGS -DHAVE_RDTSC -DHAVE_WSACMSGHDR -DUSE_BIND_INADDR_ANY -DUSE_DUMB_RWSPINLOCK -DUSE_GALOIS_MUL_LUT -DUSE_TICKET_SPINLOCK -DWIN32 -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -I/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include -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 -flto=auto -flto-partition=none -DNDEBUG -MD -MT CMakeFiles/libpgm.dir/time.c.o -MF CMakeFiles/libpgm.dir/time.c.o.d -o CMakeFiles/libpgm.dir/time.c.o -c /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c
/usr/bin/gcc -DGETTEXT_PACKAGE="'\"pgm\"'" -DHAVE_DSO_VISIBILITY -DHAVE_FTIME -DHAVE_ISO_VARARGS -DHAVE_RDTSC -DHAVE_WSACMSGHDR -DUSE_BIND_INADDR_ANY -DUSE_DUMB_RWSPINLOCK -DUSE_GALOIS_MUL_LUT -DUSE_TICKET_SPINLOCK -DWIN32 -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -I/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include -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 -flto=auto -flto-partition=none -DNDEBUG -MD -MT CMakeFiles/libpgm.dir/getifaddrs.c.o -MF CMakeFiles/libpgm.dir/getifaddrs.c.o.d -o CMakeFiles/libpgm.dir/getifaddrs.c.o -c /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/getifaddrs.c
/usr/bin/gcc -DGETTEXT_PACKAGE="'\"pgm\"'" -DHAVE_DSO_VISIBILITY -DHAVE_FTIME -DHAVE_ISO_VARARGS -DHAVE_RDTSC -DHAVE_WSACMSGHDR -DUSE_BIND_INADDR_ANY -DUSE_DUMB_RWSPINLOCK -DUSE_GALOIS_MUL_LUT -DUSE_TICKET_SPINLOCK -DWIN32 -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -I/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include -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 -flto=auto -flto-partition=none -DNDEBUG -MD -MT CMakeFiles/libpgm.dir/recv.c.o -MF CMakeFiles/libpgm.dir/recv.c.o.d -o CMakeFiles/libpgm.dir/recv.c.o -c /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:40:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_ftime_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:57:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
57 | return ftime (timeptr);
| ^~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:43,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:40:
/usr/include/sys/timeb.h:29:12: note: declared here
29 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:40:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_strncpy_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:92:16: warning: implicit declaration of function ‘strncpy_s’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
92 | return strncpy_s (dest, size, src, count);
| ^~~~~~~~~
| strncpy
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_strerror_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:167:18: warning: implicit declaration of function ‘strerror_s’; did you mean ‘strerror_l’? [-Wimplicit-function-declaration]
167 | if (0 != strerror_s (buffer, size, errnum))
| ^~~~~~~~~~
| strerror_l
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:158:41: warning: implicit declaration of function ‘_snprintf_s’; did you mean ‘vsnprintf’? [-Wimplicit-function-declaration]
158 | # define pgm_snprintf_s _snprintf_s
| ^~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:168:17: note: in expansion of macro ‘pgm_snprintf_s’
168 | pgm_snprintf_s (buffer, size, _TRUNCATE, _("Unknown error #%d"), errnum);
| ^~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_fopen_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:196:16: warning: implicit declaration of function ‘fopen_s’; did you mean ‘fopen6 ’? [-Wimplicit-function-declaration]
196 | return fopen_s (pFile, filename, mode);
| ^~~~~~~
| fopen64
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_dupenv_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:225:29: warning: implicit declaration of function ‘_dupenv_s’; did you mean ‘pgm_dupenv_s’? [-Wimplicit-function-declaration]
225 | const errno_t err = _dupenv_s (&pValue, count, name);
| ^~~~~~~~~
| pgm_dupenv_s
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:35:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_ftime_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:57:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
57 | return ftime (timeptr);
| ^~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:43,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:35:
/usr/include/sys/timeb.h:29:12: note: declared here
29 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:35:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_strncpy_s’:
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/getifaddrs.c:53:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_ftime_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:92:16: warning: implicit declaration of function ‘strncpy_s’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
92 | return strncpy_s (dest, size, src, count);
| ^~~~~~~~~
| strncpy
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:57:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
57 | return ftime (timeptr);
| ^~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:43,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/getifaddrs.c:53:
/usr/include/sys/timeb.h:29:12: note: declared here
29 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_strerror_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:167:18: warning: implicit declaration of function ‘strerror_s’; did you mean ‘strerror_l’? [-Wimplicit-function-declaration]
167 | if (0 != strerror_s (buffer, size, errnum))
| ^~~~~~~~~~
| strerror_l
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/getifaddrs.c:53:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_strncpy_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:92:16: warning: implicit declaration of function ‘strncpy_s’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
92 | return strncpy_s (dest, size, src, count);
| ^~~~~~~~~
| strncpy
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_strerror_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:167:18: warning: implicit declaration of function ‘strerror_s’; did you mean ‘strerror_l’? [-Wimplicit-function-declaration]
167 | if (0 != strerror_s (buffer, size, errnum))
| ^~~~~~~~~~
| strerror_l
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:158:41: warning: implicit declaration of function ‘_snprintf_s’; did you mean ‘vsnprintf’? [-Wimplicit-function-declaration]
158 | # define pgm_snprintf_s _snprintf_s
| ^~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:168:17: note: in expansion of macro ‘pgm_snprintf_s’
168 | pgm_snprintf_s (buffer, size, _TRUNCATE, _("Unknown error #%d"), errnum);
| ^~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_fopen_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:196:16: warning: implicit declaration of function ‘fopen_s’; did you mean ‘fopen’? [-Wimplicit-function-declaration]
196 | return fopen_s (pFile, filename, mode);
| ^~~~~~~
| fopen
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:158:41: warning: implicit declaration of function ‘_snprintf_s’; did you mean ‘vsnprintf’? [-Wimplicit-function-declaration]
158 | # define pgm_snprintf_s _snprintf_s
| ^~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:168:17: note: in expansion of macro ‘pgm_snprintf_s’
168 | pgm_snprintf_s (buffer, size, _TRUNCATE, _("Unknown error #%d"), errnum);
| ^~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_fopen_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:196:16: warning: implicit declaration of function ‘fopen_s’; did you mean ‘fopen’? [-Wimplicit-function-declaration]
196 | return fopen_s (pFile, filename, mode);
| ^~~~~~~
| fopen
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_dupenv_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:225:29: warning: implicit declaration of function ‘_dupenv_s’; did you mean ‘pgm_dupenv_s’? [-Wimplicit-function-declaration]
225 | const errno_t err = _dupenv_s (&pValue, count, name);
| ^~~~~~~~~
| pgm_dupenv_s
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_dupenv_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:225:29: warning: implicit declaration of function ‘_dupenv_s’; did you mean ‘pgm_dupenv_s’? [-Wimplicit-function-declaration]
225 | const errno_t err = _dupenv_s (&pValue, count, name);
| ^~~~~~~~~
| pgm_dupenv_s
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c: In function ‘recvskb’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:166:27: warning: assignment to ‘struct _WSACMSGHDR *’ from incompatible pointer type ‘struct cmsghdr *’ [-Wincompatible-pointer-types]
166 | for (cmsg = PGM_CMSG_FIRSTHDR(&msg);
| ^
In file included from /usr/include/sys/socket.h:33,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:33:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:168:51: warning: passing argument 2 of ‘__cmsg_nxthdr’ from incompatible pointer type [-Wincompatible-pointer-types]
168 | cmsg = PGM_CMSG_NXTHDR(&msg, cmsg))
| ^~~~
| |
| struct _WSACMSGHDR *
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:168:29: note: in expansion of macro ‘PGM_CMSG_NXTHDR’
168 | cmsg = PGM_CMSG_NXTHDR(&msg, cmsg))
| ^~~~~~~~~~~~~~~
In file included from /usr/include/features.h:484,
from /usr/include/errno.h:25,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:30:
/usr/include/bits/socket.h:312:1: note: expected ‘struct cmsghdr *’ but argument is of type ‘struct _WSACMSGHDR *’
312 | __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg))
| ^~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:168:27: warning: assignment to ‘struct _WSACMSGHDR *’ from incompatible pointer type ‘struct cmsghdr *’ [-Wincompatible-pointer-types]
168 | cmsg = PGM_CMSG_NXTHDR(&msg, cmsg))
| ^
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:174:47: error: invalid use of undefined type ‘struct _WSACMSGHDR’
174 | if (IPPROTO_IP == cmsg->cmsg_level &&
| ^~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:175:47: error: invalid use of undefined type ‘struct _WSACMSGHDR’
175 | IP_PKTINFO == cmsg->cmsg_type)
| ^~
In file included from /usr/include/sys/socket.h:33,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:33:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:56:49: error: invalid use of undefined type ‘struct _WSACMSGHDR’
56 | # define PGM_CMSG_DATA(cmsg) CMSG_DATA(cmsg)
| ^~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:177:67: note: in expansion of macro ‘PGM_CMSG_DATA’
177 | const void* pktinfo = PGM_CMSG_DATA(cmsg);
| ^~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:215:49: error: invalid use of undefined type ‘struct _WSACMSGHDR’
215 | if (IPPROTO_IPV6 == cmsg->cmsg_level &&
| ^~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:216:49: error: invalid use of undefined type ‘struct _WSACMSGHDR’
216 | IPV6_PKTINFO == cmsg->cmsg_type)
| ^~
In file included from /usr/include/sys/socket.h:33,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:33:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:56:49: error: invalid use of undefined type ‘struct _WSACMSGHDR’
56 | # define PGM_CMSG_DATA(cmsg) CMSG_DATA(cmsg)
| ^~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:218:67: note: in expansion of macro ‘PGM_CMSG_DATA’
218 | const void* pktinfo = PGM_CMSG_DATA(cmsg);
| ^~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/getifaddrs.c: In function ‘pgm_getifaddrs’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/getifaddrs.c:1074:9: error: #error "Unsupported interface enumeration on this platform."
1074 | # error "Unsupported interface enumeration on this platform."
| ^~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/getifaddrs.c:1076:1: warning: control reaches end of non-void function [-Wreturn-type]
1076 | }
| ^
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/skbuff.h:39,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/msgv.h:33,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:37,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/getifaddrs.c:53:
At top level:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/socket.h:207:1: warning: ‘pgm_family_string’ defined but not used [-Wunused-function]
207 | pgm_family_string (
| ^~~~~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c: In function ‘pgm_tsc_init’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:874:39: error: ‘pgm_gettimeofday_update’ undeclared (first use in this function); did you mean ‘pgm_ftime_update’?
874 | pgm_time_update_now = pgm_gettimeofday_update;
| ^~~~~~~~~~~~~~~~~~~~~~~
| pgm_ftime_update
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:874:39: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [CMakeFiles/libpgm.dir/build.make:321: CMakeFiles/libpgm.dir/getifaddrs.c.o] Error 1
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/skbuff.h:39,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/msgv.h:33,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:37,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:35:
At top level:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/socket.h:207:1: warning: ‘pgm_family_string’ defined but not used [-Wunused-function]
207 | pgm_family_string (
| ^~~~~~~~~~~~~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/skbuff.h:39,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/msgv.h:33,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:37,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/recv.c:40:
At top level:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/socket.h:207:1: warning: ‘pgm_family_string’ defined but not used [-Wunused-function]
207 | pgm_family_string (
| ^~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/libpgm.dir/build.make:279: CMakeFiles/libpgm.dir/time.c.o] Error 1
make[2]: *** [CMakeFiles/libpgm.dir/build.make:587: CMakeFiles/libpgm.dir/recv.c.o] Error 1
make[2]: Target 'CMakeFiles/libpgm.dir/build' not remade because of errors.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make[1]: *** [CMakeFiles/Makefile2:122: CMakeFiles/libpgm.dir/all] Error 2
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu' |
Missing obvious question, what platform? RHEL only tested through 7, and Fedora 29. |
FYI: Fedora 29 is already EOSed. Latest RHEL is 9. |
The cmake file looks to be windows only? The only problem which I can see is the incorrect filename for the pc.in file. It should be named |
Hello! Can you post a new release with a fix (already in master)? |
Platform? |
This issue has been fixed by 240634b, first commit in master after the release tag. If applied as a patch (or, if your setup works using git, fetched directly), it should solve the problem building with autotools. |
Tested with that commit and build still fails [tkloczko@devel-g2v x86_64-redhat-linux-gnu]$ make
/usr/bin/cmake -S/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm -B/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu/CMakeFiles /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make -f CMakeFiles/mkversion.dir/build.make CMakeFiles/mkversion.dir/depend
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu/CMakeFiles/mkversion.dir/DependInfo.cmake --color=
Consolidate compiler generated dependencies of target mkversion
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make -f CMakeFiles/mkversion.dir/build.make CMakeFiles/mkversion.dir/build
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make[2]: Nothing to be done for 'CMakeFiles/mkversion.dir/build'.
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
[ 2%] Built target mkversion
make -f CMakeFiles/libpgm.dir/build.make CMakeFiles/libpgm.dir/depend
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
cd /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu/CMakeFiles/libpgm.dir/DependInfo.cmake --color=
Consolidate compiler generated dependencies of target libpgm
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
make -f CMakeFiles/libpgm.dir/build.make CMakeFiles/libpgm.dir/build
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/x86_64-redhat-linux-gnu'
[ 4%] Building C object CMakeFiles/libpgm.dir/time.c.o
/usr/bin/gcc -DGETTEXT_PACKAGE="'\"pgm\"'" -DHAVE_DSO_VISIBILITY -DHAVE_FTIME -DHAVE_ISO_VARARGS -DHAVE_RDTSC -DHAVE_WSACMSGHDR -DUSE_BIND_INADDR_ANY -DUSE_DUMB_RWSPINLOCK -DUSE_GALOIS_MUL_LUT -DUSE_TICKET_SPINLOCK -DWIN32 -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS -I/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include -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 -flto=auto -flto-partition=none -DNDEBUG -MD -MT CMakeFiles/libpgm.dir/time.c.o -MF CMakeFiles/libpgm.dir/time.c.o.d -o CMakeFiles/libpgm.dir/time.c.o -c /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/sockaddr.h:42,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/notify.h:46,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:68,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:35:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_ftime_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:57:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
57 | return ftime (timeptr);
| ^~~~~~
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:43:
/usr/include/sys/timeb.h:29:12: note: declared here
29 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_strncpy_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:92:16: warning: implicit declaration of function ‘strncpy_s’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
92 | return strncpy_s (dest, size, src, count);
| ^~~~~~~~~
| strncpy
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_strerror_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:167:18: warning: implicit declaration of function ‘strerror_s’; did you mean ‘strerror_l’? [-Wimplicit-function-declaration]
167 | if (0 != strerror_s (buffer, size, errnum))
| ^~~~~~~~~~
| strerror_l
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:158:41: warning: implicit declaration of function ‘_snprintf_s’; did you mean ‘vsnprintf’? [-Wimplicit-function-declaration]
158 | # define pgm_snprintf_s _snprintf_s
| ^~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:168:17: note: in expansion of macro ‘pgm_snprintf_s’
168 | pgm_snprintf_s (buffer, size, _TRUNCATE, _("Unknown error #%d"), errnum);
| ^~~~~~~~~~~~~~
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_fopen_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:196:16: warning: implicit declaration of function ‘fopen_s’; did you mean ‘fopen’? [-Wimplicit-function-declaration]
196 | return fopen_s (pFile, filename, mode);
| ^~~~~~~
| fopen
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h: In function ‘pgm_dupenv_s’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/security.h:225:29: warning: implicit declaration of function ‘_dupenv_s’; did you mean ‘pgm_dupenv_s’? [-Wimplicit-function-declaration]
225 | const errno_t err = _dupenv_s (&pValue, count, name);
| ^~~~~~~~~
| pgm_dupenv_s
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c: In function ‘pgm_tsc_init’:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:874:39: error: ‘pgm_gettimeofday_update’ undeclared (first use in this function); did you mean ‘pgm_ftime_update’?
874 | pgm_time_update_now = pgm_gettimeofday_update;
| ^~~~~~~~~~~~~~~~~~~~~~~
| pgm_ftime_update
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/time.c:874:39: note: each undeclared identifier is reported only once for each function it appears in
In file included from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/skbuff.h:39,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/msgv.h:33,
from /home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/impl/framework.h:37:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/socket.h: At top level:
/home/tkloczko/rpmbuild/BUILD/openpgm-release-5-3-128/openpgm/pgm/include/pgm/socket.h:207:1: warning: ‘pgm_family_string’ defined but not used [-Wunused-function]
207 | pgm_family_string (
| ^~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/libpgm.dir/build.make:279: CMakeFiles/libpgm.dir/time.c.o] Error 1 |
That is quite probable: |
This issue has nothing to do with openpgm pkgconfig file. |
Sure. It is easily reproducible by the following sequence of commands: git clone https://github.com/steve-o/openpgm.git
cd openpgm/openpgm/pgm
git checkout release-5-3-128
autoreconf -fiv
./configure The last command fails with end of output looking like in your first comment:
Now, when you do the same after
So, the failure described in your first comment is not reproducible with the abovementioned commit. Have I missed something about your description of the bug? |
Yes, I'm not usimg GNU autotools but cmake. |
Hasn't this been answered already? The cmake build scripts are for windows only. |
CMake has no platform discovery features and is the bare minimum to run with MSVC. Plus the last update was 4 years ago, so modern things may break stuff. |
If it is only for Win cmake should fail informing about that. |
Using both GNU autotools and cmake is not possible to build openpgm
GNU autotools:
and in directory indeed there is no openpgm-5.3.pc.in but it is openpgm-5.2.pc.in
cmake:
The text was updated successfully, but these errors were encountered: