Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RtspServer folder is empty into the zip file #3231

Open
CyberGuerro opened this issue May 14, 2021 · 8 comments
Open

RtspServer folder is empty into the zip file #3231

CyberGuerro opened this issue May 14, 2021 · 8 comments
Assignees
Labels

Comments

@CyberGuerro
Copy link

Describe Your Environment

  • Version of ZoneMinder 1.36.0
  • Full name and version of OS: Gentoo

/dep/RtspServer folder is empty and build process fails.
In the repository that folder is a sim-link and I think that doesn't like when you create a zip file.

@connortechnology
Copy link
Member

I think you havn't done
git submodule init
git submodule update --init --recursive

however... it should not be a symlink.

@CyberGuerro
Copy link
Author

I'm sorry, but my installation package get the sources from this url:
https://github.com/ZoneMinder/zoneminder/archive/1.36.0.tar.gz (try it from your browser)
and the file downloaded has folder empty.
I think that operations you suggest can't be done by Package Manager (if yes how?) but only a real user. Package Manager wait for that archive file is autoconsistent.

@SteveGilvarry
Copy link
Member

SteveGilvarry commented May 14, 2021

GitHub releases does not support sub modules so that file has always been missing any sub modules. Somewhat annoying, @connortechnology in the past we added a file for completeness. https://github.community/t/create-release-that-contains-submodule/1329/36

@connortechnology
Copy link
Member

I think the real issue here is that we should still build without it.

@Carbenium you are the resident expert on cmake I think. Can you take a look and just not build the rtspserver parts if rtspserver dir is unpopulated?

@Carbenium
Copy link
Member

This certainly can be done.
One thing to consider: IMHO if something is missing to build an activated option (ZM_NO_RTSPSERVER CMake option exists to disable this feature), the build should fail.
So instead of just silently (or even with a CMake warning) deactivate this feature when the folder is empty, we should consider to turn this into a CMake error and document there the appropriate steps (either set ZM_NO_RTSPSERVER or populate the folder).

What's your take on this @connortechnology ?

@connortechnology
Copy link
Member

I would say yeah, if the feature was explicitly turned on, then give an error. If not explicitly turned on then it should give some output that the feature is disabled. We do this for various libraries already.

@Carbenium Carbenium self-assigned this May 18, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 participants