Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VaXszZ + umask 022 + cd /home/zsun/rpmbuild/BUILD + Download ++ test -f jdk-8u92-linux-x64.tar.gz ++ sha256sum jdk-8u92-linux-x64.tar.gz + SHA='e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 jdk-8u92-linux-x64.tar.gz' + [[ ! -f jdk-8u92-linux-x64.tar.gz ]] + [[ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 != \7\9\a\3\f\2\5\e\9\b\4\6\6\c\b\9\e\9\6\9\d\1\7\7\2\e\a\3\8\5\5\0\d\e\3\2\0\c\8\8\e\9\1\1\9\b\f\8\a\a\1\1\c\e\8\5\4\7\c\3\9\9\8\7 ]] + wget --no-check-certificate --no-cookies --header 'Cookie: oraclelicense=accept-securebackup-cookie' -O jdk-8u92-linux-x64.tar.gz http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz --2018-04-07 16:49:29-- http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-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/8u92-b14/jdk-8u92-linux-x64.tar.gz [following] --2018-04-07 16:49:30-- https://edelivery.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.50.91.58, 2600:1417:9:28c::2d3e, 2600:1417:9:28d::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/8u92-b14/jdk-8u92-linux-x64.tar.gz?AuthParam=1523091091_c707023d15d09b941953cbd6121ab539 [following] --2018-04-07 16:49:32-- http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz?AuthParam=1523091091_c707023d15d09b941953cbd6121ab539 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:34 ERROR 404: Not Found. error: Bad exit status from /var/tmp/rpm-tmp.VaXszZ (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VaXszZ (%prep)