Opened 8 years ago

Closed 8 years ago

#50914 closed defect (worksforme)

texlive-bin 2015_9 fails

Reported by: dershow Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: drkp (Dan Ports), dbevans (David B. Evans)
Port: texlive-bin

Description

I have 2015_8 installed and just tried to upgrade to 2015_9 and it fails to build. I'm running 10.11.3. Log attached.

Attachments (1)

main.log (1.4 MB) - added by dershow 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by dershow

Attachment: main.log added

comment:1 Changed 8 years ago by dbevans (David B. Evans)

Looks like it's linking against /usr/local/lib/libmpfr.a rather than /opt/local/lib/libmpfr.a. Same for libgmp.a. Try moving /usr/local out of the way.

: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 pmpost-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_macports_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 libmputil.a
: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/upmpost upmpost-pmp.o upmpost-pmpmath.o upmpost-pmpmathbinary.o upmpost-pmpmathdecimal.o upmpost-pmpmathdouble.o upmpost-pmpost.o upmpost-pmpstrings.o upmpost-pmpxout.o upmpost-ppngout.o upmpost-ppsout.o upmpost-psvgout.o upmpost-ptfmin.o  /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/.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 libmputil.a
:info:build Undefined symbols for architecture x86_64:
:info:build   "_mpfr_set_zero", referenced from:
:info:build       _mp_initialize_binary_math in pmpost-pmpmathbinary.o
:info:build       _mp_new_number in pmpost-pmpmathbinary.o
:info:build       _mp_binary_n_arg in pmpost-pmpmathbinary.o
:info:build       _mp_binary_m_log in pmpost-pmpmathbinary.o
:info:build       _mp_binary_pyth_sub in pmpost-pmpmathbinary.o
:info:build       _mp_binary_square_rt in pmpost-pmpmathbinary.o
:info:build       _mp_check_mpfr_t in pmpost-pmpmathbinary.o
:info:build       ...
:info:build ld: symbol(s) not found for architecture x86_64

comment:2 Changed 8 years ago by dbevans (David B. Evans)

Cc: devans@… added

Cc Me!

comment:3 Changed 8 years ago by dershow

That did it. Thanks. I don't recall what might have installed those a long time ago (they are from 2009), nor do I know why this wasn't a problem with prior builds of texlive-bin? But, the moving them did fix it.

comment:4 Changed 8 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed

Great!

Note: See TracTickets for help on using tickets.