<86>Jun 22 00:55:32 userdel[2904445]: delete user 'rooter' <86>Jun 22 00:55:32 userdel[2904445]: removed group 'rooter' owned by 'rooter' <86>Jun 22 00:55:32 userdel[2904445]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 22 00:55:32 groupadd[2904494]: group added to /etc/group: name=rooter, GID=1268 <86>Jun 22 00:55:32 groupadd[2904494]: group added to /etc/gshadow: name=rooter <86>Jun 22 00:55:32 groupadd[2904494]: new group: name=rooter, GID=1268 <86>Jun 22 00:55:32 useradd[2904506]: new user: name=rooter, UID=1268, GID=1268, home=/root, shell=/bin/bash, from=none <86>Jun 22 00:55:32 userdel[2904573]: delete user 'builder' <86>Jun 22 00:55:32 userdel[2904573]: removed group 'builder' owned by 'builder' <86>Jun 22 00:55:32 userdel[2904573]: removed shadow group 'builder' owned by 'builder' <86>Jun 22 00:55:32 groupadd[2904606]: group added to /etc/group: name=builder, GID=1269 <86>Jun 22 00:55:32 groupadd[2904606]: group added to /etc/gshadow: name=builder <86>Jun 22 00:55:32 groupadd[2904606]: new group: name=builder, GID=1269 <86>Jun 22 00:55:32 useradd[2904616]: new user: name=builder, UID=1269, GID=1269, 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>Jun 22 00:55:36 rpmi: libconfig-1.5-alt3 sisyphus+286668.100.1.1 1633707351 installed <13>Jun 22 00:55:36 rpmi: libconfig-devel-1.5-alt3 sisyphus+286668.100.1.1 1633707351 installed Building target platforms: x86_64 Building for target x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27663 + 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/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/torgdev-3.5.tar.bz2 + 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.27663 + 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 -j8 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 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 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 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 deverr.o deverr.c make: Leaving directory '/usr/src/RPM/BUILD/torgdev' 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' 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 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 fisc_client.o fisc_client.c 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\" -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\" -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: 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:490, 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:490, 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:906: 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); | ^ 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:490, 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.95032 + 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/lib64 + 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/lib64 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/lib64/libtorgdev.so.3.5 ; cd /usr/src/tmp/libtorgdev-buildroot/usr/lib64 ; \ 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/lib64: (from :0) libtorgdev.so.3 -> libtorgdev.so.3.5 (changed) ./usr/lib: (from :0) 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: 1 non-stripped binaries don't contain .debug sections making -debuginfo 056-debuginfo.brp: WARNING: package less relevant. An excerpt from the list of affected files follows: ./usr/lib64/libtorgdev.so.3.5 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) Processing files: libtorgdev-3.5-alt2.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tviuKl find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/libtorgdev-buildroot/usr/lib64/libtorgdev.so.3: 100 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ojx3pB 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()(64bit) = set:kddJ41HxC1DB1M4St8QcVszLTLFtVr8YyRBb9MWDdIk5R4s2OSlz6atW2BtWRFew2p5lVWtd7ri4QW9cLh9XJmmQtOfDKT0bz8mZxxx40vBTk8gIw7xayZdjmaAHFJ6D0Mjs2qZGWgLadq7t3YYh1FswFAVivqQtjiOVe2epSWBBjtaLCNeuLmJcGkGPaN45gP5oQuXsS0 Requires: libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kAqKKp Creating libtorgdev-debuginfo package Processing files: libtorgdev-devel-3.5-alt2.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.79976 + 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.RCXizu 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.7LzQIm 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/lib64/libtorgdev.so.3.5 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2yx5RD Processing files: torgdev-3.5-alt2.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YeS7C6 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.SFOgeW 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, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libtorgdev.so.3()(64bit) >= 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.0XZ5Vj 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.ysnCg5 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ttukVx find-requires: running scripts (debuginfo) Provides: debug64(libtorgdev.so.3) Requires: libtorgdev = 3.5-alt2.qa1, debug64(libc.so.6), debug64(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 5 extra deps from torgdev due to repentancy on libtorgdev Wrote: /usr/src/RPM/RPMS/x86_64/libtorgdev-3.5-alt2.qa1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libtorgdev-devel-3.5-alt2.qa1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/torgdev-3.5-alt2.qa1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libtorgdev-debuginfo-3.5-alt2.qa1.x86_64.rpm (w2.lzdio) 3.64user 1.53system 0:15.82elapsed 32%CPU (0avgtext+0avgdata 40024maxresident)k 0inputs+0outputs (0major+448790minor)pagefaults 0swaps /.out/libtorgdev-3.5-alt2.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/libtorgdev-devel-3.5-alt2.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/torgdev-3.5-alt2.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/libtorgdev-debuginfo-3.5-alt2.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL 2.88user 1.84system 0:29.33elapsed 16%CPU (0avgtext+0avgdata 110960maxresident)k 144inputs+0outputs (0major+184283minor)pagefaults 0swaps --- libtorgdev-3.5-alt2.qa1.x86_64.rpm.repo 2013-04-17 12:50:59.000000000 +0000 +++ libtorgdev-3.5-alt2.qa1.x86_64.rpm.hasher 2023-06-22 00:55:56.233931362 +0000 @@ -25,3 +25,3 @@ File: /usr/lib64/libtorgdev.so.3 120777 root:root libtorgdev.so.3.5 -File: /usr/lib64/libtorgdev.so.3.5 100644 root:root 6f0724b1c5f206426a2b94707913db64 +File: /usr/lib64/libtorgdev.so.3.5 100644 root:root 6edc7c12287623d5341fa8b18cbdf073 File: /usr/share/doc/libtorgdev-3.5 40755 root:root @@ -36,2 +36,2 @@ File: /usr/share/locale/ru_UA.KOI8-U/LC_MESSAGES/torgdev.mo 100644 root:root 238d69c6def680232bf37622a72543c9 -RPMIdentity: 9d2f0a09d1021608ec361bfc44eb2fcd94903e92a924345b0d2d2a4155d2d544285dccf401f81cd983c1917d6b268fc23b683e0d17ff26d9290a7039c7cd5b7e +RPMIdentity: 387f3e29cd282095a2bc8ebc41feace852577aa83637c0f82858cee48ba14c445dbf4174594701f1ab38b68c384c5cfcf32bce5ad9d4612cce67e3ceff5937a0 --- libtorgdev-debuginfo-3.5-alt2.qa1.x86_64.rpm.repo 2013-04-17 12:50:59.000000000 +0000 +++ libtorgdev-debuginfo-3.5-alt2.qa1.x86_64.rpm.hasher 2023-06-22 00:55:56.386933116 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/08 40755 root:root -/usr/lib/debug/.build-id/08/4d551c0bb11be1091690aeffb3c7858e23881e 120777 root:root ../../../../lib64/libtorgdev.so.3.5 -/usr/lib/debug/.build-id/08/4d551c0bb11be1091690aeffb3c7858e23881e.debug 120777 root:root ../../usr/lib64/libtorgdev.so.3.5.debug +/usr/lib/debug/.build-id/a8 40755 root:root +/usr/lib/debug/.build-id/a8/8e5edcd2b9df9b4b203b1a3f6134cf6925bc49 120777 root:root ../../../../lib64/libtorgdev.so.3.5 +/usr/lib/debug/.build-id/a8/8e5edcd2b9df9b4b203b1a3f6134cf6925bc49.debug 120777 root:root ../../usr/lib64/libtorgdev.so.3.5.debug /usr/lib/debug/usr/lib64/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/08 40755 root:root -File: /usr/lib/debug/.build-id/08/4d551c0bb11be1091690aeffb3c7858e23881e 120777 root:root ../../../../lib64/libtorgdev.so.3.5 -File: /usr/lib/debug/.build-id/08/4d551c0bb11be1091690aeffb3c7858e23881e.debug 120777 root:root ../../usr/lib64/libtorgdev.so.3.5.debug -File: /usr/lib/debug/usr/lib64/libtorgdev.so.3.5.debug 100644 root:root db1a21ef519734512d93e73cd4214d20 +File: /usr/lib/debug/.build-id/a8 40755 root:root +File: /usr/lib/debug/.build-id/a8/8e5edcd2b9df9b4b203b1a3f6134cf6925bc49 120777 root:root ../../../../lib64/libtorgdev.so.3.5 +File: /usr/lib/debug/.build-id/a8/8e5edcd2b9df9b4b203b1a3f6134cf6925bc49.debug 120777 root:root ../../usr/lib64/libtorgdev.so.3.5.debug +File: /usr/lib/debug/usr/lib64/libtorgdev.so.3.5.debug 100644 root:root f81bf0f8ff77aa3a5ffd67b7af61c46e File: /usr/lib/debug/usr/lib64/libtorgdev.so.3.debug 120777 root:root libtorgdev.so.3.5.debug -RPMIdentity: 5a94080ded13ae0587236d6df48997994c039350bbf5d72052a254e3d99f27167c46dd50822acef2243706de7b9083ebe5f4379482b6d597c90a17ad3bcb3def +RPMIdentity: dcbc104693f1ac5b6947bd568966a534ed771c0a4d0abb07fd56aa2a0b9fd15efb45a8c2e4275c4be3fdd4ebcb071667691b4459bb04743d26ff91b7326c9dcb --- libtorgdev-devel-3.5-alt2.qa1.x86_64.rpm.repo 2013-04-17 12:50:59.000000000 +0000 +++ libtorgdev-devel-3.5-alt2.qa1.x86_64.rpm.hasher 2023-06-22 00:55:56.516934607 +0000 @@ -15,2 +15,2 @@ File: /usr/share/doc/libtorgdev-devel-3.5/TODO 100644 root:root 644f7efba7e9f2fb6372f8a3c5bcaebe -RPMIdentity: f4650f52f3f0f7a6f0f7fa71d4aeca766e79bab6598850887a31af034b0205151fa4c9c1e06dad6bbd889a301a4dec3c8a4de7767e14867f40261c6fa2dbd06d +RPMIdentity: 71a924e41c368cbf2ba430b23cde5f7dec0ae4d8bd3a7477d292bc3b2f37e3d49d4c7e45408be18f357ae7b9fe3decf535ae9566ec28030547ceb605aa2defd2 --- torgdev-3.5-alt2.qa1.x86_64.rpm.repo 2013-04-17 12:50:59.000000000 +0000 +++ torgdev-3.5-alt2.qa1.x86_64.rpm.hasher 2023-06-22 00:55:56.619935788 +0000 @@ -10,2 +10,3 @@ Requires: /lib64/ld-linux-x86-64.so.2 +Requires: libc.so.6(GLIBC_2.34)(64bit) Requires: rpmlib(PayloadIsLzma) @@ -16,5 +17,5 @@ File: /usr/lib/torgdev 40755 root:root -File: /usr/lib/torgdev/card_server 100755 root:root 342ab3ca134065ea414c2cb749f4668b -File: /usr/lib/torgdev/fisc_server 100755 root:root 535f9af2985529a3eee7d754c34a2033 -File: /usr/lib/torgdev/maria_cmd 100755 root:root f419a4964ebcb45cea165ff50abeb099 -RPMIdentity: 1d58393be87c58e655daccf1cb87884d0a61a0596eb33911ae1bb3619e18975357bfb6560f954af6c0f60ea18bd1251a8525f417f4d6b2ed82e0a46f7a3bead6 +File: /usr/lib/torgdev/card_server 100755 root:root bac2685ec1f1cb3a3e8621d39342b7de +File: /usr/lib/torgdev/fisc_server 100755 root:root e22b4760e69e4cdc3ae83e49f6903d9d +File: /usr/lib/torgdev/maria_cmd 100755 root:root 41b6076063b96b7bba9837b16ea0b7e3 +RPMIdentity: 384b28dd4d56d4813924dcc6c541c27bb21588d624bc33f3b84b8b53bca4d5fbd57b443527ef04e63b11dce79442857356b55c384d0343988cf549a97eab0fac