-
Notifications
You must be signed in to change notification settings - Fork 9
Spicy-plugin creates dangling links (assuming binary installation) #119
Comments
I don't quite recall the context here, but I'll take a look. |
Does "an installation of spicy-plugin" refer to a doing Zeek installation with Spicy being built-in? I assume so because that CMake code addresses that case ( Asked differently: how to reproduce this? how are you building/installing things? |
@0xxon ☝️ |
Sorry for the delay. Steps to reproduce with current master on Fedora 36:
|
I still don't see a
|
Well, on ubuntu the same broken link is in the (at least for me with those options on Ubuntu 22.04) |
I actually didn't see any link even with that configure, not sure why. Either way, looks like Benjamin found a solution. |
Great, thank you. |
An installation of spicy-plugin will leave the following dangling link in
include/zeek/builtin-plugins/spicy-plugin/lib64
:Assuming a binary installation, this link will point into nothingness; having links to outside of the distribution directory also violates packaging guidelines on just about any system, and generally seems like a bad idea.
@bbannier pointed me to this as the cause
spicy-plugin/CMakeLists.txt
Lines 211 to 216 in 8cd9a0b
I am not sure what the reason for this is - but in my opinion we should not have links back into the source folder in a finished installation.
Optimally this should be removed for the 5.0 release.
The text was updated successfully, but these errors were encountered: