-
Notifications
You must be signed in to change notification settings - Fork 5
opae-sdk FTBFS: python3: No module named pip #1
Comments
This regression is due to OFS/opae-sdk#2917. |
--- a/recipes-ofs/opae-sdk/opae-sdk_git.bb
+++ b/recipes-ofs/opae-sdk/opae-sdk_git.bb
@@ -13,8 +13,10 @@ DEPENDS = "\
libedit \
python3 \
python3-jsonschema-native \
+ python3-pip-native \
python3-pybind11 \
python3-pyyaml-native \
+ python3-setuptools \
python3-setuptools-native \
spdlog \
tbb \
|
The issue might be caused by the slightly too old version in Yocto kirkstone:
|
This adds support for building opae-sdk with Yocto kirkstone. OFS/meta-ofs#1
Same failure using OFS/opae-sdk@18a230a with relaxed setuptools version: --- a/recipes-ofs/opae-sdk/opae-sdk_git.bb
+++ b/recipes-ofs/opae-sdk/opae-sdk_git.bb
@@ -2,7 +2,7 @@ SUMMARY = "Open Programmable Acceleration Engine"
HOMEPAGE = "https://github.com/OFS/opae-sdk"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=5351f05d1aa340cb91bb885c2fd82fc7"
-SRC_URI = "git://github.com/OFS/opae-sdk;protocol=https;branch=master"
+SRC_URI = "git://github.com/pcolberg/opae-sdk;protocol=https;branch=pyproject-setuptools"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
@@ -13,8 +13,11 @@ DEPENDS = "\
libedit \
python3 \
python3-jsonschema-native \
+ python3-pip \
+ python3-pip-native \
python3-pybind11 \
python3-pyyaml-native \
+ python3-setuptools \
python3-setuptools-native \
spdlog \
tbb \
|
Using OFS/opae-sdk@b0e0933:
|
OFS/opae-sdk@b0e0933 builds with --- a/recipes-ofs/opae-sdk/opae-sdk_git.bb
+++ b/recipes-ofs/opae-sdk/opae-sdk_git.bb
@@ -2,7 +2,7 @@ SUMMARY = "Open Programmable Acceleration Engine"
HOMEPAGE = "https://github.com/OFS/opae-sdk"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=5351f05d1aa340cb91bb885c2fd82fc7"
-SRC_URI = "git://github.com/OFS/opae-sdk;protocol=https;branch=master"
+SRC_URI = "git://github.com/pcolberg/opae-sdk;protocol=https;branch=pyproject-setuptools"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
@@ -13,6 +13,7 @@ DEPENDS = "\
libedit \
python3 \
python3-jsonschema-native \
+ python3-pip-native \
python3-pybind11 \
python3-pyyaml-native \
python3-setuptools-native \
@@ -25,7 +26,7 @@ DEPENDS = "\
inherit gitpkgv
PKGV = "${GITPKGVTAG}"
-inherit cmake pkgconfig python3native
+inherit cmake pkgconfig python3native python_setuptools_build_meta
# Work around linking error for Python extension modules
# On the other hand,
|
OFS/opae-sdk@24d8650 builds, too, with Better yet, build dependencies are now automatically deduced: --- a/recipes-ofs/opae-sdk/opae-sdk_git.bb
+++ b/recipes-ofs/opae-sdk/opae-sdk_git.bb
@@ -11,11 +11,6 @@ DEPENDS = "\
hwloc \
json-c \
libedit \
- python3 \
- python3-jsonschema-native \
- python3-pybind11 \
- python3-pyyaml-native \
- python3-setuptools-native \
spdlog \
tbb \
udev \
@@ -25,7 +20,7 @@ DEPENDS = "\
inherit gitpkgv
PKGV = "${GITPKGVTAG}"
-inherit cmake pkgconfig python3native
+inherit cmake pkgconfig python_setuptools_build_meta
# Work around linking error for Python extension modules
# |
With regard to the runtime package dependencies, --- a/recipes-ofs/opae-sdk/opae-sdk_git.bb
+++ b/recipes-ofs/opae-sdk/opae-sdk_git.bb
@@ -11,11 +11,6 @@ DEPENDS = "\
hwloc \
json-c \
libedit \
- python3 \
- python3-jsonschema-native \
- python3-pybind11 \
- python3-pyyaml-native \
- python3-setuptools-native \
spdlog \
tbb \
udev \
@@ -25,35 +20,10 @@ DEPENDS = "\
inherit gitpkgv
PKGV = "${GITPKGVTAG}"
-inherit cmake pkgconfig python3native
-
-# Work around linking error for Python extension modules
-#
-# ld: cannot find crti.o: No such file or directory
-# ld: cannot find crtbeginS.o: No such file or directory
-# ld: cannot find -lstdc++: No such file or directory
-# ld: cannot find -lm: No such file or directory
-# ld: cannot find -lgcc_s: No such file or directory
-# ld: cannot find -lpthread: No such file or directory
-# ld: cannot find -lc: No such file or directory
-# ld: cannot find -lgcc_s: No such file or directory
-# ld: cannot find crtendS.o: No such file or directory
-# ld: cannot find crtn.o: No such file or directory
-#
-LDFLAGS += "--sysroot=${STAGING_DIR_TARGET}"
-
-# Work around setuptools overwriting hashbang with build path
-# https://cgit.openembedded.org/openembedded-core/tree/meta/classes-recipe/setuptools3_legacy.bbclass?id=8e9ec03c73e8c09e223d6f6cce297df363991350
-do_install:append() {
- sed -i '1s:^#!${PYTHON}$:#!${bindir}/python3:' ${D}${bindir}/*
-}
+inherit cmake pkgconfig python_setuptools_build_meta
FILES:${PN}+= "${prefix}/*"
RDEPENDS:${PN} = "\
bash \
- python3-core \
- python3-jsonschema \
- python3-mmap \
- python3-pyyaml\
"
|
|
The included |
This adds support for building opae-sdk with Yocto kirkstone. OFS/meta-ofs#1
With this option, compilation requires the familiar workaround to link C extension modules, the same as with |
pip supports passing options via environment variables, e.g., in the recipe:
See pypa/pip#5735 regarding the confusing value |
pip-based package diffed from c538a25 appears to be complete. pip-based package is missing --- opae-sdk-2.5.0+1-r0.corei7_64.rpm
+++ opae-sdk-0.0+3189+g2ae85fa-r0.corei7_64.rpm
@@ -73,68 +73,71 @@
/usr/lib/python3.10/site-packages/ethernet
/usr/lib/python3.10/site-packages/ethernet/__init__.py
/usr/lib/python3.10/site-packages/ethernet/__pycache__
-/usr/lib/python3.10/site-packages/ethernet/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ethernet/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/ethernet/__pycache__/hssicommon.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ethernet/__pycache__/hssicommon.cpython-310.pyc
-/usr/lib/python3.10/site-packages/ethernet/__pycache__/hssiloopback.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ethernet/__pycache__/hssiloopback.cpython-310.pyc
-/usr/lib/python3.10/site-packages/ethernet/__pycache__/hssimac.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ethernet/__pycache__/hssimac.cpython-310.pyc
-/usr/lib/python3.10/site-packages/ethernet/__pycache__/hssistats.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/ethernet/__pycache__/hssistats.cpython-310.pyc
/usr/lib/python3.10/site-packages/ethernet/hssicommon.py
/usr/lib/python3.10/site-packages/ethernet/hssiloopback.py
/usr/lib/python3.10/site-packages/ethernet/hssimac.py
/usr/lib/python3.10/site-packages/ethernet/hssistats.py
-/usr/lib/python3.10/site-packages/hssi_ethernet-2.0-py3.10.egg-info
-/usr/lib/python3.10/site-packages/hssi_ethernet-2.0-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/hssi_ethernet-2.0-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/hssi_ethernet-2.0-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/hssi_ethernet-2.0-py3.10.egg-info/entry_points.txt
-/usr/lib/python3.10/site-packages/hssi_ethernet-2.0-py3.10.egg-info/top_level.txt
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info/INSTALLER
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info/METADATA
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info/RECORD
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info/REQUESTED
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info/WHEEL
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info/direct_url.json
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info/entry_points.txt
+/usr/lib/python3.10/site-packages/hssi_ethernet-2.0.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/libvfio.cpython-310-x86_64-linux-gnu.so
-/usr/lib/python3.10/site-packages/ofs.uio-1.0-py3.10.egg-info
-/usr/lib/python3.10/site-packages/ofs.uio-1.0-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/ofs.uio-1.0-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/ofs.uio-1.0-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/ofs.uio-1.0-py3.10.egg-info/entry_points.txt
-/usr/lib/python3.10/site-packages/ofs.uio-1.0-py3.10.egg-info/top_level.txt
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info/INSTALLER
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info/METADATA
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info/RECORD
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info/REQUESTED
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info/WHEEL
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info/direct_url.json
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info/entry_points.txt
+/usr/lib/python3.10/site-packages/ofs.uio-1.0.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/opae
-/usr/lib/python3.10/site-packages/opae.admin-1.4.3-py3.10.egg-info
-/usr/lib/python3.10/site-packages/opae.admin-1.4.3-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/opae.admin-1.4.3-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/opae.admin-1.4.3-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/opae.admin-1.4.3-py3.10.egg-info/entry_points.txt
-/usr/lib/python3.10/site-packages/opae.admin-1.4.3-py3.10.egg-info/top_level.txt
-/usr/lib/python3.10/site-packages/opae.diag-2.0-py3.10.egg-info
-/usr/lib/python3.10/site-packages/opae.diag-2.0-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/opae.diag-2.0-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/opae.diag-2.0-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/opae.diag-2.0-py3.10.egg-info/entry_points.txt
-/usr/lib/python3.10/site-packages/opae.diag-2.0-py3.10.egg-info/top_level.txt
-/usr/lib/python3.10/site-packages/opae.io-0.2.6-py3.10.egg-info
-/usr/lib/python3.10/site-packages/opae.io-0.2.6-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/opae.io-0.2.6-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/opae.io-0.2.6-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/opae.io-0.2.6-py3.10.egg-info/entry_points.txt
-/usr/lib/python3.10/site-packages/opae.io-0.2.6-py3.10.egg-info/top_level.txt
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/INSTALLER
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/LICENSE
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/METADATA
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/RECORD
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/REQUESTED
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/WHEEL
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/direct_url.json
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/entry_points.txt
+/usr/lib/python3.10/site-packages/opae.admin-1.4.4.dist-info/top_level.txt
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info/INSTALLER
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info/METADATA
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info/RECORD
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info/REQUESTED
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info/WHEEL
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info/direct_url.json
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info/entry_points.txt
+/usr/lib/python3.10/site-packages/opae.diag-2.0.1.dist-info/top_level.txt
+/usr/lib/python3.10/site-packages/opae.io-0.2.7.dist-info
+/usr/lib/python3.10/site-packages/opae.io-0.2.7.dist-info/INSTALLER
+/usr/lib/python3.10/site-packages/opae.io-0.2.7.dist-info/METADATA
+/usr/lib/python3.10/site-packages/opae.io-0.2.7.dist-info/RECORD
+/usr/lib/python3.10/site-packages/opae.io-0.2.7.dist-info/REQUESTED
+/usr/lib/python3.10/site-packages/opae.io-0.2.7.dist-info/WHEEL
+/usr/lib/python3.10/site-packages/opae.io-0.2.7.dist-info/direct_url.json
+/usr/lib/python3.10/site-packages/opae.io-0.2.7.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/opae/admin
/usr/lib/python3.10/site-packages/opae/admin/__init__.py
/usr/lib/python3.10/site-packages/opae/admin/__pycache__
-/usr/lib/python3.10/site-packages/opae/admin/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/__pycache__/config.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/__pycache__/dfl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/__pycache__/dfl.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/__pycache__/fpga.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/__pycache__/fpga.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/__pycache__/path.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/__pycache__/path.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/__pycache__/sysfs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/__pycache__/sysfs.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/__pycache__/version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/__pycache__/version.cpython-310.pyc
/usr/lib/python3.10/site-packages/opae/admin/config.py
/usr/lib/python3.10/site-packages/opae/admin/dfl.py
@@ -144,31 +147,18 @@
/usr/lib/python3.10/site-packages/opae/admin/tools
/usr/lib/python3.10/site-packages/opae/admin/tools/__init__.py
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/bitstream_info.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/bitstream_info.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgaflash.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgaflash.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgaotsu.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgaotsu.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgaport.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgaport.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgareg.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgareg.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgasupdate.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/fpgasupdate.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/ihex2ipmi.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/ihex2ipmi.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/opaevfio.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/opaevfio.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/pci_device.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/pci_device.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/regmap_debugfs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/regmap_debugfs.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/rsu.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/rsu.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/super_rsu.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/__pycache__/super_rsu.cpython-310.pyc
/usr/lib/python3.10/site-packages/opae/admin/tools/bitstream_info.py
/usr/lib/python3.10/site-packages/opae/admin/tools/fpgaflash.py
@@ -185,25 +175,15 @@
/usr/lib/python3.10/site-packages/opae/admin/utils
/usr/lib/python3.10/site-packages/opae/admin/utils/__init__.py
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/common_util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/common_util.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/database.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/database.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/log.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/log.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/mtd.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/mtd.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/process.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/process.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/progress.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/progress.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/terminal.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/terminal.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/utils.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/verifier.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/__pycache__/verifier.cpython-310.pyc
/usr/lib/python3.10/site-packages/opae/admin/utils/common_util.py
/usr/lib/python3.10/site-packages/opae/admin/utils/database.py
@@ -218,25 +198,15 @@
/usr/lib/python3.10/site-packages/opae/diag
/usr/lib/python3.10/site-packages/opae/diag/__init__.py
/usr/lib/python3.10/site-packages/opae/diag/__pycache__
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/common.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/common.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fecmode.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fecmode.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fpgadiag.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fpgadiag.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fpgalpbk.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fpgalpbk.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fpgamac.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fpgamac.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fpgastats.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fpgastats.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fvlbypass.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/fvlbypass.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/mactest.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/mactest.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/diag/__pycache__/mux.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/diag/__pycache__/mux.cpython-310.pyc
/usr/lib/python3.10/site-packages/opae/diag/common.py
/usr/lib/python3.10/site-packages/opae/diag/eth_group.cpython-310-x86_64-linux-gnu.so
@@ -251,57 +221,46 @@
/usr/lib/python3.10/site-packages/opae/io
/usr/lib/python3.10/site-packages/opae/io/__init__.py
/usr/lib/python3.10/site-packages/opae/io/__pycache__
-/usr/lib/python3.10/site-packages/opae/io/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/io/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/io/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/io/__pycache__/config.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/io/__pycache__/pci.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/io/__pycache__/pci.cpython-310.pyc
-/usr/lib/python3.10/site-packages/opae/io/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/opae/io/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/opae/io/config.py
/usr/lib/python3.10/site-packages/opae/io/pci.py
/usr/lib/python3.10/site-packages/opae/io/utils.py
/usr/lib/python3.10/site-packages/packager
-/usr/lib/python3.10/site-packages/packager-1.0.0-py3.10.egg-info
-/usr/lib/python3.10/site-packages/packager-1.0.0-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/packager-1.0.0-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/packager-1.0.0-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/packager-1.0.0-py3.10.egg-info/entry_points.txt
-/usr/lib/python3.10/site-packages/packager-1.0.0-py3.10.egg-info/requires.txt
-/usr/lib/python3.10/site-packages/packager-1.0.0-py3.10.egg-info/top_level.txt
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info/INSTALLER
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info/METADATA
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info/RECORD
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info/REQUESTED
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info/WHEEL
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info/direct_url.json
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info/entry_points.txt
+/usr/lib/python3.10/site-packages/packager-1.0.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/packager/__init__.py
/usr/lib/python3.10/site-packages/packager/__pycache__
-/usr/lib/python3.10/site-packages/packager/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/packager/metadata
/usr/lib/python3.10/site-packages/packager/metadata/__init__.py
/usr/lib/python3.10/site-packages/packager/metadata/__pycache__
-/usr/lib/python3.10/site-packages/packager/metadata/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/metadata/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/metadata/__pycache__/constants.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/metadata/__pycache__/constants.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/metadata/__pycache__/metadata.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/metadata/__pycache__/metadata.cpython-310.pyc
/usr/lib/python3.10/site-packages/packager/metadata/constants.py
/usr/lib/python3.10/site-packages/packager/metadata/metadata.py
/usr/lib/python3.10/site-packages/packager/schema
/usr/lib/python3.10/site-packages/packager/schema/__init__.py
/usr/lib/python3.10/site-packages/packager/schema/__pycache__
-/usr/lib/python3.10/site-packages/packager/schema/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/schema/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/packager/schema/afu_schema_v01.json
/usr/lib/python3.10/site-packages/packager/schema/afu_template.json
/usr/lib/python3.10/site-packages/packager/test
/usr/lib/python3.10/site-packages/packager/test/__init__.py
/usr/lib/python3.10/site-packages/packager/test/__pycache__
-/usr/lib/python3.10/site-packages/packager/test/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/test/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/test/__pycache__/test_afu.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/test/__pycache__/test_afu.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/test/__pycache__/test_hello.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/test/__pycache__/test_hello.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/test/__pycache__/test_metadata.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/test/__pycache__/test_metadata.cpython-310.pyc
/usr/lib/python3.10/site-packages/packager/test/test_afu.py
/usr/lib/python3.10/site-packages/packager/test/test_data
@@ -312,57 +271,43 @@
/usr/lib/python3.10/site-packages/packager/tools
/usr/lib/python3.10/site-packages/packager/tools/__init__.py
/usr/lib/python3.10/site-packages/packager/tools/__pycache__
-/usr/lib/python3.10/site-packages/packager/tools/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/tools/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/tools/__pycache__/afu_json_mgr.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/tools/__pycache__/afu_json_mgr.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/tools/__pycache__/packager.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/tools/__pycache__/packager.cpython-310.pyc
/usr/lib/python3.10/site-packages/packager/tools/afu_json_mgr.py
/usr/lib/python3.10/site-packages/packager/tools/packager.py
/usr/lib/python3.10/site-packages/packager/utils
/usr/lib/python3.10/site-packages/packager/utils/__init__.py
/usr/lib/python3.10/site-packages/packager/utils/__pycache__
-/usr/lib/python3.10/site-packages/packager/utils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/utils/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/utils/__pycache__/afu.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/utils/__pycache__/afu.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/utils/__pycache__/gbs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/utils/__pycache__/gbs.cpython-310.pyc
-/usr/lib/python3.10/site-packages/packager/utils/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/packager/utils/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/packager/utils/afu.py
/usr/lib/python3.10/site-packages/packager/utils/gbs.py
/usr/lib/python3.10/site-packages/packager/utils/utils.py
/usr/lib/python3.10/site-packages/pacsign
-/usr/lib/python3.10/site-packages/pacsign-1.0.7-py3.10.egg-info
-/usr/lib/python3.10/site-packages/pacsign-1.0.7-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/pacsign-1.0.7-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/pacsign-1.0.7-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/pacsign-1.0.7-py3.10.egg-info/entry_points.txt
-/usr/lib/python3.10/site-packages/pacsign-1.0.7-py3.10.egg-info/top_level.txt
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info/INSTALLER
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info/METADATA
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info/RECORD
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info/REQUESTED
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info/WHEEL
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info/direct_url.json
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info/entry_points.txt
+/usr/lib/python3.10/site-packages/pacsign-1.0.8.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/pacsign/__init__.py
/usr/lib/python3.10/site-packages/pacsign/__main__.py
/usr/lib/python3.10/site-packages/pacsign/__pycache__
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/__main__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/common_util.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/common_util.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/database.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/database.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/ecdsa.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/ecdsa.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/logger.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/logger.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/pacsign.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/pacsign.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/reader.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/reader.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/terminal.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/terminal.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/__pycache__/verifier.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/__pycache__/verifier.cpython-310.pyc
/usr/lib/python3.10/site-packages/pacsign/common_util.py
/usr/lib/python3.10/site-packages/pacsign/database.py
@@ -370,25 +315,19 @@
/usr/lib/python3.10/site-packages/pacsign/hsm_managers
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/__init__.py
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/__pycache__
-/usr/lib/python3.10/site-packages/pacsign/hsm_managers/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/__init__.py
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/__pycache__
-/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/__pycache__/key_manager.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/__pycache__/key_manager.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/__pycache__/openssl.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/__pycache__/openssl.cpython-310.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/key_manager.py
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/openssl/openssl.py
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/pkcs11
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/pkcs11/__init__.py
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/pkcs11/__pycache__
-/usr/lib/python3.10/site-packages/pacsign/hsm_managers/pkcs11/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/pkcs11/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/pacsign/hsm_managers/pkcs11/__pycache__/pkcs11_manager.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/pkcs11/__pycache__/pkcs11_manager.cpython-310.pyc
/usr/lib/python3.10/site-packages/pacsign/hsm_managers/pkcs11/pkcs11_manager.py
/usr/lib/python3.10/site-packages/pacsign/logger.py
@@ -396,20 +335,19 @@
/usr/lib/python3.10/site-packages/pacsign/reader.py
/usr/lib/python3.10/site-packages/pacsign/terminal.py
/usr/lib/python3.10/site-packages/pacsign/verifier.py
-/usr/lib/python3.10/site-packages/pyopaeuio-2.0-py3.10.egg-info
-/usr/lib/python3.10/site-packages/pyopaeuio-2.0-py3.10.egg-info/PKG-INFO
-/usr/lib/python3.10/site-packages/pyopaeuio-2.0-py3.10.egg-info/SOURCES.txt
-/usr/lib/python3.10/site-packages/pyopaeuio-2.0-py3.10.egg-info/dependency_links.txt
-/usr/lib/python3.10/site-packages/pyopaeuio-2.0-py3.10.egg-info/entry_points.txt
-/usr/lib/python3.10/site-packages/pyopaeuio-2.0-py3.10.egg-info/requires.txt
-/usr/lib/python3.10/site-packages/pyopaeuio-2.0-py3.10.egg-info/top_level.txt
+/usr/lib/python3.10/site-packages/pyopaeuio-2.0.1.dist-info
+/usr/lib/python3.10/site-packages/pyopaeuio-2.0.1.dist-info/INSTALLER
+/usr/lib/python3.10/site-packages/pyopaeuio-2.0.1.dist-info/METADATA
+/usr/lib/python3.10/site-packages/pyopaeuio-2.0.1.dist-info/RECORD
+/usr/lib/python3.10/site-packages/pyopaeuio-2.0.1.dist-info/REQUESTED
+/usr/lib/python3.10/site-packages/pyopaeuio-2.0.1.dist-info/WHEEL
+/usr/lib/python3.10/site-packages/pyopaeuio-2.0.1.dist-info/direct_url.json
+/usr/lib/python3.10/site-packages/pyopaeuio-2.0.1.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/pyopaeuio.cpython-310-x86_64-linux-gnu.so
/usr/lib/python3.10/site-packages/uio
/usr/lib/python3.10/site-packages/uio/__init__.py
/usr/lib/python3.10/site-packages/uio/__pycache__
-/usr/lib/python3.10/site-packages/uio/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/uio/__pycache__/__init__.cpython-310.pyc
-/usr/lib/python3.10/site-packages/uio/__pycache__/ofs_uio.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/uio/__pycache__/ofs_uio.cpython-310.pyc
/usr/lib/python3.10/site-packages/uio/ofs_uio.py
/usr/lib/systemd
@@ -456,8 +394,6 @@
/usr/lib64/opae/libxfpga.so
/usr/share
/usr/share/opae
-/usr/share/opae/packager
-/usr/share/opae/packager/README
/usr/share/opae/platform
/usr/share/opae/platform/afu_top_ifc_db
/usr/share/opae/platform/afu_top_ifc_db/README.md |
|
The entry scripts for Python executables generated by pip are shell scripts, whereas with setuptools these were Python scripts. The workaround to replace the host interpreter path is still needed, but the build did not fail because the interpreter path is no longer the hash-bang and does not trigger the length limit. This appears to be the reason why pip migrated to a shell wrapper. setuptools entry script (includes manual substitution of hash-bang):
#!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'opae.admin==1.4.3','console_scripts','opaevfio'
import re
import sys
# for compatibility with easy_install; see #2198
__requires__ = 'opae.admin==1.4.3'
try:
from importlib.metadata import distribution
except ImportError:
try:
from importlib_metadata import distribution
except ImportError:
from pkg_resources import load_entry_point
def importlib_load_entry_point(spec, group, name):
dist_name, _, _ = spec.partition('==')
matches = (
entry_point
for entry_point in distribution(dist_name).entry_points
if entry_point.group == group and entry_point.name == name
)
return next(matches).load()
globals().setdefault('load_entry_point', importlib_load_entry_point)
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(load_entry_point('opae.admin==1.4.3', 'console_scripts', 'opaevfio')()) pip entry script:
#!/bin/sh
'''exec' /build/pcolberg/work/ofs-yocto/build/tmp-x86-2021-minimal-glibc/work/corei7-64-ese-linux/opae-sdk/git-r0/recipe-sysroot-native/usr/bin/python3-native/python3 "$0" "$@"
' '''
# -*- coding: utf-8 -*-
import re
import sys
from opae.admin.tools.opaevfio import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main()) |
A feature request to override the hashbang of installed scripts was rejected. |
References to the build path are mostly found in
The Python extension libraries reference the build path in the linker runpath:
|
Using 3aaa15b:
bitbake.log
The text was updated successfully, but these errors were encountered: