ZNC 1.6.1 release archive doesn't contain submodules #608

Closed
opened 2026-10-05 04:32:53 +02:00 by adam · 5 comments
Owner

make is not happening on release archive (https://github.com/znc/znc/releases/tag/znc-1.6.1):

root@services163:~/znc-znc-1.6.1/znc# make
Packing man page znc.1.gz...
Packing man page znc-buildmod.1.gz...
It looks like git submodules are not initialized. Run: git submodule update --init --recursive
make: *** [third_party/Csocket/Csocket.h] Error 1

The issue is: release archive does not contain '.git' folder, so there is no way to do git submodule update --init --recursive.

Solved by using not release archive, but git cloning particular release commit (in this case: aa6e7e7).

Could be reference to #806

`make` is not happening on release archive (https://github.com/znc/znc/releases/tag/znc-1.6.1): ``` root@services163:~/znc-znc-1.6.1/znc# make Packing man page znc.1.gz... Packing man page znc-buildmod.1.gz... It looks like git submodules are not initialized. Run: git submodule update --init --recursive make: *** [third_party/Csocket/Csocket.h] Error 1 ``` The issue is: release archive does not contain '.git' folder, so there is no way to do `git submodule update --init --recursive`. Solved by using not release archive, but git cloning particular release commit (in this case: aa6e7e7). Could be reference to #806 <!-- github-sync-id:108834308 -->
adam closed this issue 2026-10-05 04:32:53 +02:00
Author
Owner

This issue is invalid and caused by ZNC using submodules which GitHub doesn't support with those zip/tarballs, but they cannot be disabled.

Please download ZNC from http://znc.in/releases/ instead.

This issue is invalid and caused by ZNC using submodules which GitHub doesn't support with those zip/tarballs, but they cannot be disabled. Please download ZNC from http://znc.in/releases/ instead. <!-- github-comment-id:144009710 -->
Author
Owner

@Mikaela
I see. Thanks =]
Probably there is no reason to keep release archives on GitHub then.

@Mikaela I see. Thanks =] Probably there is no reason to keep release archives on GitHub then. <!-- github-comment-id:144009816 -->
Author
Owner

Probably there is no reason to keep releases on GitHub then.

I was unclear at first sorry, the tar/zip files are automatically generated by GitHub and they cannot be disabled. I have requested option for disabling them at least once from GitHub support.

This issue doesn't affect only ZNC, but also e.g. Atheme, https://github.com/atheme/atheme/issues/382.

Edit: added the word which are now in italics.

> Probably there is no reason to keep releases on GitHub then. I was unclear at first sorry, the tar/zip files are automatically generated by GitHub and they cannot be disabled. I have requested _option for_ disabling them at least once from GitHub support. This issue doesn't affect only ZNC, but also _e.g._ Atheme, https://github.com/atheme/atheme/issues/382. Edit: added the word which are now in _italics._ <!-- github-comment-id:144010171 -->
Author
Owner

@Mikaela
Thanks for explanation. Sorry for taking your time then 😅

@Mikaela Thanks for explanation. Sorry for taking your time then :sweat_smile: <!-- github-comment-id:144010413 -->
Author
Owner

You're welcome, no problem. Could you close this next to the comment box?

You're welcome, no problem. Could you close this next to the comment box? <!-- github-comment-id:144010489 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#608