I successfully built the debs on Jessie (kamailio.org server) with the latest master branch (including my last commit to update the path to ChangeLog) by using the following commands:
cd src/ ln -s ../pkg/kamailio/deb/jessie debian make deb
I didn't get the maintainer-clean loop.
The debs were stored in root folder of kamailio source tree -- until the deb spec files will be tuned properly, maybe this is a good-enough solution for those that want to build debs.
If I get more time, I will try to play also with building with the command in root folder.
Daniel
On 09/12/2016 13:58, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
Anyhow, it guess you try to build deb packages. In this case the rules are from the debian specs, not from kamailio Makefiles, and they were not updated, hopefully Victor Seva (or someone else with deb packaging experience) will get the time to work on them very soon.
If I comment out in pkg/kamailio/deb/jessie/rules:
clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. $(MAKE) maintainer-clean dh_clean
'$(MAKE) maintainer-clean' line, the loop does not occur.
-- Juha