[MacPorts] #48490: texlive-bin @2015_1: Undefined symbols: _mpfr_set_zero

MacPorts noreply at macports.org
Thu Aug 20 03:55:59 PDT 2015


#48490: texlive-bin @2015_1: Undefined symbols: _mpfr_set_zero
-------------------------------+-----------------------
  Reporter:  manuel.schaich@…  |      Owner:  dports@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.3.3
Resolution:                    |   Keywords:  elcapitan
      Port:  texlive-bin       |
-------------------------------+-----------------------

Comment (by andre.david@…):

 Bump.
 My `pdflatex` is broken, probably because of this: because `poppler` was
 upgraded and `texlive-bin` cannot be recompiled against the new `poppler`
 library version.
 I have the exact same issue as above for `texlive-bin @2015_3` in OS X
 10.10.5.

 I think the problem is that `texlive-bin` is using
 `/usr/local/lib/libmpfr.a` instead of `/opt/local/lib/libmpfr.a`:
 {{{
 :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I./w2c
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-
 source-20150611-stripped/texk/pt
 exenc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-
 source-20150611-stripped/texk/ptexenc
 -I/opt/local/var/macports/build/_opt_local_v
 ar_macports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-
 bin/texlive-bin/work/texlive-source-20150611-stripped/texk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_po
 rts_tex_texlive-bin/texlive-bin/work/texlive-source-20150611-stripped/texk
 -I./synctexdir  -D__SyncTeX__ -DSYNCTEX_ENGINE_H=\"synctex-ptex.h\"
 -isystem/opt/local/include -Wimplicit -Wreturn-type -Wdeclaration-after-
 statement -Wno-unkno
 wn-pragmas -pipe -Os -arch x86_64 -MT ptex-ptex-pool.o -MD -MP -MF .deps
 /ptex-ptex-pool.Tpo -c -o ptex-ptex-pool.o `test -f 'ptex-pool.c' || echo
 './'`ptex-pool.c
 :info:build libtool: link: /usr/bin/clang -Wimplicit -Wreturn-type
 -Wdeclaration-after-statement -Wno-unknown-pragmas -pipe -Os -arch x86_64
 -Wl,-headerpad_max_install_names -arch x86_64 -o .libs/pmpost pmpost-pmp.o
 pmpost-pmpmath.o pm
 post-pmpmathbinary.o pmpost-pmpmathdecimal.o pmpost-pmpmathdouble.o
 pmpost-pmpost.o pmpost-pmpstrings.o pmpost-pmpxout.o pmpost-ppngout.o
 pmpost-ppsout.o pmpost-psvgout.o pmpost-ptfmin.o
 /opt/local/var/macports/build/_opt_local_var_ma
 cports_sources_rsync.macports.org_release_tarballs_ports_tex_texlive-bin
 /texlive-bin/work/texlive-
 source-20150611-stripped/texk/ptexenc/.libs/libptexenc.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-
 source-20150611-stripped/texk/kpathsea/.libs/libkpathsea.dylib
 /usr/local/lib/libmpfr.a /usr/local/lib/libgmp.a -L/opt/local/lib -lcairo
 -lpixman-1 -lpng16 -lz libmpu
 til.a
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_mpfr_set_zero", referenced from:
 }}}

 See
 {{{
 $ ls -latr /{opt,usr}/local/lib/libmpfr.a
 -rw-r--r-- 1 root wheel 554K Sep 12  2009 /usr/local/lib/libmpfr.a
 -rw-r--r-- 1 root admin 640K Aug 19 21:16 /opt/local/lib/libmpfr.a
 }}}

 How did linkin work in previous versions of `texlive-bin`? Do I have
 something wrong in my PATHs?

-- 
Ticket URL: <https://trac.macports.org/ticket/48490#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list