[MacPorts] #58574: poppler @0.77.0: dyld: Symbol not found: _poppler_additional_action_type_get_type

MacPorts noreply at macports.org
Wed Aug 28 01:49:47 UTC 2019


#58574: poppler @0.77.0: dyld: Symbol not found:
_poppler_additional_action_type_get_type
----------------------+---------------------
  Reporter:  RobK88   |      Owner:  dbevans
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:  fixed    |   Keywords:
      Port:  poppler  |
----------------------+---------------------

Comment (by kencu):

 **DON'T SHOOT ME**, but -- this block appears to work to automatically
 uninstall an old poppler, if installed, during the build of the new
 poppler:
 {{{
 } else {
     # generation of Poppler-0.18.gir fails if previous version of poppler
 is active
     # appropriate for main poppler port only
     extract.asroot yes
     pre-extract {
         if {![catch {set installed [lindex [registry_active poppler] 0]}]}
 {
             registry_deactivate_composite poppler "" [list
 ports_nodepcheck 1]
         }
     }
 }
 }}}

 You'll note I had to wrap it in the `pre-extract` block so I could run
 with `extract.asroot yes`, otherwise macports delivered an error trying to
 access the sqlite3 database with it's normal privs:
 {{{
 --->  Deactivating poppler @0.79.0_0
 Error: Failed to fetch poppler: sqlite error: unable to open database file
 (14)
 DEBUG: Error code: NONE
 DEBUG: Backtrace: sqlite error: unable to open database file (14)
     while executing
 "$post $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/main.log
 for details.
 DEBUG: sqlite error: unable to open database file (14)
     while executing
 "registry::write {
                 $port deactivate $imagefiles
                 foreach file $files {
                     _deactivate_file $file
       ..."
     invoked from within
 "try {
         # Block the TERM and INT signals to avoid being interrupted. Note
 that
         # they might already be block at this point because
      ..."
     (procedure "_deactivate_contents" line 39)
     invoked from within
 "_deactivate_contents $requested [$requested files] $force"
     (procedure "deactivate" line 57)
     invoked from within
 "deactivate $name "" "" 0 $optionslist"
     (procedure "portimage::deactivate_composite" line 3)
 }}}

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


More information about the macports-tickets mailing list