Skip to content

ohnet: Update to 1.38 #27210

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DoomHammer
Copy link
Contributor

@DoomHammer DoomHammer commented Apr 10, 2025

Summary

Changes to recipe: ohnet/1.38

Motivation

Details


@@ -48,7 +48,7 @@ def build_requirements(self):
self.tool_requires("cmake/[>3.23 <4]")

def requirements(self):
self.requires("ohnet/1.37.5454", transitive_headers=True, transitive_libs=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please limit the PR to one recipe, thanks!

Copy link
Contributor

@ErniGH ErniGH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is the diff between versions
openhome/ohNet@ohNet_1.37.5454...ohNet_1.38.5707

Comment on lines +42 to +49
- $(compiler)anonymous.$(objext) -c $(cflags_third_party) $(includes) $(mDNSdir)/anonymous.c
+ $(compiler_cc)anonymous.$(objext) -c $(cflags_third_party) $(includes) $(mDNSdir)/anonymous.c
$(objdir)CryptoAlg.$(objext) : $(mDNSdir)/CryptoAlg.c $(headers)
- $(compiler)CryptoAlg.$(objext) -c $(cflags_third_party) $(includes) $(mDNSdir)/CryptoAlg.c
+ $(compiler_cc)CryptoAlg.$(objext) -c $(cflags_third_party) $(includes) $(mDNSdir)/CryptoAlg.c
$(objdir)DNSCommon.$(objext) : $(mDNSdir)/DNSCommon.c $(headers)
- $(compiler)DNSCommon.$(objext) -c $(cflags_third_party) $(includes) $(mDNSdir)/DNSCommon.c
+ $(compiler_cc)DNSCommon.$(objext) -c $(cflags_third_party) $(includes) $(mDNSdir)/DNSCommon.c
Copy link
Contributor

@ErniGH ErniGH Apr 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find a lot of changes between this patch and the 1.37 patch.
Could you help me track all these changes to upstream issues?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upstream does not respond to any issues so it is useless to file them there, unfortunately.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes introduced by the patch should be backed by merged upstream PRs that address specific issues or be strictly necessary modifications to ensure compatibility with Conan, in which case, it would also be helpful to provide a clear justification.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is strictly necessary to build this piece of software at all. And upstream is not responding. We've been through this before with previous versions.

@@ -79,7 +79,7 @@ def _fill_ohnet_args(self, args):
args = self._fill_openhome_architecture(args)
args.append("rsync=no")
if str(self.settings.compiler.libcxx) == "libc++":
args.extend(["CPPFLAGS=-stdlib=libc++", "LDFLAGS=-stdlib=libc++"])
args.extend(["CPPFLAGS=-stdlib=libc++", "LDFLAGS=-stdlib=libc++", "PYTHON=python3"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this flag now need it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original make script calls python which on many systems mean python2 as contrasted to python3. As you might imagine, I'm not a fan of installing Python 2 on people's machines.

@ErniGH ErniGH self-assigned this Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants