[MacPorts] #65043: py-lxml fails to upgrade to @4.8.0 on 10.4.11

MacPorts noreply at macports.org
Sun Jul 31 16:46:25 UTC 2022


#65043: py-lxml fails to upgrade to @4.8.0 on 10.4.11
---------------------------+----------------------------
  Reporter:  barracuda156  |      Owner:  petrrr
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc, tiger
      Port:  py-lxml       |
---------------------------+----------------------------

Comment (by barracuda156):

 Also fails on Rosetta:
 {{{
 /usr/bin/gcc-4.2 -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
 /usr/bin/gcc-4.2 -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/clean.c -o build/temp.macosx-10.6-ppc-
 cpython-310/src/lxml/html/clean.o -w -flat_namespace
 cc1: error: unrecognized command line option "-Wno-unused-result"
 cc1: error: unrecognized command line option "-Wno-unused-result"
 cc1: error: unrecognized command line option "-Wno-unused-result"
 Compile failed: command '/usr/bin/gcc-4.2' failed with exit code 1
 creating opt
 creating opt/local
 creating opt/local/var
 creating opt/local/var/macports
 creating opt/local/var/macports/build
 creating
 opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-lxml
 creating
 opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-lxml/py310-lxml
 creating
 opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-lxml/py310-lxml/work
 creating
 opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-lxml/py310-lxml/work/.tmp
 cc -I/opt/local/include/libxml2 -I/usr/include/libxml2 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 lxml/py310-lxml/work/.tmp/xmlXPathInitbqdup_ic.c -o
 opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 lxml/py310-lxml/work/.tmp/xmlXPathInitbqdup_ic.o
 cc
 opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 lxml/py310-lxml/work/.tmp/xmlXPathInitbqdup_ic.o -L/opt/local/lib -lxml2
 -o a.out
 ld: warning: in /opt/local/lib/libxml2.dylib, file was built for ppc7400
 which is not the architecture being linked (x86_64)
 Undefined symbols:
   "_xmlXPathInit", referenced from:
       _main in xmlXPathInitbqdup_ic.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 *********************************************************************************
 Could not find function xmlCheckVersion in library libxml2. Is libxml2
 installed?
 Perhaps try: xcode-select --install
 *********************************************************************************
 error: command '/usr/bin/gcc-4.2' failed with exit code 1
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_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
 Exit code: 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65043#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list