Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430550 - media-libs/fontconfig-infinality breaks app-office/libreoffice--3.6.0.4 - Fontconfig error: Cannot load config file "/etc/fonts/infinality/conf.d/43-repl-terminus.conf"
Summary: media-libs/fontconfig-infinality breaks app-office/libreoffice--3.6.0.4 - Fon...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-09 08:05 UTC by gringo
Modified: 2013-04-05 09:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libreoffice build.log (ooo-build.log,873.64 KB, text/plain)
2012-08-09 08:08 UTC, gringo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gringo 2012-08-09 08:05:14 UTC
libreoffice--3.6.0.4 fails to build with following message :

Fontconfig error: Cannot load config file "/etc/fonts/infinality/conf.d/43-repl-terminus.conf"

file exists but is a broken link :

lrwxrwxrwx  1 root root   36 ago  8 17:26 43-repl-terminus.conf -> ../../conf.src/43-repl-terminus.conf



Reproducible: Always




i suppose this is related to the infinality patches that are in the tree now.

emerge --info

Portage 2.2.0_alpha120 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.5.0-rc3 x86_64)
=================================================================
System uname: Linux-3.5.0-rc3-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Thu, 09 Aug 2012 07:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -mtune=corei7 -mcx16 -msahf -maes -msse4.2 -msse4.1 -mno-movbe -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -mtune=corei7 -mcx16 -msahf -maes -msse4.2 -msse4.1 -mno-movbe -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -q --jobs=3 --quiet-unmerge-warn --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks fixlafiles news nodoc noinfo noman parallel-fetch parallel-install parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="es es_ES"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-excluded --exclude ChangeLog --exclude=metadata/cache/*"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 archive bash-completion bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr eds emboss encode evo exif faac ffmpeg firefox flac gif gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk iconv java jpeg lcms libnotify mad mmx modules mp3 mp4 mpeg mudflap multilib nautilus ncurses network-cron networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf pic png policykit ppds pppd pulseaudio qt3support readline samba sdl session socialweb spell sse sse2 sse3 ssl ssse3 startup-notification svg theora threads tiff tracker truetype udev udisks unicode upower usb v4l vaapi vorbis vpx x264 xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 ppc ppc64 arm" QEMU_USER_TARGETS="i386 x86_64 ppc ppc64 arm" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="plustek plustek_pp" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

eselect fontconfig list :
[25]  52-infinality.conf *

eselect infinality list :
[4]   nyx *

eselect lcdfilter :
[10]  nyx *

pls. let me know in case you need more information.

thanks !
Comment 1 gringo 2012-08-09 08:08:20 UTC
Created attachment 320770 [details]
libreoffice build.log

attaching build.log.

thanks
Comment 2 gringo 2012-08-09 08:15:52 UTC
emerge -pqv =app-office/libreoffice-3.6.0.4

[ebuild     U ] app-office/libreoffice-3.6.0.4 [3.5.5.3] USE="branding cups dbus eds gnome gstreamer gtk opengl svg vba (-aqua) -binfilter -binfilterdebug -graphite -java -jemalloc -kde -mysql -odk -postgres -test -webdav -xmlsec (-nlpsolver%) (-nsplugin%) (-pdfimport%)" LIBREOFFICE_EXTENSIONS="presenter-console%* presenter-minimizer%* -nlpsolver% -pdfimport% -scripting-beanshell% -scripting-javascript% -wiki-publisher%" 
[ebuild     U ] app-office/libreoffice-l10n-3.6.0 [3.5.5] USE="-offlinehelp" LINGUAS="es -af -am% -ar -as -ast -be -bg -bn -bn_IN% -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en -en_GB -en_ZA -eo -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -lb -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nl -nn -nr -nso -oc -om -or -pa_IN -pl -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -tn -tr -ts -tt -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu"
Comment 3 gringo 2012-08-09 15:19:47 UTC
not sure to what package that file belongs, equery is unable to find it at least.

the only similar file i have been able to find is /etc/fonts/infinality/styles.conf.avail/nyx/43-repl-terminus.conf which ships with media-libs/fontconfig-infinality and that is a broken link in my system too.

maybe its just a leftover from the previous lcd-filtering overlay ?

deleting the dead links makes fontconfig happy again of course.

cheers
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-09 23:55:36 UTC
Wouldn't that be something set by app-admin/eselect-infinality?
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-10 08:17:37 UTC
This looks more like a bug in your setup / the eselect module, it should clean upon itself.
Comment 6 gringo 2012-08-10 11:09:17 UTC
i agree that the file /etc/fonts/infinality/conf.d/43-repl-terminus.conf might be a leftover from the previous lcd-filtering overlay. Thats the only explanation i have right now. 
This is not an old installation, maybe 3 months old, but i have been using the lcd stuff from the beginning and im quite sure i didnt create that file myself.

file /etc/fonts/infinality/styles.conf.avail/nyx/43-repl-terminus.conf ships with fontconfig-infinality and both files are borken symlinks in my system.

i tried to reproduce my steps to see what happens if i redo my setup and if i delete /etc/fonts/infinality/conf.d/43-repl-terminus.conf and then re-run all eselect modules it wont be created again. Same for the other file too.

of course if i reinstall fontconfig-infinality, /etc/fonts/infinality/styles.conf.avail/nyx/43-repl-terminus.conf reappears in my system. 
Just a broken symlink, fc doesnt bitch about it here, maybe just remove it from the tarball if anyone can confirm that it only is a broken symlink ?

thanks guys !
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2012-08-10 11:37:49 UTC
Reassigning to Yngwin. As nothing should mess in there and break fontconfig, this is just mere result of the bug in the app.
Comment 8 Laurent Bachelier 2013-02-05 21:25:35 UTC
Fontconfig error: Cannot load config file "/etc/fonts/infinality/conf.d/43-repl-terminus.conf"

I'm having this warning when starting any application. I never used the lcdfilter overlay, and just enabled infinality patches, and chose the "nyx" profile.
So there really is an issue in infinality, too.
Comment 9 Ben de Groot (RETIRED) gentoo-dev 2013-04-05 09:02:07 UTC
+*fontconfig-infinality-20130404 (05 Apr 2013)
+
+  05 Apr 2013; Ben de Groot <yngwin@gentoo.org>
+  +fontconfig-infinality-20130404.ebuild, files/Xresources:
+  Version bump, thanks to lxnay for rolling the tarball.
+  Fixes bugs #456652 (version bump), #430550 (broken link), #452860 (wrong
+  Xresources syntax), #462924 (multiple values in test warning), and adds
+  a warning about type-1 fonts (#436500). Implements readme.gentoo eclass.
+  Apologies for the delay.