dev-libs/ptexenc-1.2.0_p20110705 (unmasked by keywording) failed to compile with undefined symbol _kpse_var_value on x86-macos. The symbol should obviously be provided from kpathsea library. Reproducible: Always Steps to Reproduce: 1. emerge ptexenc Actual Results: libtool: link: i686-apple-darwin9-gcc -dynamiclib -o .libs/libptexenc.1.dylib .libs/libptexenc_la-kanjicnv.o .libs/libptexenc_la-ptexenc.o .libs/libptexenc_la-unicode-jp.o .libs/libptexenc_la-unicode.o -O2 -march=nocona -Wl,-dead_strip_dylibs -install_name /Users/tetsushi/Gentoo/usr/lib/libptexenc.1.dylib -compatibility_version 4 -current_version 4.0 -Wl,-single_module Undefined symbols: "_kpse_var_value", referenced from: _nkf_open in libptexenc_la-ptexenc.o "_kpse_readable_file", referenced from: _nkf_open in libptexenc_la-ptexenc.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [libptexenc.la] Error 1 emake failed Expected Results: >>> Source compiled. The version of ptexenc is not keyworded x86-macos, but it is one of the depends of texlive: #required by app-text/texlive-core-2011[cjk], required by dev-texlive/texlive-pictures-2011, required by dev-texlive/texlive-latexextra-2011, required by dev-texlive/texlive-xetex-2011, required by app-text/texlive-2010-r1[xetex], required by texlive (argument) >=dev-libs/ptexenc-1.2.0_p20110705 **
Created attachment 281645 [details] ebuild This is my current trial version; it uses @KPATHSEA_LIBS@ explicitly, and pass --with-system-kpathsea to configure. I can emerge the package with it.
do you happen to have the diff between the original ebuild and your changed one?
Created attachment 284771 [details, diff] diff Here you're, the diff against ebuild of July 31st.
@tex herd: what do you think about MATSUI's patch? Is it ok with you to apply it to a -r1?
(In reply to comment #4) > @tex herd: what do you think about MATSUI's patch? Is it ok with you to apply > it to a -r1? yep; its not macos specific, it seems to be underlinked on linux too
ok, patch committed, MATSUI, thanks