Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OApeMv + 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 --2017-09-13 01:08:16-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 23.3.97.67, 23.3.97.18 Connecting to download.oracle.com (download.oracle.com)|23.3.97.67|: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] --2017-09-13 01:08:16-- https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.218.32.134, 2600:1417:9:28c::2d3e, 2600:1417:9:28d::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.218.32.134|: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=1505236217_42f20b8a60b2635fc114c3466b153085 [following] --2017-09-13 01:08:17-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1505236217_42f20b8a60b2635fc114c3466b153085 Connecting to download.oracle.com (download.oracle.com)|23.3.97.67|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-09-13 01:08:19 ERROR 404: Not Found. error: Bad exit status from /var/tmp/rpm-tmp.OApeMv (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OApeMv (%prep)