[MacPorts] #64644: DiffPDF fails to build for ppc on 10.5.8

MacPorts noreply at macports.org
Wed Feb 16 13:32:06 UTC 2022


#64644: DiffPDF fails to build for ppc on 10.5.8
---------------------------+------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:                |   Keywords:  powerpc, leopard
      Port:  DiffPDF       |
---------------------------+------------------------------

Comment (by barracuda156):

 Replying to [comment:1 evanmiller]:
 > It looks like poppler-qt4 expects C++11. Adding {{{compiler.cxx_standard
 2011}}} will get past this error, but I see some other errors when QT4
 actually tries to bundle the application.

 I tried that, and while I got an error in verbose:

 {{{

 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_DiffPDF/DiffPDF/work/compwrap/cxx/opt/local/bin/g++-mp-7
 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -o
 diffpdf.app/Contents/MacOS/diffpdf mainwindow.o textitem.o aboutform.o
 optionsform.o helpform.o saveform.o generic.o sequence_matcher.o main.o
 lineedit.o label.o moc_mainwindow.o moc_aboutform.o moc_optionsform.o
 moc_helpform.o moc_saveform.o moc_lineedit.o moc_label.o qrc_resources.o
 -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib
 -L/opt/local/libexec/poppler-qt4-mac/lib -lpoppler-qt4
 -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib
 -L/opt/local/libexec/qt4/lib -framework QtGui
 -F/opt/local/Library/Frameworks -framework QtCore
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_DiffPDF/DiffPDF/work/diffpdf-2.1.3'
 ERROR: no file at "/opt/local/lib/lib/libstdc++.6.dylib"
 ERROR: no file at "/opt/local/lib/lib/libgcc_s.1.dylib"
 }}}

 It has nevertheless finished the build and installed:


 {{{
 36-47:~ svacchanda$ port -v installed DiffPDF
 The following ports are currently installed:
   DiffPDF @2.1.3_0 (active) requested_variants='' platform='darwin 9'
 archs='ppc' date='2022-02-16T21:30:26+0800'
 }}}

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


More information about the macports-tickets mailing list