Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88255 - configure fails when emerging ups-monitor 0.8.2 because of wrong dependencies
Summary: configure fails when emerging ups-monitor 0.8.2 because of wrong dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 06:09 UTC by Vasilis Lourdas
Modified: 2005-04-07 08:00 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 Vasilis Lourdas 2005-04-07 06:09:48 UTC
When I try to emerge ups-monitor 0.8.2 (~x86), configure fails because it looks for pygtk > 2.4, while I have 2.2.0 installed. Pygtk 2.4.0 should be listed as a necessary package for installation, so this must be a problem with wrong dependencies.

Reproducible: Always
Steps to Reproduce:
1. as root, enter ACCEPT_KEYWORDS="~x86" emerge -vD --newuse ups-monitor
Actual Results:  
configure of ups-monitor failed because it did not find the correct version of
pygtk (2.4.0 needed, while 2.2.0 is installed)

Expected Results:  
pygtk 2.4.0 should be listed as a dependency for installation

emerge --info
***
Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) XP 2600+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  4 2005, 23:10:06)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.seren.com/gentoo http://mirror.uni-c.dk/gentoo/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://files.gentoo.gr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo
cdr crypt cups curl doc dvdr emboss encode esd fam flac font-server foomaticdb
fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib
ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg
mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt
quicktime readline samba sdl slang spell sse ssl svga tcpd tetex tiff truetype
truetype-fonts type1-fonts unicode xml xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
***
config.log
***
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib

## --------- ##
## Platform. ##
## --------- ##

hostname = helios
uname -m = i686
uname -r = 2.6.11-gentoo-r5
uname -s = Linux
uname -v = #1 Sun Apr 3 11:09:37 EEST 2005

