Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228327 - xfce-base/xfprint-9999 (from xfce overlay) fails configure, requires xfconf library (not available in overlay but available in upstream svn)
Summary: xfce-base/xfprint-9999 (from xfce overlay) fails configure, requires xfconf l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-19 11:57 UTC by Joshua Rich
Modified: 2008-06-27 01:30 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 Joshua Rich 2008-06-19 11:57:23 UTC
I've recently switched over to using the Gentoo Xfce overlay as I am curious about the next version of Xfce.  I have the 'cups' USE flag set on the xfce-base/xfce4-9999 package from the overlay, which pulls in xfce-base/xfprint-9999. The latter package fails during the configure stage, reporting it requires xfconf.  This is a library that is not currently available in the Gentoo xfce overlay, but is available from the upstream svn repository.

Reproducible: Always

Steps to Reproduce:
1. Add the Gentoo xfce overlay through layman
2. Enable the 'cups' USE flag for the package xfce-base/xfce4-9999
3. emerge xfce-base/xfce4-9999 (or just emerge xfce-base/xfprint-9999)

Actual Results:  
>>> Emerging (5 of 7) xfce-base/xfprint-9999 to /
 * checking ebuild checksums ;-) ...                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                        [ ok ]
>>> Unpacking source...
 * subversion update start -->
 *      repository: http://svn.xfce.org/svn/xfce/xfprint/trunk
At revision 27079.
 *    working copy: /usr/portage/distfiles/svn-src/xfprint/trunk

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xfce-base/xfprint-9999/work/xfprint-9999 ...
 * patching autogen.sh
Preparing package directory /var/tmp/portage/xfce-base/xfprint-9999/work/xfprint-9999...
Creating /var/tmp/portage/xfce-base/xfprint-9999/work/xfprint-9999/aclocal.m4...
Running glib-gettextize --force --copy...
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize --automake --copy --force
Patching file 'po/Makefile.in.in'
Running libtoolize --force --copy...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running gtkdocize --copy...
Running aclocal-1.10   -I /usr/share/xfce4/dev-tools/m4macros -I /usr/share/xfce4/dev-tools/m4macros...
Running autoheader-2.61...
Running automake-1.10 --force-missing --add-missing --copy --gnu...
configure.in:43: installing `./install-sh'
configure.in:43: installing `./missing'
libxfprint/Makefile.am: installing `./depcomp'
mcs-plugin/Makefile.am:3: compiling `xfprint_plugin.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
Makefile.am: installing `./INSTALL'
Running autoconf-2.61...

Running /var/tmp/portage/xfce-base/xfprint-9999/work/xfprint-9999/configure --enable-maintainer-mode --prefix=/usr --host=i686-pc-linux-gnu --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --enable-bsdlpr --enable-cups --disable-debug...
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 whether gmake sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes

... lots of configure checks ...

checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config >= 0.9.0... 0.22
checking for gmodule-2.0 >= 2.6.0... 2.16.3
checking GMODULE_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GMODULE_LIBS... -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0
checking for glib-2.0 >= 2.6.0... 2.16.3
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for gtk+-2.0 >= 2.6.0... 2.12.9
checking GTK_CFLAGS... -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for libxfcegui4-1.0 >= 4.5.0... 4.5.2svn-r27074
checking LIBXFCEGUI4_CFLAGS... -D_REENTRANT -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0
checking LIBXFCEGUI4_LIBS... -lxfcegui4 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for libxfce4util-1.0 >= 4.5.0... 4.5.0svn-r27074
checking LIBXFCE4UTIL_CFLAGS... -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBXFCE4UTIL_LIBS... -lxfce4util -lglib-2.0
checking for libxfconf-0 >= 0... not found
*** The required package libxfconf-0 was not found on your system.
*** Please install libxfconf-0 (atleast version 0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
 *
 * ERROR: xfce-base/xfprint-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2257:  Called xfce4-svn_src_compile
 *             environment, line 3014:  Called die
 * The specific snippet of code:
 *       ./autogen.sh --prefix=/usr --host=${CHOST} --libdir=/usr/$(get_libdir) --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking ${XFCE_CONFIG} || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/xfce-base/xfprint-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/xfce-base/xfprint-9999/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/portage/local/layman/xfce/eclass/xfce4-svn.eclass
 *


Expected Results:  
xfce-base/xfprint-9999 should install, which means that the xfconf library needs to be added to the Gentoo xfce overlay.

Here is the output from emerge --info on my machine:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 AMD Athlon(tm) XP 2800+
Timestamp of tree: Thu, 19 Jun 2008 10:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla-thunderbird/components/myspell /usr/lib/perl5/site_perl /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
LANG="en_AU.utf8"
LC_ALL="en_AU.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2 -l 2.0"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--prune-empty-dirs --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/misc /usr/local/overlays/perl-gcpan /usr/portage/local/layman/devnull /usr/portage/local/layman/ephemeral /usr/portage/local/layman/mpd /usr/portage/local/layman/sunrise /usr/portage/local/layman/xfce"
SYNC="rsync://ftp.swin.edu.au/gentoo-portage"
USE="3dnow 3dnowext X acpi alsa audiofile bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups curl dbus dga directfb dri dvd dvdr dvdread emboss encode evo fam fbcon ffmpeg fortran gdbm gif gmp gpm gstreamer gtk hal iconv isdnlog ithreads jpeg lame lcms libnotify lm_sensors logrotate mad midi mikmod minimal mmx mmxext mng mp3 mpeg mudflap ncurses network-cron nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3support quicktime readline reflection sdl session spell spl sqlite sse ssl startup-notification svg tcpd threads tiff truetype unicode vorbis win32codecs x86 xml xorg xpm xulrunner xv zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev linuxinput ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


Aplogies for not submitting an ebuild for xfconf yet, I just haven't had the time.

Thanks and regards,

Joshua Rich
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2008-06-23 13:45:07 UTC
added xfconf and fixed xfprint, xfce4-session and xfce-utils
Comment 2 Joshua Rich 2008-06-27 01:30:01 UTC
(In reply to comment #1)
> added xfconf and fixed xfprint, xfce4-session and xfce-utils
> 

Hi Christoph,

Thanks!  All works now, and I see that the xkb errors I was getting were because of the infamous --as-needed LDFLAG, I should should have known.

Double Thanks!

Regards,

Joshua