<86>Apr 20 06:36:50 userdel[4027397]: delete user 'rooter' <86>Apr 20 06:36:50 userdel[4027397]: removed group 'rooter' owned by 'rooter' <86>Apr 20 06:36:50 userdel[4027397]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 20 06:36:50 groupadd[4027505]: group added to /etc/group: name=rooter, GID=1859 <86>Apr 20 06:36:50 groupadd[4027505]: group added to /etc/gshadow: name=rooter <86>Apr 20 06:36:50 groupadd[4027505]: new group: name=rooter, GID=1859 <86>Apr 20 06:36:50 useradd[4027576]: new user: name=rooter, UID=1859, GID=1859, home=/root, shell=/bin/bash, from=none <86>Apr 20 06:36:50 userdel[4027647]: delete user 'builder' <86>Apr 20 06:36:50 userdel[4027647]: removed group 'builder' owned by 'builder' <86>Apr 20 06:36:50 userdel[4027647]: removed shadow group 'builder' owned by 'builder' <86>Apr 20 06:36:50 groupadd[4027697]: group added to /etc/group: name=builder, GID=1860 <86>Apr 20 06:36:50 groupadd[4027697]: group added to /etc/gshadow: name=builder <86>Apr 20 06:36:50 groupadd[4027697]: new group: name=builder, GID=1860 <86>Apr 20 06:36:50 useradd[4027731]: new user: name=builder, UID=1860, GID=1860, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/libtorgdev-3.5-alt2.qa1.src.rpm: The use of such a license name is ambiguous: GPL <13>Apr 20 06:36:53 rpmi: libconfig-1.5-alt3 sisyphus+286668.100.1.1 1633707356 installed <13>Apr 20 06:36:53 rpmi: libconfig-devel-1.5-alt3 sisyphus+286668.100.1.1 1633707356 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libtorgdev-3.5-alt2.qa1.nosrc.rpm (w1.gzdio) Installing libtorgdev-3.5-alt2.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.72740 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf torgdev + echo 'Source #0 (torgdev-3.5.tar.bz2):' Source #0 (torgdev-3.5.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/torgdev-3.5.tar.bz2 + /bin/tar -xf - + cd torgdev + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libtorgdev-3.5.patch):' Patch #0 (libtorgdev-3.5.patch): + /usr/bin/patch -p0 patching file mdmlock.c patching file Makefile patching file show_error.c patching file Makefile patching file Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.72740 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd torgdev + export LANG=ru_UA.KOI8-U + LANG=ru_UA.KOI8-U + make -j16 make: Entering directory '/usr/src/RPM/BUILD/torgdev' ln -s libtorgdev.so.3.5 libtorgdev.so make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' ln -s libtorgdev.so.3.5 libtorgdev.so.3 make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' if [ "ua" \!= "ru" ]; then \ gencat torgdev.mo torgdev.ua.msg ; \ fi make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o show_error.o show_error.c make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o mdmlock.o mdmlock.c mdmlock.c: In function 'mdm_lock': mdmlock.c:94:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | read(fd, buffer1, BUFSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mdmlock.c:111:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | write(fd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mdmlock.c: In function 'mdm_relock': mdmlock.c:146:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | write(fd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o scan.o scan.c make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o card.o card.c card.c: In function 'card_read': card.c:84:17: warning: pointer targets in assignment from 'uchar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 84 | pbuf = &buf[i - BLOCK_SIZE]; | ^ make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o deverr.o deverr.c make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o ves.o ves.c make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o io.o io.c make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o fisc_client.o fisc_client.c make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -s maria_cmd.c -L. -ltorgdev -lm -o maria_cmd ld: cannot find -ltorgdev: No such file or directory collect2: error: ld returned 1 exit status make: *** [: maria_cmd] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -s card_server.c -L. -ltorgdev -lm -o card_server card_server.c: In function 'main': card_server.c:222:36: warning: pointer targets in passing argument 1 of 'card_read' differ in signedness [-Wpointer-sign] 222 | if ((i=card_read(port_name, d1, input)) > 0) | ^~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from card_server.c:47: torgdev.h:607:28: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 607 | extern int card_read(char *tty_name, double timeout, uchar *cod); | ~~~~~~^~~~~~~~ card_server.c:222:51: warning: pointer targets in passing argument 3 of 'card_read' differ in signedness [-Wpointer-sign] 222 | if ((i=card_read(port_name, d1, input)) > 0) | ^~~~~ | | | char * torgdev.h:607:61: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 607 | extern int card_read(char *tty_name, double timeout, uchar *cod); | ~~~~~~~^~~ card_server.c:247:16: warning: pointer targets in passing argument 1 of 'card_close' differ in signedness [-Wpointer-sign] 247 | card_close(port_name); | ^~~~~~~~~ | | | uchar * {aka unsigned char *} torgdev.h:612:30: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 612 | extern void card_close(char *tty_name); | ~~~~~~^~~~~~~~ ld: cannot find -ltorgdev: No such file or directory collect2: error: ld returned 1 exit status make: *** [: card_server] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o era802.o era802.c era802.c: In function 'era_putget': era802.c:199:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 199 | write(fp, buf, len+1); | ^~~~~~~~~~~~~~~~~~~~~ era802.c:210:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | write(fp, inbuf, 1); | ^~~~~~~~~~~~~~~~~~~ era802.c:216:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 216 | write(fp, inbuf, 1); | ^~~~~~~~~~~~~~~~~~~ era802.c: In function 'era_get': era802.c:259:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | write(fp, inbuf, 1); | ^~~~~~~~~~~~~~~~~~~ era802.c:266:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 266 | write(fp, inbuf, 1); | ^~~~~~~~~~~~~~~~~~~ era802.c: In function 'send_enq': era802.c:282:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 282 | write(fp, buf, 1); | ^~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -s fisc_server.c -L. -ltorgdev -lm -o fisc_server fisc_server.c: In function 'main': fisc_server.c:276:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 276 | strcpy(cparam2, cget); | ^~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fisc_server.c:62: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fisc_server.c:332:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 332 | strcpy(cparam3, cget); | ^~~~~~~ | | | uchar * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ ld: cannot find -ltorgdev: No such file or directory collect2: error: ld returned 1 exit status make: *** [: fisc_server] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o fiscal.o fiscal.c fiscal.c: In function 'maria_connect': fiscal.c:641:45: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 641 | if ((port_name_static == NULL) || (strcmp(port_name, port_name_static) != 0)) { | ^~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from fiscal.c:26: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ fiscal.c:644:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 644 | port_name_static = malloc(strlen(port_name)+1); | ^~~~~~~~~ | | | uchar * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fiscal.c:645:31: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 645 | strcpy(port_name_static, port_name); | ^~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fiscal.c:24: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fiscal.c:651:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 651 | old_cassir = malloc(strlen(cassir)+1); | ^~~~~~ | | | uchar * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fiscal.c:652:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 652 | strcpy(old_cassir, cassir); | ^~~~~~ | | | uchar * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fiscal.c:654:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 654 | port_name_static = malloc(strlen(port_name)+1); | ^~~~~~~~~ | | | uchar * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fiscal.c:655:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 655 | strcpy(port_name_static, port_name); | ^~~~~~~~~ | | | uchar * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fiscal.c:658:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 658 | else if (strcmp(old_cassir, cassir) != 0) { | ^~~~~~ | | | uchar * {aka unsigned char *} /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ fiscal.c:662:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 662 | old_cassir = malloc(strlen(cassir)+1); | ^~~~~~ | | | uchar * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fiscal.c:663:24: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 663 | strcpy(old_cassir, cassir); | ^~~~~~ | | | uchar * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fiscal.c: In function 'maria_disconnect': fiscal.c:771:16: warning: pointer targets in assignment from 'char *' to 'uchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 771 | port_name = port_name_static; | ^ fiscal.c:753:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] 753 | int i; | ^ fiscal.c: In function 'maria_prcheck': fiscal.c:1319:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1319 | (strlen(slug_text) != 0)) { | ^~~~~~~~~ | | | uchar * {aka unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fiscal.c:1322:28: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1322 | sprintf(buf, "TEXT110%1.18s", slug_text); | ^~~ | | | uchar * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ fiscal.c:1324:28: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1324 | sprintf(buf, "TEXT110%1.43s", slug_text); | ^~~ | | | uchar * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ fiscal.c: In function 'maria_connect': fiscal.c:716:8: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 716 | write(*fd, buf, 1); | ^~~~~~~~~~~~~~~~~~ fiscal.c: In function 'maria_date_report': fiscal.c:852:52: warning: '__builtin___sprintf_chk' writing a terminating nul past the end of the destination [-Wformat-overflow=] 852 | sprintf((char*)buf, "IREP%4d%02d%02d%4d%02d%02d", year_from, month_from, day_from, | ^ In file included from /usr/include/stdio.h:964: In function 'sprintf', inlined from 'maria_date_report' at fiscal.c:852:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 21 and 71 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fiscal.c: In function 'maria_prcheck': fiscal.c:1270:20: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 511 [-Wstringop-truncation] 1270 | strncpy((char*)nal[i], (char*)p, 6); | ^ fiscal.c:1362:17: warning: '__builtin_strncpy' output may be truncated copying 12 bytes from a string of length 60 [-Wstringop-truncation] 1362 | strncpy((char*)short_name,(char*)&che->name[j], 12); | ^ make: Leaving directory '/usr/src/RPM/BUILD/torgdev' make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -c -o datecs.o datecs.c datecs.c: In function 'SGI_read_trec': datecs.c:620:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 620 | if (!pass) /* для команды продолжения Go - игнорируем */ | ^~ datecs.c:623:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 623 | break; | ^~~~~ datecs.c: In function 'SG_otch_tovar': datecs.c:1007:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1007 | if (!pass) /* для команды продолжения Go - игнорируем */ | ^~ datecs.c:1010:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1010 | break; | ^~~~~ datecs.c: In function 'SG_prcheck': datecs.c:1623:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1623 | int i, j, n, fd; | ^ datecs.c: In function 'SGchk': datecs.c:311:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 311 | write(fd, "\x06", 1); | ^~~~~~~~~~~~~~~~~~~~ datecs.c: In function 'SGtake': datecs.c:490:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 490 | write(fd, ans, strlen(ans)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ datecs.c:494:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | write(fd, ans, i); | ^~~~~~~~~~~~~~~~~ datecs.c:497:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 497 | write(fd, ans, i); | ^~~~~~~~~~~~~~~~~ datecs.c: In function 'SGrelease': datecs.c:529:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | write(fd, "\x13\x13", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/torgdev' + make make: Entering directory '/usr/src/RPM/BUILD/torgdev' cc -shared -Wl,-soname -Wl,libtorgdev.so.3 io.o ves.o scan.o fiscal.o mdmlock.o era802.o datecs.o deverr.o fisc_client.o show_error.o card.o -o libtorgdev.so.3.5 -lm cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -s fisc_server.c -L. -ltorgdev -lm -o fisc_server fisc_server.c: In function 'main': fisc_server.c:276:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 276 | strcpy(cparam2, cget); | ^~~~~~~ | | | uchar * {aka unsigned char *} In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fisc_server.c:62: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ fisc_server.c:332:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 332 | strcpy(cparam3, cget); | ^~~~~~~ | | | uchar * {aka unsigned char *} /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -s maria_cmd.c -L. -ltorgdev -lm -o maria_cmd cc -O2 -Wall -I. -fPIC -DVERSION=\"3.5\" -s card_server.c -L. -ltorgdev -lm -o card_server card_server.c: In function 'main': card_server.c:222:36: warning: pointer targets in passing argument 1 of 'card_read' differ in signedness [-Wpointer-sign] 222 | if ((i=card_read(port_name, d1, input)) > 0) | ^~~~~~~~~ | | | uchar * {aka unsigned char *} In file included from card_server.c:47: torgdev.h:607:28: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 607 | extern int card_read(char *tty_name, double timeout, uchar *cod); | ~~~~~~^~~~~~~~ card_server.c:222:51: warning: pointer targets in passing argument 3 of 'card_read' differ in signedness [-Wpointer-sign] 222 | if ((i=card_read(port_name, d1, input)) > 0) | ^~~~~ | | | char * torgdev.h:607:61: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 607 | extern int card_read(char *tty_name, double timeout, uchar *cod); | ~~~~~~~^~~ card_server.c:247:16: warning: pointer targets in passing argument 1 of 'card_close' differ in signedness [-Wpointer-sign] 247 | card_close(port_name); | ^~~~~~~~~ | | | uchar * {aka unsigned char *} torgdev.h:612:30: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 612 | extern void card_close(char *tty_name); | ~~~~~~^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/torgdev' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.68132 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libtorgdev-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libtorgdev-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd torgdev + mkdir -p /usr/src/tmp/libtorgdev-buildroot/usr/lib/libtorgdev + mkdir -p /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-3.5 + mkdir -p /usr/src/tmp/libtorgdev-buildroot/usr/lib + mkdir -p /usr/src/tmp/libtorgdev-buildroot/usr/include + make 'INSTALL=/usr/libexec/rpm-build/install -p' install install-bin install-doc BINDIR=/usr/src/tmp/libtorgdev-buildroot/usr/lib/torgdev LIBDIR=/usr/src/tmp/libtorgdev-buildroot/usr/lib LOCALE_PATH=/usr/src/tmp/libtorgdev-buildroot/usr/share/locale DOCDIR=/usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-3.5 HDIR=/usr/src/tmp/libtorgdev-buildroot/usr/include make: Entering directory '/usr/src/RPM/BUILD/torgdev' if [ "ua" \!= "ru" ]; then \ /bin/install -m 644 -D torgdev.mo /usr/src/tmp/libtorgdev-buildroot/usr/share/locale/ru_UA.KOI8-U/LC_MESSAGES/torgdev.mo ; \ fi install -m 0644 torgdev.h torgdev_client.h /usr/src/tmp/libtorgdev-buildroot/usr/include ( /bin/install -m 644 -D libtorgdev.so.3.5 /usr/src/tmp/libtorgdev-buildroot/usr/lib/libtorgdev.so.3.5 ; cd /usr/src/tmp/libtorgdev-buildroot/usr/lib ; \ if test -L libtorgdev.so ; then rm -f libtorgdev.so ; fi ; \ ln -s libtorgdev.so.3.5 libtorgdev.so ) if [ \! -d /usr/src/tmp/libtorgdev-buildroot/usr/lib/torgdev ]; then \ install -d -m 0755 /usr/src/tmp/libtorgdev-buildroot/usr/lib/torgdev ; \ fi install -D -m 0755 fisc_server maria_cmd card_server /usr/src/tmp/libtorgdev-buildroot/usr/lib/torgdev if [ \! -d /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-3.5 ]; then \ install -d -m 0755 /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-3.5 ; \ fi /bin/install -m 644 CHANGES LSM README.html example/* /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-3.5 make: Leaving directory '/usr/src/RPM/BUILD/torgdev' + install -pD -m640 example/fisc-amc /usr/src/tmp/libtorgdev-buildroot/etc/xinetd.d/fisc-amc + install -pD -m640 example/fisc-mariamtm /usr/src/tmp/libtorgdev-buildroot/etc/xinetd.d/fisc-mariamtm + install -pD -m640 example/cardread-gp /usr/src/tmp/libtorgdev-buildroot/etc/xinetd.d/cardread-gp + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libtorgdev-buildroot (auto) Verifying and fixing files in /usr/src/tmp/libtorgdev-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/libtorgdev-buildroot/ (default) Compressing files in /usr/src/tmp/libtorgdev-buildroot (auto) Adjusting library links in /usr/src/tmp/libtorgdev-buildroot ./usr/lib: (from :0) libtorgdev.so.3 -> libtorgdev.so.3.5 (changed) 056-debuginfo.brp: WARNING: You have 3 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/lib/torgdev/card_server ./usr/lib/torgdev/fisc_server ./usr/lib/torgdev/maria_cmd 056-debuginfo.brp: WARNING: debuginfo without debug sources. Verifying ELF objects in /usr/src/tmp/libtorgdev-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/libtorgdev.so.3.5: uses non-LFS functions: open Splitting links to aliased files under /{,s}bin in /usr/src/tmp/libtorgdev-buildroot Processing files: libtorgdev-3.5-alt2.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MPfjuX find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/libtorgdev-buildroot/usr/lib/libtorgdev.so.3: 100 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AXDTr2 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libtorgdev.so.3 = set:kddJ41HxC1DB1M4St8QcVszLTLFtVr8YyRBb9MWDdIk5R4s2OSlz6atW2BtWRFew2p5lVWtd7ri4QW9cLh9XJmmQtOfDKT0bz8mZxxx40vBTk8gIw7xayZdjmaAHFJ6D0Mjs2qZGWgLadq7t3YYh1FswFAVivqQtjiOVe2epSWBBjtaLCNeuLmJcGkGPaN45gP5oQuXsS0 Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libm.so.6(GLIBC_2.0), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VVjOCK Creating libtorgdev-debuginfo package Processing files: libtorgdev-devel-3.5-alt2.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.49863 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd torgdev + DOCDIR=/usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-devel-3.5 + export DOCDIR + rm -rf /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-devel-3.5 + /bin/mkdir -p /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-devel-3.5 + cp -prL README.html TODO /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-devel-3.5 + chmod -R go-w /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-devel-3.5 + chmod -R a+rX /usr/src/tmp/libtorgdev-buildroot/usr/share/doc/libtorgdev-devel-3.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.seKsKX find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8jrubO find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libtorgdev = 3.5-alt2.qa1, /usr/lib/libtorgdev.so.3.5 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yYiKE0 Processing files: torgdev-3.5-alt2.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.j3xQw4 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dU7p6r find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libtorgdev = 3.5-alt2.qa1, /etc/xinetd.d, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libtorgdev.so.3 >= set:kfCPA2sOhbl0BL4fb5LbALlqaKcIK6VkSZv9gCLZ3WQPjFzYtjwtrla1, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Cdetoi Processing files: libtorgdev-debuginfo-3.5-alt2.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZjaDLE find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FZ6cQJ find-requires: running scripts (debuginfo) Provides: debug(libtorgdev.so.3) Requires: libtorgdev = 3.5-alt2.qa1, debug(libc.so.6), debug(libm.so.6) Removing 1 extra deps from libtorgdev-devel due to dependency on libtorgdev Removing 2 extra deps from torgdev due to dependency on libtorgdev Removing 6 extra deps from torgdev due to repentancy on libtorgdev Wrote: /usr/src/RPM/RPMS/i586/libtorgdev-3.5-alt2.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libtorgdev-devel-3.5-alt2.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/torgdev-3.5-alt2.qa1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libtorgdev-debuginfo-3.5-alt2.qa1.i586.rpm (w2.lzdio) 2.94user 2.09system 0:12.60elapsed 39%CPU (0avgtext+0avgdata 32844maxresident)k 0inputs+0outputs (0major+410550minor)pagefaults 0swaps /.out/libtorgdev-3.5-alt2.qa1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libtorgdev-devel-3.5-alt2.qa1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/torgdev-3.5-alt2.qa1.i586.rpm: The use of such a license name is ambiguous: GPL /.out/libtorgdev-debuginfo-3.5-alt2.qa1.i586.rpm: The use of such a license name is ambiguous: GPL 3.71user 2.49system 0:22.56elapsed 27%CPU (0avgtext+0avgdata 127080maxresident)k 152inputs+0outputs (0major+187903minor)pagefaults 0swaps --- libtorgdev-3.5-alt2.qa1.i586.rpm.repo 2013-04-17 12:50:58.000000000 +0000 +++ libtorgdev-3.5-alt2.qa1.i586.rpm.hasher 2024-04-20 06:37:09.300284832 +0000 @@ -20,3 +20,2 @@ Requires: libm.so.6(GLIBC_2.0) -Requires: libm.so.6(GLIBC_2.1) Requires: rtld(GNU_HASH) @@ -26,3 +25,3 @@ File: /usr/lib/libtorgdev.so.3 120777 root:root libtorgdev.so.3.5 -File: /usr/lib/libtorgdev.so.3.5 100644 root:root 2e68777878376f17357af8ed5a8d3460 +File: /usr/lib/libtorgdev.so.3.5 100644 root:root 4a64a095378c5c3c8753e3c55a22acec File: /usr/share/doc/libtorgdev-3.5 40755 root:root @@ -37,2 +36,2 @@ File: /usr/share/locale/ru_UA.KOI8-U/LC_MESSAGES/torgdev.mo 100644 root:root 238d69c6def680232bf37622a72543c9 -RPMIdentity: 5704db5e7cef1ba6f0c7f1878ae9b09feb20fc5a300ef62cad8f2664bfebcb396bc30a13fd6f8c5056cb6693aceb0de582254c84f9e25ecae4767555fa81430a +RPMIdentity: 2aadc7dfa7c974293a47cfe1cf68782acef97709e2e5b3ab1586de7cdc00561dd1c543bf6f534691a80f6c2989f19d630fa5d2c6ada976dbbd8aa35a486ed8bf --- libtorgdev-debuginfo-3.5-alt2.qa1.i586.rpm.repo 2013-04-17 12:50:58.000000000 +0000 +++ libtorgdev-debuginfo-3.5-alt2.qa1.i586.rpm.hasher 2024-04-20 06:37:09.375286277 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/58 40755 root:root -/usr/lib/debug/.build-id/58/a1676b6ce6115e64a824223e88ab7b344e686e 120777 root:root ../../../libtorgdev.so.3.5 -/usr/lib/debug/.build-id/58/a1676b6ce6115e64a824223e88ab7b344e686e.debug 120777 root:root ../../usr/lib/libtorgdev.so.3.5.debug +/usr/lib/debug/.build-id/4a 40755 root:root +/usr/lib/debug/.build-id/4a/1d7a6a7972e730d6ef5945e4d6778c04f4e8e3 120777 root:root ../../../libtorgdev.so.3.5 +/usr/lib/debug/.build-id/4a/1d7a6a7972e730d6ef5945e4d6778c04f4e8e3.debug 120777 root:root ../../usr/lib/libtorgdev.so.3.5.debug /usr/lib/debug/usr/lib/libtorgdev.so.3.5.debug 100644 root:root @@ -11,7 +11,7 @@ Provides: libtorgdev-debuginfo = 3.5-alt2.qa1 -File: /usr/lib/debug/.build-id/58 40755 root:root -File: /usr/lib/debug/.build-id/58/a1676b6ce6115e64a824223e88ab7b344e686e 120777 root:root ../../../libtorgdev.so.3.5 -File: /usr/lib/debug/.build-id/58/a1676b6ce6115e64a824223e88ab7b344e686e.debug 120777 root:root ../../usr/lib/libtorgdev.so.3.5.debug -File: /usr/lib/debug/usr/lib/libtorgdev.so.3.5.debug 100644 root:root 1764d82b5df183eb197e9ed126df0bd2 +File: /usr/lib/debug/.build-id/4a 40755 root:root +File: /usr/lib/debug/.build-id/4a/1d7a6a7972e730d6ef5945e4d6778c04f4e8e3 120777 root:root ../../../libtorgdev.so.3.5 +File: /usr/lib/debug/.build-id/4a/1d7a6a7972e730d6ef5945e4d6778c04f4e8e3.debug 120777 root:root ../../usr/lib/libtorgdev.so.3.5.debug +File: /usr/lib/debug/usr/lib/libtorgdev.so.3.5.debug 100644 root:root b1362924d647b6d2f7a1785d247e4f2b File: /usr/lib/debug/usr/lib/libtorgdev.so.3.debug 120777 root:root libtorgdev.so.3.5.debug -RPMIdentity: ea5f5c3a456ae8b1946f96a0d8356d99a33f5b18e4a02a0ccb7ebe982bcd2597e634dc7fc354da1356b9eef1451605614f3c4763e548b6ab711e9f8f6b301dbd +RPMIdentity: 1fe97cffd0bf2aceb890699973b5825dacb983d9c0dc89ca9a395c1696bbdaf6a315c87681000a8ef2d2b95d9d6c7be2ffc9882179dae18649ff03bcbaa917b7 --- libtorgdev-devel-3.5-alt2.qa1.i586.rpm.repo 2013-04-17 12:50:58.000000000 +0000 +++ libtorgdev-devel-3.5-alt2.qa1.i586.rpm.hasher 2024-04-20 06:37:09.460287915 +0000 @@ -15,2 +15,2 @@ File: /usr/share/doc/libtorgdev-devel-3.5/TODO 100644 root:root 644f7efba7e9f2fb6372f8a3c5bcaebe -RPMIdentity: e9173b8da048bea22fa5919c2afe2b034eb434ad58c8e7a3ec57bb6b9863e1c61b591ae98c84252796ecad842d24ea0f3ec377a5169c078a40c7692bc2eff150 +RPMIdentity: 3eff1fd6489cd5432a095574e8b0dfd5c89ded721bf18ce1ea7fde4adc91b67eb5dfa752110b6fb4a8721afa2206e3a4b194e70c3c26d8eb2567ae1f419d73df --- torgdev-3.5-alt2.qa1.i586.rpm.repo 2013-04-17 12:50:58.000000000 +0000 +++ torgdev-3.5-alt2.qa1.i586.rpm.hasher 2024-04-20 06:37:09.540289457 +0000 @@ -10,2 +10,3 @@ Requires: /lib/ld-linux.so.2 +Requires: libc.so.6(GLIBC_2.34) Requires: rpmlib(PayloadIsLzma) @@ -16,5 +17,5 @@ File: /usr/lib/torgdev 40755 root:root -File: /usr/lib/torgdev/card_server 100755 root:root b1134d26383ac6d623cf078e1c7894d9 -File: /usr/lib/torgdev/fisc_server 100755 root:root f50ad63646686a678529d4b31bf26f5b -File: /usr/lib/torgdev/maria_cmd 100755 root:root 5e3bbb34afc32db9dfa51c193331b440 -RPMIdentity: 69c93dd029cf1feaaa7b566882c86566678b952c34e0a3188b9a88732052ff1f13efe4c621fc070272e20dfb8b220085e5776e5e4b128a8ba04475865f828b0f +File: /usr/lib/torgdev/card_server 100755 root:root 192c6fc986680d602fe505df1be89a51 +File: /usr/lib/torgdev/fisc_server 100755 root:root d0633e9d474d135dfff3e35f16ea24f4 +File: /usr/lib/torgdev/maria_cmd 100755 root:root e90c512a35c98976fa9bbf940a7b71d4 +RPMIdentity: daa89dfda5d451f7e8b8166dedb0c56dff65e97620bca8e9b052f3b12f31668f3acf900eaa068a126850c2bbcf59daaac1b8fc2708a0c95103bad0ad0d720bf9