/usr/bin/uname -p = AMD Athlon(tm) XP 2600+
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/ccache/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5
PATH: /opt/blackdown-jdk-1.4.1/bin
PATH: /opt/blackdown-jdk-1.4.1/jre/bin
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.3/sbin
PATH: /usr/kde/3.3/bin
PATH: /opt/vmware/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1269: checking for a BSD-compatible install
configure:1324: result: /bin/install -c
configure:1335: checking whether build environment is sane
configure:1378: result: yes
configure:1443: checking for gawk
configure:1459: found /bin/gawk
configure:1469: result: gawk
configure:1479: checking whether make sets $(MAKE)
configure:1499: result: yes
configure:1575: checking for i686-pc-linux-gnu-strip
configure:1591: found /usr/bin/i686-pc-linux-gnu-strip
configure:1601: result: i686-pc-linux-gnu-strip
configure:1667: checking whether to enable maintainer-specific portions of Makefiles
configure:1676: result: no
configure:1703: checking for python
configure:1721: found /usr/bin/python
configure:1733: result: /usr/bin/python
configure:1754: checking for python version
configure:1761: result: 2.3
configure:1773: checking for python platform
configure:1780: result: linux2
configure:1787: checking for python script directory
configure:1795: result: ${prefix}/lib/python2.3/site-packages
configure:1804: checking for python extension module directory
configure:1812: result: ${exec_prefix}/lib/python2.3/site-packages
configure:1832: checking for pkg-config
configure:1850: found /usr/bin/pkg-config
configure:1863: result: /usr/bin/pkg-config
configure:1880: checking for pygtk-2.0
configure:1884: result: yes
configure:1888: checking PREREQS_CFLAGS
configure:1891: result: -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  
configure:1894: checking PREREQS_LIBS
configure:1897: result: -lgobject-2.0 -lglib-2.0  
configure:1978: checking for gnome-python-2.0
configure:1982: result: yes
configure:1986: checking PREREQS_CFLAGS
configure:1989: result:  
configure:1992: checking PREREQS_LIBS
configure:1995: result:  
configure:2025: checking for desktop-file-install
configure:2043: found /usr/bin/desktop-file-install
configure:2056: result: /usr/bin/desktop-file-install
configure:2132: checking for gtk+-2.0 >= 2.4.0 libgnomeui-2.0 >=  2.2.0
pygtk-2.0 >= 2.4.0
configure:2171: error: Library requirements (gtk+-2.0 >= 2.4.0 libgnomeui-2.0 >=
 2.2.0 pygtk-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH
environment variable if your libraries are in a nonstandard prefix so pkg-config
can find them.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_DESKTOP_FILE_INSTALL=/usr/bin/desktop-file-install
ac_cv_path_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_PYTHON=/usr/bin/python
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_STRIP=i686-pc-linux-gnu-strip
ac_cv_prog_make_make_set=yes
am_cv_python_platform=linux2
am_cv_python_pyexecdir='${exec_prefix}/lib/python2.3/site-packages'
am_cv_python_pythondir='${prefix}/lib/python2.3/site-packages'
am_cv_python_version=2.3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL}
/var/tmp/portage/ups-monitor-0.8.2/work/ups-monitor-0.8.2/missing --run aclocal-1.9'
AMTAR='${SHELL}
/var/tmp/portage/ups-monitor-0.8.2/work/ups-monitor-0.8.2/missing --run tar'
AUTOCONF='${SHELL}
/var/tmp/portage/ups-monitor-0.8.2/work/ups-monitor-0.8.2/missing --run autoconf'
AUTOHEADER='${SHELL}
/var/tmp/portage/ups-monitor-0.8.2/work/ups-monitor-0.8.2/missing --run autoheader'
AUTOMAKE='${SHELL}
/var/tmp/portage/ups-monitor-0.8.2/work/ups-monitor-0.8.2/missing --run
automake-1.9'
AWK='gawk'
CYGPATH_W='echo'
DEFS=''
DESKTOP_FILE_INSTALL='/usr/bin/desktop-file-install'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGG_CFLAGS=''
EGG_LIBS=''
GETTEXT_PACKAGE='ups-monitor'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL}
/var/tmp/portage/ups-monitor-0.8.2/work/ups-monitor-0.8.2/missing --run makeinfo'
PACKAGE='ups-monitor'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PREREQS_CFLAGS=' '
PREREQS_LIBS=' '
PYTHON='/usr/bin/python'
PYTHON_EXEC_PREFIX='${exec_prefix}'
PYTHON_PLATFORM='linux2'
PYTHON_PREFIX='${prefix}'
PYTHON_VERSION='2.3'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='i686-pc-linux-gnu-strip'
VERSION='0.8.2'
ac_ct_STRIP=''
am__leading_dot='.'
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='/usr/share'
exec_prefix='NONE'
host_alias='i686-pc-linux-gnu'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/ups-monitor-0.8.2/work/ups-monitor-0.8.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pkgpyexecdir='${pyexecdir}/ups-monitor'
pkgpythondir='${pythondir}/ups-monitor'
prefix='/usr'
program_transform_name='s,x,x,'
pyexecdir='${exec_prefix}/lib/python2.3/site-packages'
pythondir='${prefix}/lib/python2.3/site-packages'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "ups-monitor"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.8.2"

configure: exit 1
***
running configure script info
***
>>> Unpacking ups-monitor-0.8.2.tar.gz to /var/tmp/portage/ups-monitor-0.8.2/work
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/ share --sysconfdir=/etc
--localstatedir=/var/lib
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for python... /usr/bin/python
checking for python version... 2.3
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.3/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.3/site-packages
checking for pkg-config... /usr/bin/pkg-config
checking for pygtk-2.0... yes
checking PREREQS_CFLAGS... -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking PREREQS_LIBS... -lgobject-2.0 -lglib-2.0
checking for gnome-python-2.0... yes
checking PREREQS_CFLAGS...
checking PREREQS_LIBS...
checking for desktop-file-install... /usr/bin/desktop-file-install
checking for gtk+-2.0 >= 2.4.0 libgnomeui-2.0 >=  2.2.0 pygtk-2.0 >= 2.4.0...
Requested 'pygtk-2.0 >= 2.4.0' but ver sion of PyGTK is 2.2.0

configure: error: Library requirements (gtk+-2.0 >= 2.4.0 libgnomeui-2.0 >= 
2.2.0 pygtk-2.0 >= 2.4.0) not met; cons ider adjusting the PKG_CONFIG_PATH
environment variable if your libraries are in a nonstandard prefix so pkg-config
can find them.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/ups-monitor-0.8.2/work/ups-monitor-0.8.2/config.log

!!! ERROR: net-misc/ups-monitor-0.8.2 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
***
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2005-04-07 08:00:14 UTC
Confirmed the problem and fixed it in cvs. Thanks for reporting!