per a previous thread i took a shot at cleaning up the fence-agents rpm
to only include the missing agents and make a new package. i am having
some issues with the source url and getting it to build. the srpm is ok,
but when i try to rebuild it into a proper rpm i get the following
(output truncated):
---
+ py39_byte_compile /usr/bin/python3
/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence
+ python_binary='env PYTHONHASHSEED=0 /usr/bin/python3'
+
bytecode_compilation_path=/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence
+ env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s
/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64 -p /
/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence
Listing
'/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence'...
Can't list
'/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence'
+ chmod 0755
/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence/fence_pve.py
/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence/fence_raritan.py
/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence/fence_rcd_serial.py
/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence/fence_virsh.py
chmod: cannot access
'/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence/fence_pve.py':
No such file or directory
chmod: cannot access
'/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence/fence_raritan.py':
No such file or directory
chmod: cannot access
'/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence/fence_rcd_serial.py':
No such file or directory
chmod: cannot access
'/builddir/build/BUILDROOT/fence-agents-epel-4.11.0-1.el9.x86_64/usr/share/fence/fence_virsh.py':
No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.S10L6D (%install)
---
i even tried to comment out the bytecompile lines but got the same error.
is it possible to get some help sorting this out? i have attached the
WIP spec file.
thank you.
Show replies by thread