Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237868 - app-admin/conky-1.6.1 stabilisation bug
Summary: app-admin/conky-1.6.1 stabilisation bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: David Shakaryan (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2008-09-16 19:56 UTC by Lucas
Modified: 2008-09-22 00:39 UTC (History)
2 users (show)

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


Attachments
ppc64 build failure (build.log,65.24 KB, text/plain)
2008-09-19 01:22 UTC, Brent Baude (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas 2008-09-16 19:56:38 UTC
x86_64-pc-linux-gnu-gcc -O2 -march=nocona -pipe -Wall -W -Wl,-O1 -Wl,-O1 -o conky common.o conky.o fs.o linux.o top.o diskio.o mail.o mixer.o timed_thread.o mboxscan.o x11.o users.o  -lpthread -lm -lrt -liw /usr/lib64/libXext.so /usr/lib64/libXdamage.so /usr/lib64/libXfixes.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl  
conky.o: In function `spaced_print':
conky.c:(.text+0x169e): undefined reference to `va_start'
conky.c:(.text+0x16b9): undefined reference to `va_end'
collect2: ld returned 1 exit status

Need I say more?


Reproducible: Always

Steps to Reproduce:
1. emerge conky
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-16 20:58:48 UTC
Please post your `emerge --info' too. Regarding the Summary - does it build well with a different combination of USE flags?
Comment 2 Lucas 2008-09-16 21:30:59 UTC
lthode@blazinpenguin ~ $ emerge --verbose --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz
Timestamp of tree: Wed, 10 Sep 2008 23:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
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"
ANT_HOME="/usr/share/ant-core"
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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -march=nocona -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORTERM="gnome-terminal"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=nocona -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-z77HFnjcBy,guid=36f406e05bd0f0e59548889848ce96cf"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="gnome"
DESKTOP_STARTUP_ID=""
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GDMSESSION="gnome"
GDM_LANG="C"
GDM_XSERVER_LOCATION="local"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo"
GNOME_DESKTOP_SESSION_ID="Default"
GNOME_KEYRING_SOCKET="/tmp/keyring-UnaHMw/socket"
GPG_AGENT_INFO="/tmp/seahorse-0XQSip/S.gpg-agent:6712:1"
GTK_MODULES="gnomebreakpad"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/lthode/.gtkrc-1.2-gnome2"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/home/lthode"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info:/usr/share/info/emacs-22"
INPUT_DEVICES="evdev keyboad mouse synaptics"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="C"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_x86="lib32"
LOGNAME="lthode"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAKEOPTS="-j4"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/games/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IUSE="^(3dfx|adabas|alpha|alsa_cards_aoa|alsa_cards_aoa-fabric-layout|alsa_cards_aoa-onyx|alsa_cards_aoa-soundbus|alsa_cards_aoa-soundbus-i2s|alsa_cards_aoa-tas|alsa_cards_aoa-toonie|alsa_cards_armaaci|alsa_cards_at91-soc|alsa_cards_at91-soc-eti-b1-wm8731|alsa_cards_au1x00|alsa_cards_cs5535audio|alsa_cards_harmony|alsa_cards_powermac|alsa_cards_pxa2xx-i2sound|alsa_cards_pxa2xx-soc|alsa_cards_pxa2xx-soc-corgi|alsa_cards_pxa2xx-soc-poodle|alsa_cards_pxa2xx-soc-spitz|alsa_cards_pxa2xx-soc-tosa|alsa_cards_sa11xx-uda1341ts|alsa_cards_sun-amd7930|alsa_cards_sun-cs4231|alsa_cards_sun-dbri|altivec|amd64|aqua|arm|asm|birdstep|bmp|bmpx|bootstrap|build|capslib|clvm|cman|cmucl|coreaudio|crosscompile_opts_.*|dbmaker|doomsday|drac|elibc_.*|elibc_Darwin|elibc_DragonFly|elibc_FreeBSD|elibc_NetBSD|elibc_OpenBSD|elibc_glibc|elibc_uclibc|emf|empress|empress-bcs|esoob|fdftk|filepro|firebird|frontbase|gamess|gcc64|gulm|hppa|ia64|ibm|infopipe|informix|ingres|kernel_.*|kernel_Darwin|kernel_FreeBSD|kernel_linux|lcd_devices_svga|m68k|macbook|mips|multilib|n32|n64|osp|pam_console|pbbuttonsd|pfpro|plugin|ppc|ppc64|ppcsha1|psyco|pvm|real|s390|selinux|sh|solid|sparc|sparc-fbsd|svga|sybase|sybase-ct|tcc|uclibc|ultra1|userland_.*|userland_BSD|userland_Darwin|userland_GNU|video_cards_geode|video_cards_i740|video_cards_impact|video_cards_imstt|video_cards_newport|video_cards_nsc|video_cards_sunbw2|video_cards_suncg14|video_cards_suncg3|video_cards_suncg6|video_cards_sunffb|video_cards_sunleo|video_cards_suntcx|video_cards_vermilion|video_cards_xgi|vidix|vis|win32codecs|x86|x86-fbsd|xmms|yellownet)$"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_USE="amd64 elibc_glibc kernel_linux multilib userland_GNU"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PWD="/home/lthode"
PYTHONPATH="/usr/lib64/portage/pym"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2"
RPMDIR="/usr/portage/rpm"
SESSION_MANAGER="local/blazinpenguin:/tmp/.ICE-unix/6680"
SHELL="/bin/bash"
SHLVL="1"
SOUND_DRIVER="intel-hd"
SSH_AGENT_PID="6702"
SSH_AUTH_SOCK="/tmp/keyring-UnaHMw/ssh"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X acl alsa amd64 bluetooth bzip2 cdr cli cracklib crypt cups dri dvd esd firefox gdbm gnome gpm gtk iconv ieee1394 ipv6 isdnlog latex ldap lm_sensors midi mime mmap mmx mudflap multilib ncurses nls nptl nptlonly nsplugin openmp pam pch pcre perl python readline reflection samba session sound sse sse2 ssl sysfs tcpd threads unicode usb wifi xorg 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboad mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
USER="lthode"
USERLAND="GNU"
USERNAME="lthode"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
WINDOWID="41943093"
WINDOWPATH="7"
XAUTHORITY="/home/lthode/.Xauthority"
XDG_DATA_DIRS="/usr/local/share/:/usr/share/:/usr/share/gdm/"
_="/usr/bin/emerge"


And no, I haven't tried a different combination of USE flags.  From the error itself though, it doesn't seem like that'd matter, I'll try with truetype on just for grins though.
Comment 3 Lucas 2008-09-16 21:43:15 UTC
On USE flags:
USE="X ipv6 wifi" = fail
USE="X ipv6 wifi truetype" = fail
USE="ipv6 wifi" = fail
USE="ipv6" = fail
USE="wifi" = works
USE="X truetype" = works 
USE="X truetype wifi" = works
USE="" = works
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-16 22:06:03 UTC
(In reply to comment #0)
> Need I say more?

Maybe you can attach the (failing) build log to this bug report. :)
Comment 5 Brenden Matthews 2008-09-16 22:18:10 UTC
Can you provide the ./configure line please.
Comment 6 Brenden Matthews 2008-09-16 22:26:07 UTC
Upon trying to submit a patch, I was hit with an internal error.  I'm not sure why you're getting that linker error, but it looks like it was fixed in a later rev anyway.  So here's a patch you can try:

diff -ruN conky-1.5.1-old/src/conky.c conky-1.5.1/src/conky.c
--- conky-1.5.1-old/src/conky.c	2008-09-16 16:19:55.000000000 -0600
+++ conky-1.5.1/src/conky.c	2008-09-16 16:20:45.000000000 -0600
@@ -28,6 +28,7 @@
 #include "conky.h"
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdarg.h>
 #include <ctype.h>
 #include <time.h>
 #include <locale.h>
Comment 7 Lucas 2008-09-16 22:40:43 UTC
Well, just make sure that that patch gets into the ebuild :).
Comment 8 David Shakaryan (RETIRED) gentoo-dev 2008-09-16 23:47:54 UTC
I think the proper solution would be stabilising Conky 1.6.1, which, as a couple of days ago, has been in the tree for the minimum required period. It should fix this bug, amongst others. The relevant archs (alpha amd64 ppc ppc64 sparc x86) have been CC'ed.

Upon stabilisation, the older 1.5.1 will be removed in favour of 1.6.1. :)
Comment 9 Steve Dibb (RETIRED) gentoo-dev 2008-09-17 00:37:52 UTC
amd64 stable
Comment 10 Ferris McCormick (RETIRED) gentoo-dev 2008-09-17 11:42:29 UTC
Sparc stable, works nicely.
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2008-09-18 08:39:18 UTC
alpha/x86 stable
Comment 12 Brent Baude (RETIRED) gentoo-dev 2008-09-19 01:17:58 UTC
ppc stable
Comment 13 Brent Baude (RETIRED) gentoo-dev 2008-09-19 01:22:42 UTC
Created attachment 165783 [details]
ppc64 build failure
Comment 14 Brent Baude (RETIRED) gentoo-dev 2008-09-19 01:23:11 UTC
ppc64 is failing here.  i'm headed to sleep but perhaps someone see's something?
Comment 15 Brenden Matthews 2008-09-21 05:28:14 UTC
(In reply to comment #14)
> ppc64 is failing here.  i'm headed to sleep but perhaps someone see's
> something?
> 

The errors suggest you're missing an stdio.h include, but it's included in conky.h which is included by those files.  Not sure what the problem is here, and sort of hard to mess with it without having a ppc64 machine.  Just for fun though, try throwing an "#include <stdio.h>" in the failing files.
Comment 16 Brenden Matthews 2008-09-21 05:31:28 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > ppc64 is failing here.  i'm headed to sleep but perhaps someone see's
> > something?
> > 
> 
> The errors suggest you're missing an stdio.h include, but it's included in
> conky.h which is included by those files.  Not sure what the problem is here,
> and sort of hard to mess with it without having a ppc64 machine.  Just for fun
> though, try throwing an "#include <stdio.h>" in the failing files.
> 

Oh dear, I just realized I'm the failure here.  Apparently that include was missing in 1.6.1 and fixed afterwards. Heres the patch:

Index: src/conky.h
===================================================================
--- src/conky.h	(revision 1237)
+++ src/conky.h	(working copy)
@@ -43,6 +43,7 @@
 
 #include "config.h"
 #include <sys/utsname.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <locale.h>
Comment 17 David Shakaryan (RETIRED) gentoo-dev 2008-09-21 06:26:30 UTC
The patch has been committed; thanks Brenden.

Can you please try compiling again, Brent?
Comment 18 Brent Baude (RETIRED) gentoo-dev 2008-09-21 16:01:26 UTC
ppc64 done now
Comment 19 David Shakaryan (RETIRED) gentoo-dev 2008-09-22 00:39:23 UTC
Conky 1.6.1 is now marked stable on all relevant arches, and Conky 1.5.1 has just been removed from the tree. Lucas, thank you for the bug report, which prompted the start of the stabilisation efforts. Simply install Conky 1.6.1 to fix this error. =)