New issue report by bijan.vakili:
Steps:
1. Create an Debian package using ant-deb-task
2. Create the same package using "dpkg --build"
3. Attempt to include [1] or [2] into an apt repository built with
'reprepro'.
The package created in [2] will succeed because reprepro will extract the
package's metadata using the path "./control". However, this will fail
with [1] because the ant-deb-task does not create a "." parent folder in
control.tar.gz or data.tar.gz.
The resulting output is:
---
/tmp/mypackage.deb
tar: ./control: Not found in archive
tar: Error exit delayed from previous errors
Got no control information from .deb!
Error from tar: 2
There have been errors!
---
Can this be fixed so that the resulting Debian is consistent with Debian
packages created by dpkg?
I'm using Ant v1.7.0 and the latest version of ant-deb-task. I'm also
using reprepro v0.8 on Ubuntu Linux.
I've attached a patch file (fix-reprepro.diff) that can fix this issue for
reprepro. However, this only adds a "." parent folder to the
control.tar.gz. You may want to commit different changes in order to also
fix data.tar.gz.
Thanks!
Attachments:
fix-reprepro.diff 463 bytes
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 by marius.scurtescu:
(No comment was entered for this change.)
Issue attribute updates:
Status: Accepted