Opened 3 years ago

Closed 3 years ago

#63901 closed defect (invalid)

python27 enables +lto and +optimizations by default

Reported by: polydevuk Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

[Mac OS Catalina 10.15.7]I seem to recollect python27 and python3x installing without the need to compile but I may be wroing. Regardless, any minor version bumps now require yet another lengthy compilation. Furthermore +lto and +optimizations are enabled by default. Since MacPorts Pythons are only installed on my system as deps how can I remove these variant flags?

Change History (5)

comment:1 Changed 3 years ago by polydevuk

Description: modified (diff)

comment:2 Changed 3 years ago by polydevuk

Description: modified (diff)

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

Description: modified (diff)

Yes, these variants are now enabled by default in the python ports.

That does not mean you need to compile them from source. You will receive binaries if they are available.

Due to the mass switch to openssl 3 on Sunday, our build machines have an extreme backlog and may not yet have gotten around to building the python packages with these new variants. That will resolve itself within a few days.

If you wish to install the ports without these variants, you can:

sudo port install python27 -lto -optimizations

If you do this, you will have to compile from source because our build machines only build ports with their default set of variants.

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

Description: modified (diff)

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

Resolution: invalid
Status: newclosed

Binaries appear to be available now. The default variants choices are deliberate and not a bug. If you don't want those variants, you are free to turn them off as Ryan pointed out.

Note: See TracTickets for help on using tickets.