<86>May 17 10:05:41 userdel[1782977]: delete user 'rooter' <86>May 17 10:05:41 groupadd[1782984]: group added to /etc/group: name=rooter, GID=693 <86>May 17 10:05:41 groupadd[1782984]: group added to /etc/gshadow: name=rooter <86>May 17 10:05:41 groupadd[1782984]: new group: name=rooter, GID=693 <86>May 17 10:05:41 useradd[1782992]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>May 17 10:05:41 userdel[1783011]: delete user 'builder' <86>May 17 10:05:41 userdel[1783011]: removed group 'builder' owned by 'builder' <86>May 17 10:05:41 userdel[1783011]: removed shadow group 'builder' owned by 'builder' <86>May 17 10:05:41 groupadd[1783026]: group added to /etc/group: name=builder, GID=694 <86>May 17 10:05:41 groupadd[1783026]: group added to /etc/gshadow: name=builder <86>May 17 10:05:41 groupadd[1783026]: new group: name=builder, GID=694 <86>May 17 10:05:41 useradd[1783035]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash <13>May 17 10:05:44 rpmi: libconfig-1.5-alt2 1528494247 installed <13>May 17 10:05:44 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 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.86501 + 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.3531 + 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 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] read(fd, buffer1, BUFSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~ mdmlock.c:111:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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 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 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 fisc_client.o fisc_client.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 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 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] if ((port_name_static == NULL) || (strcmp(port_name, port_name_static) != 0)) { ^~~~~~~~~ In file included from fiscal.c:26: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] port_name_static = malloc(strlen(port_name)+1); ^~~~~~~~~ In file included from fiscal.c:26: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] strcpy(port_name_static, port_name); ^~~~~~~~~ In file included from /usr/include/features.h:428, 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:88:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] old_cassir = malloc(strlen(cassir)+1); ^~~~~~ In file included from fiscal.c:26: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] strcpy(old_cassir, cassir); ^~~~~~ In file included from /usr/include/features.h:428, 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:88:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] port_name_static = malloc(strlen(port_name)+1); ^~~~~~~~~ In file included from fiscal.c:26: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] strcpy(port_name_static, port_name); ^~~~~~~~~ In file included from /usr/include/features.h:428, 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:88:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] else if (strcmp(old_cassir, cassir) != 0) { ^~~~~~ In file included from fiscal.c:26: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] old_cassir = malloc(strlen(cassir)+1); ^~~~~~ In file included from fiscal.c:26: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] strcpy(old_cassir, cassir); ^~~~~~ In file included from /usr/include/features.h:428, 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:88:1: note: expected 'const char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] port_name = port_name_static; ^ fiscal.c:753:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] 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] (strlen(slug_text) != 0)) { ^~~~~~~~~ In file included from fiscal.c:26: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] sprintf(buf, "TEXT110%1.18s", slug_text); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fiscal.c:24: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] sprintf(buf, "TEXT110%1.43s", slug_text); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from fiscal.c:24: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] 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=] sprintf((char*)buf, "IREP%4d%02d%02d%4d%02d%02d", year_from, month_from, day_from, ^ In file included from /usr/include/stdio.h:862, from fiscal.c:24: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 71 bytes into a destination of size 20 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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] if ((i=card_read(port_name, d1, input)) > 0) ^~~~~~~~~ In file included from card_server.c:47: torgdev.h:607:12: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] if ((i=card_read(port_name, d1, input)) > 0) ^~~~~ In file included from card_server.c:47: torgdev.h:607:12: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 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] card_close(port_name); ^~~~~~~~~ In file included from card_server.c:47: torgdev.h:612:13: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern void card_close(char *tty_name); ^~~~~~~~~~ /usr/bin/ld.default: cannot find -ltorgdev collect2: error: ld returned 1 exit status make: *** [: card_server] 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\" -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] 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 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\" -s maria_cmd.c -L. -ltorgdev -lm -o maria_cmd /usr/bin/ld.default: cannot find -ltorgdev collect2: error: ld returned 1 exit status make: *** [: maria_cmd] 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\" -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] strcpy(cparam2, cget); ^~~~~~~ In file included from /usr/include/features.h:428, 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:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] strcpy(cparam3, cget); ^~~~~~~ In file included from /usr/include/features.h:428, 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:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ /usr/bin/ld.default: cannot find -ltorgdev 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 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] write(fp, buf, len+1); ^~~~~~~~~~~~~~~~~~~~~ era802.c:210:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fp, inbuf, 1); ^~~~~~~~~~~~~~~~~~~ era802.c:216:16: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] write(fp, inbuf, 1); ^~~~~~~~~~~~~~~~~~~ era802.c:266:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!pass) /* для команды продолжения Go - игнорируем */ ^~ datecs.c:623:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ datecs.c: In function 'SG_otch_tovar': datecs.c:1007:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!pass) /* для команды продолжения Go - игнорируем */ ^~ datecs.c:1010:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ datecs.c: In function 'SG_prcheck': datecs.c:1623:13: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] 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] write(fd, ans, strlen(ans)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ datecs.c:494:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, ans, i); ^~~~~~~~~~~~~~~~~ datecs.c:497:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 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] 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] strcpy(cparam2, cget); ^~~~~~~ In file included from /usr/include/features.h:428, 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:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] strcpy(cparam3, cget); ^~~~~~~ In file included from /usr/include/features.h:428, 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:88:1: note: expected 'char * restrict' but argument is of type 'uchar *' {aka 'unsigned char *'} __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] if ((i=card_read(port_name, d1, input)) > 0) ^~~~~~~~~ In file included from card_server.c:47: torgdev.h:607:12: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} 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] if ((i=card_read(port_name, d1, input)) > 0) ^~~~~ In file included from card_server.c:47: torgdev.h:607:12: note: expected 'uchar *' {aka 'unsigned char *'} but argument is of type 'char *' 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] card_close(port_name); ^~~~~~~~~ In file included from card_server.c:47: torgdev.h:612:13: note: expected 'char *' but argument is of type 'uchar *' {aka 'unsigned char *'} extern void card_close(char *tty_name); ^~~~~~~~~~ if [ "ua" \!= "ru" ]; then \ gencat torgdev.mo torgdev.ua.msg ; \ fi make: Leaving directory '/usr/src/RPM/BUILD/torgdev' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.44967 + 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 + 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=/bin/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) 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: libtorgdev.so.3 -> libtorgdev.so.3.5 (changed) 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.5rQ4ch 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.kpayzA 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.IMIgdf Creating libtorgdev-debuginfo package Processing files: libtorgdev-devel-3.5-alt2.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.42481 + 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.4RTHrF 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.rD4xcx 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.4tl9LD Processing files: torgdev-3.5-alt2.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OfjNKg 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.BY6IOg 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.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.cmWgaB 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.irLRcl find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fFBBPm 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 5 extra deps from torgdev due to repentancy on libtorgdev Wrote: /usr/src/RPM/RPMS/i586/libtorgdev-3.5-alt2.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libtorgdev-devel-3.5-alt2.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/torgdev-3.5-alt2.qa1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libtorgdev-debuginfo-3.5-alt2.qa1.i586.rpm 6.50user 1.27system 0:18.31elapsed 42%CPU (0avgtext+0avgdata 30388maxresident)k 0inputs+0outputs (0major+464945minor)pagefaults 0swaps 10.27user 3.61system 0:27.39elapsed 50%CPU (0avgtext+0avgdata 115320maxresident)k 136inputs+0outputs (0major+802656minor)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 2020-05-17 10:06:06.478444723 +0000 @@ -20,3 +20,2 @@ Requires: libm.so.6(GLIBC_2.0) -Requires: libm.so.6(GLIBC_2.1) Requires: rtld(GNU_HASH)