[MacPorts] #69180: py-psutil @5.9.7 broken on < 10.12

MacPorts noreply at macports.org
Thu Jan 25 02:51:59 UTC 2024


#69180: py-psutil @5.9.7 broken on < 10.12
-------------------------------------+-------------------------------------
 Reporter:  barracuda156             |      Owner:  stromnov
     Type:  defect                   |     Status:  assigned
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.8.1
 Keywords:  sierra, elcapitan,       |       Port:  py310-psutil,
  yosemite, mavericks,               |  py311-psutil, py312-psutil
  mountainlion, lion, snowleopard    |
-------------------------------------+-------------------------------------
 Fails locally:
 {{{
 /usr/bin/gcc-4.2 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe
 -Os -arch ppc -isysroot/ -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4
 -DPSUTIL_VERSION=597 -DPy_LIMITED_API=0x03060000 -DPSUTIL_OSX=1
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11
 -c psutil/arch/osx/net.c -o build/temp.macosx-10.6-ppc-
 cpython-311/psutil/arch/osx/net.o
 In file included from psutil/arch/osx/net.c:12:
 //usr/include/net/if_dl.h:90: error: expected specifier-qualifier-list
 before ‘u_char’
 psutil/arch/osx/net.c: In function ‘psutil_net_io_counters’:
 psutil/arch/osx/net.c:67: error: ‘struct sockaddr_dl’ has no member named
 ‘sdl_data’
 psutil/arch/osx/net.c:67: error: ‘struct sockaddr_dl’ has no member named
 ‘sdl_nlen’
 psutil/arch/osx/net.c:67: error: ‘struct sockaddr_dl’ has no member named
 ‘sdl_data’
 psutil/arch/osx/net.c:67: error: ‘struct sockaddr_dl’ has no member named
 ‘sdl_nlen’
 psutil/arch/osx/net.c:68: error: ‘struct sockaddr_dl’ has no member named
 ‘sdl_nlen’
 XCode (https://developer.apple.com/xcode/) is not installed
 error: command '/usr/bin/gcc-4.2' failed with exit code 1

 ERROR Backend subprocess exited when trying to invoke build_wheel
 }}}

 Fails on buildbots:
 https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/257731/steps
 /install-port/logs/stdio

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


More information about the macports-tickets mailing list