Le vendredi 03 avril 2020 à 10:58 +0000, Ralf Senderek a écrit : > I need a bit of assistance from a GO package expert. > > I'm trying to package ssh-chat. ( > https://bugzilla.redhat.com/show_bug.cgi?id=1819180) > ssh-chat is written in GO and it implements a custom SSH server > (on a different port) that provides a chat room instead of a shell. > > I was successful to build the package locally with network access but > when > I run mock the build always fails with the following message: > > It's clear that mock cannot access the network. So the source code > which normally will be downloaded must be provided as SOURCE files. > > Can this be resolved by changing the spec file. If so, how? The same way as any other Fedora package. You declare all the things your software needs for building as BuildRequires. You package/fix it when it is absent, stale or broken in the distribution. Go is strictly identical here from pretty much every other language. However, because Go tools treat the whole internet as a giant bundled code stash, it can have deeper and more complex dependency trees than most. Go devs are not careful when referencing stuff right and left. https://docs.fedoraproject.org/en-US/packaging-guidelines/Golang/ It is, IMHO, a mistake to attempt packaging software, without reading the Fedora guidelines, for the language this software is written in. Regards, -- Nicolas Mailhot _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx