python - error: command 'rpmbuild' failed -


i trying generate rpm package.

my macos el capitan , rpm generation performed docker red hat 6.

my user root

my .rpmmacros file is:

%__os_install_post \ /usr/lib/rpm/redhat/brp-compress \ %{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip}} \ /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \ /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \ /usr/lib/rpm/redhat/brp-python-hardlink \ %{!?__jar_repack:/usr/lib/rpm/redhat/brp-java-repack-jars} \ %{nil}

and y next error:

building rpms rpmbuild -bb --define _topdir $my_project_path/build/bdist.linux-x86_64/rpm --clean build/bdist.linux-x86_64/rpm/specs/udo.spec error: error creating temporary file /var/tmp/rpm-tmp.oyik1k: operation not permitted error: unable open temp file.

rpm build errors: error creating temporary file /var/tmp/rpm-tmp.oyik1k: operation not permitted unable open temp file.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -