Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-110795-7183/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/mailx-12.5-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-110795-7183/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uSnPjN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mailx-12.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mailx-12.5.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd mailx-12.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mailx-12.5-outof-Introduce-expandaddr-flag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mailx-12.5-fio.c-Unconditionally-require-wordexp-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mailx-12.5-globname-Invoke-wordexp-with-WRDE_NOCMD-CVE-2004-277.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mailx-12.5-unpack-Disable-option-processing-for-email-addresses.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/work-round-openssl-build-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uhrEIh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mailx-12.5 + /usr/bin/make -O -j8 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64' IPv6=-DHAVE_IPv6_FUNCS SENDMAIL=/usr/sbin/sendmail MAILSPOOL=/var/mail MAILRC=/etc/mail.rc PREFIX=/usr SYSCONFDIR=/etc /bin/sh ./makeconfig checking if a hello world program can be built ... okay checking for ... okay checking for alloca() ... okay checking for ssize_t ... okay checking for snprintf() ... okay checking for fchdir() ... okay checking for mmap() ... okay checking for mremap() ... okay checking for iconv functionality ... okay checking for wctype functionality ... okay checking for wcwidth() ... okay checking for mbtowc() ... okay checking for setlocale() ... okay checking for nl_langinfo() ... no checking for mkstemp() ... no checking for fpathconf() ... no checking for wordexp() ... no checking for ... okay checking for socket functionality in libc ... no checking for socket functionality in libnsl ... no checking for socket functionality in libsocket and libnsl ... no checking for Network Security Services (NSS) ... no checking for sufficiently recent OpenSSL ... no checking for GSSAPI in libgss ... no checking for GSSAPI in libgssapi_krb5 ... no checking for GSSAPI in libgssapi_krb5, old-style ... no checking for GSSAPI in libgssapi ... no The following optional features are enabled: + Locale support: Printable characters depend on the environment + Multibyte character support + Character set conversion using iconv() The following optional features are disabled: - Automatic detection of terminal character set - Networking support (IMAP, POP3, and SMTP) - IMAP GSSAPI authentication - SSL/TLS (network transport authentication and encryption) Remarks: /bin/sh ./makeconfig checking if a hello world program can be built ... okay checking for ... okay checking for alloca() ... okay checking for ssize_t ... okay checking for snprintf() ... okay checking for fchdir() ... okay checking for mmap() ... okay checking for mremap() ... okay checking for iconv functionality ... okay checking for wctype functionality ... okay checking for wcwidth() ... okay checking for mbtowc() ... okay checking for setlocale() ... okay checking for nl_langinfo() ... no checking for mkstemp() ... no checking for fpathconf() ... no checking for wordexp() ... no checking for ... okay checking for socket functionality in libc ... no checking for socket functionality in libnsl ... no checking for socket functionality in libsocket and libnsl ... no checking for Network Security Services (NSS) ... no checking for sufficiently recent OpenSSL ... no checking for GSSAPI in libgss ... no checking for GSSAPI in libgssapi_krb5 ... no checking for GSSAPI in libgssapi_krb5, old-style ... no checking for GSSAPI in libgssapi ... no The following optional features are enabled: + Locale support: Printable characters depend on the environment + Multibyte character support + Character set conversion using iconv() The following optional features are disabled: - Automatic detection of terminal character set - Networking support (IMAP, POP3, and SMTP) - IMAP GSSAPI authentication - SSL/TLS (network transport authentication and encryption) Remarks: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cache.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cmdtab.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c dotlock.c dotlock.c: In function 'create_exclusive': dotlock.c:143:17: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | setgid(realgid); | ^~~~~~~~~~~~~~~ dotlock.c:146:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | write(fd, apid, strlen(apid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dotlock.c:160:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 160 | setgid(realgid); | ^~~~~~~~~~~~~~~ dotlock.c:174:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | setgid(realgid); | ^~~~~~~~~~~~~~~ dotlock.c: In function 'dot_unlock': dotlock.c:277:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 277 | setgid(realgid); | ^~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c base64.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c edit.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c fio.c fio.c:48:2: error: #error wordexp support is required 48 | #error wordexp support is required | ^~~~~ fio.c: In function 'getfold': fio.c:545:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 545 | if (*folder == '/' || (p = which_protocol(folder)) != PROTO_FILE && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 546 | p != PROTO_MAILDIR) { | ~~~~~~~~~~~~~~~~~~ make: *** [Makefile:80: fio.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c getname.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c getopt.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cmd2.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c collect.c collect.c: In function 'read_attachment_data': collect.c:281:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 281 | (cp = value("sendcharsets")) != NULL && | ^ collect.c: In function 'collect': collect.c:650:75: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 650 | if (linebuf[0] != escape || (value("interactive") == NULL && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 651 | tildeflag == 0 || | ~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cmd1.c In file included from rcv.h:65, from cmd1.c:45: cmd1.c: In function 'headers': def.h:409:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 409 | dot==(mp) && (mp)->m_flag&MKILL) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cmd1.c:107:29: note: in expansion of macro 'visible' 107 | if (visible(mp)) { | ^~~~~~~ cmd1.c:114:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 114 | if (n>0 && mp==&message[n-1] || | ~~~~^~~~~~~~~~~~~~~~~~~~ cmd1.c:116:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 116 | n==-2 && g==k+size && lastmq || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ cmd1.c:117:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 117 | n<0 && g>=k && mp->m_flag&fl) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ cmd1.c:121:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 121 | if (lastmq && (n==-2 || n==-1 && mp==&message[msgCount])) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ def.h:409:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 409 | dot==(mp) && (mp)->m_flag&MKILL) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cmd1.c:130:37: note: in expansion of macro 'visible' 130 | if (visible(mq)) { | ^~~~~~~ def.h:409:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 409 | dot==(mp) && (mp)->m_flag&MKILL) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cmd1.c:139:30: note: in expansion of macro 'visible' 139 | if (!visible(mp)) | ^~~~~~~ def.h:409:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 409 | dot==(mp) && (mp)->m_flag&MKILL) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cmd1.c:149:29: note: in expansion of macro 'visible' 149 | if (visible(mp) && (mp->m_collapsed <= 0 || | ^~~~~~~ cmd1.c:157:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 157 | if (n>0 && mp==&message[n-1] || | ~~~~^~~~~~~~~~~~~~~~~~~~ cmd1.c:159:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 159 | n==-2 && g==k+size && lastmq || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ cmd1.c:160:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 160 | n<0 && g>=k && mp->m_flag&fl) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ cmd1.c:164:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 164 | if (lastmq && (n==-2 || n==-1 && mp==&message[msgCount])) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ def.h:409:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 409 | dot==(mp) && (mp)->m_flag&MKILL) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cmd1.c:172:37: note: in expansion of macro 'visible' 172 | if (visible(mq) && mq->m_collapsed <= 0) { | ^~~~~~~ def.h:409:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 409 | dot==(mp) && (mp)->m_flag&MKILL) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cmd1.c:178:29: note: in expansion of macro 'visible' 178 | if (visible(mp) && (mp->m_collapsed <= 0 || | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c aux.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DMAILRC='"/etc/mail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -DHAVE_IPv6_FUNCS -c cmd3.c cmd3.c: In function 'cfile': cmd3.c:838:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 838 | strncpy(mboxname, expand("&"), sizeof mboxname)[sizeof mboxname-1]='\0'; | ^ cmd3.c: In function 'account': cmd3.c:1347:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 1347 | strncpy(mboxname, expand("&"), sizeof mboxname)[sizeof mboxname-1]='\0'; | ^ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.uhrEIh (%build) Bad exit status from /var/tmp/rpm-tmp.uhrEIh (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mailx.spec