Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3: build failed for mipsel_24kc_24kf snapshots #17217

Closed
moetayuko opened this issue Nov 27, 2021 · 2 comments · Fixed by #17481
Closed

python3: build failed for mipsel_24kc_24kf snapshots #17217

moetayuko opened this issue Nov 27, 2021 · 2 comments · Fixed by #17481

Comments

@moetayuko
Copy link
Contributor

Maintainer: @jefferyto
Environment: https://downloads.openwrt.org/snapshots/targets/pistachio/generic/openwrt-sdk-pistachio_gcc-11.2.0_musl.Linux-x86_64.tar.xz

Description:

2021-11-26T23:34:02.4940943Z mipsel-openwrt-linux-musl-gcc -L/tmp/tmp.56YaDbl1Fv/staging_dir/toolchain-mipsel_24kc+24kf_gcc-11.2.0_musl/usr/lib -L/tmp/tmp.56YaDbl1Fv/staging_dir/toolchain-mipsel_24kc+24kf_gcc-11.2.0_musl/lib -znow -zrelro -L/tmp/tmp.56YaDbl1Fv/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0 -L/tmp/tmp.56YaDbl1Fv/staging_dir/target-mipsel_24kc+24kf_musl/usr/lib -L/tmp/tmp.56YaDbl1Fv/staging_dir/target-mipsel_24kc+24kf_musl/lib -L/tmp/tmp.56YaDbl1Fv/staging_dir/toolchain-mipsel_24kc+24kf_gcc-11.2.0_musl/usr/lib -L/tmp/tmp.56YaDbl1Fv/staging_dir/toolchain-mipsel_24kc+24kf_gcc-11.2.0_musl/lib -znow -zrelro -L/tmp/tmp.56YaDbl1Fv/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0 -L/tmp/tmp.56YaDbl1Fv/staging_dir/target-mipsel_24kc+24kf_musl/usr/lib -L/tmp/tmp.56YaDbl1Fv/staging_dir/target-mipsel_24kc+24kf_musl/lib -fno-semantic-interposition -fprofile-generate -Xlinker -export-dynamic -o python Programs/python.o -L. -lpython3.10 -ldl  -lpthread -lm -lz   -lm 
2021-11-26T23:34:02.5282224Z /tmp/tmp.56YaDbl1Fv/staging_dir/toolchain-mipsel_24kc+24kf_gcc-11.2.0_musl/bin/../lib/gcc/mipsel-openwrt-linux-musl/11.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld: /tmp/tmp.56YaDbl1Fv/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0/libpython3.10.so: undefined reference to `__fn_local_PyFloat_FromDouble.localalias'
2021-11-26T23:34:02.5295381Z collect2: error: ld returned 1 exit status
2021-11-26T23:34:02.5296804Z make[7]: Leaving directory '/tmp/tmp.56YaDbl1Fv/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0'
2021-11-26T23:34:02.5298573Z make[7]: *** [Makefile:602: python] Error 1
2021-11-26T23:34:02.5299669Z make[6]: Leaving directory '/tmp/tmp.56YaDbl1Fv/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0'
2021-11-26T23:34:02.5301298Z make[6]: *** [Makefile:532: build_all_generate_profile] Error 2
2021-11-26T23:34:02.5302447Z make[5]: Leaving directory '/tmp/tmp.56YaDbl1Fv/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0'
2021-11-26T23:34:02.5304253Z make[5]: *** [Makefile:508: profile-gen-stamp] Error 2
2021-11-26T23:34:02.5305379Z make[4]: Leaving directory '/tmp/tmp.56YaDbl1Fv/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0'
2021-11-26T23:34:02.5315419Z make[4]: *** [Makefile:520: profile-run-stamp] Error 2
2021-11-26T23:34:02.5316467Z make[3]: Leaving directory '/home/runner/cache/feeds/packages/lang/python/python3'
2021-11-26T23:34:02.5319446Z make[3]: *** [Makefile:388: /tmp/tmp.56YaDbl1Fv/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0/.built] Error 2
2021-11-26T23:34:02.5320435Z time: package/feeds/packages/python3/compile#199.17#17.53#219.82
2021-11-26T23:34:02.5322700Z     ERROR: package/feeds/packages/python3 failed to build.
2021-11-26T23:34:02.5327403Z make[2]: *** [package/Makefile:116: package/feeds/packages/python3/compile] Error 1
2021-11-26T23:34:02.5328868Z make[2]: *** Waiting for unfinished jobs....
moetayuko added a commit to moetayuko/openwrt-passwall-build that referenced this issue Nov 27, 2021
moetayuko added a commit to moetayuko/openwrt-passwall-build that referenced this issue Nov 27, 2021
@jefferyto
Copy link
Member

Buildbots are also seeing the same error (https://downloads.openwrt.org/snapshots/faillogs/mipsel_24kc_24kf/packages/python3/compile.txt):

mipsel_24kc+24kf_gcc-11.2.0_musl/lib -znow -zrelro -L/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0 -L/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_24kc+24kf_musl/lib -fno-semantic-interposition -fprofile-generate -Xlinker -export-dynamic -o python Programs/python.o -L. -lpython3.10 -ldl  -lpthread -lm -lz   -lm 
/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_24kc+24kf_gcc-11.2.0_musl/bin/../lib/gcc/mipsel-openwrt-linux-musl/11.2.0/../../../../mipsel-openwrt-linux-musl/bin/ld: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0/libpython3.10.so: undefined reference to `__fn_local_PyFloat_FromDouble.localalias'
collect2: error: ld returned 1 exit status
make[7]: *** [Makefile:602: python] Error 1
make[7]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0'
make[6]: *** [Makefile:532: build_all_generate_profile] Error 2
make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0'
make[5]: *** [Makefile:508: profile-gen-stamp] Error 2
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0'
make[4]: *** [Makefile:520: profile-run-stamp] Error 2
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0'
make[3]: *** [Makefile:388: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_24kc+24kf_musl/Python-3.10.0/.built] Error 2
time: package/feeds/packages/python3/compile#398.97#27.43#405.06

Curious that mipsel_24kc_24kf is the only arch with this error.

jefferyto added a commit to jefferyto/openwrt-packages that referenced this issue Jan 5, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
@jefferyto
Copy link
Member

I have opened a ticket upstream: https://bugs.python.org/issue46265

1715173329 pushed a commit to immortalwrt/packages that referenced this issue Jan 12, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
utoni pushed a commit to utoni/openwrt-packages that referenced this issue Jan 21, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
ArmyOfPirates pushed a commit to ArmyOfPirates/packages that referenced this issue Jan 29, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Lienol pushed a commit to Lienol/openwrt-packages that referenced this issue Feb 2, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
graysky2 pushed a commit to graysky2/packages that referenced this issue Feb 6, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Lienol pushed a commit to Lienol/openwrt-packages that referenced this issue Feb 11, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
utoni pushed a commit to utoni/openwrt-packages that referenced this issue May 30, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 7, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 7, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 7, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 7, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 7, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 7, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 7, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1582130940 pushed a commit to 1582130940/OpenWrt-Lean-Packages that referenced this issue Nov 8, 2022
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Lienol pushed a commit to Lienol/openwrt-packages that referenced this issue Jan 4, 2023
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Lienol pushed a commit to Lienol/openwrt-packages that referenced this issue Jan 7, 2023
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Lienol pushed a commit to Lienol/openwrt-packages that referenced this issue Mar 2, 2024
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
ineedfat pushed a commit to ineedfat/rockchip_rk3568_openwrt_packages that referenced this issue Jun 7, 2024
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

Fixes openwrt/packages#17217.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants