+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/opendchub.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G0SiYK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opendchub-0.8.3 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/opendchub-0.8.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd opendchub-0.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf --install aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:3: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:9: installing './compile' src/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' + touch -r configure config.h.in Makefile.in aclocal.m4 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S3liEQ + umask 022 + cd /builddir/build/BUILD + cd opendchub-0.8.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-switch_user checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/opendchub-0.8.3/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/opendchub-0.8.3/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether build environment is sane... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for crypt in -lcrypt... yes checking for crypt in -lcrypto... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for mode_t... yes checking for pid_t... yes checking for vprintf... yes checking for _doprnt... no checking for gethostname... yes checking for mkdir... yes checking for poll... yes checking for select... yes checking for socket... yes checking for strstr... yes checking for strtoll... yes checking for strtoq... yes checking for cap_set_proc in -lcap... yes checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes Switch user support is enabled. checking for perl... yes checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands *** Type "gmake" to build opendchub *** *** If "gmake" does not work, try "make" *** + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/opendchub-0.8.3' Making all in src make[2]: Entering directory '/builddir/build/BUILD/opendchub-0.8.3/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o commands.o commands.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fileio.o fileio.c commands.c: In function 'my_info': commands.c:997:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(*user->nick == (char) NULL) ^ commands.c:970:15: warning: unused variable 'discard' [-Wunused-variable] char *buf, discard[50] ; ^~~~~~~ commands.c:967:31: warning: unused variable 'len' [-Wunused-variable] int i, k, ret, user_slots, len; ^~~ fileio.c: In function 'remove_reg_user': fileio.c:1886:8: warning: variable 'line_nbr' set but not used [-Wunused-but-set-variable] int line_nbr; ^~~~~~~~ fileio.c:1883:10: warning: variable 'temp' set but not used [-Wunused-but-set-variable] char *temp; ^~~~ fileio.c: In function 'remove_linked_hub': fileio.c:1999:8: warning: variable 'ip_len' set but not used [-Wunused-but-set-variable] int ip_len; ^~~~~~ commands.c: In function 'redirect_all': commands.c:2887:51: warning: "/*" within comment [-Wcomment] /* sprintf(move_string, "$ForceMove %s", buf); /* Reported as bug in debian, buffer overflow */ commands.c: In function 'get_host': commands.c:3064:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(*temp_host == (char)NULL) ^ fileio.c: In function 'remove_line_from_file': fileio.c:2494:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(fileline, 1023, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2509:7: warning: ignoring return value of 'truncate', declared with attribute warn_unused_result [-Wunused-result] truncate(file, len); ^~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o network.o network.c main.c: In function 'set_default_vars': main.c:127:26: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(default_pass, ""); ^~ main.c: In function 'new_forked_process': main.c:194:44: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] (struct sockaddr *)&remote_addr, &len)) < 0) ^ In file included from /usr/include/netinet/in.h:23:0, from /usr/include/netdb.h:27, from main.c:28: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ main.c: In function 'new_human_user': main.c:1654:7: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] &namelen)) == -1) && ((errno == EAGAIN) || (errno == EINTR))) ^ In file included from /usr/include/netinet/in.h:23:0, from /usr/include/netdb.h:27, from main.c:28: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ main.c: In function 'udp_action': main.c:2393:31: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (struct sockaddr *)&sin, &sin_len)) == -1) ^ In file included from /usr/include/sys/socket.h:269:0, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from main.c:28: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ network.c: In function 'upload_to_hublist': network.c:667:36: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if(getsockname(s, (void*)&host, &host_len) != 0) ^ In file included from network.c:28:0: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ main.c: In function 'set_default_vars': main.c:108:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%u", &listening_port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:129:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%50s", admin_pass); ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:132:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%50s", link_pass); ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o perl_utils.o perl_utils.c In file included from perl_utils.c:26:0: perl_utils.c: In function 'perl_init': perl_utils.c:207:38: warning: passing argument 2 of 'Perl_sys_init3' from incompatible pointer type [-Wincompatible-pointer-types] PERL_SYS_INIT3(&myargc, &myargv, NULL); ^ /usr/lib64/perl5/CORE/perl.h:2988:62: note: in definition of macro 'PERL_SYS_INIT3' #define PERL_SYS_INIT3(argc, argv, env) Perl_sys_init3(argc, argv, env) ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609:0, from perl_utils.c:26: /usr/lib64/perl5/CORE/proto.h:3484:20: note: expected 'char ***' but argument is of type 'char * (*)[2]' PERL_CALLCONV void Perl_sys_init3(int* argc, char*** argv, char*** env); ^~~~~~~~~~~~~~ perl_utils.c:219:30: warning: passing argument 2 of 'perl_parse' from incompatible pointer type [-Wincompatible-pointer-types] if(perl_parse(my_perl, xs_init, myargc, myargv, NULL)) ^~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:5609:0, from perl_utils.c:26: /usr/lib64/perl5/CORE/proto.h:2526:19: note: expected 'XSINIT_t {aka void (*)(struct interpreter *)}' but argument is of type 'void (*)(void)' PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env); ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o userlist.o userlist.c userlist.c: In function 'init_user_list': userlist.c:82:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] shmdt((char *)user_list_shm_id); ^ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o utils.o utils.c utils.c: In function 'cut_string': utils.c:61:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] while((buf[i] != c) && (buf[i] != (char)NULL)) ^ userlist.c: In function 'send_nick_list': userlist.c:559:29: warning: '$$' directive writing 2 bytes into a region of size between 1 and 51 [-Wformat-overflow=] sprintf(temp_nick, "%s$$", user->nick); ^~ In file included from /usr/include/stdio.h:862:0, from userlist.c:33: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 53 bytes into a destination of size 51 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o xs_functions.o xs_functions.c In file included from /usr/lib64/perl5/CORE/perl.h:5644:0, from xs_functions.c:28: xs_functions.c: In function 'xs_init': xs_functions.c:865:41: warning: passing argument 3 of 'Perl_newXS' from incompatible pointer type [-Wincompatible-pointer-types] newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file); ^ /usr/lib64/perl5/CORE/embed.h:430:42: note: in definition of macro 'newXS' #define newXS(a,b,c) Perl_newXS(aTHX_ a,b,c) ^ In file included from /usr/lib64/perl5/CORE/perl.h:5609:0, from xs_functions.c:28: /usr/lib64/perl5/CORE/proto.h:2348:19: note: expected 'XSUBADDR_t {aka void (*)(struct interpreter *, struct cv *)}' but argument is of type 'void (*)(CV *) {aka void (*)(struct cv *)}' PERL_CALLCONV CV* Perl_newXS(pTHX_ const char *name, XSUBADDR_t subaddr, const char *filename); ^~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o opendchub commands.o fileio.o main.o network.o perl_utils.o userlist.o utils.o xs_functions.o -Wl,--enable-new-dtags -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc -lcap -lcrypt make[2]: Leaving directory '/builddir/build/BUILD/opendchub-0.8.3/src' make[2]: Entering directory '/builddir/build/BUILD/opendchub-0.8.3' make[2]: Leaving directory '/builddir/build/BUILD/opendchub-0.8.3' make[1]: Leaving directory '/builddir/build/BUILD/opendchub-0.8.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TabMnm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64 + cd opendchub-0.8.3 + rm -rf /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/opendchub-0.8.3/src' make[2]: Entering directory '/builddir/build/BUILD/opendchub-0.8.3/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/bin' install -p opendchub '/builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/opendchub-0.8.3/src' make[1]: Leaving directory '/builddir/build/BUILD/opendchub-0.8.3/src' make[1]: Entering directory '/builddir/build/BUILD/opendchub-0.8.3' make[2]: Entering directory '/builddir/build/BUILD/opendchub-0.8.3' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/opendchub-0.8.3' make[1]: Leaving directory '/builddir/build/BUILD/opendchub-0.8.3' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: opendchub-0.8.3-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8qOihj + umask 022 + cd /builddir/build/BUILD + cd opendchub-0.8.3 + DOCDIR=/builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + cp -pr AUTHORS /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + cp -pr ChangeLog /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + cp -pr COPYING /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + cp -pr NEWS /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + cp -pr README /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + cp -pr TODO /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + cp -pr Samplescripts /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64/usr/share/doc/opendchub + exit 0 Provides: opendchub = 0.8.3-7.fc28 opendchub(riscv-64) = 0.8.3-7.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcap.so.2()(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libperl.so.5.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libresolv.so.2()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/opendchub-0.8.3-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/opendchub-0.8.3-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GuhJKa + umask 022 + cd /builddir/build/BUILD + cd opendchub-0.8.3 + rm -rf /builddir/build/BUILDROOT/opendchub-0.8.3-7.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff