<86>Apr 12 10:13:33 userdel[2247046]: delete user 'rooter'
<86>Apr 12 10:13:33 userdel[2247046]: removed group 'rooter' owned by 'rooter'
<86>Apr 12 10:13:33 userdel[2247046]: removed shadow group 'rooter' owned by 'rooter'
<86>Apr 12 10:13:33 groupadd[2247063]: group added to /etc/group: name=rooter, GID=705
<86>Apr 12 10:13:33 groupadd[2247063]: group added to /etc/gshadow: name=rooter
<86>Apr 12 10:13:33 groupadd[2247063]: new group: name=rooter, GID=705
<86>Apr 12 10:13:33 useradd[2247078]: new user: name=rooter, UID=705, GID=705, home=/root, shell=/bin/bash
<86>Apr 12 10:13:33 userdel[2247105]: delete user 'builder'
<86>Apr 12 10:13:33 userdel[2247105]: removed group 'builder' owned by 'builder'
<86>Apr 12 10:13:33 userdel[2247105]: removed shadow group 'builder' owned by 'builder'
<86>Apr 12 10:13:33 groupadd[2247142]: group added to /etc/group: name=builder, GID=706
<86>Apr 12 10:13:33 groupadd[2247142]: group added to /etc/gshadow: name=builder
<86>Apr 12 10:13:33 groupadd[2247142]: new group: name=builder, GID=706
<86>Apr 12 10:13:33 useradd[2247153]: new user: name=builder, UID=706, GID=706, home=/usr/src, shell=/bin/bash
/usr/src/in/srpm/libtorgdev-3.5-alt2.qa1.src.rpm: The use of such a license name is ambiguous: GPL
<13>Apr 12 10:13:35 rpmi: libconfig-1.5-alt2 1528494247 installed
<13>Apr 12 10:13:35 rpmi: libconfig-devel-1.5-alt2 1528494247 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.47310
+ 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.47310
+ 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 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 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 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
collect2: error: ld returned 1 exit status
make: *** [<builtin>: 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 *
In file included from card_server.c:47:
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 *}
In file included from card_server.c:47:
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
collect2: error: ld returned 1 exit status
make: *** [<builtin>: 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 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:140:32: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
  140 | 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 *}
In file included from fiscal.c:26:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
  391 | 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:465,
                 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:73:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   73 | __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 *}
In file included from fiscal.c:26:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
  391 | 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 *}
In file included from /usr/include/features.h:465,
                 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:73:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   73 | __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 *}
In file included from fiscal.c:26:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
  391 | 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 *}
In file included from /usr/include/features.h:465,
                 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:73:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   73 | __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 *}
In file included from fiscal.c:26:
/usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
  140 | 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 *}
In file included from fiscal.c:26:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
  391 | 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 *}
In file included from /usr/include/features.h:465,
                 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:73:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   73 | __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 *}
In file included from fiscal.c:26:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'}
  391 | 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 *}
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from fiscal.c:24:
/usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   36 | __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 *}
In file included from /usr/include/features.h:465,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from fiscal.c:24:
/usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   36 | __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:866,
                 from fiscal.c:24:
/usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 21 and 71 bytes into a destination of size 20
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:532,
                 from fiscal.c:26:
In function 'strncpy',
    inlined from 'maria_prcheck' at fiscal.c:1270:20:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 511 [-Wstringop-truncation]
   91 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'maria_prcheck' at fiscal.c:1362:17:
/usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 12 bytes from a string of length 60 [-Wstringop-truncation]
   91 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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:465,
                 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   73 | __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 *}
In file included from /usr/include/features.h:465,
                 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
ld: cannot find -ltorgdev
collect2: error: ld returned 1 exit status
make: *** [<builtin>: 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 datecs.o datecs.c
datecs.c: In function 'SGI_read_trec':
datecs.c:620:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  620 |      if (!pass) /* для команды продолжения Go - игнорируем */
      |      ^~
datecs.c:623:13: 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:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1007 |            if (!pass) /* для команды продолжения Go - игнорируем */
      |            ^~
datecs.c:1010:19: 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:465,
                 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   73 | __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 *}
In file included from /usr/include/features.h:465,
                 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:73:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'}
   73 | __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 *
In file included from card_server.c:47:
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 *}
In file included from card_server.c:47:
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.74606
+ 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 <cmdline>: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
Hardlinking identical .pyc and .pyo files
Processing files: libtorgdev-3.5-alt2.qa1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.O4Aimm
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,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.wK6SAk
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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.Xy3ifn
Creating libtorgdev-debuginfo package
Processing files: libtorgdev-devel-3.5-alt2.qa1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.314
+ 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.huJZuk
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fATgSm
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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.8FW6Cm
Processing files: torgdev-3.5-alt2.qa1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pwBMYm
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.la539k
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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.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.hoTn2o
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.3T9KSo
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dTWHQm
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)
7.58user 1.93system 0:17.14elapsed 55%CPU (0avgtext+0avgdata 29564maxresident)k
0inputs+0outputs (0major+468712minor)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
11.90user 5.38system 0:24.60elapsed 70%CPU (0avgtext+0avgdata 106952maxresident)k
136inputs+0outputs (0major+806945minor)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	2021-04-12 10:13:55.219869554 +0000
@@ -20,3 +20,2 @@
 Requires: libm.so.6(GLIBC_2.0)  
-Requires: libm.so.6(GLIBC_2.1)  
 Requires: rtld(GNU_HASH)