linphone packaging

Jonas Smedegaard jonas at jones.dk
Mon Apr 24 06:14:22 UTC 2017


Quoting Daniel Gnoutcheff (2017-04-24 07:32:18)
> Wow, thanks very much!
> 
> FYI, my first attempt to build linphone itself (`gbp buildpackage`, no
> pbuilder) failed with:
> 
> > *** PACKAGE_VERSION and git tag differ. Please put them identical.
> > Makefile:1205: recipe for target 'make_gitversion_h' failed
> > make[3]: *** [make_gitversion_h] Error 1
> > make[3]: Leaving directory '/home/gnoutchd/debian/pkg-voip/linphone/linphone/coreapi'
> > Makefile:618: recipe for target 'all-recursive' failed
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory '/home/gnoutchd/debian/pkg-voip/linphone/linphone'
> > Makefile:546: recipe for target 'all' failed
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory '/home/gnoutchd/debian/pkg-voip/linphone/linphone'
> > dh_auto_build: make -j2 returned exit code 2
> > debian/rules:9: recipe for target 'binary' failed
> > make: *** [binary] Error 2
> > dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
> 
> This error goes away when I build the generated src pkg outside of git.
> I assume that pbuilder/cowbuilder would have a similar effect.
> 
> The error's from coreapi/Makefile.am, which seems to assume we're
> building from upstream's git.

Thanks for testing and reporting this, Daniel.  Even better if you 
report as a proper bugreport so we can more effectively track this 
issue.

We should then carry a patch ensuring autotools does not invoke git!

...and try convince upstream to avoid that too: It is an antipattern for 
build system to make assumptions on its environment (which a git 
database is - it is *not* part of source).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20170424/0882a113/attachment.sig>


More information about the Pkg-voip-maintainers mailing list