Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289287 - x11-libs/libcompizconfig-0.8.4 protobuf warning
Summary: x11-libs/libcompizconfig-0.8.4 protobuf warning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-16 10:16 UTC by Andrey Ovcharov
Modified: 2011-01-11 19:54 UTC (History)
2 users (show)

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


Attachments
libcompizconfig-0.8.4 make log (libcompizconfig-0.8.4-make.log,36.20 KB, text/plain)
2009-10-16 10:17 UTC, Andrey Ovcharov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Ovcharov 2009-10-16 10:16:41 UTC
Firstly thank you Romain Perier! Almost all works without problems (I have not tested KDE stuff) I used this one ebuild

http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/x11-libs/libcompizconfig/libcompizconfig-0.8.4.ebuild?rev=1.1

And in addition to this I have already been installed dev-libs/protobuf-2.2.0
And when I installed libcompizconfig-0.8.4 saw this warning:

checking for _ZN6google8protobuf7MessageD2Ev in -lprotobuf... no

WARNING: You need to install Protocol Buffers to get faster program startup.
 Sources are available at http://code.google.com/p/protobuf/downloads/list
 Package names for Ubuntu/Debian: libprotobuf0, libprotobuf-dev, protobuf-compiler
 Package names for other distributions: protobuf, protobuf-devel
 Disabling protobuf.

For libcompizconfig-0.8.2 I found a patch

http://cvs.fedoraproject.org/viewvc/rpms/libcompizconfig/F-12/protobuf_version.patch?revision=1.1

But I could not do anything for 0.8.4.
Perhaps need make x11-libs/libcompizconfig-0.8.4 dependent from dev-libs/protobuf?

Reproducible: Always




 emerge --info
