rpmbuild problem with 9.11.22 on Centos
Matthew Richardson
matthew-l at itconsult.co.uk
Sat Aug 29 18:06:53 UTC 2020
Today I have been trying to compile 9.11.22 on Centos 7 with a procedure
that has been used successfully on many previous releases. The last
version I compiled successfully was 9.11.19.
The process involves downloading the Copr source RPM and then compiling
with rpmbuild. Today's output is:-
>[root at li277-75 ~]# rpmbuild --rebuild --define 'dist .el7' --without scl isc-bind-bind-9.11.22-1.1.el7.src.rpm
>Installing isc-bind-bind-9.11.22-1.1.el7.src.rpm
>warning: isc-bind-bind-9.11.22-1.1.el7.src.rpm: Header V3 RSA/SHA1 Signature, key ID 4168cd93: NOKEY
>warning: user mockbuild does not exist - using root
>warning: group mock does not exist - using root
>warning: user mockbuild does not exist - using root
>warning: group mock does not exist - using root
>warning: user mockbuild does not exist - using root
>warning: group mock does not exist - using root
>warning: user mockbuild does not exist - using root
>warning: group mock does not exist - using root
>warning: user mockbuild does not exist - using root
>warning: group mock does not exist - using root
>warning: user mockbuild does not exist - using root
>warning: group mock does not exist - using root
>Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sl7q9u
>+ umask 022
>+ cd /root/rpmbuild/BUILD
>+ cd /root/rpmbuild/BUILD
>+ rm -rf bind-9.11.22
>+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/bind-9.11.22.tar.gz
>+ /usr/bin/tar -xf -
>+ STATUS=0
>+ '[' 0 -ne 0 ']'
>+ cd bind-9.11.22
>+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
>+ exit 0
>Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oI0ckT
>+ umask 022
>+ cd /root/rpmbuild/BUILD
>+ cd bind-9.11.22
>+ %set_build_flags
>/var/tmp/rpm-tmp.oI0ckT: line 30: fg: no job control
>error: Bad exit status from /var/tmp/rpm-tmp.oI0ckT (%build)
>
>
>RPM build errors:
> isc-bind-bind-9.11.22-1.1.el7.src.rpm: Header V3 RSA/SHA1 Signature, key ID 4168cd93: NOKEY
> user mockbuild does not exist - using root
> group mock does not exist - using root
> user mockbuild does not exist - using root
> group mock does not exist - using root
> user mockbuild does not exist - using root
> group mock does not exist - using root
> user mockbuild does not exist - using root
> group mock does not exist - using root
> user mockbuild does not exist - using root
> group mock does not exist - using root
> user mockbuild does not exist - using root
> group mock does not exist - using root
> Bad exit status from /var/tmp/rpm-tmp.oI0ckT (%build)
My guess (which may be wrong) is that something is wrong with the line:-
%set_build_flags
in bind.spec.
Any thoughts from others, more knowledgeable that myself, would be
appreciated.
The same error occurs on both Centos 7 & Centos 6.
Best wishes,
Matthew
More information about the bind-users
mailing list