Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome-extra/deskbar-applet-2.32.0 failing to emerge[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Oct 06, 2012 5:15 pm    Post subject: gnome-extra/deskbar-applet-2.32.0 failing to emerge[SOLVED] Reply with quote

With only two packages left, gnome-extra/deskbar-applet-2.32.0 is failing to emerge! I'm almost to the end of some extensive work here on my gentoo. I have exhausted all the options, successfully ran revdep-rebuild, etc. But I think I have missed something with this package and was wondering if someone could take a look at my failure and guide me in the right direction?
It fails in the following way:
Code:

# emerge -uDNv world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] gnome-extra/deskbar-applet-2.32.0  USE="eds spell" 0 kB
[ebuild     UD ] gnome-base/gnome-2.32.1-r2 [3.4.1] USE="cdr cups dvdr%* ldap%* policykit%* -accessibility -mono% (-bluetooth%*) (-extras%*) (-fallback%*)" 0 kB

Total: 2 packages (1 downgrade, 1 new), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) gnome-extra/deskbar-applet-2.32.0

!!! Directory does not exist: '/usr/lib64/ccache/bin'
!!! Disabled FEATURES='ccache'
 * deskbar-applet-2.32.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking deskbar-applet-2.32.0.tar.bz2 to /var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work
>>> Source unpacked in /var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work
>>> Preparing source in /var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0 ...
 * Fixing OMF Makefiles ...                                                                                          [ ok ]
 * Running elibtoolize in: deskbar-applet-2.32.0/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 * Converting shebang in 'deskbar/deskbar-applet.py'
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0 ...
 * econf: updating deskbar-applet-2.32.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating deskbar-applet-2.32.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-evolution --exec-prefix=/usr --disable-scrollkeeper --disable-scrollkeeper
checking for a BSD-compatible install... /usr/bin/install -c                                                               
checking whether build environment is sane... yes                                                                           
checking for a thread-safe mkdir -p... /bin/mkdir -p                                                                       
checking for gawk... gawk                                                                                                   
checking whether make sets $(MAKE)... yes                                                                                   
checking whether to enable maintainer-specific portions of Makefiles... no                                                 
checking build system type... x86_64-pc-linux-gnu                                                                           
checking host system type... x86_64-pc-linux-gnu                                                                           
checking for style of include used by make... GNU                                                                           
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc                                                             
checking whether the C compiler works... yes                                                                               
checking for C compiler default output file name... a.out                                                                   
checking for suffix of executables...                                                                                       
checking whether we are cross compiling... no                                                                               
checking for suffix of object files... o                                                                                   
checking whether we are using the GNU C compiler... yes                                                                     
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes                                                                 
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed                                               
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking for pkg-config... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.4
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking gnome-doc-utils >= 0.3.2... yes
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for DESKBAR... yes
checking for gnomeapplet module... yes
checking for python module dbus... yes
checking for python module gconf... yes
checking for python module gio... yes
checking for python module glib... yes
checking for python module gnomedesktop... yes
checking for python module gnomekeyring... no
checking for python module gobject... yes
checking for python module gtk... yes
checking for python module gtk.gdk... yes
checking for python module pango... yes
checking for python module wnck... yes
checking for EVOLUTION... yes
checking for pygtk-codegen-2.0... /usr/bin/pygtk-codegen-2.0
checking for pygtk defs... /usr/share/pygtk/2.0/defs
checking for prctl... yes
checking whether PR_SET_NAME is declared... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating deskbar/Makefile
config.status: creating deskbar/defs.py
config.status: creating deskbar/core/Makefile
config.status: creating deskbar/core/keybinder/Makefile
config.status: creating deskbar/core/updater/Makefile
config.status: creating deskbar/core/_userdirs/Makefile
config.status: creating deskbar/handlers/Makefile
config.status: creating deskbar/handlers/actions/Makefile
config.status: creating deskbar/handlers/evolution/Makefile
config.status: creating deskbar/osutils/Makefile
config.status: creating deskbar/interfaces/Makefile
config.status: creating deskbar/ui/Makefile
config.status: creating deskbar/ui/cuemiac/Makefile
config.status: creating deskbar/ui/iconentry/Makefile
config.status: creating deskbar/ui/preferences/Makefile
config.status: creating data/Makefile
config.status: creating data/deskbar-applet.pc
config.status: creating data/art/Makefile
config.status: creating po/Makefile.in
config.status: creating help/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

