Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cuxB4Q + umask 022 + cd /home/zsun/rpmbuild/BUILD + Download ++ test -f jdk-7u80-linux-x64.tar.gz ++ sha256sum jdk-7u80-linux-x64.tar.gz + SHA='e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 jdk-7u80-linux-x64.tar.gz' + [[ ! -f jdk-7u80-linux-x64.tar.gz ]] + [[ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 != \b\a\d\9\a\7\3\1\6\3\9\6\5\5\1\1\8\7\4\0\b\e\e\1\1\9\1\3\9\c\1\e\d\0\1\9\7\3\7\e\c\8\0\2\a\6\3\0\d\d\7\a\d\7\a\a\b\4\3\0\9\6\2\3 ]] + wget --no-check-certificate --no-cookies --header 'Cookie: oraclelicense=accept-securebackup-cookie' -O jdk-7u80-linux-x64.tar.gz http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz --2018-04-07 16:49:22-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.37.115.239 Connecting to download.oracle.com (download.oracle.com)|23.37.115.239|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [following] --2018-04-07 16:49:23-- https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.50.91.58, 2600:1417:9:28d::2d3e, 2600:1417:9:28c::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|184.50.91.58|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1523091085_46a09373437fa591d85e25fe1fdd8b69 [following] --2018-04-07 16:49:25-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1523091085_46a09373437fa591d85e25fe1fdd8b69 Connecting to download.oracle.com (download.oracle.com)|23.37.115.239|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-04-07 16:49:27 ERROR 404: Not Found. error: Bad exit status from /var/tmp/rpm-tmp.cuxB4Q (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.cuxB4Q (%prep)