Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 114542

Summary: gdome-config reports incorrect version
Product: Gentoo Linux Reporter: Daniel Westermann-Clark <dwc>
Component: [OLD] LibraryAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: perl
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 114506    
Attachments: Patch to set GLIB_CONFIG correctly in configure script
Use patch in gdome2 ebuild

Description Daniel Westermann-Clark 2005-12-05 09:17:00 UTC
The gdome-config script added as a result of bug 53704 reports the incorrect
version number:

[12:06:43 dwc@adora ~]$ etcat -v gdome2
[ Results for search key           : gdome2 ]
[ Candidate applications found : 5 ]

 Only printing found installed programs.

*  dev-libs/gdome2 :
        [   ] 0.7.2 (0)
        [   ] 0.7.4 (0)
        [ ~ ] 0.8.0 (0)
        [ ~ ] 0.8.1 (0)
        [  I] 0.8.1-r1 (0)
[12:06:21 dwc@adora ~]$ gdome-config --version
0.17.2
[12:06:40 dwc@adora ~]$ pkg-config --version
0.17.2

Reproducible: Always
Steps to Reproduce:
1. emerge =dev-libs/gdome2-0.8.1-r1
2. gdome-config --version
Actual Results:  
gdome-config reports version as 0.17.2, which is actually my version of
pkg-config.  This causes checks on the version of gdome2 to break, e.g. in
dev-perl/XML-GDOME.

Expected Results:  
gdome-config should report the correct version, i.e. 0.8.1.

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
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.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts
bzip2 cdr crypt cups curl divx4linux dvd dvdr eds emacs emboss encode exif expat
fam ffmpeg flac foomaticdb fortran gdbm gif glut gnome gnutls gpm gstreamer gtk
gtk2 gtkhtml idn imagemagick imlib ipv6 java jpeg junit kde lcms ldap libg++
libwww live mad maildir mikmod mmx mng motif mozilla mp3 mpeg ncurses network
nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python
qt quicktime readline samba sdl slang speex spell ssl svga tcpd theora tiff
truetype truetype-fonts type1-fonts udev unicode v4l vorbis win32codecs xinerama
xml xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2006-01-08 08:25:56 UTC
any word here?
Comment 2 Daniel Westermann-Clark 2006-01-11 11:34:07 UTC
Created attachment 76851 [details, diff]
Patch to set GLIB_CONFIG correctly in configure script

gdome2's configure script was not setting GLIB_CONFIG correctly, which is needed in gdome-config for --cflags and --libs.
Comment 3 Daniel Westermann-Clark 2006-01-11 11:35:19 UTC
Created attachment 76852 [details, diff]
Use patch in gdome2 ebuild

Remove broken pkg-config wrapper, use patch and run autoconf.
Comment 4 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-08 10:44:54 UTC
Thanks, fixed in CVS