Conky is broken after Arch Linux update/upgrade.

Today I have run

sudo pacman -Syu

And conky was updated to the latest version, after that it stop working, and when I run it from the console, the output was like this:

Conky: unknown variable ibm_temps
Conky: unknown variable ibm_fan

I found in the forums that the problem could be solved by recompiling conky with --enable-ibm flag set.

So I did it, first I had to install abs or read my short version of that howto how to install abs on arch Linux

Once installed abs and ready to run, compile and install conky this way.

cp -r /var/abs/extra/conky $HOME/abs

Configure it, compile it and install it

cd $HOME/abs/conky

Edit the PKGBUILD file and make it look like this:

# $Id: PKGBUILD 37944 2009-05-05 12:18:45Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: James Rayner <james@archlinux.org>

pkgname=conky
pkgver=1.7.0
pkgrel=2
pkgdesc="An advanced, highly configurable system monitor for X based on torsmo"
arch=('i686' 'x86_64')
url="http://conky.sourceforge.net/"
license=('custom')
replaces=('torsmo')
depends=('libxext' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('10360c37d76ab25f4d585bcdfd07f075')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --enable-wlan \
              --enable-rss \
              --enable-ibm
  make || return 1
  make DESTDIR=${pkgdir} install
  install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

Note that –enable-ibm is set

Now compile it

makepkg -s

and install it:

sudo pacman -U conky-1.7.0-2-i686.pkg.tar.gz

Conky is working again, I just hope that the next update will have ibm support configured by default.