deskbar-applet v2.32.0

Prefix............... : /usr
Evolution Support.... : yes
Dbus Services Dir.... : /usr/share/dbus-1/services
Now type make to compile
Then su to root and type: make install

>>> Source configured.
>>> Compiling source in /var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0 ...
make -j2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0'
Making all in deskbar
make[2]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar'
make  all-recursive
make[3]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar'
Making all in core
make[4]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core'
Making all in keybinder
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core/keybinder'
  CC     _keybindermodule.lo
  CC     eggaccelerators.lo
  CC     tomboykeybinder.lo
  GEN    _keybinder.c
note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead
note: I will now try to invoke pygobject-codegen-2.0 in the same directory
***INFO*** The coverage of global functions is 100.00% (4/4)
***INFO*** There are no declared methods.
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
  CC     _keybinder.lo
  CCLD   _keybinder.la
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core/keybinder'
Making all in updater
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core/updater'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core/updater'
Making all in _userdirs
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core/_userdirs'
  CC     __userdirsmodule.lo
  CCLD   __userdirs.la
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core/_userdirs'
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core'
make[4]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/core'
Making all in handlers
make[4]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
Making all in actions
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/actions'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/actions'
Making all in evolution
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/evolution'
  CC     _evolutionmodule.lo
  CC     evolution.lo
In file included from evolution.c:2:0:
/usr/include/glib-2.0/glib/gstring.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ./evolution.h:5:0,
                 from _evolutionmodule.c:10:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
