-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
openrsync: New port #28096
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
base: master
Are you sure you want to change the base?
openrsync: New port #28096
Conversation
I am not sure if the warnings generated by %port test are concerning, but I thought it best to include them here just in case others might have some salient perspective and improvements:
|
Try also setting
You can try only setting it in the But if that doesn't work, it might also be that you'll need to set it in the |
Groovy! Adding: ` MANDIR=${prefix}/share/man build.pre_args MANDIR=${prefix}/share/man` At least got rid of the man page warning during %port test. I still see these warnings:
But some of those (e.g. pledge and unveil) are OpenBSD specific functions, so I understand if macOS doesn't know how to handle them. |
It seems like on the face of it, macports-ports/net/wget/Portfile Line 89 in 4911f2e
|
Also the warning earlier about the man pages was because they were being installed to a path in the MacPorts root directory hierarchy that MacPorts isn't expecting. Like MacPorts doesn't want to see a port just stow something into
|
Functions that are not present in existing macOS versions should be added to the global lists in |
So, if I understood you correctly, basically to every file in: append something like:
And that will suppress the warnings? I've seen explicit_bzero in the past too (and searching Trac see it pop up in some other places) but at least one of those (e.g. in rpki-client) is during a ./configure check so autoconf I guess looks to see if such things are available first; whereas if I had to guess, oconfigure (referenced in the Trac issue 72311) which is utilized by openrsync doesn't bother with that? Since these warnings only come up while running % port test I guess I am wondering how serious they are and what the best approach is if contending with them or whether they can be safely ignored? Thanks for all the perspective though, I feel as if I am always learning something new in this kind of discourse. |
I'm quite curious to know when the Apple team will post the source code of their fork and how they solved the problem with these implicit declarations (or broke it altogether like they did with xar). |
I think some of the OpenBSD developers would probably appreciate similar insights! Also see this thread on the FediVerse starting here for additional discourse from some BSD devs (including the primary author of openrsync): https://mastodon.sdf.org/@ParadeGrotesque/114298852894809118 |
One per line and in alphabetical order, but basically yes.
Based on the output you showed, the warnings are being printed in the configure phase (as expected). It is normal for configure scripts to generate these kinds of errors when checking for functions that are not provided by the current platform, which is why we have the whitelists to filter out this case. After that, the only warnings printed should be for the actual problems where they forgot to include a header, causing a configure check to produce the wrong result. |
There is openrsync code published at https://github.com/apple-oss-distributions/rsync though I can't say how well it corresponds to the binary in the current macOS release. |
OK, there was probably a smarter way to do that (there were 26 .list files; but some of them were also symlinks) but I updated the PR with modifications to those, one per line and in alphabetical order as specified! |
Ooph, I don't think I realized what the re-request review option did. Sorry if that caused any additional notifications or extra work. |
Despite the warnings |
Build on 10.6 fails with this error:
|
Thanks for testing on 10.6! I don't have any systems running that easily accessible at the moment. |
@artkiver I don't require testing on it, just posted for information. |
@aeiouaeiouaeiouaeiouaeiouaeiou @artkiver I can confirm it fails due to illegal syntax for |
Also, the build does not respect MacPorts’ Once that is fixed (using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@barracuda156 suggestions LGTM! Thanks!
Description
Type(s)
Tested on
macOS 15.4 24E248 arm64
Command Line Tools 16.3.0.0.1.1742442376
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?