hi. I've tried to package phpfarm (https://github.com/fpoirotte/phpfarm). First I packaged it on my pc using following spec file: http://pastebin.com/FMnpxsTd. Then, since I have phpfarm compiled already on my system - I wanted to try it in virtualbox, but when I run "$ sudo dnf install /mnt/rpmbuild/RPMS/x86_64/phpfarm-0.2.0-1.fc22.x86_64.rpm" I get the following error:
Error: nothing provides /home/makerpm/rpmbuild/BUILD/phpfarm-0.2.0/inst/php-5.4.42/bin/php needed by phpfarm-0.2.0-1.fc22.x86_64
on my pc I have rpmbuild directory in "/home/makerpm/rpmbuild" which I shared using nfs into virtualbox and mounted it as "/mnt/rpmbuild". Did I miss something?
On Sun, 2015-09-27 at 13:44 +0200, Miloslav Nenadal wrote:
hi. I've tried to package phpfarm
Hey!
(https://github.com/fpoirotte/phpfarm). First I packaged it on my pc using following spec file: http://pastebin.com/FMnpxsTd. Then, since I have phpfarm compiled already on my system - I wanted to try it in virtualbox, but when I run "$ sudo dnf install /mnt/rpmbuild/RPMS/x86_64/phpfarm-0.2.0-1.fc22.x86_64.rpm" I get the following error:
Error: nothing provides /home/makerpm/rpmbuild/BUILD/phpfarm-0.2.0/inst/php-5.4.42/bin/php needed by phpfarm-0.2.0-1.fc22.x86_64
on my pc I have rpmbuild directory in "/home/makerpm/rpmbuild" which I shared using nfs into virtualbox and mounted it as "/mnt/rpmbuild". Did I miss something?
It's a bit difficult to diagnose without knowing what main.sh is doing, but I'd guess that when you build your phpfarm rpm, you need to check what "requires" rpm picks for it - it looks like it's picking php that is installed in the buildroot, which is shouldn't ideally do.
Unfortunately, I'm not too well versed with PHP packaging. May be take a look here and see if it says something: https://fedoraproject.org/wiki/Packaging:PHP
Oh, and please subscribe to the mailing list otherwise all your e-mails will keep getting held up in the moderation queue with a lot of spam - and us moderators may miss it.
fedora-join@lists.fedoraproject.org