Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280529 - app-admin/conky-1.7.2_rc2 fails to build with truetype useflag disabled
Summary: app-admin/conky-1.7.2_rc2 fails to build with truetype useflag disabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-06 05:15 UTC by Stefan Michelsson
Modified: 2009-08-13 16:11 UTC (History)
3 users (show)

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


Attachments
Complete build log (build.log,22.83 KB, text/plain)
2009-08-06 05:16 UTC, Stefan Michelsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Michelsson 2009-08-06 05:15:31 UTC
Attempting to build conky with the truetype useflag disabled fails. However, compiling with the flag enabled and adding "use_xft no" to .conkyrc works as expected.

Reproducible: Always

Steps to Reproduce:
1. USE="-truetype" emerge =app-admin/conky-1.7.2_rc2
Actual Results:  
Excerpt from build log:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\"   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -W -g3 -O2 -march=native -pipe -fomit-frame-pointer -MT conky-fonts.o -MD -MP -MF .deps/conky-fonts.Tpo -c -o conky-fonts.o `test -f 'fonts.c' || echo './'`fonts.c
x11.c: In function 'destroy_window':
x11.c:199: error: 'struct conky_window' has no member named 'xftdraw'
x11.c:200: warning: implicit declaration of function 'XftDrawDestroy'
x11.c:200: error: 'struct conky_window' has no member named 'xftdraw'
make[2]: *** [conky-x11.o] Error 1

Expected Results:  
Compiles without support for Xft.

Tested on two separate machines (x86 and ~x86)
emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-tuxonice-r4 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r4-i686-Intel-R-_Core-TM-_Duo_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 05 Aug 2009 01:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1, 3.1
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --verbose"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.uni-c.dk/pub/gentoo/ http://ds.thn.htu.se/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/wschlich-testing /usr/local/portage/misc-overlay"
SYNC="rsync://netvista/gentoo-portage"
USE="X acpi alsa bash-completion berkdb branding bzip2 cairo cli cracklib crypt cups curl dbus dri encode exif ffmpeg flac fortran gdbm gif gpm gtk hal iconv isdnlog java jpeg kpathsea lcms mmx mmxext mng mp3 mudflap ncurses nptl nptlonly nsplugin opengl openmp pam pcre pdf png pppd python readline reflection session smp sndfile spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode x86 xcb xinerama xml xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd fglrx"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Michelsson 2009-08-06 05:16:58 UTC
Created attachment 200336 [details]
Complete build log
Comment 2 Wormo (RETIRED) gentoo-dev 2009-08-07 06:08:25 UTC
Thanks for reporting this issue, assigning to conky maintainers.
Comment 3 Brenden Matthews 2009-08-08 20:24:08 UTC
Fixed in RC3, just need someone to bump the ebuild.
Comment 4 David Shakaryan (RETIRED) gentoo-dev 2009-08-13 16:11:41 UTC
Done. Thank you for the fix, Diddy.