[iaxmodem REMOVED from testing]

Joerg Dorchain joerg at dorchain.net
Thu Apr 12 15:51:23 BST 2018


On Wed, Apr 11, 2018 at 04:32:13PM +0200, Bernhard Schmidt wrote:
> 
> You have imported the full sources into the upstream branch, gbp has
> tagged this upstream/1.3.0. It has then been merged into master and a
> couple of files dropped in master
> https://salsa.debian.org/pkg-voip-team/iaxmodem/commit/2b9d324de05b993efdba69af38c0ed82ca722d08.
> I assume these are not DFSG-clean and must not be distributed by Debian?

These have been removed  from distribution in the debian packet
before I touched it and even the build rules explicitly stop when
they exist. You saw that below.
I suspect both policy reasons (MS Vistual Stidio files) and
architectural reasons (mmx-cpu not available everywhere).

> Anyway, the git-buildpackage workflow, when you do not have the orig
> tarball (as it is the case with my git checkout) is to make a tarball
> out of the upstream/<upstreamversion> tarball, then put the debian/
> content in master in the debian tarball. At build those are merged together.
> 
> Your upstream version (changelog) is 1.3.0~dfsg. There is no tag
> upstream/1.3.0_dfsg, so gbp buildpackage bails out.
> 
> When I manually tag the upstream/1.3.0 commit as upstream/1.3.0_dfsg the
> orig.tar.bz2 is recreated from the upstream branch, but your deletions
> outside debian/ cannot be represented in the Debian tarball. I get
> 
> dpkg-source: warning: ignoring deletion of file lib/spandsp/Makefile.in,
> use --include-removal to override
> dpkg-source: warning: ignoring deletion of file lib/spandsp/aclocal.m4,
> use --include-removal to override
> dpkg-source: warning: ignoring deletion of file lib/spandsp/config-h.in,
> use --include-removal to override
> 
> etc and the build fails.

These are files created and later deleted automatically  via the
implicit dh_autoreconf with compat level11.
Upstream uses aclocal-1.13, which makes my local build fail, as
I do not have that version.

> 
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Check that problematic files have been removed prior to packaging
> ( [ ! -e lib/spandsp/src/spandsp/mmx.h ] && \
>         [ ! -d lib/spandsp/src/msvc ] && [ ! -f
> lib/spandsp/libspandsp.vcproj ] \
> #               && [ ! -d lib/spandsp/autom4te.cache ] && [ ! -d
> lib/libiax2/autom4te.cache ] \
>         ) || (echo "WARNING: sources are not clean!"; false)
> WARNING: sources are not clean!
> make[1]: *** [debian/rules:50: override_dh_auto_configure] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:46: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit
> status 2
> 
> Apparently you have a ~dfsg.orig.tar.*, so you must have generated it
> somehow?

Might be an artefact left over from my previous try with 1.3.0
branch in the parent directory, as its creation date shows Feb 8.

> If you need to repack, you usually do not import the original original
> tarball from upstream, but the filtered one. uscan can do this for you
> automatically if you have a machine-readable copyright file. So you
> never have the problematic content in any branch in your git repo.

I tried a machine readable copyright file. This obviously needs
more tuning. The watch file has been updated before, so as long
as the next upstream release happens before other changes, life
should be simpler.
> 
> Other than that it looks good to me.

Thanks!

Unfortunately, for the proper upstream tar file content, I have
no direct idea and would appriciated some help to get this fixed,
too.

Bye,

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20180412/d0148a5d/attachment.sig>


More information about the Pkg-voip-maintainers mailing list