[MacPorts] #68656: poppler @23.11.0_0: Wrong dynamic library paths in typelib file

MacPorts noreply at macports.org
Tue Nov 7 18:52:27 UTC 2023


#68656: poppler @23.11.0_0: Wrong dynamic library paths in typelib file
--------------------------+----------------------
 Reporter:  FlyingSamson  |      Owner:  dbevans
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  haspatch      |       Port:  poppler
--------------------------+----------------------
 Currently the typelib file created by the poppler port
 {{{/opt/local/lib/girepository-1.0/Poppler-0.18.typelib}}} contains a
 dynamic library path that is relative to the build directory:
 {{{
 $> strings /opt/local/lib/girepository-1.0/Poppler-0.18.typelib | grep lib
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_poppler/poppler/work/build
 /libpoppler-
 glib.8.dylib,/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_poppler/poppler/work/build/libpoppler.133.dylib
 }}}

 Correctly this should yield
 {{{
 /opt/local/lib/libpoppler-glib.8,/opt/local/lib/libpoppler.133
 }}}

 As a result when using poppler through gobject introspection, for
 instance, in python, fails because it cannot find the library file
 specified in the typelib file.

 A patch for this can be found in
 [changeset:fcdaeb1bc60f75738ec7e179b85a46a72daff888/macports-ports this
 commit] and the corresponding [https://github.com/macports/macports-
 ports/pull/21251 pull request].

-- 
Ticket URL: <https://trac.macports.org/ticket/68656>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list