Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58582 closed defect (invalid)

xorg-libxcb @1.13.1 +python37 on Mac OS X 10.4.11, PPC Tiger, seems to use Python 2.7

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: tiger Cc:
Port: xorg-libxcb

Description

PYTHON='/opt/local/bin/python3.7'
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.13.1" && ./configure --prefix=/opt/local --disable-devel-docs --disable-silent-rules
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.13.1" && ./configure --prefix=/opt/local --disable-devel-docs --disable-silent-rules
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether /opt/local/bin/python3.7 version is >= 2.6... yes
checking for /opt/local/bin/python3.7 version... 3.7
checking for /opt/local/bin/python3.7 platform... darwin
checking for /opt/local/bin/python3.7 script directory... ${prefix}/lib/python3.7/site-packages
checking for /opt/local/bin/python3.7 extension module directory... ${exec_prefix}/lib/python3.7/site-packages
checking whether make supports the include directive... yes (GNU style)
checking for gcc... /opt/local/bin/gcc-apple-4.2

starts correctly, but then uses:

checking for NEEDED... yes
checking for XDMCP... yes
checking for XdmcpWrap in -lXdmcp... yes
checking XCBPROTO_XCBINCLUDEDIR... /opt/local/share/xcb
checking XCBPROTO_XCBPYTHONDIR... /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
checking for ANSI C header files... (cached) yes
checking for library containing getaddrinfo... none required

and finally

make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_x11_xorg-libxcb/xorg-libxcb/work/libxcb-1.13.1/src'
/opt/local/bin/python3.7 ./c_client.py  -c "libxcb 1.13.1" -l "X Version 11" -s "3" -p /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages         /opt/local/share/xcb/xproto.xml

with a lot more XML files. In the end xorg-libxcb built. And installed.

Change History (5)

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

Cc: jeremyhu@… removed
Owner: set to jeremyhu
Status: newassigned

comment:2 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: invalid
Status: assignedclosed

checking XCBPROTO_XCBPYTHONDIR... /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages

XCBPROTO_XCBPYTHONDIR is determined by the Python version used to build xorg-xcb-proto. If you build/activate xorg-xcb-proto +python37 beforehand, XCBPROTO_XCBPYTHONDIR will be /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages.

Related: ticket:58727

comment:3 Changed 5 years ago by Chih-Hsuan Yen <yan12125@…>

In ae53b6b0f446bfb57eeedaa778c3895974c0a665/macports-ports (master):

xorg-xcb-proto: update python dependencies

  • Make python37 variant the default
  • Make python depends_build only. Python is not necessary to use ports

depending on XCB. Instead, python is used to build xorg-libxcb only.

  • Remove python34. Python 3.4 has reached EOL on March 18, 2019.

Closes: #58727
See: #58582

[1] https://www.python.org/downloads/release/python-3410/

comment:4 Changed 5 years ago by Chih-Hsuan Yen <yan12125@…>

In ebf645f6789d57183fef6a525cff1a31e19349aa/macports-ports (master):

xorg-libxcb: update python dependencies

  • Make python37 variant the default
  • Make python depends_build only. Python is not necessary to use ports

depending on XCB. Instead, python is used to build this port only.

  • Remove python34. Python 3.4 has reached EOL on March 18, 2019.

See: #58727
See: #58582

[1] https://www.python.org/downloads/release/python-3410/

comment:5 Changed 5 years ago by Chih-Hsuan Yen <yan12125@…>

In 122121bd03a7eb61708cca69e7525ada02ee8db4/macports-ports (master):

xorg-{xcb-proto,libxcb}: add notes about Python dependencies

See discussions in my previous commits [1][2].

[1] ae53b6b0f446bfb57eeedaa778c3895974c0a665/macports-ports
[2] ebf645f6789d57183fef6a525cff1a31e19349aa/macports-ports

See: #58727
See: #58582

Note: See TracTickets for help on using tickets.