[root@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.
From: Carl Byington <carl@byington.org>
To: Matthew Richardson <matthew-l@itconsult.co.uk>, bind-users@lists.isc.org >Cc:
Date: Sat, 29 Aug 2020 13:53:48 -0700
Subject: Re: rpmbuild problem with 9.11.22 on Centos
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On Sat, 2020-08-29 at 19:06 +0100, Matthew Richardson wrote:
My guess (which may be wrong) is that something is wrong with the
line:-
%set_build_flags
in bind.spec.
It looks like isc is depending on some rpm macros from epel
yum install epel-rpm-macros
-----BEGIN PGP SIGNATURE-----
iHMEAREKADMWIQSuFMepaSkjWnTxQ5QvqPuaKVMWwQUCX0rARxUcY2FybEBmaXZl >LXRlbi1zZy5jb20ACgkQL6j7milTFsG3fACaA5uiRIRN5AU9Gpql+s4wcUqP9h0A >n0Gv0z5a0GzUaV3/VEz9REtAOCSo
=TQ+p
-----END PGP SIGNATURE-----
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@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
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 991 |
Nodes: | 10 (0 / 10) |
Uptime: | 82:02:06 |
Calls: | 12,949 |
Calls today: | 3 |
Files: | 186,574 |
Messages: | 3,264,677 |