public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin-apps@cygwin.com
Subject: python subpackage build error ... not a supported wheel on this platform
Date: Sat, 12 Mar 2022 10:54:36 -0700	[thread overview]
Message-ID: <86a074fd-e2bb-81c3-21ec-15654dec7cad@SystematicSw.ab.ca> (raw)

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

Building locally I get the message below on 64 & 32 bit package builds:

ERROR: python_nghttp2-1.47.0-cp38-cp38-cygwin_3_3_4_x86_64.whl is not a 
supported wheel on this platform.

but not in the confines of a scallywag build: what do I need to remove 
or change to build locally?

Most relevant lines from cygport ... all are attached (sanitized).

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

[-- Attachment #2: nghttp2-cygport-pip-python.log --]
[-- Type: text/plain, Size: 13377 bytes --]

$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/configure --srcdir=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man -C --enable-shared --disable-static --disable-python-bindings --enable-python-bindings
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for a Python interpreter with version >= 3.8... python
checking for python... /usr/bin/python
checking for python version... 3.9
checking for python platform... cygwin
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.9/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.9/site-packages
checking for python3.9... (cached) /usr/bin/python
checking for Python include path... -I/usr/include/python3.9
checking for Python library path... -L/usr/lib -lpython3.9
checking for Python site-packages path... /usr/lib/python3.9/site-packages
checking python extra libraries... -lcrypt -lintl -ldl 
checking python extra linking flags... 
checking consistency of all components of python development environment... yes
config.status: creating python/Makefile
config.status: creating python/setup.py
config.status: creating doc/python-apiref.rst
      CFLAGS:         -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build=/usr/src/debug/nghttp2-1.47.0-1 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0=/usr/src/debug/nghttp2-1.47.0-1
      CXXFLAGS:       -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=return-type -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build=/usr/src/debug/nghttp2-1.47.0-1 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0=/usr/src/debug/nghttp2-1.47.0-1
      Python:         /usr/bin/python
      pyexecdir:      ${PYTHON_EXEC_PREFIX}/lib/python3.9/site-packages
      PYTHON_CPPFLAGS:-I/usr/include/python3.9
      PYTHON_LIBS:    -L/usr/lib -lpython3.9
Making all in python
make[2]: Entering directory '$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build/python'
cython -3 -o nghttp2.c $HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/python/nghttp2.pyx
/usr/bin/python setup.py build
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build=/usr/src/debug/nghttp2-1.47.0-1 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0=/usr/src/debug/nghttp2-1.47.0-1 -I$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/lib -I$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/lib/includes -I../lib/includes -I/usr/include/python3.9 -c nghttp2.c -o build/temp.cygwin-3.3.4-x86_64-3.9/nghttp2.o
gcc -shared -Wl,--enable-auto-image-base -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build=/usr/src/debug/nghttp2-1.47.0-1 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0=/usr/src/debug/nghttp2-1.47.0-1 build/temp.cygwin-3.3.4-x86_64-3.9/nghttp2.o -L../lib/.libs -L../lib -L.. -L/usr/lib/python3.9/config -L/usr/lib -lnghttp2 -lpython3.9 -o build/lib.cygwin-3.3.4-x86_64-3.9/nghttp2.cpython-39-x86_64-cygwin.dll
make[2]: Leaving directory '$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build/python'
/usr/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: $HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/python/nghttp2.pyx
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -DOPENSSL_NO_SSL3=1 -fdebug-prefix-map=/pub/devel/python/python38/python38-3.8.12-1.x86_64/build=/usr/src/debug/python38-3.8.12-1 -fdebug-prefix-map=/pub/devel/python/python38/python38-3.8.12-1.x86_64/src/Python-3.8.12=/usr/src/debug/python38-3.8.12-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -DOPENSSL_NO_SSL3=1 -fdebug-prefix-map=/pub/devel/python/python38/python38-3.8.12-1.x86_64/build=/usr/src/debug/python38-3.8.12-1 -fdebug-prefix-map=/pub/devel/python/python38/python38-3.8.12-1.x86_64/src/Python-3.8.12=/usr/src/debug/python38-3.8.12-1 -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build=/usr/src/debug/nghttp2-1.47.0-1 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0=/usr/src/debug/nghttp2-1.47.0-1 -I$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/lib -I$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/lib/includes -I../lib/includes -I/usr/include/python3.8 -c nghttp2.c -o build/temp.cygwin-3.3.4-x86_64-3.8/nghttp2.o
gcc -shared -Wl,--enable-auto-image-base -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build=/usr/src/debug/nghttp2-1.47.0-1 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0=/usr/src/debug/nghttp2-1.47.0-1 build/temp.cygwin-3.3.4-x86_64-3.8/nghttp2.o -L../lib/.libs -L../lib -L.. -L/usr/lib/python3.8/config -L/usr/lib -lnghttp2 -lpython3.8 -o build/lib.cygwin-3.3.4-x86_64-3.8/nghttp2.cpython-38-x86_64-cygwin.dll
copying build/lib.cygwin-3.3.4-x86_64-3.8/nghttp2.cpython-38-x86_64-cygwin.dll -> build/bdist.cygwin-3.3.4-x86_64/wheel
creating python_nghttp2.egg-info
writing python_nghttp2.egg-info/PKG-INFO
writing dependency_links to python_nghttp2.egg-info/dependency_links.txt
writing top-level names to python_nghttp2.egg-info/top_level.txt
writing manifest file 'python_nghttp2.egg-info/SOURCES.txt'
reading manifest file 'python_nghttp2.egg-info/SOURCES.txt'
writing manifest file 'python_nghttp2.egg-info/SOURCES.txt'
Copying python_nghttp2.egg-info to build/bdist.cygwin-3.3.4-x86_64/wheel/python_nghttp2-1.47.0-py3.8.egg-info
creating build/bdist.cygwin-3.3.4-x86_64/wheel/python_nghttp2-1.47.0.dist-info/WHEEL
creating 'dist/python_nghttp2-1.47.0-cp38-cp38-cygwin_3_3_4_x86_64.whl' and adding 'build/bdist.cygwin-3.3.4-x86_64/wheel' to it
adding 'nghttp2.cpython-38-x86_64-cygwin.dll'
adding 'python_nghttp2-1.47.0.dist-info/METADATA'
adding 'python_nghttp2-1.47.0.dist-info/WHEEL'
adding 'python_nghttp2-1.47.0.dist-info/top_level.txt'
adding 'python_nghttp2-1.47.0.dist-info/RECORD'
/usr/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build=/usr/src/debug/nghttp2-1.47.0-1 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0=/usr/src/debug/nghttp2-1.47.0-1 -I$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/lib -I$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0/lib/includes -I../lib/includes -I/usr/include/python3.9 -c nghttp2.c -o build/temp.cygwin-3.3.4-x86_64-3.9/nghttp2.o
gcc -shared -Wl,--enable-auto-image-base -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build=/usr/src/debug/nghttp2-1.47.0-1 -fdebug-prefix-map=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/src/nghttp2-1.47.0=/usr/src/debug/nghttp2-1.47.0-1 build/temp.cygwin-3.3.4-x86_64-3.9/nghttp2.o -L../lib/.libs -L../lib -L.. -L/usr/lib/python3.9/config -L/usr/lib -lnghttp2 -lpython3.9 -o build/lib.cygwin-3.3.4-x86_64-3.9/nghttp2.cpython-39-x86_64-cygwin.dll
/usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
copying build/lib.cygwin-3.3.4-x86_64-3.9/nghttp2.cpython-39-x86_64-cygwin.dll -> build/bdist.cygwin-3.3.4-x86_64/wheel
writing python_nghttp2.egg-info/PKG-INFO
writing dependency_links to python_nghttp2.egg-info/dependency_links.txt
writing top-level names to python_nghttp2.egg-info/top_level.txt
reading manifest file 'python_nghttp2.egg-info/SOURCES.txt'
writing manifest file 'python_nghttp2.egg-info/SOURCES.txt'
Copying python_nghttp2.egg-info to build/bdist.cygwin-3.3.4-x86_64/wheel/python_nghttp2-1.47.0-py3.9.egg-info
creating build/bdist.cygwin-3.3.4-x86_64/wheel/python_nghttp2-1.47.0.dist-info/WHEEL
creating 'dist/python_nghttp2-1.47.0-cp39-cp39-cygwin_3_3_4_x86_64.whl' and adding 'build/bdist.cygwin-3.3.4-x86_64/wheel' to it
adding 'nghttp2.cpython-39-x86_64-cygwin.dll'
adding 'python_nghttp2-1.47.0.dist-info/METADATA'
adding 'python_nghttp2-1.47.0.dist-info/WHEEL'
adding 'python_nghttp2-1.47.0.dist-info/top_level.txt'
adding 'python_nghttp2-1.47.0.dist-info/RECORD'
Making install in python
make[1]: Entering directory '$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build/python'
/usr/bin/python setup.py build
make[2]: Entering directory '$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build/python'
/usr/bin/python setup.py install --prefix=$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/inst/usr
/usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
/usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
Checking .pth file support in $HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/inst/usr/lib/python3.9/site-packages/
/usr/bin/python -E -c pass
TEST FAILED: $HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/inst/usr/lib/python3.9/site-packages/ does NOT support .pth files
    $HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/inst/usr/lib/python3.9/site-packages/
writing python_nghttp2.egg-info/PKG-INFO
writing dependency_links to python_nghttp2.egg-info/dependency_links.txt
writing top-level names to python_nghttp2.egg-info/top_level.txt
reading manifest file 'python_nghttp2.egg-info/SOURCES.txt'
writing manifest file 'python_nghttp2.egg-info/SOURCES.txt'
copying build/lib.cygwin-3.3.4-x86_64-3.9/nghttp2.cpython-39-x86_64-cygwin.dll -> build/bdist.cygwin-3.3.4-x86_64/egg
creating stub loader for nghttp2.cpython-39-x86_64-cygwin.dll
byte-compiling build/bdist.cygwin-3.3.4-x86_64/egg/nghttp2.py to nghttp2.cpython-39.pyc
copying python_nghttp2.egg-info/PKG-INFO -> build/bdist.cygwin-3.3.4-x86_64/egg/EGG-INFO
copying python_nghttp2.egg-info/SOURCES.txt -> build/bdist.cygwin-3.3.4-x86_64/egg/EGG-INFO
copying python_nghttp2.egg-info/dependency_links.txt -> build/bdist.cygwin-3.3.4-x86_64/egg/EGG-INFO
copying python_nghttp2.egg-info/top_level.txt -> build/bdist.cygwin-3.3.4-x86_64/egg/EGG-INFO
__pycache__.nghttp2.cpython-39: module references __file__
creating 'dist/python_nghttp2-1.47.0-py3.9-cygwin-3.3.4-x86_64.egg' and adding 'build/bdist.cygwin-3.3.4-x86_64/egg' to it
Processing python_nghttp2-1.47.0-py3.9-cygwin-3.3.4-x86_64.egg
creating $HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/inst/usr/lib/python3.9/site-packages/python_nghttp2-1.47.0-py3.9-cygwin-3.3.4-x86_64.egg
Extracting python_nghttp2-1.47.0-py3.9-cygwin-3.3.4-x86_64.egg to $HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/inst/usr/lib/python3.9/site-packages
Installed $HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/inst/usr/lib/python3.9/site-packages/python_nghttp2-1.47.0-py3.9-cygwin-3.3.4-x86_64.egg
Processing dependencies for python-nghttp2==1.47.0
Finished processing dependencies for python-nghttp2==1.47.0
make[2]: Leaving directory '$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build/python'
make[1]: Leaving directory '$HOME/src/cygwin/nghttp2/nghttp2-1.47.0-1.x86_64/build/python'
ERROR: python_nghttp2-1.47.0-cp38-cp38-cygwin_3_3_4_x86_64.whl is not a supported wheel on this platform.
WARNING: You are using pip version 21.3.1; however, version 22.0.3 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
^[[1;31m*** ERROR:^[[0;0m pip3.8 install failed

             reply	other threads:[~2022-03-12 17:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-12 17:54 Brian Inglis [this message]
2022-03-13 13:04 ` Jon Turney
2022-03-13 19:09   ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86a074fd-e2bb-81c3-21ec-15654dec7cad@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).