Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166292 - x11-misc/adesklets-0.6.1-r1 fails to disable fontconfig leading to run-time error
Summary: x11-misc/adesklets-0.6.1-r1 fails to disable fontconfig leading to run-time e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-11 02:01 UTC by Philip Kovacs
Modified: 2007-02-13 18:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Kovacs 2007-02-11 02:01:17 UTC
The issue arises with adesklets 0.6.1 and fontconfig >= 2.4.  

The USE flag fontconfig causes a needed fontconfig 2.4 patch to be applied
when fontconfig 2.4 or higher is installed.  If the USE flag fontconfig
is not used, however, the adesklets package auto-detects for fontconfig,
and will fail to apply the needed patch, resulting in a run-time error with adesklets.

I believe the fix for this would be to explicitly de-activate fontconfig
in the ebuild:

src_compile ()
{
   ...
   
   use fontconfig || myconf="${myconf} --without-fontconfig"

   ...
}

Another workaround may be to always apply the fontconfig patch,
instead of conditionally around use fontconfig.


Reproducible: Always




$ emerge --info
Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.6
Timestamp of tree: Sun, 11 Feb 2007 00:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://gentoo.chem. wisc.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa bitmap-fonts cairo cdr cli cracklib crypt cups dlloader dri dvd dvdr eds emboss encode fbcon firefox gif gpm gstreamer gtk iconv imlib isdnlog jpeg libg++ mad midi mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pcre perl png ppds pppd python quicktime readline reflection sdl session slang spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xml2 xorg xv xvid zlib" ALSA_CARDS="emu10k1 intel8x0 bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michele Noberasco (RETIRED) gentoo-dev 2007-02-13 18:31:43 UTC
Fixed latest revision. Previous one doesn't handle fontconfig at all. Thanks for the submission!