FS#75317 - [simutrans-pak128] FTBFS due to illegally formated URL

Attached to Project: Community Packages
Opened by Zhang Yi-ning (yi-ning) - Thursday, 14 July 2022, 13:04 GMT
Last edited by Toolybird (Toolybird) - Saturday, 24 December 2022, 04:38 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:Fail to retrieve sources when building the package. The cause should be the spaces in source URL.

==> Retrieving sources...
-> Downloading pak128.zip...
curl: (3) URL using bad/illegal format or missing URL
==> ERROR: Failure while downloading https://downloads.sourceforge.net/project/simutrans/pak128/pak128 for ST 120.4.1 (2.8.1, priority signals + bugfix)/pak128.zip
Aborting...
==> ERROR: Could not download sources.

Additional info:
* package version(s) 2.8.1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. asp checkout
2. extra-x86_64-build

Potential patch:
In PKGBUILD change spaces to %20:

-_pkgver='ST 120.4.1 (2.8.1, priority signals + bugfix)'
+_pkgver='ST%20120.4.1%20(2.8.1,%20priority%20signals%20+%20bugfix)'

-source=("https://downloads.sourceforge.net/project/simutrans/pak128/pak128 for $_pkgver/pak128.zip")
+source=("https://downloads.sourceforge.net/project/simutrans/pak128/pak128%20for%20$_pkgver/pak128.zip")
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 24 December 2022, 04:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  simutrans-pak128 2.8.2-1

Loading...