Bug#535017: dh-make-perl: 'deb file:/path/to/mirror ...' has unknown format
Salvatore Bonaccorso
salvatore.bonaccorso at gmail.com
Mon Jun 29 20:22:58 UTC 2009
Hi Raphael
On Sun, Jun 28, 2009 at 06:11:53PM -0500, Raphael Geissert wrote:
> While trying to build a module with dh-make-perl --build path/to/module I get:
> 'deb file:/path/to/my/mirror/ sid main contrib non-free' has
> unknown format
> Exiting subroutine via next at /usr/share/perl5/Debian/AptContents.pm
> line 175, <GEN0> line 1.
>
> Looks like Debian::AptContents doesn't understand file:/
Yes, it is solved this way currently:
-----------------------------------------------------------------------
my ( $schema, $proto, $host, $port, $dir, $dist, $components ) = $source =~ m{
^
(\S+) # deb or deb-src
\s+
([^:\s]+) # ftp/http/file/cdrom
://
(/? # file:///
[^:/\s]+ # host name or path
)
(?:
:(\d+) # optional port number
)?
(?:
/
(\S*) # path on server (or local)
)?
\s+
(\S+) # distribution
(?:
\s+
(.+) # components
)?
}x;
-----------------------------------------------------------------------
Thus, it does not recongnize file:/ but file:/// at the moment. It
would be more conform to the sources.list format for file: line if it
would match for file:/path/to/file
Bests,
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090629/fc114158/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list