Opened 3 years ago

Closed 8 months ago

#65136 closed defect (fixed)

xorg-libxcb fails to upgrade to @1.15 on Leopard: AttributeError: 'Reply' object has no attribute 'length_expr'

Reported by: barracuda156 Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, leopard Cc:
Port: xorg-libxcb

Description

Making all in src
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src'
/opt/local/bin/python3.10 ./c_client.py	-c "libxcb 1.15" -l "X Version 11" \
		-s "3" -p //opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages \
		 \
		//opt/local/share/xcb/xproto.xml
/opt/local/bin/python3.10 ./c_client.py	-c "libxcb 1.15" -l "X Version 11" \
		-s "3" -p //opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages \
		 \
		//opt/local/share/xcb/bigreq.xml
/opt/local/bin/python3.10 ./c_client.py	-c "libxcb 1.15" -l "X Version 11" \
		-s "3" -p //opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages \
		 \
		//opt/local/share/xcb/xc_misc.xml
/opt/local/bin/python3.10 ./c_client.py	-c "libxcb 1.15" -l "X Version 11" \
		-s "3" -p //opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages \
		 \
		//opt/local/share/xcb/composite.xml
Traceback (most recent call last):
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src/./c_client.py", line 3394, in <module>
    module.generate()
  File "//opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/xcbgen/state.py", line 131, in generate
    item.out(name)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src/./c_client.py", line 3181, in c_request
    _c_type_setup(self.reply, name, ('reply',))
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src/./c_client.py", line 536, in _c_type_setup
    _c_serialize('sizeof', self)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src/./c_client.py", line 1420, in _c_serialize
    if self.length_expr is not None:
AttributeError: 'Reply' object has no attribute 'length_expr'
/opt/local/bin/python3.10 ./c_client.py	-c "libxcb 1.15" -l "X Version 11" \
		-s "3" -p //opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages \
		 \
		//opt/local/share/xcb/damage.xml
make[1]: *** [xc_misc.c] Error 1
make[1]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src/./c_client.py", line 3394, in <module>
    module.generate()
  File "//opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/xcbgen/state.py", line 131, in generate
    item.out(name)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src/./c_client.py", line 2161, in c_struct
    _c_type_setup(self, name, ())
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src/./c_client.py", line 536, in _c_type_setup
    _c_serialize('sizeof', self)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src/./c_client.py", line 1420, in _c_serialize
    if self.length_expr is not None:
AttributeError: 'Struct' object has no attribute 'length_expr'
make[1]: *** [xproto.c] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.15-ppc" && /usr/bin/make -j4 -w all 
Exit code: 2

Attachments (1)

main.log (78.6 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 8 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

working now, no issues installing:

$ port -v installed xorg-libxcb
The following ports are currently installed:
  xorg-libxcb @1.16_0+python311 (active) requested_variants='' platform='darwin 9' archs='ppc' date='2024-03-06T20:48:41-0800'
Note: See TracTickets for help on using tickets.