[Slackbuilds-users] Build in search of a home
Eugen Wissner
belka at caraus.de
Wed Jul 19 10:06:48 UTC 2023
Hi,
thanks for the advice. I'll definitely try to patch go.mod and see if it
works.
I haven't tried to build Go 1.20 myself, but assumed it would be
possible. I built GCC 8.2 for Slackware 14.2 (gcc-d) and it was a real
adventure. I had to built GCC 7.3.0 and then use it to build 8.2.0, all
inside the same build script. It takes GBs of space on the disk and
hours to compile. But this is a standard procedure to build new versions
of compilers, bootstrapping. Golang builds much faster.
Regards
Eugen Wissner
On Mon, Jul 17, 2023 at 04:50:10PM -0400, J via SlackBuilds-users wrote:
>
> Eugen,
>
>
>
>
>
> If kitty isn’t using any go 1.20 features, generally you could safely downgrade the go.mod requirement. I’ve had to do this with a package I maintain, changing it back to go 1.19 on 15.0. As for go1.20 itself, I’ve not been able to get that going on 15.0. Generally when someone is building against go for dev, they are using the latest release, but we seem stuck on 1.19 for now (1.20 does build on -current) so long-term I don’t have a solution for that myself.
>
>
>
> I’ve been doing a “go mod vendor” and tarballing that, uploading to my server and linking the SlackBuild with the project source and my tarball to build so the entire build is “offline” once deps are downloaded. If you’re interested in an example, look up any nwg-* package on sbo.
>
>
>
> Wish you luck with kitty!
>
>
>
>
>
> — Jay Lanagan
>
>
>
>
>
>
> >
> > On Jul 17, 2023 at 4:07 PM, <Eugen Wissner (mailto:belka at caraus.de)> wrote:
> >
> >
> >
> > I looked into the build script and what is required for the next update and I think I can manage it. kitty requires Go 1.20, so it would be nice if google-go-lang could be updated to 1.20. As far as I understand google-go-lang 1.20 cannot be built with gccgo anymore and requires compiler bootstrapping. In the meanwhile I will probably use a binary compiler release. Go seems to have a so called vendoring feature, where you can pre-download the dependencies, put them into a tarball and build the thing offline. Worked for me in my first test. On Sat, Jul 15, 2023 at 01:42:54AM -0400, B. Watson wrote: > > Does anyone here use kitty, and want to take over maintenance of it? > > I've just updated kitty-bin to the latest release, but the > build-from-source kitty build is still at 0.26.5. I'm unlikely to ever > update it, because google-go-lang is just too much of a moving target > for me to want to aim at... and because kitty-bin works OK anyway. > > Furthermore... I just don't like kitty much. I prefer rxvt-unicode, > or plain old xterm. > > Any takers? > _______________________________________________ > SlackBuilds-users mailing list > SlackBuilds-users at slackbuilds.org > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users > Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ > FAQ - https://slackbuilds.org/faq/ > _______________________________________________ SlackBuilds-users mailing list SlackBuilds-users at slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
> >
> >
>
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
More information about the SlackBuilds-users
mailing list