Portage 2.2_rc46 (default/linux/amd64/10.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T3200_@_2.00GHz-with-gentoo-2.1.6
Timestamp of tree: Thu, 15 Oct 2009 05:30:08 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.5.0-r2
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests candy ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1"
LINGUAS="ru uk en"
MAKEOPTS="-j3 -s"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
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/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alac alsa amd64 amr amrnb amrwb aoss archive asf audit autotrace avahi bindist bluetooth bonjour branding bzip2 cairo cdda cdr cleartype cli consolekit cracklib crypt cups dbus dga dirac directfb divx djvu dmx dri dts dv dvd dvdr dvdread dvi encode epiphany exif faac faad fam ffmpeg fftw flac fontconfig fortran fpx fuse gdbm gedit gif glitz gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gsm gstreamer gtk hal hardcoded-tables hdri iconv ieee1394 imagemagick introspection ipv6 isdnlog jbig jpeg jpeg2k lame lcms libnotify lqr lzma lzo mad matroska mikmod mmx modules mp3 mp4 mpeg mudflap multilib musepack nautilus ncurses network new-login nls nntp nptl nptlonly nsplugin ogg openexr opengl openmp pam pcre pdf png pppd pulseaudio q32 q8 quicktime raw readline reflection samba schroedinger session smp socks5 speex spell spl sqlite sse sse2 ssl ssse3 startup-notification svg symlink sysfs t1lib taglib tcl tcpd theora threads tiff tk truetype unicode usb v4l v4l2 vcd vhook vorbis wavpack webkit wmf x264 xattr xcb xcomposite xinerama xml xorg xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon directory ptp2 template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru uk en" LIRC_DEVICES="audio_alsa devinput inputlirc usb usbx" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k mips mipsel ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus sparc64 x86_64" USERLAND="GNU" VIDEO_CARDS="fbdev nv vesa vga nvidia v4l" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey Ovcharov 2009-10-16 10:17:59 UTC
Created attachment 207289 [details]
libcompizconfig-0.8.4 make log
Comment 2 Marco Paolone 2009-10-16 15:03:34 UTC
Sorry for intervention... here's explained the pros of having protobuf installed along libcompizconfig

http://dev.compiz-fusion.org/~cornelius/2008/10/19/startup-time-improvements-part-1/

since protobuf is already in portage, why not to try to enable it by default?
Comment 3 Andrey Ovcharov 2009-10-16 15:15:14 UTC
(In reply to comment #2)
> Sorry for intervention... here's explained the pros of having protobuf
> installed along libcompizconfig
> 
> http://dev.compiz-fusion.org/~cornelius/2008/10/19/startup-time-improvements-part-1/
> 
> since protobuf is already in portage, why not to try to enable it by default?
> 

I install dev-libs/protobuf before emerge =x11-libs/libcompizconfig-0.8.4 but ebuild not found protobuf
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-11-01 15:48:34 UTC
Could you give the output of the following command :
$ objdump -T /usr/lib/libprotobuf.so | grep _ZN6google8protobuf7MessageD2Ev

weird... it works just fine here...
Comment 5 Andrey Ovcharov 2009-11-01 16:41:39 UTC
(In reply to comment #4)
> Could you give the output of the following command :
> $ objdump -T /usr/lib/libprotobuf.so | grep _ZN6google8protobuf7MessageD2Ev
> 
> weird... it works just fine here...
> 

> objdump -T /usr/lib/libprotobuf.so | grep _ZN6google8protobuf7MessageD2Ev
0000003727caac80 g    DF .text	0000000000000013  Base        _ZN6google8protobuf7MessageD2Ev

> emerge dev-libs/protobuf -pv

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

Calculating dependencies                ... done!
[ebuild   R   ] dev-libs/protobuf-2.2.0  USE="-emacs -examples -java -python -source -vim-syntax" 1,319 kB

Total: 1 package (1 reinstall), Size of downloads: 1,319 kB

Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-04-03 04:43:15 UTC
I've added the missing dep to libcompizconfig-0.8.4-r1.

ppc / ppc64 please keyword dev-libs/protobuf and then add your keywords back to x11-libs/libcompizconfig-0.8.4-r1
Comment 7 razamatan 2010-04-07 07:12:15 UTC
background: some of us running compiz-fusion on stable via portage package.keywords don't want to install any more ~arch packages than we need to... i'm specifically on amd64.

1.  why can't protobuf be optionally depended on via a use flag?
2.  why was intltool version bumped in the 0.8.4-r1 ebuild?  0.40.5 seems perfectly fine for me w/ compiz 0.8.4...
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-04-07 10:24:17 UTC
(In reply to comment #7)
> background: some of us running compiz-fusion on stable via portage
> package.keywords don't want to install any more ~arch packages than we need
> to... i'm specifically on amd64.

I understand, but compiz was never marked stable, so by using it you've already exposed yourself to "testing" packages.

> 1.  why can't protobuf be optionally depended on via a use flag?

As this package allows for faster libcompizconfig startup, it seems a good choice to have a hard dep on it. If enough people complain, I can be persuaded into making it optional.

> 2.  why was intltool version bumped in the 0.8.4-r1 ebuild?  0.40.5 seems
> perfectly fine for me w/ compiz 0.8.4...

From the ChangeLog the intltool dependency was raised for 0.8.4:

  18 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
  libcompizconfig-0.8.4.ebuild:
  Raise intltool depend to 0.41.0 wrt #295819, thanks to Diego E. Pettenò
  for reporting.
Comment 9 razamatan 2010-04-07 15:46:51 UTC
1.  right.  but what i'm saying (if you read the background i wrote) is that i'd much rather run with the smallest set of testing packages to get this eye candy working.

2.  straight from the cited bug, but recent entry:

------- Comment  #4 From EoD  2010-04-05 17:09:49 0000  [reply] -------

This bug is not fixed with >=dev-util/intltool-0.41 !

With >=intltool-0.41 and FEATURES="test" enabled, the ebuild does definitely
not compile. I get the same error as seen in the log above.
You maybe want to restrict the tests as recommended by Diego E. Pettenò.




(In reply to comment #8)
> (In reply to comment #7)
> > background: some of us running compiz-fusion on stable via portage
> > package.keywords don't want to install any more ~arch packages than we need
> > to... i'm specifically on amd64.
> 
> I understand, but compiz was never marked stable, so by using it you've already
> exposed yourself to "testing" packages.
> 
> > 1.  why can't protobuf be optionally depended on via a use flag?
> 
> As this package allows for faster libcompizconfig startup, it seems a good
> choice to have a hard dep on it. If enough people complain, I can be persuaded
> into making it optional.
> 
> > 2.  why was intltool version bumped in the 0.8.4-r1 ebuild?  0.40.5 seems
> > perfectly fine for me w/ compiz 0.8.4...
> 
> From the ChangeLog the intltool dependency was raised for 0.8.4:
> 
>   18 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
>   libcompizconfig-0.8.4.ebuild:
>   Raise intltool depend to 0.41.0 wrt #295819, thanks to Diego E. Pettenò
>   for reporting.
> 

Comment 10 Joe Jezak (RETIRED) gentoo-dev 2010-05-14 19:55:49 UTC
All other issues aside, protobuf passes its tests on ppc/ppc64 and has been marked. I've added our keywords back as well.
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-01-11 19:54:13 UTC
As the issue reported in this bug has been fixed and we should be moving to the 0.9 series, I'm closing this bug.
There's no protobuf dep on 0.9.2 and 9999 ebuilds in the overlay.