[Slackbuilds-users] [SlackBuildsOrg/slackbuilds] games/tome-ah: Updated for version 20251213_8857999. (PR #13761)

Jeremy Hansen jebrhansen+SBo at gmail.com
Sun Jan 4 22:10:18 UTC 2026


On Sun, Jan 4, 2026, 4:59 PM David Chmelik <davidnchmelik at gmail.com> wrote:

> On 1/4/26 5:46 AM, Willy Sudiarto Raharjo wrote:
> >>> I think the final version I made with four downloads does solve the
> >>> download issue.  I'd have to do more research/testing to do it another
> >>> way as I don't entirely know what those other arguments/switches/flags
> >>> are yet and if I'll have the correct versions.  Sometimes anonymoushero
> >>> (ah) of tome-ah doesn't do an update in maybe a year or more so it's
> >>> unclear the correct versions would remain available.  Do you still have
> >>> my final version?
> >> i haven't checked you version yet
> >> if it's still on /pending then it's not yet pushed to the CI
> > i think the last submission still failed to build
> > https://github.com/SlackBuildsOrg/slackbuilds/pull/13761
> That doesn't show full details but appears wasn't able to get
> v|1.4.2.tar.gz| (you said get instead of |jsoncons-1.4.2.tar.gz)  In my
> final tome-ah.info that's at
> https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> and I am able to get it and build fine using unshare.  GitHub has been
> reported to have mass problems not letting people download. I'd ask you
> try again but first make sure this file is saved like I was able to...
> so run manually if necessary after getting it and the rest, as long as
> you got my final update that matches the below.
>
> tome-ah.info
> [...]
> DOWNLOAD="
> https://github.com/tome2/tome2/archive/8857999/tome2-885799917d42ea9e6eb69fc320fa03922cd8cbb4.tar.gz
> \
> https://github.com/fmtlib/fmt/releases/download/12.0.0/fmt-12.0.0.zip \
> https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> \
>
> https://github.com/imneme/pcg-cpp/archive/428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz
> "
> [...]
> d at cosmos:~/src/games/roguelike/moria_angband_tome/tome-ah$ wget
> https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> --2026-01-04
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz--2026-01-04>
> 13:53:39--
> https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> Resolving github.com (github.com)... 140.82.116.3
> Connecting to github.com (github.com)|140.82.116.3|:443... connected.
> HTTP request sent, awaiting response... 302 Found
> Location:
> https://codeload.github.com/danielaparker/jsoncons/tar.gz/refs/tags/v1.4.2
> [following]
> --2026-01-04 13:53:40--
> https://codeload.github.com/danielaparker/jsoncons/tar.gz/refs/tags/v1.4.2
> Resolving codeload.github.com (codeload.github.com)... 140.82.116.10
> Connecting to codeload.github.com
> (codeload.github.com)|140.82.116.10|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [application/x-gzip]
> Saving to: ‘v1.4.2.tar.gz’
>
> v1.4.2.tar.gz                            [
> <=>                                          ]   1.47M 287KB/s    in 4.9s
>
> 2026-01-04 13:53:45 (307 KB/s) - ‘v1.4.2.tar.gz’ saved [1538277]
> d at cosmos:~/src/games/roguelike/moria_angband_tome/tome-ah$ ls -l
> v1.4.2.tar.gz
> -rw-r--r-- 1 d users 1538277 2026-01-04 13:53 v1.4.2.tar.gz
> |
>

You should read the warnings/errors from the sbolint output above the
actual compilation error.

tome-ah: ERR: tome-ah.info: github URL is non-canonical (not enough
components)
tome-ah: ERR: tome-ah.info: github URL has wrong filename v1.4.2.tar.gz
tome-ah: WARN: tome-ah.info: canonical github URL should be:
https://github.com/danielaparker/jsoncons/archive/v1.4.2/jsoncons-1.4.2.tar.gz
tome-ah: ERR: tome-ah.info: github URL is non-canonical (not enough
components)
tome-ah: ERR: tome-ah.info: github URL has wrong filename
428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz
tome-ah: WARN: tome-ah.info: canonical github URL should be:
https://github.com/imneme/pcg-cpp/archive/428802d1a5634f96bcd0705fab379ff0113bcf13/pcg-cpp-428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz
tome-ah: NOTE: tome-ah.SlackBuild:65: LIBDIRSUFFIX gets set, but never used.
sbolint: tome-ah: errors 4, warnings 2

You are using an incorrectly formatted github address for your source
links, which can change the download name depending on how you download it.
If you use the urls above and reference the filenames appropriately in the
SlackBuild, it will likely solve your issues as the file will be downloaded
the same way no matter what you use to download it.

SBo has a page to explain how to properly use GitHub urls.[1] You should
also incorporate sbolint (part of sbo-maintainer-tools) into your
development process as it would've caught these issues before
submitting.[2] Finally, I have a script that you can feed a raw GitHub (or
pypi) link and it'll output the correct one to use in your script. [3] It
can be used directly as a script (pass the URL to it) or as a function in
bash (add the function to your .bashrc).

Jeremy

[1] https://slackbuilds.org/GITHUB_URLs.txt
[2] https://slackbuilds.org/repository/15.0/system/sbo-maintainer-tools/
[3]
https://github.com/bassmadrigal/scripts/blob/master/check-source-download.sh

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260104/fcdaf3b8/attachment-0001.htm>


More information about the SlackBuilds-users mailing list