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
5.6.0::macos intel libuuid:: undefined symbols for _libintl_gettext #2052
Comments
From what I see the static libuuid.a is not forwarding its own required dependencies to xrootd, who is trying to link against it. I see that you are potentially picking up openssl from Homebrew. If Homebrew dependencies are ok for you, I'd just install ossp-uuid, which is what I tested against on macOS (we test against Homebrew dependencies). If you want to pick up uuid provided by AliBuild, then I'd edit the pkg-config file for uuid so that it properly propagates all required flags when linking against the static library. However it may also be the case that my updated module to find uuid is not quite right and we may need to update it to pick up the right flags to link against a static libuuid. I will have a closer look at this tomorrow. |
Do you happen to have a recipe I can use to reproduce this? I wonder what's different in your brew and mine to cause the problem. |
Hi! So, our recipe is this https://github.com/alisw/alidist/blob/master/xrootd.sh#L39 to see our tests status see the PR alisw/alidist#5066 @TimoWilken suggested |
I have no permission to see the actual logs. I see that you unset |
Hi @amadio you can see the full build log here: on macos i have no idea what uuid is used, i will ping @TimoWilken as he is the software release and build guru |
Hm, that's true, that's an inconsistency. Our recipe still depends on AliEn-Runtime, which pulls in our UUID package. That sets
We do not have It works locally for me if I add |
@adriansev Thanks for the log. @TimoWilken Ok, if you don't want to affect Linux, the easiest solution may be to install and pick up It would be useful to have also the As a side comment, there were several changes in the build system and Python bindings, so I think your recipe could be updated to drop some options that no longer do anything, and to use a PEP517 build for the Python bindings. See https://github.com/xrootd/xrootd/blob/master/bindings/python/README.md for more information. |
Thanks @amadio. I think we need to change our libuuid in this case since apparently we've had problems using brew's libuuid in the past. I've pushed a fix for it to the PR that set off this discussion (alisw/alidist#5066); hopefully it'll work now. Thanks for the hint about unneeded build options, I'll leave @adriansev to change those if he prefers to! |
I created a new pull request: alisw/alidist#5075. Please let me know how that works for you. I can update the uuid settings too before you merge. |
Thanks a lot! Well, that would be a second step, first would be to make the recipe "accepted" into our ecosystem and then do the improvements and updating of the recipe. |
I have a fix for this issue which I will put in a patch release this coming week. Indeed, we used to detect and use the kernel uuid provided by macOS before, and after my recent changes, I see that this detection was broken. |
This will be automatically closed when I merge that into master, please leave it open for the time being. Thanks! |
Hi @amadio ! With 5.6.0 we have a weird problem in intel macos where we get an error like:
some relevant details can be seen in comment alisw/alidist#5066 (comment)
Any idea about this?
Thanks a lot!
The text was updated successfully, but these errors were encountered: