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

3.29.0.1 fails to build on ARMv7 #487

Open
VirtualNonsense opened this issue Apr 9, 2024 · 1 comment
Open

3.29.0.1 fails to build on ARMv7 #487

VirtualNonsense opened this issue Apr 9, 2024 · 1 comment

Comments

@VirtualNonsense
Copy link

Hey there!
I'm currently trying to run one of my projects in a Linux armv7 Docker environment.
Here's the behavior I encountered

Steps to reproduce:

  • Dockerfile
    FROM python:3.9.18 as build
    RUN apt update && apt install -y --no-install-recommends  \
         cmake
    RUN pip install cmake
  • docker buildx build --platform linux/arm/v7 .

Result

6508.8               Start 148: QtAutomocNoQt
6508.8       145/666 Test #141: CPackComponentsPrefix .......................................   Passed   21.14 sec
6508.8               Start 150: ExternalProjectSubdir
6508.8       146/666 Test #137: CPackComponentsDEB-shlibdeps-with-private-lib-failure .......   Passed   75.93 sec
6508.8               Start 151: ExternalProjectSourceSubdir
6508.8       147/666 Test  #59: ExportImport ................................................   Passed  479.03 sec
6508.8               Start 152: ExternalProjectSourceSubdirNotCMake
6508.8       148/666 Test #150: ExternalProjectSubdir .......................................   Passed   34.19 sec
6508.8               Start 156: InstallMode-COPY
6508.8       149/666 Test #152: ExternalProjectSourceSubdirNotCMake .........................   Passed   17.45 sec
6508.8               Start 157: InstallMode-REL_SYMLINK
6508.8       150/666 Test #139: CPackComponentsDEB-components-depend2 .......................   Passed   80.41 sec
6508.8               Start 158: InstallMode-REL_SYMLINK_OR_COPY
6508.8       151/666 Test #138: CPackComponentsDEB-shlibdeps-with-private-lib-success .......   Passed   84.30 sec
6508.8               Start 159: InstallMode-ABS_SYMLINK
6508.8       152/666 Test #140: CPackTestAllGenerators ......................................   Passed   75.61 sec
6508.8               Start 160: InstallMode-ABS_SYMLINK_OR_COPY
6508.8       153/666 Test #148: QtAutomocNoQt ...............................................   Passed   56.58 sec
6508.8               Start 161: InstallMode-SYMLINK
6508.8       154/666 Test #147: Environment .................................................   Passed   60.46 sec
6508.8               Start 162: InstallMode-SYMLINK_OR_COPY
6508.8       155/666 Test #151: ExternalProjectSourceSubdir .................................   Passed   65.84 sec
6508.8               Start 163: TutorialStep2
6508.8       156/666 Test #145: complex .....................................................   Passed  100.72 sec
6508.8               Start 164: TutorialStep3
6508.8       157/666 Test #142: X11 .........................................................   Passed  166.67 sec
6508.8               Start 165: TutorialStep4
6508.8       158/666 Test #144: LoadedCommandOneConfig ......................................   Passed  180.69 sec
6508.8               Start 166: TutorialStep5
6508.8       159/666 Test #163: TutorialStep2 ...............................................   Passed  106.85 sec
6508.8               Start 167: TutorialStep6
6508.8       160/666 Test #164: TutorialStep3 ...............................................   Passed  116.61 sec
6508.8               Start 168: TutorialStep7
6508.8       161/666 Test #165: TutorialStep4 ...............................................   Passed   99.99 sec
6508.8               Start 169: TutorialStep8
6508.8       162/666 Test #166: TutorialStep5 ...............................................   Passed   93.33 sec
6508.8               Start 170: TutorialStep9
6508.8       163/666 Test #167: TutorialStep6 ...............................................   Passed   80.40 sec
6508.8               Start 171: TutorialStep10
6508.8       164/666 Test #156: InstallMode-COPY ............................................   Passed  249.55 sec
6508.8               Start 172: TutorialStep11
6508.8       165/666 Test #168: TutorialStep7 ...............................................   Passed   74.68 sec
6508.8               Start 173: TutorialStep12
6508.8       166/666 Test #159: InstallMode-ABS_SYMLINK .....................................   Passed  243.12 sec
6508.8               Start 174: TutorialComplete
6508.8       167/666 Test #157: InstallMode-REL_SYMLINK .....................................   Passed  251.29 sec
6508.8               Start 175: TutorialStep3_MYMATH
6508.8       168/666 Test #160: InstallMode-ABS_SYMLINK_OR_COPY .............................   Passed  246.23 sec
6508.8               Start 176: TutorialStep4_MYMATH
6508.8       169/666 Test #158: InstallMode-REL_SYMLINK_OR_COPY .............................   Passed  251.56 sec
6508.8               Start 177: TutorialStep5_MYMATH
6508.8       170/666 Test #161: InstallMode-SYMLINK .........................................   Passed  244.92 sec
6508.8               Start 178: TutorialStep6_MYMATH
6508.8       171/666 Test #162: InstallMode-SYMLINK_OR_COPY .................................   Passed  249.11 sec
6508.8               Start 179: TutorialStep7_MYMATH
6508.8       172/666 Test #169: TutorialStep8 ...............................................   Passed  100.29 sec
6508.8               Start 180: TutorialStep8_MYMATH
6508.8       173/666 Test #171: TutorialStep10 ..............................................   Passed   99.97 sec
6508.8               Start 181: TutorialStep9_MYMATH
6508.8       174/666 Test #176: TutorialStep4_MYMATH ........................................   Passed   73.50 sec
6508.8               Start 182: TutorialStep10_MYMATH
6508.8       175/666 Test #170: TutorialStep9 ...............................................   Passed  109.37 sec
6508.8               Start 183: TutorialStep11_MYMATH
6508.8       176/666 Test #175: TutorialStep3_MYMATH ........................................   Passed   79.08 sec
6508.8               Start 184: TutorialStep12_MYMATH
6508.8       177/666 Test #172: TutorialStep11 ..............................................   Passed   91.75 sec
6508.8               Start 185: TutorialComplete_MYMATH
6508.8       178/666 Test #177: TutorialStep5_MYMATH ........................................   Passed   77.77 sec
6508.8               Start 187: Guide.ImportExport.Importing
6508.8       179/666 Test #173: TutorialStep12 ..............................................   Passed   94.05 sec
6508.8               Start 189: Guide.ImportExport.Downstream
6508.8       180/666 Test #178: TutorialStep6_MYMATH ........................................   Passed   79.06 sec
6508.8               Start 191: Guide.ImportExport.DownstreamComponents
6508.8       181/666 Test #174: TutorialComplete ............................................   Passed   91.47 sec
6508.8               Start 192: testing
6508.8       182/666 Test #179: TutorialStep7_MYMATH ........................................   Passed   88.28 sec
6508.8               Start 197: testdriver3
6508.8       183/666 Test #180: TutorialStep8_MYMATH ........................................   Passed   72.72 sec
6508.8               Start 198: testdriver4
6508.8       184/666 Test #187: Guide.ImportExport.Importing ................................   Passed   50.01 sec
6508.8               Start 199: testdriver5
6508.8       185/666 Test #181: TutorialStep9_MYMATH ........................................   Passed   68.01 sec
6508.8               Start 200: Dependency
6508.8       186/666 Test #182: TutorialStep10_MYMATH .......................................   Passed   67.23 sec
6508.8               Start 201: JumpWithLibOut
6508.8       187/666 Test #183: TutorialStep11_MYMATH .......................................   Passed   65.35 sec
6508.8               Start 202: JumpNoLibOut
6508.8       188/666 Test  #29: TryCompile ..................................................   Passed  1078.81 sec
6508.8               Start 203: Plugin
6508.8       189/666 Test #184: TutorialStep12_MYMATH .......................................   Passed   66.33 sec
6508.8               Start 204: RuntimePath
6508.8       190/666 Test #191: Guide.ImportExport.DownstreamComponents .....................   Passed   62.04 sec
6508.8               Start 206: linkorder2
6508.8       191/666 Test #185: TutorialComplete_MYMATH .....................................   Passed   66.97 sec
6508.8               Start 207: SubDirSpaces
6508.8       192/666 Test #192: testing .....................................................   Passed   57.99 sec
6508.8               Start 208: SubDir
6508.8       193/666 Test #189: Guide.ImportExport.Downstream ...............................   Passed   65.25 sec
6508.8               Start 209: CheckCompilerRelatedVariables
6508.8       194/666 Test #197: testdriver3 .................................................   Passed   53.34 sec
6508.8               Start 210: MakeClean
6508.8       195/666 Test #206: linkorder2 ..................................................   Passed   18.76 sec
6508.8               Start 211: WarnUnusedCliUnused
6508.8       196/666 Test #198: testdriver4 .................................................   Passed   55.43 sec
6508.8               Start 212: WarnUnusedCliUsed
6508.8       197/666 Test #199: testdriver5 .................................................   Passed   52.79 sec
6508.8               Start 213: WarnUninitialized
6508.8       198/666 Test #204: RuntimePath .................................................   Passed   41.84 sec
6508.8               Start 214: TestsWorkingDirectory
6508.8       199/666 Test #201: JumpWithLibOut ..............................................   Passed   59.19 sec
6508.8               Start 215: CTest.NoNewline
6508.8       200/666 Test #215: CTest.NoNewline .............................................   Passed    0.46 sec
6508.8               Start 216: CTest.UpdateSVN
6508.8       201/666 Test #216: CTest.UpdateSVN .............................................***Failed    2.03 sec
6508.8       Using subversion tools:
6508.8        svn      = /usr/bin/svn
6508.8        svnadmin = /usr/bin/svnadmin
6508.8       Creating test directory...
6508.8       Creating repository...
6508.8       Importing content...
6508.8       CMake Error at /tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/CMake-src/Tests/CTestUpdateCommon.cmake:13 (message):
6508.8         Child failed (1), output is
6508.8
6508.8           svn: E000075: Can't read directory '/tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/build/py3-none-manylinux_2_36_armv7l/CMakeProject-build/Tests/CTest UpdateSVN/import': Value too large for defined data type
6508.8           svn: E200042: Additional errors:
6508.8           svn: E000075: Transaction '0-0' cleanup failed
6508.8           svn: E000075: Can't read directory '/tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/build/py3-none-manylinux_2_36_armv7l/CMakeProject-build/Tests/CTest UpdateSVN/repo/db/transactions/0-0.txn': Value too large for defined data type
6508.8
6508.8         Command =
6508.8         [WORKING_DIRECTORY;/tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/build/py3-none-manylinux_2_36_armv7l/CMakeProject-build/Tests/CTest
6508.8         UpdateSVN/import;COMMAND;/usr/bin/svn;--config-dir;/tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/build/py3-none-manylinux_2_36_armv7l/CMakeProject-build/Tests/CTest
6508.8         UpdateSVN/config;import;--username;test author;--non-interactive;-m;Initial
6508.8         content;.;file:////tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/build/py3-none-manylinux_2_36_armv7l/CMakeProject-build/Tests/CTest
6508.8         UpdateSVN/repo/trunk]
6508.8
6508.8       Call Stack (most recent call first):
6508.8         CTestUpdateSVN.cmake:55 (run_child)
6508.8
6508.8
6508.8
6508.8       202/666 Test #200: Dependency ..................................................   Passed   70.47 sec
6508.8       203/666 Test #202: JumpNoLibOut ................................................   Passed   66.50 sec
6508.8       204/666 Test #207: SubDirSpaces ................................................   Passed   64.49 sec
6508.8       205/666 Test #208: SubDir ......................................................   Passed   63.44 sec
6508.8       206/666 Test #209: CheckCompilerRelatedVariables ...............................   Passed   65.31 sec
6508.8       207/666 Test #211: WarnUnusedCliUnused .........................................   Passed   54.17 sec
6508.8       208/666 Test #210: MakeClean ...................................................   Passed   70.30 sec
6508.8       209/666 Test #213: WarnUninitialized ...........................................   Passed   42.06 sec
6508.8       210/666 Test #212: WarnUnusedCliUsed ...........................................   Passed   42.37 sec
6508.8       211/666 Test #214: TestsWorkingDirectory .......................................   Passed   44.49 sec
6508.8       212/666 Test #203: Plugin ......................................................   Passed   98.41 sec
6508.8
6508.8       99% tests passed, 1 tests failed out of 212
6508.8
6508.8       Label Time Summary:
6508.8       CMake      =   0.00 sec*proc (0 test)
6508.8       CUDA       = 479.03 sec*proc (1 test)
6508.8       Fortran    =  57.81 sec*proc (1 test)
6508.8       HIP        =   0.00 sec*proc (0 test)
6508.8       ISPC       =   0.00 sec*proc (0 test)
6508.8       Label1     =   0.00 sec*proc (0 test)
6508.8       Label2     =   0.00 sec*proc (0 test)
6508.8       command    =   0.00 sec*proc (0 test)
6508.8       policy     =   0.00 sec*proc (0 test)
6508.8       run        =   0.00 sec*proc (0 test)
6508.8
6508.8       Total Test time (real) = 1216.40 sec
6508.8
6508.8       The following tests FAILED:
6508.8           216 - CTest.UpdateSVN (Failed)
6508.8       Errors while running CTest
6508.8       FAILED: CMakeProject-build-prefix/src/CMakeProject-build-stamp/CMakeProject-build-run_cmake_test_suite /tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/build/py3-none-manylinux_2_36_armv7l/CMakeProject-build-prefix/src/CMakeProject-build-stamp/CMakeProject-build-run_cmake_test_suite
6508.8       cd /tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/build/py3-none-manylinux_2_36_armv7l/CMakeProject-build && ./bin/ctest --force-new-ctest-process --
stop-on-failure --output-on-failure -j12 -E BootstrapTest && /usr/bin/cmake -E touch /tmp/pip-install-o0k2zbvg/cmake_bac9dd16f6e640eb84eaadbbab33e627/build/py3-none-manylinux_2_36_armv7l/CMakeProject-build-prefix/src/CMakeProject-build-stamp/CMakeProject-build-run_cmake_test_suite
6508.8       ninja: build stopped: subcommand failed.
6508.8
6508.8       *** CMake build failed
6508.8       [end of output]
6508.8
6508.8   note: This error originates from a subprocess, and is likely not a problem with pip.
6508.8   ERROR: Failed building wheel for cmake
6508.9 Failed to build cmake
6508.9 ERROR: Could not build wheels for cmake, which is required to install pyproject.toml-based projects
6508.9
6508.9 [notice] A new release of pip is available: 23.0.1 -> 24.0
6508.9 [notice] To update, run: pip install --upgrade pip
------
cmake_arm.Dockerfile:6
--------------------
   4 |             cmake
   5 |
   6 | >>> RUN pip install cmake
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install cmake" did not complete successfully: exit code: 1

error.txt

@henryiii
Copy link
Contributor

henryiii commented Apr 12, 2024

This should now work (by virtue of no longer running all the tests by default). 3.29.1 was yanked due to Python 3.7 missing dependency, but 3.29.2 should be out shortly. Edit: it's out.

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

No branches or pull requests

2 participants