| 34 | |
| 35 | Oddly enough, blacklisting gcc-4* leads to a choice of clang, which obviously fails too: |
| 36 | {{{ |
| 37 | /usr/bin/clang -Wno-unused-result -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -DCYTHON_CLINE_IN_TRACEBACK=0 -I/opt/local/include/libxml2 -Isrc -Isrc/lxml/includes -I/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c src/lxml/html/diff.c -o build/temp.macosx-10.6-ppc-cpython-310/src/lxml/html/diff.o -w -flat_namespace |
| 38 | /usr/bin/clang -Wno-unused-result -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -DCYTHON_CLINE_IN_TRACEBACK=0 -I/opt/local/include/libxml2 -Isrc -Isrc/lxml/includes -I/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c src/lxml/sax.c -o build/temp.macosx-10.6-ppc-cpython-310/src/lxml/sax.o -w -flat_namespace |
| 39 | clang: warning: not using the clang compiler for the 'powerpc' architecture |
| 40 | cc1: error: unrecognized command line option "-Wno-unused-result" |
| 41 | clang: warning: not using the clang compiler for the 'powerpc' architecture |
| 42 | cc1: error: unrecognized command line option "-Wno-unused-result" |
| 43 | Compile failed: command '/usr/bin/clang' failed with exit code 1 |
| 44 | creating opt |
| 45 | creating opt/local |
| 46 | creating opt/local/var |
| 47 | creating opt/local/var/macports |
| 48 | creating opt/local/var/macports/build |
| 49 | creating opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml |
| 50 | creating opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml |
| 51 | creating opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work |
| 52 | creating opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work/.tmp |
| 53 | cc -I/opt/local/include/libxml2 -I/usr/include/libxml2 -c /opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work/.tmp/xmlXPathInitkjdgcynh.c -o opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work/.tmp/xmlXPathInitkjdgcynh.o |
| 54 | cc opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work/.tmp/xmlXPathInitkjdgcynh.o -L/opt/local/lib -lxml2 -o a.out |
| 55 | ld: warning: in /opt/local/lib/libxml2.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64) |
| 56 | Undefined symbols: |
| 57 | "_xmlXPathInit", referenced from: |
| 58 | _main in xmlXPathInitkjdgcynh.o |
| 59 | ld: symbol(s) not found |
| 60 | collect2: ld returned 1 exit status |
| 61 | ********************************************************************************* |
| 62 | Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed? |
| 63 | Perhaps try: xcode-select --install |
| 64 | ********************************************************************************* |
| 65 | error: command '/usr/bin/clang' failed with exit code 1 |
| 66 | Command failed: cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work/lxml-4.8.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j6 |
| 67 | Exit code: 1 |
| 68 | }}} |