Opened 3 years ago

Last modified 3 years ago

#63883 assigned defect

Update list of expected undeclared symbols for macOS 12

Reported by: FaradayLight (Faraday Light) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc:
Port:

Description

The configuration step is reporting the following:

--->  Configuring python39
Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  getrandom: found in Python-3.9.8/config.log
  le64toh: found in Python-3.9.8/config.log

Change History (7)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmroot removed
Keywords: catalina bigsur monterey added; Monterey x86_64 removed
Owner: set to jmroot
Status: newassigned
Summary: python39 @3.9.8_1+lto+optimizations - Configuration logfiles contain indications of implicit-function-declarationpython39 @3.9.8_1+lto+optimizations: Configuration logfiles contain indications of -Wimplicit-function-declaration

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: assignedclosed

This doesn't indicate a problem, and I'm not sure how you're even seeing these since the functions are in the expected list: https://github.com/macports/macports-ports/blob/master/_resources/port1.0/checks/implicit_function_declaration/macosx10.11.sdk.list

comment:3 Changed 3 years ago by FaradayLight (Faraday Light)

OK, I was not aware of that list. I was however under the impression that a request had been made to report all such warning messages.

comment:4 Changed 3 years ago by jmroot (Joshua Root)

Keywords: catalina bigsur removed
Port: python39 removed
Resolution: worksforme
Status: closedreopened
Summary: python39 @3.9.8_1+lto+optimizations: Configuration logfiles contain indications of -Wimplicit-function-declarationUpdate list of expected undeclared symbols for macOS 12

Having a symbol in the list suppresses the warning message, hence my wondering how you even saw it. But I see now that Ryan added the catalina and bigsur keywords for some reason, whereas you initially were reporting this only on Monterey. The list for that OS version is indeed missing these symbols.

Each time a new OS version is released, someone needs to go through the list of expected undeclared symbols for the previous OS version and confirm whether the new OS still doesn't provide them. They can't just all be copy-pasted since new OS versions do add new functions.

comment:5 Changed 3 years ago by jmroot (Joshua Root)

Owner: jmroot deleted
Status: reopenedassigned

comment:6 Changed 3 years ago by FaradayLight (Faraday Light)

OK, understood.

Are there any settings on the client I can check and and report that could influence this warning message?

comment:7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

But I see now that Ryan added the catalina and bigsur keywords for some reason, whereas you initially were reporting this only on Monterey. The list for that OS version is indeed missing these symbols.

I added the catalina and bigsur keywords because implicit declaration of functions is an error in Xcode 12 and later, which can be used on Catalina and later. I did not realize that these symbols were ones that had already been suppressed on Catalina and Big Sur.

Are there any settings on the client I can check and and report that could influence this warning message?

There are no such settings.

Note: See TracTickets for help on using tickets.