cc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../libmisc -DLOCALEDIR=\"/usr/share/locale\" -pipe -frecord-gcc-switches -Wall -g -O2 -Werror -Wno-error=address -Wno-error=cpp -DEXTRA_CHECK_HOME_DIR -c -o logoutd.o logoutd.c logoutd.c: In function 'main': logoutd.c:248:25: error: 'strcat' argument 2 declared attribute 'nonstring' [-Werror=stringop-overread] 248 | strcat (tty_name, ut->ut_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmp.h:29, from ../lib/prototypes.h:52, from logoutd.c:42: /usr/include/bits/utmp.h:62:8: note: argument 'ut_line' declared here 62 | char ut_line[UT_LINESIZE] | ^~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:943: logoutd.o] Error 1
Created attachment 12915 [details] патч для исправления ошибки
В Сизифе на днях будет новый shadow, там уже исправлено.
shadow-1:4.13-alt3 -> sisyphus: Tue Apr 25 2023 Mikhail Efremov <sem@altlinux> 1:4.13-alt3 - Keep old login.defs when UID_MIN/GID_MIN changed. - Increase default UID_MIN/GID_MIN to 1000. - remove_tree: Allow a symlink as root if it shouldn't be removed. Tue Apr 11 2023 Mikhail Efremov <sem@altlinux> 1:4.13-alt2 - Added libsubid subpackage. - Dropped disabled libshadow* subpackages. Mon Apr 10 2023 Mikhail Efremov <sem@altlinux> 1:4.13-alt1 - Fixed build without TCB. - spec: simplified the bootstrap sequence (by Alexey Sheplyakov). - Fixed build without PAM. - fixed build without TCB and/or PAM (by Alexey Sheplyakov). - useradd: Fixed Russian translation. - Use /bin/run-parts if able. - utils: Packaged user{add,del}-{pre,post}.d directories. - useradd: Set default group to 100 (users). - login.defs: Added HOME_MODE variable. - login.defs: Added HMAC_CRYPTO_ALGO variable. - login.defs: Added GRANT_AUX_GROUP_SUBIDS variable. - login.defs: Added NONEXISTENT variable. - Explicitly enabled btrfs support. - Use 'set_verify_elf_method strict'. - Enabled LFS on 32-bit systems. - lib/commonio: Fixed fprintf() format. - tcb: Added remove_tcbdir() function. - shadow: Don't use relaxed usernames. - newusers,pwck,useradd,usermod: Removed --badname option. - Ensured that prefix is not '/'. - userdel: Fixed mailbox removing. - Added prefix support for TCB. - Don't install libsubid static library. - usermod: Don't call gr_free() with const variable. - useradd: Fixed "discards 'const' qualifiers" warning. - Updated 'alt-progname' patch. - tcbfuncs.c: Fixed and updated selinux support. - Updated 'copy_dir perms' patch. - src/Makefile.am: Fixed noinst_PROGRAMS. - Fixed license. - Updated url. - Updated to 4.13 (closes: #45794).