-
Notifications
You must be signed in to change notification settings - Fork 67
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
surelog installs empty directories #3596
Comments
|
cmake didn't install anything into that folder. |
@yurivict you really need to get into the habit of posting configuration, commands, and logs. This is not the first time you've failed to do so, and it's difficult to provide any help without them. This is a good guide, in particular the repro section: https://stackoverflow.com/help/how-to-ask |
I don't provide details because I don;t build by hand typing in commands. Here is a complete build log showing that these directories are installed empty. |
I can tell from the logs that this is untrue, just look at all the manually specified cmake variables. We test heavily across lots of different configurations and operating systems, if you're not comfortable debugging issues yourself the exact sequence of cmake commands, environment variable overrides, and other information about the system is essential. |
They are not manually specified - they are set like this by the ports framework. When qBittorrent is built - the config line is largely the same. |
These lines build the precompiled assets: https://github.com/chipsalliance/Surelog/blob/master/CMakeLists.txt#L721 Your logs show the assets being built, but they maybe they're not ending up in the right output folder. We set the var here: https://github.com/chipsalliance/Surelog/blob/master/CMakeLists.txt#L140 You can see the correct installation in CI: https://github.com/chipsalliance/Surelog/actions/runs/4710503128/jobs/8354210283#step:7:240 I would try to build outside of any framework which might set lots of different CMake vars, and see if that yields a different result. It's possible that we rely on a variable without setting it. You could also try removing these redirects and/or checking the build logs to see if they ended up in a different folder: https://github.com/chipsalliance/Surelog/blob/master/CMakeLists.txt#L731 You also might be setting |
BTW, did you test build with a stage directory? My builds use stage directory.
|
No, I would normally only use that for |
No, all packaging systems use stage directories because they don't need to install into $PREFIX in order to create a package. stage directories work only at the level of 'make', not 'cmake', with the above command. |
|
In my build directory |
We don't have any dependency on |
Either make or ninja are always run as a backend of cmake. |
Or e.g. visual studio, but the point stands. The top level makefile != the makefiles generated by cmake and shouldn't be treated as such. |
It installs this empty directory hierarchy:
It doesn't make sense to install empty directories into a read-only location.
The text was updated successfully, but these errors were encountered: