Package: reprepro
Version: 4.16.0-1
Severity: normal

Hi Bernhard,

with a Debian native package having a setup like (for example) so

debian -> debian-wheezy
debian-squeeze/
debian-wheezy/

, i.e., 'debian/' being a symlink, reprepro fails to find
'debian/control', and finally fails with

---
No section and no priority for 'PACKAGE', skipping.
There have been errors!
---

This is due to 'sourceextraction.c: parse_tarfile()', which
iterates through all archive entries, and will never find
"debian/control" as archive member string. I.e., iterating of
libarchive entries, you only get

"debian"
"debian-wheezy/control"

in this case. Maybe some extra code when "debian/" is a symlink
may help here, in that loop.

Of course this (i.e., using a symlink here) is not a standard or
desireable setup; however, other Debian tools just work find
with such a setup, and I don't know of any documented
restrictions -- so I think this should be fixed in reprepro.

Thanks!

Stephan

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-0.bpo.2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reprepro depends on:
ii  libarchive13     3.1.2-9
ii  libbz2-1.0       1.0.6-7
ii  libc6            2.19-12
ii  libdb5.3         5.3.28-6
ii  libgpg-error0    1.17-2
ii  libgpgme11       1.5.1-6
ii  liblzma5         5.1.1alpha+20120614-2
ii  pinentry-curses  0.8.3-2
ii  zlib1g           1:1.2.8.dfsg-2

Versions of packages reprepro recommends:
ii  apt  1.0.9.3

Versions of packages reprepro suggests:
ii  gnupg-agent  2.0.26-3
pn  inoticoming  <none>
pn  lzip         <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to