Ticket #24504 (closed defect: fixed)
xorg-libxcb +universal 1.6 fails to install
| Reported by: | mixal@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | xorg-libxcb |
Description (last modified by macsforever2000@…) (diff)
port install -d xorg-libxcb +python26 +universal
---> Computing dependencies for xorg-libxcb
---> Building xorg-libxcb
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libxcb/work/libxcb-1.6" && /usr/bin/make -j2 all " returned error 2
Command output: Making all in src
/opt/local/bin/python2.6 ./c_client.py -p /opt/local/lib/python2.6/site-packages /opt/local/share/xcb/xproto.xml
/opt/local/bin/python2.6 ./c_client.py -p /opt/local/lib/python2.6/site-packages /opt/local/share/xcb/composite.xml
Traceback (most recent call last):
File "./c_client.py", line 1034, in <module>
Traceback (most recent call last):
File "./c_client.py", line 1037, in <module>
module = Module(args[0], output)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/xcbgen/state.py", line 64, in __init__
module.register()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/xcbgen/state.py", line 89, in register
self.namespace = Namespace(filename)
matcher.execute(self, self.namespace)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/xcbgen/matcher.py", line 112, in execute
funcs[elt.tag](elt, module, namespace)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/xcbgen/matcher.py", line 21, in import_
new_root = parse(new_file).getroot()
File "<string>", line 45, in parse
File "<string>", line 32, in parse
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/xcbgen/state.py", line 32, in __init__
SyntaxError: not well-formed (invalid token): line 2301, column 0
self.root = parse(filename).getroot()
File "<string>", line 45, in parse
File "<string>", line 32, in parse
SyntaxError: not well-formed (invalid token): line 2301, column 0
make[1]: *** [composite.c] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [xproto.c] Error 1
make: *** [all-recursive] Error 1
Error: Status 1 encountered during processing.
After an uninstall and attempt to install. Upgrade from 1.5 failed with the same error on 10.6.3
Change History
comment:1 Changed 3 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to jeremyhu@…
- Keywords xorg-libxcb removed
- Priority changed from High to Normal
- Description modified (diff)
- Summary changed from xorg-libxcb 1.6 fails to install to xorg-libxcb +universal 1.6 fails to install
comment:2 Changed 3 years ago by mixal@…
Any help on this?Not to be a pest, but if there is anything I can try to get this going, please let me know, or any additional info needed.
Thanks!
comment:3 Changed 3 years ago by jeremyhu@…
I can't reproduce this...
Try different versions of python.
comment:4 Changed 3 years ago by mixal@…
Gah, OSX's python multiple versions of Macports python...that quickly becomes a pain to maintain... What version do you recommend? Could it be something with my 2.6 python that I might want to re-install? Maybe there's a dependency I'm missing? Do you have any other ports from python/py26* that I might need to install (port installed|grep py26)?
comment:5 Changed 3 years ago by bumens@…
xorg-libxcb does not build after python_select python27 xorg-libxcb does build after python_select python26
comment:6 Changed 3 years ago by raimue@…
I guess this is a follow-up to r71272.
I suggest adding this section to force use of system provided python:
platform darwin {
# use system provided python to avoid infinite dep loop
configure.python /usr/bin/python
}

