Changes between Initial Version and Version 1 of Ticket #65043, comment 1


Ignore:
Timestamp:
Jul 31, 2022, 4:57:52 PM (22 months ago)
Author:
barracuda156
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #65043, comment 1

    initial v1  
    3232Exit code: 1
    3333}}}
     34
     35Oddly 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
     39clang: warning: not using the clang compiler for the 'powerpc' architecture
     40cc1: error: unrecognized command line option "-Wno-unused-result"
     41clang: warning: not using the clang compiler for the 'powerpc' architecture
     42cc1: error: unrecognized command line option "-Wno-unused-result"
     43Compile failed: command '/usr/bin/clang' failed with exit code 1
     44creating opt
     45creating opt/local
     46creating opt/local/var
     47creating opt/local/var/macports
     48creating opt/local/var/macports/build
     49creating opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml
     50creating opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml
     51creating opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work
     52creating opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work/.tmp
     53cc -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
     54cc opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-lxml/py310-lxml/work/.tmp/xmlXPathInitkjdgcynh.o -L/opt/local/lib -lxml2 -o a.out
     55ld: warning: in /opt/local/lib/libxml2.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
     56Undefined symbols:
     57  "_xmlXPathInit", referenced from:
     58      _main in xmlXPathInitkjdgcynh.o
     59ld: symbol(s) not found
     60collect2: ld returned 1 exit status
     61*********************************************************************************
     62Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
     63Perhaps try: xcode-select --install
     64*********************************************************************************
     65error: command '/usr/bin/clang' failed with exit code 1
     66Command 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
     67Exit code: 1
     68}}}