make[5]: *** [_evolutionmodule.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from evolution.h:5:0,
                 from evolution.c:6:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
make[5]: *** [evolution.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/evolution'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0'
make: *** [all] Error 2
emake failed
 * ERROR: gnome-extra/deskbar-applet-2.32.0 failed (compile phase):
 *   compile failure
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 5587:  Called gnome2_src_compile
 *   environment, line 2856:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *
 * If you need support, post the output of `emerge --info '=gnome-extra/deskbar-applet-2.32.0'`,
 * the complete build log and the output of `emerge -pqv '=gnome-extra/deskbar-applet-2.32.0'`.
 * The complete build log is located at '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0'
 * S: '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0'

>>> Failed to emerge gnome-extra/deskbar-applet-2.32.0, Log file:

>>>  '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/temp/build.log'

 * Messages for package gnome-extra/deskbar-applet-2.32.0:

 * ERROR: gnome-extra/deskbar-applet-2.32.0 failed (compile phase):
 *   compile failure
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 5587:  Called gnome2_src_compile
 *   environment, line 2856:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *
 * If you need support, post the output of `emerge --info '=gnome-extra/deskbar-applet-2.32.0'`,
 * the complete build log and the output of `emerge -pqv '=gnome-extra/deskbar-applet-2.32.0'`.
 * The complete build log is located at '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/temp/environment'.
 * Working directory: '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0'
 * S: '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0'

I have been dealing with some keywording issues and am returning as many packages as I can back to stable. I have a feeling that I missed striking a keyword somewhere, but I just don't know where.

Thanks

Todd


Last edited by todd93 on Sat Oct 27, 2012 12:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Mon Oct 08, 2012 9:34 pm    Post subject: Reply with quote

I thought I would post a few more items that may make this helpful
emerge --info '=gnome-extra/deskbar-applet-2.32.0':
Code:

# emerge --info '=gnome-extra/deskbar-applet-2.32.0'
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.1
Timestamp of tree: Mon, 08 Oct 2012 08:45:02 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo my-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=amdfam10 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/ Please upgrade to  "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk hal iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 readline scanner sdl semantic-desktop session socialweb spell sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


emerge -pqv '=gnome-extra/deskbar-applet-2.32.0':
Code:

# emerge -pqv '=gnome-extra/deskbar-applet-2.32.0'
[ebuild  N    ] gnome-extra/deskbar-applet-2.32.0  USE="eds spell"


Please if anyone has any ideas, I'm really stumped on this one. If it is any help, I am trying to downgrade to gnome-base/gnome-2.32.1-r2 in the stable tree, would it be best to unmerge gnome, and try it that way?

Thanks

Todd
Back to top
View user's profile Send private message
Navar
Guru
Guru


Joined: 20 Aug 2012
Posts: 353

PostPosted: Tue Oct 09, 2012 2:58 am    Post subject: Reply with quote

Code:
In file included from evolution.c:2:0:
/usr/include/glib-2.0/glib/gstring.h:28:2: error: #error "Only <glib.h> can be included directly."


The error is because there are defines in glib.h blocking already included subheaders of glib such as glib/gstring.h from being included directly (twice), which is a good thing.

I haven't attempted a test emerge build to gnome3 yet or I would be more helpful regarding your downgrade. I'm also unfamiliar with all the detailed code changes from gnome2 to gnome3. The evolution.c source mentioned above for the deskbar applet includes glib.h and glib/string.h, thereby causing the build error.

Which leads me to...

I suspect you maybe need to investigate your glib installed and then ensure you've rebuilt everything linking to it. Take note also the elog portions regarding rebuilding gobject-introspection and most likely dev-libs/dbus-glib especially since you're downgrading from gnome3.

Mine is the following:

Code:
$ equery list glib
 * Searching for glib ...
[IP-] [  ] dev-libs/glib-2.32.4-r1:2

_________________
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.


Last edited by Navar on Fri Oct 26, 2012 8:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Tue Oct 09, 2012 8:51 pm    Post subject: Reply with quote

Navar wrote:
Code:
In file included from evolution.c:2:0:
/usr/include/glib-2.0/glib/gstring.h:28:2: error: #error "Only <glib.h> can be included directly."


The error is because there are defines in glib.h blocking already included subheaders of glib such as glib/gstring.h from being included directly (twice), which is a good thing.

I haven't attempted a test emerge build to gnome3 yet or I would be more helpful regarding your downgrade. I'm also unfamiliar with all the detailed code changes from gnome2 to gnome3. The evolution.c source mentioned above for the deskbar applet includes glib.h and glib/string.h, thereby causing the build error.

Which leads me to...

I suspect you maybe need to investigate your glib installed and then ensure you've rebuilt everything linking to it. Take note also the elog portions regarding rebuilding gobject-introspection and most likely dev-libs/dbus-glib especially since you're downgrading from gnome3.

Mine is the following:

Code:
$ equery list glib
 * Searching for glib ...g
[IP-] [  ] dev-libs/glib-2.32.4-r1:2


Actually I did see that about glib and ended up downgrading that a while back. So when I entered equery list glib, I get pretty much the same thing you do:
Code:

# equery list glib
 * Searching for glib ...
[IP-] [  ] dev-libs/glib-2.32.4-r1:2


The only thing I don't have is "*Searching for glib ...g". Mine says *Searching for glib ..." with no "g". Does that mean anything?

Thanks

Todd
Back to top
View user's profile Send private message
gemi
n00b
n00b


Joined: 10 Oct 2012
Posts: 31

PostPosted: Wed Oct 10, 2012 11:54 pm    Post subject: Reply with quote

this patch of deskbar-applet-2.32.0 worked for me:

delete line 2 of
../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.c

modify line 5 of
../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.h
to be
#include <glib.h>
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Thu Oct 11, 2012 9:47 am    Post subject: Reply with quote

gemi wrote:
this patch of deskbar-applet-2.32.0 worked for me:

delete line 2 of
../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.c

modify line 5 of
../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.h
to be
#include <glib.h>


Hi, thank you so much for the input, but after some looking, I must apologise, but I am not sure what I am supposed to patch here, as I can not find ../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.c or ../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.h, unless it's hidden here somewhere and I just don't know where to look.

Thanks so much for the input, sorry I can't find exactly what I am to modify, but I am willing to do so.

Todd
Back to top
View user's profile Send private message
gemi
n00b
n00b


Joined: 10 Oct 2012
Posts: 31

PostPosted: Thu Oct 11, 2012 10:47 pm    Post subject: Reply with quote

the ebuild is here: /usr/portage/gnome-extra/deskbar-applet/deskbar-applet-2.32.0.ebuild section src_prepare(), just add it to the end

when running the emerge command the source gets unpacked into:
/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/ in that folder you can find the files to patch under

work/deskbar-applet-2.32.0/deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.c
../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.h
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Oct 13, 2012 1:39 pm    Post subject: Reply with quote

gemi wrote:
the ebuild is here: /usr/portage/gnome-extra/deskbar-applet/deskbar-applet-2.32.0.ebuild section src_prepare(), just add it to the end

when running the emerge command the source gets unpacked into:
/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/ in that folder you can find the files to patch under

work/deskbar-applet-2.32.0/deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.c
../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.h


Okay, that is very helpful, and I hate to be a bother, but please bear with me, in /usr/portage/gnome-extra/deskbar-applet/deskbar-applet-2.32.0.ebuild section src_prepare(), what exactly do I need to add to the end? section src_prepare() currently looks like this:
Code:

src_prepare() {
        gnome2_src_prepare

        # disable pyc compiling
        mv py-compile py-compile.orig
        ln -s $(type -P true) py-compile

        python_convert_shebangs -r 2 .
}


Again, please forgive me for my failure to understand, and I do appreciate all the help!

Thanks
Todd
Back to top
View user's profile Send private message
gemi
n00b
n00b


Joined: 10 Oct 2012
Posts: 31

PostPosted: Mon Oct 15, 2012 6:06 am    Post subject: Reply with quote

you need to create a patch for each of the files mentioned

launch the epatch command in the ebuild file.

I think I put it as the last line in src_prepare() {} just after the python_convert_shebangs command.

you need to create a new manifest for the ebuild file with ebuild deskbar-applet-2.32.0.ebuild digest


after that you can emerge the package
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Tue Oct 16, 2012 2:10 am    Post subject: Reply with quote

gemi: are you suggesting he modify the ebuild inside $PORTDIR?

OP: note that any changes made to files in $PORTDIR, unless protected by a --exclude option, will be reverted when you next synchronize your tree. If you need to make a modified ebuild, place it in a local overlay. For the limited purpose you need, you could also use the Portage bashrc functionality so that you do not modify the ebuild at all.
Back to top
View user's profile Send private message
gemi
n00b
n00b


Joined: 10 Oct 2012
Posts: 31

PostPosted: Tue Oct 16, 2012 2:31 am    Post subject: Reply with quote

I am aware of loosing the fix after a portage sync.

I just did a quick fix in there. Ideally someone fixes this upstream in portage.

You can of course use your own overlay in the meantime.
Back to top
View user's profile Send private message
spike88
n00b
n00b


Joined: 16 Oct 2012
Posts: 17

PostPosted: Tue Oct 16, 2012 4:55 am    Post subject: Reply with quote

gemi wrote:
this patch of deskbar-applet-2.32.0 worked for me:

delete line 2 of
../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.c

modify line 5 of
../deskbar-applet-2.32.0/deskbar/handlers/evolution/evolution.h
to be
#include <glib.h>


Just wanted to say thank you Gemi the above worked for me.

-edit-

sorry responded to quick how to I get it not to write over /var/tmp?
_________________
Gentoo Rocks thanks!
Back to top
View user's profile Send private message
Navar
Guru
Guru


Joined: 20 Aug 2012
Posts: 353

PostPosted: Fri Oct 26, 2012 8:44 pm    Post subject: Reply with quote

todd93 wrote:

The only thing I don't have is "*Searching for glib ...g". Mine says *Searching for glib ..." with no "g". Does that mean anything?


The copy/paste gremlin must have bit me. 8O
_________________
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Fri Oct 26, 2012 10:00 pm    Post subject: Reply with quote

Navar wrote:
todd93 wrote:

The only thing I don't have is "*Searching for glib ...g". Mine says *Searching for glib ..." with no "g". Does that mean anything?


The copy/paste gremlin must have bit me. 8O


Gotcha, Still stuck on it here as I don't understand totally how to create the epatch, and haven't had a lot of time to work on it.

Thanks

Todd
Back to top
View user's profile Send private message
Navar
Guru
Guru


Joined: 20 Aug 2012
Posts: 353

PostPosted: Fri Oct 26, 2012 10:52 pm    Post subject: Reply with quote

Something still doesn't make sense to me with the OP's issue.

Thinking about this simplistically; if it were a bug in the existing e-build, the old build style with seperate includes as discussed prior should have caused a re-build of deskbar-applet to fail. However; try as I might, I could not cause the respective build failure whether the evolution data server flag (eds) use flag was on or off. This would also be a long standing bug which should have been noticed after the glib API changes occurred.

SHA checksums match a recent sync'ed manifest file versus the distribution /usr/portage/distfiles/deskbar-applet-2.32.0.tar.bz2 I have from back in March 2011. Obviously the ebuild would have fetched anew if they were not.

Building my own simple test stub (main() and includes) including glib.h and glib/gstring.h produced the expected build error (after looking at my system installed glib.h header and the OP having same glib build version installed, I needed further convincing):
Code:

gcc test2glib.c -o test2glibc `pkg-config --cflags --libs glib-2.0`
In file included from test2glib.c:3:0:
/usr/include/glib-2.0/glib/gstring.h:28:2: error: #error "Only <glib.h> can be included directly."

The package in question is actually chock full of python related routines with only this small portion for evolution support in C utilizing glib.

So the question is to any experienced gnome2 applet developer (glib, python, libtool, etc.) + ebuild folks out there: how could my (and I presume a majority of others) system rebuild the aforementioned version of the deskbar-applet which needs a source patch correction due to glib header changes when it should be expected to fail? Makefiles not really rebuilding the deskbar-applet-2.32.0/deskbar/handlers portion? That's what seems to be occurring at a fast glance--gcc isn't even evaluating evolution.h/.c during the rebuild.

Code:

Making all in handlers
make[4]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
Making all in actions
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/actions'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/actions'
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
make[4]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
[...]
Making install in handlers
make[3]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
Making install in actions
make[4]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/actions'
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/actions'
make[5]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/python2.7/site-packages/deskbar/handlers/actions" || /bin/mkdir -p "/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/image//usr/lib/python2.7/site-packages/deskbar/handlers/actions"
 /usr/bin/install -c -m 644 __init__.py ActionsFactory.py CopyToClipboardAction.py GoToLocationAction.py OpenDesktopFileAction.py OpenFileAction.py OpenWithApplicationAction.py OpenWithNautilusAction.py SendEmailToAction.py SendFileViaEmailAction.py ShowUrlAction.py '/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/image//usr/lib/python2.7/site-packages/deskbar/handlers/actions'
make[5]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/actions'
make[4]: Leaving directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers/actions'
make[4]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
make[5]: Entering directory `/var/tmp/portage/gnome-extra/deskbar-applet-2.32.0/work/deskbar-applet-2.32.0/deskbar/handlers'
make[5]: Nothing to be done for `install-exec-am'.



Anyone actually built a fresh gentoo install with gnome2 recently and not run into the OP's build failure?

To OP: have you ran python-updater when needed? I'm grasping straws at this point.

TL;DR -- how can deskbar-applet-2.32.0 successfully build using its prior glib header format when dev-libs/glib-2.32.4-r1 is installed?
_________________
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message
Navar
Guru
Guru


Joined: 20 Aug 2012
Posts: 353

PostPosted: Sat Oct 27, 2012 1:18 am    Post subject: Reply with quote

Nevermind... devs are on the ball :) https://bugs.gentoo.org/show_bug.cgi?id=439194

My prior post was beginning to question the sanity of today's build processes. :?

OP (todd93), check that you've done a recent emerge --sync since at least October 23rd.

Then check that /usr/portage/gnome-extra/deskbar-applet/files/deskbar-applet-2.32.0-glib-2.32.patch exists as there was no revision bump.

That applies a source patch prior to build phase to resolve this issue (via the src_prepare epatch call in the ebuild) and makes my prior post moot (that's why it's working, the fix is out there and I didn't notice). If you examine it you'll see somewhat (same result) changes applied as to what was mentioned above.
_________________
Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Oct 27, 2012 12:30 pm    Post subject: Reply with quote

Navar wrote:
Nevermind... devs are on the ball :) https://bugs.gentoo.org/show_bug.cgi?id=439194

My prior post was beginning to question the sanity of today's build processes. :?

OP (todd93), check that you've done a recent emerge --sync since at least October 23rd.

Then check that /usr/portage/gnome-extra/deskbar-applet/files/deskbar-applet-2.32.0-glib-2.32.patch exists as there was no revision bump.

That applies a source patch prior to build phase to resolve this issue (via the src_prepare epatch call in the ebuild) and makes my prior post moot (that's why it's working, the fix is out there and I didn't notice). If you examine it you'll see somewhat (same result) changes applied as to what was mentioned above.


Well, I didn't have that patch, however, synced this morning, emerge -uDNv world, and all is well, thanks so much to everyone for their input!!

This one is SOLVED!!

Todd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum