Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97869 - x11-plugins/gkrellm-giFT-0.2.3 fails to merge (with pkg-config error?)
Summary: x11-plugins/gkrellm-giFT-0.2.3 fails to merge (with pkg-config error?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: PENDING REMOVAL Nov 28th 2006
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2005-07-03 23:03 UTC by Will Briggs
Modified: 2006-11-29 18:36 UTC (History)
5 users (show)

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


Attachments
/var/tmp/portage/gkrellm-giFT-0.2.3/work/gkrellm-giFT-0.2.3/config.log (config.log,34.26 KB, text/plain)
2005-07-04 04:56 UTC, Will Briggs
Details
gkrellm log as requested. (gkrellm,4.25 KB, text/plain)
2005-07-12 16:17 UTC, Will Briggs
Details
new ebuild (gkrellm-2.2.6-r1.ebuild,2.01 KB, text/plain)
2005-07-13 07:55 UTC, Marcin Kryczek (RETIRED)
Details
fixed ebuild for gkrellm-giFT (gkrellm-giFT-0.2.3.ebuild,901 bytes, text/plain)
2005-07-20 15:29 UTC, Marcin Kryczek (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Will Briggs 2005-07-03 23:03:56 UTC
End of output for an emerge gkrellm-giFT:

checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gkrellm >= 2.1.23 libgift >= 0.11.3 libgift < 0.12.0... Package
gkrellm was not found in the pkg-config search path. Perhaps you should add the
directory containing `gkrellm.pc' to the PKG_CONFIG_PATH environment variable No
package 'gkrellm' found
configure: error: Library requirements (gkrellm >= 2.1.23 libgift >= 0.11.3
libgift < 0.12.0) not met; consider adjusting the PKG_CONFIG_PATH environment
variable if your libraries are in a nonstan dard prefix so pkg-config can find them.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/gkrellm-giFT-0.2.3/work/gkrellm-giFT-0.2.3/config.log

!!! ERROR: x11-plugins/gkrellm-giFT-0.2.3 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
gift 0.11.8.1 already installed
gkrellm 2.2.6 already installed
emerge gkrellm-giFT

Actual Results:  
merge fails

Expected Results:  
successful merge

emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r2n i686)
=================================================================
System uname: 2.6.12-gentoo-r2n i686 AMD Duron(tm)
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon -ftracer -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon -ftracer -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext aalib alsa apache2 apm avi berkdb bitmap-fonts cpdflib
crypt cups curl dba emboss encode fam foomaticdb fortran fxsr gd gdbm gif
imagemagick imap imlib javascript jpeg ldap libg++ libwww mad mbox mikmod mmx
mmxext mp3 mpeg ncurses nls nntp odbc ogg oggvorbis opengl oss pam pdflib perl
png postgres ppds python quicktime readline samba sdl slang ssl tcpd tiff
truetype truetype-fonts type1-fonts vhosts vorbis xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Will Briggs 2005-07-04 04:56:39 UTC
Created attachment 62590 [details]
/var/tmp/portage/gkrellm-giFT-0.2.3/work/gkrellm-giFT-0.2.3/config.log
Comment 2 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-12 03:54:54 UTC
could you please paste output of following command:
grep Version /usr/lib/pkgconfig/libgift.pc /usr/lib/pkgconfig/gkrellm.pc
Comment 3 Will Briggs 2005-07-12 07:23:52 UTC
Output as requested:

grep Version /usr/lib/pkgconfig/libgift.pc /usr/lib/pkgconfig/gkrellm.pc
/usr/lib/pkgconfig/libgift.pc:Version: 0.11.8
grep: /usr/lib/pkgconfig/gkrellm.pc: No such file or directory

Which seems to say something.  I did a fresh emerge of gkrellm (again) just to
see if that fixed anything.  Still the same result.
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-12 08:12:01 UTC
i can't reproduce that:| can you also attach full merge log from gkrellm? (e.g. 
`emerge -1 gkrellm >/tmp/gkrellm 2>&1` )
Comment 5 Will Briggs 2005-07-12 16:17:54 UTC
Created attachment 63277 [details]
gkrellm log as requested.
Comment 6 Will Briggs 2005-07-12 16:18:05 UTC
Trying to think of as much relevant information as possible:

On this machine gkrellm is built without X (daemon runs here, gkrellm built with
X displays on another machine with -s switch).  [ASIDE: Documentation at
http://code-monkey.de/projects/gkrellm-gift.html is ambiguous as to whether it
will only work if installed on the display machine (gkrellm built with X) with
gkrellm-gift pointed at the gift server.  If this is the issue then there at
least needs to be some warning message in the ebuild or something.]  

gkrellm-giFT also doesn't build on the display machine (~amd64 keyworded)
(gkrellm with X) but it's a different error which at least gets past the
configure stage (error is: file-type not allowed in /usr/lib etc. and so a
different bug for another day).
Comment 7 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-13 07:55:33 UTC
Created attachment 63313 [details]
new ebuild

ok. seems like ebuild was b0rked. i've changed it a bit. could you try to
install gkrellm from this one and let me know if that fixed the problem?
Comment 8 Will Briggs 2005-07-14 04:39:29 UTC
That new ebuild for gkrellm is an improvement.  It doesn't fail with an
inability to find pkg-config for gkrellm anymore.

gkrellm-giFT still fails with a pkg-config error, but this time it's because it
can't find a pkg-config entry for gtk rather than gkrellm - which is fair
enough, because that's not installed:

checking for gkrellm >= 2.1.23 libgift >= 0.11.3 libgift < 0.12.0... Package
gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the
directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable
Package 'gtk+-2.0', required by 'GKrellM', not found
configure: error: Library requirements (gkrellm >= 2.1.23 libgift >= 0.11.3
libgift < 0.12.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.

I note that gkrellm-giFT's ebuild doesn't have gtk or X as a dependency. 
Perhaps it's assuming gkrellm is built with the X use flag set - in which case
can it check for that?

I can now do the workarounds I need so I'm happy.  But I think the gkrellm-giFT
dependencies should be tidied up.  Thanks.
Comment 9 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-20 15:29:00 UTC
Created attachment 63929 [details]
fixed ebuild for gkrellm-giFT

sorry - i was away few days. gkrellm-giFT should have gtk2 in dependencies, so
it'll have also virtual/x11 as it's hard dependency for gtk. additionally it
won't compile with gkrellm compiled with -X, becouse gkrellm2/gkrellm.h isn't
installed in such situation and i don't think it should be (what do you think
about that mholzer?). 
i'm attaching new ebuild for gkrellm-giFT with fixed dependencies
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-07-22 11:40:56 UTC
Sending back to herd listed in metadata.xml; if you no longer want this, change it to maintainer-needed - it's been sitting here for one year.

Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-09-19 03:08:09 UTC
Apparently zero interest in fixing this, sending to treecleaners.
Comment 12 Christian Heim (RETIRED) gentoo-dev 2006-11-04 11:44:09 UTC
p.masked
Comment 13 Christian Heim (RETIRED) gentoo-dev 2006-11-04 12:45:14 UTC
Guess Alec really needs to follow his own guidelines ...
Comment 14 Steve Dibb (RETIRED) gentoo-dev 2006-11-29 18:36:34 UTC
punted