+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/x11-ssh-askpass.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 warning: Macro expanded in comment on line 24: %__alternatives warning: Macro expanded in comment on line 25: %__alternatives Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kLMg4Y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf x11-ssh-askpass-1.2.4.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/x11-ssh-askpass-1.2.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd x11-ssh-askpass-1.2.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (x11-ssh-askpass-1.2.4-random.patch):' Patch #0 (x11-ssh-askpass-1.2.4-random.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .random --fuzz=0 patching file dynlist.c patching file dynlist.h patching file x11-ssh-askpass.c patching file x11-ssh-askpass.h patching file x11-ssh-askpass.man.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HfQHsW + umask 022 + cd /builddir/build/BUILD + cd x11-ssh-askpass-1.2.4.1 + export LDFLAGS=-Wl,--as-needed + LDFLAGS=-Wl,--as-needed + 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,--as-needed + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 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 --libexecdir=/usr/libexec/openssh x11-ssh-askpass has been configured with the following options: Askpass directory: /usr/libexec/openssh Manual page: /usr/share/man/man1 Application defaults file: SshAskpass-default.ad Application defaults directory: default Install application defaults file: yes Compiler: default Compiler flags: -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 Linker flags: -Wl,--as-needed You may now create the Makefile and build x11-ssh-askpass using the following commands: xmkmf make includes make + xmkmf imake -DUseInstalled -I/usr/share/X11/config + make includes XAPPLOADDIR=/usr/share/X11/app-defaults ln -s SshAskpass-default.ad SshAskpass.ad sed -n '/^[^!]/s/.*/"&",/p' SshAskpass_ad.h.tmp mv -f SshAskpass_ad.h.tmp SshAskpass_ad.h + make -j4 XAPPLOADDIR=/usr/share/X11/app-defaults 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 -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o drawing.o drawing.c 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 -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o dynlist.o dynlist.c 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 -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o resources.o resources.c 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 -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o x11-ssh-askpass.o x11-ssh-askpass.c gcc: error: LinuxMachineDefines: No such file or directory gcc: error: LinuxMachineDefines: No such file or directory make: *** [: dynlist.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [: drawing.o] Error 1 gcc: error: LinuxMachineDefines: No such file or directory gcc: error: LinuxMachineDefines: No such file or directory make: *** [: x11-ssh-askpass.o] Error 1 make: *** [: resources.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.HfQHsW (%build) RPM build errors: Macro expanded in comment on line 24: %__alternatives Macro expanded in comment on line 25: %__alternatives Bad exit status from /var/tmp/rpm-tmp.HfQHsW (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff