[Slackbuilds-users] [SlackBuildsOrg/slackbuilds] games/tome-ah: Updated for version 20251213_8857999. (PR #13761)
David Chmelik
davidnchmelik at gmail.com
Sun Jan 4 23:38:03 UTC 2026
On 1/4/26 3:30 PM, Jeremy Hansen wrote:
> On Sun, Jan 4, 2026, 6:20 PM David Chmelik <davidnchmelik at gmail.com
> <mailto:davidnchmelik at gmail.com>> wrote:
>
> On 1/4/26 2:10 PM, Jeremy Hansen wrote:
> > On Sun, Jan 4, 2026, 4:59 PM David Chmelik
> <davidnchmelik at gmail.com <mailto:davidnchmelik at gmail.com>
> > <mailto:davidnchmelik at gmail.com
> <mailto: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
> <https://github.com/SlackBuildsOrg/slackbuilds/pull/13761>
> > <https://github.com/SlackBuildsOrg/slackbuilds/pull/13761
> <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 <http://tome-ah.info>
> <http://tome-ah.info <http://tome-ah.info>> that's at
> >
> https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz>
> >
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> <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 <http://tome-ah.info> <http://tome-ah.info
> <http://tome-ah.info>>
> > [...]
> >
> DOWNLOAD="https://github.com/tome2/tome2/archive/8857999/tome2-885799917d42ea9e6eb69fc320fa03922cd8cbb4.tar.gz
> <https://github.com/tome2/tome2/archive/8857999/tome2-885799917d42ea9e6eb69fc320fa03922cd8cbb4.tar.gz>
> >
> <https://github.com/tome2/tome2/archive/8857999/tome2-885799917d42ea9e6eb69fc320fa03922cd8cbb4.tar.gz
> <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/fmtlib/fmt/releases/download/12.0.0/fmt-12.0.0.zip>
> >
> <https://github.com/fmtlib/fmt/releases/download/12.0.0/fmt-12.0.0.zip
> <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/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz>
> >
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz>>
> > \
> >
> https://github.com/imneme/pcg-cpp/archive/428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz
> <https://github.com/imneme/pcg-cpp/archive/428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz>
> >
> <https://github.com/imneme/pcg-cpp/archive/428802d1a5634f96bcd0705fab379ff0113bcf13.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
> <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
> <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
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz>
> >
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz>>
> > Resolving github.com <http://github.com> <http://github.com
> <http://github.com>> (github.com <http://github.com>
> > <http://github.com <http://github.com>>)... 140.82.116.3
> > Connecting to github.com <http://github.com>
> <http://github.com <http://github.com>> (github.com
> <http://github.com>
> > <http://github.com
> <http://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
> <https://codeload.github.com/danielaparker/jsoncons/tar.gz/refs/tags/v1.4.2>
> >
> <https://codeload.github.com/danielaparker/jsoncons/tar.gz/refs/tags/v1.4.2
> <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
> <https://codeload.github.com/danielaparker/jsoncons/tar.gz/refs/tags/v1.4.2>
> >
> <https://codeload.github.com/danielaparker/jsoncons/tar.gz/refs/tags/v1.4.2
> <https://codeload.github.com/danielaparker/jsoncons/tar.gz/refs/tags/v1.4.2>>
> > Resolving codeload.github.com <http://codeload.github.com>
> <http://codeload.github.com <http://codeload.github.com>>
> > (codeload.github.com <http://codeload.github.com>
> <http://codeload.github.com <http://codeload.github.com>>)...
> 140.82.116.10
> > Connecting to codeload.github.com
> <http://codeload.github.com> <http://codeload.github.com
> <http://codeload.github.com>>
> > (codeload.github.com <http://codeload.github.com>
> > <http://codeload.github.com
> <http://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 <http://tome-ah.info>
> <http://tome-ah.info <http://tome-ah.info>>: github URL is
> > non-canonical (not enough components)
> > tome-ah: ERR: tome-ah.info <http://tome-ah.info>
> <http://tome-ah.info <http://tome-ah.info>>: github URL has wrong
> > filename v1.4.2.tar.gz
> > tome-ah: WARN: tome-ah.info <http://tome-ah.info>
> <http://tome-ah.info <http://tome-ah.info>>: canonical github
> > URL should be:
> >
> https://github.com/danielaparker/jsoncons/archive/v1.4.2/jsoncons-1.4.2.tar.gz
> <https://github.com/danielaparker/jsoncons/archive/v1.4.2/jsoncons-1.4.2.tar.gz>
>
> >
> <https://github.com/danielaparker/jsoncons/archive/v1.4.2/jsoncons-1.4.2.tar.gz
> <https://github.com/danielaparker/jsoncons/archive/v1.4.2/jsoncons-1.4.2.tar.gz>>
> > tome-ah: ERR: tome-ah.info <http://tome-ah.info>
> <http://tome-ah.info <http://tome-ah.info>>: github URL is
> > non-canonical (not enough components)
> > tome-ah: ERR: tome-ah.info <http://tome-ah.info>
> <http://tome-ah.info <http://tome-ah.info>>: github URL has wrong
> > filename 428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz
> > tome-ah: WARN: tome-ah.info <http://tome-ah.info>
> <http://tome-ah.info <http://tome-ah.info>>: canonical github
> > URL should be:
> >
> https://github.com/imneme/pcg-cpp/archive/428802d1a5634f96bcd0705fab379ff0113bcf13/pcg-cpp-428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz
> <https://github.com/imneme/pcg-cpp/archive/428802d1a5634f96bcd0705fab379ff0113bcf13/pcg-cpp-428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz>
>
> >
> <https://github.com/imneme/pcg-cpp/archive/428802d1a5634f96bcd0705fab379ff0113bcf13/pcg-cpp-428802d1a5634f96bcd0705fab379ff0113bcf13.tar.gz
> <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).
> I already told willysr and/or this mailing list that the source code
> expects 'incorrect' GitHub URLs, so I did use those URLs above (maybe
> not what you meant to say) sbolint says are wrong, but they're the
> right
> ones for this source code.
>
>
> It doesn't matter if you intended it to use it named that way.
> Depending on your method of downloading, the resulting files will be
> named differently, breaking your script... just like on the build
> attempt on SBo. This is why they have a policy on formatting urls for
> GitHub.
>
> You need to make sure your script works no matter how it's built,
> whether you download the source files from the browser, wget, or use a
> program that builds the SlackBuild for you.
>
> Try this to see why you need to change your urls:
>
> wget
> https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz>
> wget --with-content-disposition
> https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
> <https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz>
>
> Using the same link gets you two differently named files. Web browsers
> use the latter, while wget (by default) uses the former. slackrepo,
> used on GitHub to test these scripts, uses content disposition, which
> renames your files to what GitHub suggests, which is
> jsoncons-1.4.2.tar.gz, which is why the SlackBuild can't find it.
>
> This is why it's SBo policy to properly format GitHub urls so that
> users can use any method to download the source and the resulting file
> will work fine in the script.
I see. I saw no such wget argument/flag/switch. I guess I'll have to
use the 'proper' URLs then just rename the files.
root at cosmos:~/src/games/roguelike/moria_angband_tome/tome-ah# wget
--with-content-disposition
https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.4.2.tar.gz
wget: unrecognised option '--with-content-disposition'
I condemn GitHub.
More information about the SlackBuilds-users
mailing list