Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3690

[Build Failure] Failed building wheel for lxml

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.4
    • Affects Version/s: None
    • Component/s: None
    • None

       [2023/04/27 21:33:01.001]       clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode11.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -DOPENSSL_NO_SSL3 -I/Applications/Xcode11.3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -DCYTHON_CLINE_IN_TRACEBACK=0 -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/src/pyopenssltest/include -I/Users/mci/.pyenv/versions/3.9.16/include/python3.9 -c src/lxml/etree.c -o build/temp.macosx-10.14-x86_64-cpython-39/src/lxml/etree.o -w -flat_namespace
       [2023/04/27 21:33:01.001]       clang: error: unable to execute command: Segmentation fault: 11 (core dumped)
       [2023/04/27 21:33:01.001]       clang: error: clang frontend command failed due to signal (use -v to see invocation)
       [2023/04/27 21:33:01.001]       Apple clang version 11.0.0 (clang-1100.0.33.17)
       [2023/04/27 21:33:01.001]       Target: x86_64-apple-darwin18.7.0
       [2023/04/27 21:33:01.001]       Thread model: posix
       [2023/04/27 21:33:01.001]       InstalledDir: /Applications/Xcode11.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
       [2023/04/27 21:33:01.001]       clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
       [2023/04/27 21:33:01.001]       clang: note: diagnostic msg:
       [2023/04/27 21:33:01.001]       ********************
       [2023/04/27 21:33:01.001]       PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
       [2023/04/27 21:33:01.001]       Preprocessed source(s) and associated run script(s) are located at:
       [2023/04/27 21:33:01.001]       clang: note: diagnostic msg: /data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools/.evergreen/orchestration/db/etree-07e329.c
       [2023/04/27 21:33:01.001]       clang: note: diagnostic msg: /data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools/.evergreen/orchestration/db/etree-07e329.sh
       [2023/04/27 21:33:01.001]       clang: note: diagnostic msg: Crash backtrace is located in
       [2023/04/27 21:33:01.001]       clang: note: diagnostic msg: /Users/mci/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
       [2023/04/27 21:33:01.001]       clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
       [2023/04/27 21:33:01.001]       clang: note: diagnostic msg:
       [2023/04/27 21:33:01.001]       ********************
       [2023/04/27 21:33:01.001]       Compile failed: command '/usr/bin/clang' failed with exit code 254
       [2023/04/27 21:33:01.001]       creating data
       [2023/04/27 21:33:01.001]       creating data/mci
       [2023/04/27 21:33:01.001]       creating data/mci/f4c9fc946a86ef510d6ee9f3e14743d7
       [2023/04/27 21:33:01.001]       creating data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools
       [2023/04/27 21:33:01.001]       creating data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools/.evergreen
       [2023/04/27 21:33:01.001]       creating data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools/.evergreen/orchestration
       [2023/04/27 21:33:01.001]       creating data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools/.evergreen/orchestration/db
       [2023/04/27 21:33:01.001]       cc -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libxml2 -I/usr/include/libxml2 -c /data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools/.evergreen/orchestration/db/xmlXPathInitd4jf99hr.c -o data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools/.evergreen/orchestration/db/xmlXPathInitd4jf99hr.o
       [2023/04/27 21:33:01.001]       cc data/mci/f4c9fc946a86ef510d6ee9f3e14743d7/drivers-tools/.evergreen/orchestration/db/xmlXPathInitd4jf99hr.o -lxml2 -o a.out
       [2023/04/27 21:33:01.001]       error: command '/usr/bin/clang' failed with exit code 254
       [2023/04/27 21:33:01.001]       [end of output]
       [2023/04/27 21:33:01.001]   note: This error originates from a subprocess, and is likely not a problem with pip.
      

      https://spruce.mongodb.com/task/mongo_python_driver_tests_pyopenssl_macOS__platform~macos_1014_auth~auth_ssl~ssl_pyopenssl~enabled_test_4.0_replica_set_dfd82d2375bd641f9d7c70ae34751c1db3fc673d_23_04_25_22_28_10/logs?execution=0&sortBy=STATUS&sortDir=ASC

      There are wheels for 10.15+, we should switch from 10.14 to 10.15 build hosts.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: