Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51379 - arts and glib dependency problem
Summary: arts and glib dependency problem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 04:50 UTC by fbusse
Modified: 2004-07-19 14:04 UTC (History)
1 user (show)

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 fbusse 2004-05-18 04:50:37 UTC
I have a problem with upgrading arts to 1.2.2 from 1.2.1:

$ emerge -p arts
Calculating dependencies ...done!
[ebuild     U ] kde-base/arts-1.2.2 [1.2.1]

$ emerge arts
<snip>
checking for pkg-config... /usr/bin/pkg-config
checking for GLib-2.0 (at least 1.3.3)... not installed
configure: error:
        Please install glib-2.0 (see http://www.gtk.org).

!!! ERROR: kde-base/arts-1.2.2 failed.
!!! Function kde_src_compile, Line 118, Exitcode 1
!!! died running ./configure, kde_src_compile:configure

$ emerge -p glib
Calculating dependencies ...done!
[ebuild   R   ] dev-libs/glib-2.4.0


Do I miss something?

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6)
=================================================================
System uname: 2.6.6 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
MAKEOPTS="-j2"
USE="3dnow X aalib acpi alsa apm arts avi berkdb cdr crypt cups encode foomaticdb gdbm gif gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang speex spell sse ssl svga tcpd tetex tiff truetype x86 xml2 xmms xv zlib"
Comment 1 fbusse 2004-05-18 05:04:45 UTC
Addendum: Happens only with FEATURES="userpriv".
Interestingly, another of my machines doesn't have that problem, although it also has userpriv (but this system was compiled with userpriv, on the problematic machine I added it a few days ago).
What can cause this?
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-05-18 05:22:40 UTC
Dunno.  Can you peak into the config.log file and see what specifically is causing the failure?
Comment 3 fbusse 2004-05-18 12:17:28 UTC
BTDT, but I didn't find anything useful related to glib, only this:

configure:38180: checking for GLib-2.0 (at least 1.3.3)
configure:38204: result: not installed
configure:38208: error:
        Please install glib-2.0 (see http://www.gtk.org).
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-05-25 16:53:15 UTC
can you peak at configure line 38180 and see what the test is that is failing?
Comment 5 fbusse 2004-05-26 09:41:50 UTC
# GLIB_CFLAGS:  cflags for compiling glib dependant sources
# GLIB_LIBADD:  glib libraries (-l options)
# GLIB_LDFLAGS: flags containing path to glib libraries (-L options)

GLIB_PACKAGES="gmodule-2.0 gthread-2.0"
GLIB_VERSION="1.3.3"
echo "$as_me:$LINENO: checking for GLib-2.0 (at least $GLIB_VERSION)" >&5
echo $ECHO_N "checking for GLib-2.0 (at least $GLIB_VERSION)... $ECHO_C" >&6

if $PKG_CONFIG --atleast-pkgconfig-version 0.15 ; then
   if $PKG_CONFIG --atleast-version $GLIB_VERSION $GLIB_PACKAGES >/dev/null 2>&1
 ; then
       GLIB_CFLAGS="`$PKG_CONFIG --cflags $GLIB_PACKAGES`"
       GLIB_LIBADD="`$PKG_CONFIG --libs-only-l --libs-only-other $GLIB_PACKAGES`
"
       GLIB_LDFLAGS="`$PKG_CONFIG --libs-only-L $GLIB_PACKAGES`"
       echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
   fi
else
   if $PKG_CONFIG --atleast-version $GLIB_VERSION $GLIB_PACKAGES >/dev/null 2>&1 ; then
       GLIB_CFLAGS="`$PKG_CONFIG --cflags $GLIB_PACKAGES`"
       GLIB_LIBADD="`$PKG_CONFIG --libs-only-l $GLIB_PACKAGES`"
       GLIB_LDFLAGS="`$PKG_CONFIG --libs-only-L $GLIB_PACKAGES`"
       echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
       { echo "$as_me:$LINENO: WARNING: you may need to run make LDFLAGS=-pthread to compile arts" >&5
echo "$as_me: WARNING: you may need to run make LDFLAGS=-pthread to compile arts" >&2;}
   fi
fi

if test -z "$GLIB_LIBADD"; then
        echo "$as_me:$LINENO: result: not installed" >&5
echo "${ECHO_T}not installed" >&6
        { { echo "$as_me:$LINENO: error:
        Please install glib-2.0 (see http://www.gtk.org).
        " >&5
echo "$as_me: error:
        Please install glib-2.0 (see http://www.gtk.org).
        " >&2;}
   { (exit 1); exit 1; }; }
    DO_NOT_COMPILE="$DO_NOT_COMPILE gmcop"
fi

CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"



I have the same problem with other software, too (i.e. atk).
So this is not specific to arts.
Comment 6 fbusse 2004-07-19 14:04:16 UTC
See #55346, something screwed the permissions up.