leonmaxx / primus-vk-rpm

RPM packaging script for Primus-vk
2 stars 1 forks source link

Unable to compile on openSUSE Tumbleweed #7

Open mikart143 opened 4 years ago

mikart143 commented 4 years ago

Hello ! I have problem with compiling this on openSUSE Tumbleweed. I fixed mesa lib name and I am still getting error:

Downloading... Building 64-bit package... Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N3istO

  • umask 022
  • cd /home/mikart/Downloads/primus-vk-rpm-master/work/BUILD
  • cd /home/mikart/Downloads/primus-vk-rpm-master/work/BUILD
  • rm -rf primus_vk-master
  • /usr/bin/unzip -qq /home/mikart/Downloads/primus-vk-rpm-master/work/SOURCES/primus_vk-master.zip
  • STATUS=0
  • '[' 0 -ne 0 ']'
  • cd primus_vk-master
  • /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • echo 'Patch #0 (makefile.patch):' Patch #0 (makefile.patch):
  • /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Hunk #1 FAILED at 10. Hunk #2 FAILED at 20. 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej error: Bad exit status from /var/tmp/rpm-tmp.N3istO (%prep)

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.N3istO (%prep) Building 32-bit package... Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OLCrOp

  • umask 022
  • cd /home/mikart/Downloads/primus-vk-rpm-master/work/BUILD
  • cd /home/mikart/Downloads/primus-vk-rpm-master/work/BUILD
  • rm -rf primus_vk-master
  • /usr/bin/unzip -qq /home/mikart/Downloads/primus-vk-rpm-master/work/SOURCES/primus_vk-master.zip
  • STATUS=0
  • '[' 0 -ne 0 ']'
  • cd primus_vk-master
  • /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • echo 'Patch #0 (makefile.patch):' Patch #0 (makefile.patch):
  • /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Hunk #1 FAILED at 10. Hunk #2 FAILED at 20. 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej error: Bad exit status from /var/tmp/rpm-tmp.OLCrOp (%prep)

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OLCrOp (%prep)

I know that there is a;ready issue with this but I will not left this issue like the guy before