[MacPorts] #66417: python310 @3.10.9 seems to install static libraries, but they are faulty – why at all?

MacPorts noreply at macports.org
Thu Dec 8 11:34:59 UTC 2022


#66417: python310 @3.10.9 seems to install static libraries, but they are faulty –
why at all?
-----------------------------+-----------------------
 Reporter:  ballapete        |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.8.0
 Keywords:  tiger, monterey  |       Port:  python310
-----------------------------+-----------------------
 `configure` has the option `--without-static-libpython`. Leaving it out
 results in:

 {{{
 pete 228 /\ port contents python310 | ggrep libpython
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/libpython3.10.dylib
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin/libpython3.10.a
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin/libpython3.10.dylib
 pete 229 /\ ls -l `port contents python310 | ggrep libpython`
 lrwxr-xr-x   1 root  wheel   9  8 Dez 09:29
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/libpython3.10.dylib
 -> ../Python
 lrwxr-xr-x   1 root  wheel  15  8 Dez 09:29
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin/libpython3.10.a
 -> ../../../Python
 lrwxr-xr-x   1 root  wheel  15  8 Dez 09:29
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin/libpython3.10.dylib
 -> ../../../Python
 pete 230 /\ ls -Lil `port contents python310 | ggrep libpython`
 96769351 -rwxr-xr-x   1 root  wheel  3577140  8 Dez 09:15
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/libpython3.10.dylib
 96769351 -rwxr-xr-x   1 root  wheel  3577140  8 Dez 09:15
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin/libpython3.10.a
 96769351 -rwxr-xr-x   1 root  wheel  3577140  8 Dez 09:15
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin/libpython3.10.dylib
 pete 231 /\ find /opt/local -type f -inum 96769351 -ls
 96769351 6992 -rwxr-xr-x    1 root     wheel     3577140 8 Dez 09:15:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python
 pete 232 /\ file
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python
 /opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python:
 Mach-O dynamically linked shared library ppc
 }}}

 The SDKs do not contain many, /opt/local/lib has 266 of them. And in other
 places many, many more. Are they necessary?

-- 
Ticket URL: <https://trac.macports.org/ticket/66417>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list