* Package: sys-cluster/sanlock-3.8.0 * Repository: gentoo * Maintainer: mschiff@gentoo.org cluster@gentoo.org * USE: arm64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * * Could not be checked automatically: You need to have CONFIG_SOFT_WATCHDOG enabled in your kernel for wdmd * >>> Unpacking source... >>> Unpacking sanlock-3.8.0.tar.gz to /var/tmp/portage/sys-cluster/sanlock-3.8.0/work >>> Source unpacked in /var/tmp/portage/sys-cluster/sanlock-3.8.0/work >>> Preparing source in /var/tmp/portage/sys-cluster/sanlock-3.8.0/work/sanlock-3.8.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-cluster/sanlock-3.8.0/work/sanlock-3.8.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-cluster/sanlock-3.8.0/work/sanlock-3.8.0 ... make -j96 aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.0\" -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -pie -shared -o libwdmd.so.1.0 -Wl,-soname=libwdmd.so.1 client.c wdmd_sock.c ln -sf libwdmd.so.1.0 libwdmd.so ln -sf libwdmd.so.1.0 libwdmd.so.1 aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.0\" -fPIE -DPIE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -pie main.c wdmd_sock.c -lwdmd -lrt -o wdmd -L. make -j96 aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.0\" -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -pie -shared -o libsanlock.so.1.0 -Wl,-soname=libsanlock.so.1 client.c sanlock_sock.c crc32c.c diskio.c ondisk.c sizeflags.c delta_lease.c paxos_lease.c rindex.c direct.c task.c timeouts.c direct_lib.c monotime.c env.c -lpthread -lrt -laio -lblkid -L../wdmd -lwdmd aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.0\" -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -pie -shared -o libsanlock_client.so.1.0 -Wl,-soname=libsanlock_client.so.1 client.c sanlock_sock.c env.c sed -e "s/@VERSION@/3.8.0/" libsanlock.pc.in > libsanlock.pc sed -e "s/@VERSION@/3.8.0/" libsanlock_client.pc.in > libsanlock_client.pc In file included from /usr/include/string.h:495, from client.c:17: In function ‘strncpy’, inlined from ‘sanlock_get_hosts’ at client.c:284:2: In file included from /usr/include/string.h:495, from client.c:17: In function ‘strncpy’, inlined from ‘sanlock_get_hosts’ at client.c:284:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_set_config’ at client.c:369:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_set_config’ at client.c:369:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_reg_event’ at client.c:792:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_reg_event’ at client.c:792:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_end_event’ at client.c:870:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_end_event’ at client.c:870:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_set_event’ at client.c:917:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_set_event’ at client.c:917:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_str_to_lockspace’ at client.c:2272:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘sanlock_str_to_lockspace’ at client.c:2272:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ln -sf libsanlock_client.so.1.0 libsanlock_client.so ln -sf libsanlock_client.so.1.0 libsanlock_client.so.1 In file included from /usr/include/string.h:495, from paxos_lease.c:16: In function ‘strncat’, inlined from ‘_lease_read_one.constprop’ at paxos_lease.c:1410:4: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘run_ballot’ at paxos_lease.c:580:5, inlined from ‘paxos_lease_acquire’ at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘run_ballot’ at paxos_lease.c:793:5, inlined from ‘paxos_lease_acquire’ at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from direct.c:16: In function ‘strncpy’, inlined from ‘direct_dump’ at direct.c:591:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘direct_next_free’ at direct.c:810:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ln -sf libsanlock.so.1.0 libsanlock.so ln -sf libsanlock.so.1.0 libsanlock.so.1 aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.0\" -fPIE -DPIE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -pie crc32c.c delta_lease.c direct.c diskio.c ondisk.c sizeflags.c helper.c lockspace.c lockfile.c log.c main.c paxos_lease.c task.c timeouts.c resource.c rindex.c watchdog.c monotime.c cmd.c client_cmd.c sanlock_sock.c env.c -lpthread -luuid -lrt -laio -lblkid -lsanlock -L../wdmd -lwdmd -o sanlock -L. In file included from /usr/include/string.h:495, from direct.c:16: In function ‘strncpy’, inlined from ‘direct_dump’ at direct.c:591:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘direct_next_free’ at direct.c:810:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from main.c:16: In function ‘strncpy’, inlined from ‘read_config_file’ at main.c:2640:4: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘setup_host_name.part.0’: main.c:1426:51: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size between 11 and 47 [-Wformat-truncation=] 1426 | snprintf(our_host_name_global, NAME_ID_SIZE, "%s.%s", | ^~ 1427 | uuid, name.nodename); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from main.c:11: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 102 bytes into a destination of size 48 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from main.c:16: In function ‘strncpy’, inlined from ‘read_file_leader’ at main.c:3288:4, inlined from ‘do_direct_write_leader’ at main.c:3401:7, inlined from ‘do_direct’ at main.c:3512:8: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘read_file_leader’ at main.c:3285:4, inlined from ‘do_direct_write_leader’ at main.c:3401:7, inlined from ‘do_direct’ at main.c:3512:8: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘parse_arg_rindex’ at main.c:1833:3, inlined from ‘read_command_line’ at main.c:2421:4, inlined from ‘main’ at main.c:3701:7: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] In function ‘strncpy’, inlined from ‘parse_arg_rentry’ at main.c:1792:3, inlined from ‘read_command_line’ at main.c:2374:5, inlined from ‘main’ at main.c:3701:7: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 48 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from paxos_lease.c:16: In function ‘strncat’, inlined from ‘_lease_read_one.constprop’ at paxos_lease.c:1410:4: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘run_ballot’ at paxos_lease.c:580:5, inlined from ‘paxos_lease_acquire’ at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘run_ballot’ at paxos_lease.c:793:5, inlined from ‘paxos_lease_acquire’ at paxos_lease.c:2095:10: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from cmd.c:16: In function ‘strncpy’, inlined from ‘send_state_client’ at cmd.c:2489:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘send_state_daemon’ at cmd.c:2466:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 48 bytes from a string of length 48 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make -j96 aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -g -Wall -Wformat -Wformat-security -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -O2 -Wp,-D_FORTIFY_SOURCE=2 -DVERSION=\"3.8.0\" -I../src -I../wdmd -fPIE -DPIE -Wl,-z,now -Wl,-z,relro -pie fence_sanlockd.c -lrt -laio -lblkid -lsanlock -lwdmd -o fence_sanlockd -L. -L../src -L../wdmd cat fence_sanlock.in | sed \ -e 's#@VERSION@#3.8.0#g' \ > fence_sanlock chmod 755 fence_sanlock fence_sanlockd.c: In function ‘main’: fence_sanlockd.c:660:22: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=] 660 | sprintf(disk.path, "%s", lease_path); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from fence_sanlockd.c:9: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 1 and 4096 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fence_sanlockd.c:669:33: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=] 669 | sprintf(ls.host_id_disk.path, "%s", lease_path); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from fence_sanlockd.c:9: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 1 and 4096 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fence_sanlockd.c:700:29: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 1024 [-Wformat-overflow=] 700 | sprintf(r->disks[0].path, "%s", lease_path); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from fence_sanlockd.c:9: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 1 and 4096 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fence_sanlockd.c:372:38: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 372 | snprintf(fifo_line, PATH_MAX-1, "-p %s -i %d", lease_path, our_host_id); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from fence_sanlockd.c:9: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 4114 bytes into a destination of size 4095 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from fence_sanlockd.c:16: In function ‘strncpy’, inlined from ‘wait_options’ at fence_sanlockd.c:334:2, inlined from ‘main’ at fence_sanlockd.c:618:8: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make -j96 aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.0\" -I../src -I../wdmd -fPIE -DPIE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -pie sanlk_resetd.c -lsanlock -lwdmd -o sanlk-resetd -L. -L../src -L../wdmd aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wno-strict-overflow -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -Wl,-z,now -DVERSION=\"3.8.0\" -I../src -I../wdmd -fPIE -DPIE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,relro -pie sanlk_reset.c -lsanlock -lwdmd -o sanlk-reset -L. -L../src -L../wdmd >>> Source compiled. >>> Test phase: sys-cluster/sanlock-3.8.0 >>> Completed testing sys-cluster/sanlock-3.8.0 >>> Install sys-cluster/sanlock-3.8.0 into /var/tmp/portage/sys-cluster/sanlock-3.8.0/image/ make -j96 DESTDIR=/var/tmp/portage/sys-cluster/sanlock-3.8.0/image/ LIBDIR=/usr/lib64 install /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/sbin /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/include /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 755 wdmd /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/sbin /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 755 libwdmd.so.1.0 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 cp -a libwdmd.so /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 cp -a libwdmd.so.1 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 wdmd.h /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/include /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -m 644 wdmd.8 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8 make -j96 DESTDIR=/var/tmp/portage/sys-cluster/sanlock-3.8.0/image/ LIBDIR=/usr/lib64 install /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/sbin /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/include /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64/pkgconfig /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 755 sanlock /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/sbin /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 755 libsanlock.so.1.0 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 755 libsanlock_client.so.1.0 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 libsanlock.pc /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64/pkgconfig /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 libsanlock_client.pc /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64/pkgconfig cp -a libsanlock.so /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 cp -a libsanlock_client.so /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 cp -a libsanlock.so.1 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 cp -a libsanlock_client.so.1 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/lib64 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 sanlock.h sanlock_rv.h sanlock_resource.h sanlock_admin.h sanlock_direct.h /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/include /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -m 644 sanlock.8 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8/ make -j96 DESTDIR=/var/tmp/portage/sys-cluster/sanlock-3.8.0/image/ LIBDIR=/usr/lib64 install /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/sbin /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8 /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 755 fence_sanlockd fence_sanlock /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/sbin /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -m 644 fence_sanlock.8 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8/ /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -m 644 fence_sanlockd.8 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8/ make -j96 DESTDIR=/var/tmp/portage/sys-cluster/sanlock-3.8.0/image/ LIBDIR=/usr/lib64 install /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -d /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/sbin /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 755 sanlk-resetd sanlk-reset /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/sbin /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -m 644 sanlk-reset.8 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8/ /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -m 644 sanlk-resetd.8 /var/tmp/portage/sys-cluster/sanlock-3.8.0/image///usr/share/man/man8/ >>> Completed installing sys-cluster/sanlock-3.8.0 into /var/tmp/portage/sys-cluster/sanlock-3.8.0/image/ * Final size of build directory: 3828 KiB (3.7 MiB) * Final size of installed tree: 2556 KiB (2.4 MiB) * QA Notice: Files built without respecting LDFLAGS have been detected * Please include the following list of files in your report: * /usr/sbin/fence_sanlockd strip: aarch64-unknown-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/lib64/libwdmd.so.1.0 /usr/sbin/wdmd /usr/sbin/sanlk-reset /usr/lib64/libsanlock.so.1.0 /usr/sbin/sanlk-resetd /usr/sbin/fence_sanlockd /usr/sbin/sanlock /usr/lib64/libsanlock_client.so.1.0 >>> Done. * Adding group 'sanlock' to your system ... * - Groupid: next available * Adding user 'sanlock' to your system ... * - Userid: 986 * - Shell: /sbin/nologin * - Home: /dev/null * - Groups: sanlock,disk * - GECOS: added by portage for sanlock emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/arm64/17.0, gcc-10.1.0, glibc-2.31-r2, 4.9.0-4-arm64 aarch64) ================================================================= System uname: Linux-4.9.0-4-arm64-aarch64-with-gentoo-2.7 KiB Mem: 131544964 total, 111131872 free KiB Swap: 3321056 total, 3321056 free Timestamp of repository gentoo: Fri, 08 May 2020 06:35:42 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="*" CBUILD="aarch64-unknown-linux-gnu" CC="aarch64-unknown-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="aarch64-unknown-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j96" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl arm64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS