Package: tar
Version: 1.29-1

Hi Bdale, Carl,

Investigating a failing autopkgtest failure of libgtkada in Ubuntu led me to
the discovery that the 1.29-1 version of tar currently in testing and
unstable does not appear to be handling --exclude options compatibly with
previous versions.  (Based on the disappearance of --exclude from the tar
manpage, I assumed this meant the option had been dropped completely and was
being silently ignored -- but I see it's still mentioned in the tar --help
output and is present in the source.)

The problematic tar invocation is:

  tar --create --auto-compress --file=testgtk.tgz testgtk \
      --exclude=testgtk/README --exclude=testgtk/obj/* \
      --transform 's~^testgtk/opengl/view_gl\.ad~testgtk/view_gl.ad~' \
      --exclude=testgtk/test_rtree --exclude=testgtk/testgtk \
      --exclude=testgtk/testgtk.gpr debian/testgtk.gpr \
      --transform 's/^debian/testgtk/'

Inspecting the resulting tarball shows that testgtk/README and testgtk/obj/*
are present (and probably the others too, but I haven't looked).

I've submitted a patch to libgtkada (bug #831001) to work around this, but
it seems rather unexpected for tar's behavior to have changed here.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to