Discussion:
[Slackbuilds-users] Problem downloading pdfchain - may affect other packages
Eduardo Sanchez
2018-10-20 14:51:34 UTC
Permalink
I use -current but I believe this issue affects any Slackware verson so
I report here.

Today I tried to build pdfchain with sbopkg and I had a problem: the
file name of the downloaded source file should have been
'pdfchain-0.4.4.2.tar.gz' but came as 'download' instead.

Then, sbopkg promptly complained that it couldn't build the package
since the source was nowhere to be found.

I think this have to do with sourceforge.net's download system, which
is unnecessarily convoluted and obfuscated, so maybe other packages
with source downloaded from sf.net may be affected.

Renaming the 'download' file to the appropriate name solves the problem
and building can proceed without issue.

Possible workarounds may involve using wget -O parameters.

Thanks,

Eduardo
--
Eduardo Sánchez Gauto, Abog., Th.M.
Abogado - Traductor Público Matriculado Inglés - Español
Oficina: https://goo.gl/maps/mccgBNM7Zw32
Web: http://sombragris.org - Blog: http://shadow.sombragris.org
TW: @thegreyshadow - FB: /thegreyshadow -
Teléfono: (0991) 755-355 - Asunción, Paraguay
==================================================================
a***@drabczyk.org
2018-10-20 14:59:43 UTC
Permalink
Post by Eduardo Sanchez
I use -current but I believe this issue affects any Slackware verson so
I report here.
Today I tried to build pdfchain with sbopkg and I had a problem: the
file name of the downloaded source file should have been
'pdfchain-0.4.4.2.tar.gz' but came as 'download' instead.
Then, sbopkg promptly complained that it couldn't build the package
since the source was nowhere to be found.
I think this have to do with sourceforge.net's download system, which
is unnecessarily convoluted and obfuscated, so maybe other packages
with source downloaded from sf.net may be affected.
Renaming the 'download' file to the appropriate name solves the problem
and building can proceed without issue.
It probably happens because it has the following line in .info:

DOWNLOAD="http://sourceforge.net/projects/pdfchain/files/pdfchain-0.4.4.2/pdfchain-0.4.4.2.tar.gz/download"

It should be changed to:

DOWNLOAD="http://sourceforge.net/projects/pdfchain/files/pdfchain-0.4.4.2/pdfchain-0.4.4.2.tar.gz"
--
Arkadiusz Drabczyk <***@drabczyk.org>
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-***@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/
Willy Sudiarto Raharjo
2018-10-20 21:57:49 UTC
Permalink
Post by Eduardo Sanchez
I use -current but I believe this issue affects any Slackware verson so
I report here.
Today I tried to build pdfchain with sbopkg and I had a problem: the
file name of the downloaded source file should have been
'pdfchain-0.4.4.2.tar.gz' but came as 'download' instead.
Then, sbopkg promptly complained that it couldn't build the package
since the source was nowhere to be found.
I think this have to do with sourceforge.net's download system, which
is unnecessarily convoluted and obfuscated, so maybe other packages
with source downloaded from sf.net may be affected.
Renaming the 'download' file to the appropriate name solves the problem
and building can proceed without issue.
Possible workarounds may involve using wget -O parameters.
Thanks for the report
fixed in my branch
--
Willy Sudiarto Raharjo
Loading...