BelledonneCommunications / flexisip

Linphone.org mirror for flexisip (git://git.linphone.org/flexisip.git)
http://flexisip.org
GNU Affero General Public License v3.0
144 stars 69 forks source link

error: line 66: Unknown tag: %{systemd_requires} #73

Open hpng6 opened 4 years ago

hpng6 commented 4 years ago

im using ubuntu 18.04 with docker image.

error: line 66: Unknown tag: %{systemd_requires} CMakeFiles/EP_flexisip.dir/build.make:120: recipe for target '/home/bc/flexisip/WORK/flexisip-rpm/Stamp/EP_flexisip/EP_flexisip-build' failed make[3]: [/home/bc/flexisip/WORK/flexisip-rpm/Stamp/EP_flexisip/EP_flexisip-build] Error 1 make[3]: Leaving directory '/home/bc/flexisip/WORK/flexisip-rpm/cmake' CMakeFiles/Makefile2:351: recipe for target 'CMakeFiles/EP_flexisip.dir/all' failed make[2]: [CMakeFiles/EP_flexisip.dir/all] Error 2 make[2]: Leaving directory '/home/bc/flexisip/WORK/flexisip-rpm/cmake' Makefile:83: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/home/bc/flexisip/WORK/flexisip-rpm/cmake' Makefile:14: recipe for target 'flexisip-rpm-build' failed make: [flexisip-rpm-build] Error 2

istiak101 commented 1 year ago

%{systemd_requires} is a rpm macro. It doesn't exist on your specific version of docker image.

https://github.com/redhat-openstack/easyfix/issues/23 https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/