Summary: | x11-fonts/libfontenc: library in the package searches bogus dir for encodings.dir | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | hiroto.kagotani |
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
hiroto.kagotani
2012-07-24 12:50:06 UTC
Responsible Changed From-To: freebsd-ports-bugs->freebsd-x11 Over to maintainer (via the GNATS Auto Assign Tool) To fix, it will be also required to rebuild encodings.dir file using mkfontdir, possibly because the library assumes absolute paths. -- Hiroto Kagotani <hiroto.kagotani@gmail.com> > To fix, it will be also required to rebuild encodings.dir file using mkfontdir, > possibly because the library assumes absolute paths. Sorry, the reason was wrong. It is that x11-fonts/encodings creates encodings.dir file including *.enc and *.enc.gz files, while it installs only *.enc.gz files. When libfontenc searches for an encoding file, it fails on the first miss. -- Hiroto Kagotani <hiroto.kagotani@gmail.com> State Changed From-To: open->closed See followup in ports/170852 which contains patch instead. This problem still exists, so I reopen this report. To reproduce the problem, try: # pkg install -f libfontenc # strings /usr/local/lib/libfontenc.a|grep usr /usr/local/share/fonts/X11/encodings/encodings.dir # portmaster libfontenc # strings /usr/local/lib/libfontenc.a|grep usr /usr/local/share/fonts/encodings/encodings.dir A commit references this bug: Author: bapt Date: Fri Jan 13 22:37:40 UTC 2017 New revision: 431430 URL: https://svnweb.freebsd.org/changeset/ports/431430 Log: Fix encodings.dir path PR: 170108 Modified: hiroto.kagotani@gmail.com Changes: head/x11-fonts/libfontenc/Makefile |