[Slapt-get-devel] slapt-src mistakes source tarball for package

Jason Woodward woodwardj at jaos.org
Thu Sep 1 22:44:06 EDT 2011


Hi George,

> In some cases slapt-src tries to install the source tarball instead of
the
> package that was just created. An example of such slackbuild is privoxy:
> ------------------------------------------------------------------>8
> slapt-src -i privoxy
> ...
> Slackware package
> /usr/src/slapt-src/network/privoxy/privoxy-3.0.12-x86_64-2_SBo.txz
created.
> 
> 
> Cannot install privoxy-3.0.12-stable-src.tar.gz:  invalid package
extension
...
> This has to do with slapt_execute_regex in _get_pkg_filename in source.c,

> which falsely returns a match for the source tarballs. I think the issue
is
> 
> fixed with the attached patch for slapt-get which revises the regex a
bit.
> Don't package extensions always start with a "t" and end with a
> "z"?

I can't reproduce this.  Can I see your slapt-getrc?  Are you also using
0.3.2 release or git current?
 
> A bit off topic, I've never seen a .tkz or .tiz package. What are these?
I
> was surprised to see the "k" and "i" in the regex.

In addition to tgz and txz there are tlz/tbz and ikg (see
d1724dbc6d0b321a218d21d8f538b6a3545eb538)


take care,
jason
--
Jason Woodward


More information about the Slapt-get-devel mailing list