We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting the prefix to /opt
prefix
/opt
%define __prefix /opt
causes the packaging to fail,
+ '[' '!' -z 2.7 ']' + cd /home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/opt/bin + mv pydoc pydoc.old + sed 's|#!.*|#!/opt/bin/python2.7|' pydoc.old + chmod 755 pydoc + rm -f pydoc.old + sed -i -e 's|#!.*|#!/opt/bin/python2.7|' python2.7-config + '[' '!' -z 2.7 ']' + cd /home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/opt/bin + for file in 2to3 pydoc python-config idle smtpd.py + '[' -f 2to3 ']' + mv 2to3 2to32.7 + for file in 2to3 pydoc python-config idle smtpd.py + '[' -f pydoc ']' + mv pydoc pydoc2.7 + for file in 2to3 pydoc python-config idle smtpd.py + '[' -f python-config ']' + for file in 2to3 pydoc python-config idle smtpd.py + '[' -f idle ']' + mv idle idle2.7 + for file in 2to3 pydoc python-config idle smtpd.py + '[' -f smtpd.py ']' + mv smtpd.py smtpd.py2.7 + chmod 644 /home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/opt/lib/libpython2.7.a + cp -a Tools /home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/opt/lib/python2.7 + rm -f mainpkg.files + sed 's|^/home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64|/|' + grep -v -e '_tkinter.so$' + find /home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/opt/lib/python2.7 -type f + grep -v -e '/bin/2to32.7$' + grep -v -e '/bin/pydoc2.7$' + grep -v -e '/bin/smtpd.py2.7$' + find /home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/opt/bin -type f -o -type l + grep -v -e '/bin/idle2.7$' + sed 's|^/home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64|/|' + echo /opt/include/python2.7/pyconfig.h + rm -f tools.files + echo /opt/lib/python2.7/Tools + echo /opt/lib/python2.7/lib2to3/tests + echo /opt/bin/2to32.7 + echo /opt/bin/pydoc2.7 + echo /opt/bin/smtpd.py2.7 + echo /opt/bin/idle2.7 + mkdir -p /home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/var/www/html/python2.7.10 + cd /home/dylan/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/var/www/html/python2.7.10 + tar x + bunzip2 /var/tmp/rpm-tmp.Cc1sus: line 95: /home/dylan/rpmbuild/SOURCES/python-2.7.10-docs-html.tar.bz2: No such file or directory tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors error: Bad exit status from /var/tmp/rpm-tmp.Cc1sus (%install) RPM build errors: bogus date in %changelog: Fri Jun 28 2012 Nathan Milford <[email protected]> [2.7.5-1] bogus date in %changelog: Tue Nov 18 2001 Sean Reifschneider <[email protected]> bogus date in %changelog: Mon Oct 9 2001 Sean Reifschneider <[email protected]> Bad exit status from /var/tmp/rpm-tmp.Cc1sus (%install)
It fails whether %define config_include_docs is yes or no.
%define config_include_docs
yes
no
The text was updated successfully, but these errors were encountered:
Same:
RPM build errors: File not found: /root/rpmbuild/BUILDROOT/python27-2.7.10-1.x86_64/usr/local/share/man/man1/python2.7.1.gz
__prefix set to /usr/local/, building in centos:6 Docker image. Note that unchanged spec (__prefix set to /usr) works as intended.
__prefix
/usr/local/
centos:6
/usr
Sorry, something went wrong.
No branches or pull requests
Setting the
prefix
to/opt
causes the packaging to fail,
It fails whether
%define config_include_docs
isyes
orno
.The text was updated successfully, but these errors were encountered: