[Slackbuilds-users] bug in id3-0.78 (slackware 13.0)
pprkut at slackbuilds.org
Fri Mar 26 14:39:40 UTC 2010
On Friday 26 March 2010 15:34:14 Nikos Skalkotos wrote:
> Hi there,
> I think I found a bug in the script of the package. I'm using
> slackware-current but I don't see how this matters in this case.
> When I try to run id3.SlackBuild it stops in line 61 (the second "find"):
> ( cd $PKG
> find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
> xargs strip --strip-unneeded 2> /dev/null || true
> find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
> xargs strip --strip-unneeded 2> /dev/null
> The problem Is that the package does not create any libraries, so in
> the above line the strip command fails and creates an error.
> I think you should either completely remove the line from the script
> or at least add a "|| true" in the end to let the script continue
> after this.
> Also, I don't really see any reason to have "|| true" in the previous
> line. An executable should always be present in the package.
Known issue, see http://slackbuilds.org/faq/#bash4
And, fwiw, I see no reason why a package should always have an executable.
What's with python packages, or library-only packages?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the SlackBuilds-users