dev-ruby/ruby-panel-applet-0.34 tries to find it's libraries by using gnome-config, thus: gnome-config --libs applets This seems to have 3 problems: 1. I think the library it wants is panel-applet; 2. The ebuild needs a DEPEND for gnome-applets (just ruby-gnome is not enough) 3. 'gnome-config --libs panel-applet' cannot find panel-applet (at least, it can't on any of my systems) Reproducible: Always Steps to Reproduce: 1.For me, in PORTDIR_OVERLAY add ~sparc to dev-ruby/ruby-panel-applet-0.34.ebuild 2.ACCEPT_KEYWORDS='~sparc' emerge ruby-panel-applet 3. Actual Results: portage thinks ruby-panel-applet is installed, but it is not because the application never got built: It looks like this--- ========================== >>> Unpacking ruby-gnome-all-0.34.tar.gz to /var/tmp/portage/ruby-panel-applet-0.34/work >>> Source unpacked. Unknown library `applets' Unknown library `applets' checking for XOpenDisplay() in -lX11... no *** Could not find libX11. You can specify its path using --with-X11-lib=/path/ >>> Test phase [not enabled]: dev-ruby/ruby-panel-applet-0.34 >>> Install ruby-panel-applet-0.34 into /var/tmp/portage/ruby-panel-applet-0.34/image/ category dev-ruby make: *** No rule to make target `site-install'. Stop. /usr/lib/portage/bin/dodoc: README does not exist. man: prepallstrip: strip: strip: >>> Completed installing into /var/tmp/portage/ruby-panel-applet-0.34/image/ >>> Merging dev-ruby/ruby-panel-applet-0.34 to / --- /usr/ --- /usr/share/ --- /usr/share/doc/ >>> /usr/share/doc/ruby-panel-applet-0.34/ >>> /usr/share/doc/ruby-panel-applet-0.34/sample/ >>> /usr/share/doc/ruby-panel-applet-0.34/sample/clock-applet.rb >>> /usr/share/doc/ruby-panel-applet-0.34/COPYING.LIB.gz >>> /usr/share/doc/ruby-panel-applet-0.34/ChangeLog.gz * Caching service dependencies... >>> dev-ruby/ruby-panel-applet-0.34 merged. >>> Recording dev-ruby/ruby-panel-applet in "world" favorites file... ==================================== And --- no surprise --- if you try to use it, fmccor@fer-de-lance sample $ ruby clock-applet.rb clock-applet.rb:6:in `require': No such file to load -- panel-applet (LoadError) from clock-applet.rb:6 Expected Results: It should find its libraries and build, of course. fmccor@fer-de-lance NS-EXAMPLES $ emerge info Portage 2.0.51_pre12 (default-sparc64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.6) ================================================================= System uname: 2.6.6 sparc64 sun4u Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.7-r4 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O2 -mtune=ultrasparc -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O2 -mtune=ultrasparc -pipe -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="ccache cvs sandbox" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.netnitco.net" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="sparc X Xaw3d avi berkdb crypt encode fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libwww mad mikmod motif mozilla mpeg mpi mysql ncurses nls opengl pam pdflib perl png python qt readline ruby ruby18 sdl slang spell sqlite ssl tcltk tcpd tetex tiff truetype xml2 xmms xv zlib" (Everything else in the ruby-gnome-all-0.34 collection builds and runs fine)
I am almost certain this is not sparc-specific, but I am copying sparc for informational purposes.
Add CC to ruby@gentoo.org (it's probably theirs, anyway, I suppose.)
I should have mentioned: The gnome dependencies for the package are fresh installs, thus: Sun May 9 15:52:50 2004 --> gnome-base/gnome-libs-1.4.2 Sat Jun 26 16:59:46 2004 --> gnome-base/gnome-libs-1.4.2 Sat Jun 26 16:07:19 2004 --> gnome-base/gnome-applets-2.4.2
I don't think it's gnome-applets but gnome-panel (=1.4*) that is missing on your system. Does emerging gnome-panel (=1.4*) fix the problem?
Emerging gnome-panel-1.4.2-r2 makes this compile for me on a ~sparc box.
Still broken with gnome-panel-2.8.2, though.
Wow, this bug is like over a year old. And I'm pretty sure it's an ebuild thing becaused wehn I unpack the source and manually run configure it works fine. Any love?
Current gnome-panel is gnome-base/gnome-panel-2.10.2. This installs a library /usr/lib/libpanel-applet-2.so.0.1.5. An attempt to 'emerge ruby-panel-applet' with version 0.34 appropriately keyworded gives: ============================================== >>> md5 src_uri ;-) ruby-gnome-all-0.34.tar.gz >>> Unpacking source... >>> Unpacking ruby-gnome-all-0.34.tar.gz to /var/tmp/portage/ruby-panel-applet-0.34/work >>> Source unpacked. extconf.rb:23: warning: Insecure world writable dir /homes/cache/bin, mode 040777 Unknown library `applets' extconf.rb:24: warning: Insecure world writable dir /homes/cache/bin, mode 040777 Unknown library `applets' checking for XOpenDisplay() in -lX11... yes checking for XOpenDevice() in -lXi... yes checking for XextFindDisplay() in -lXext... yes checking for XmuInternAtom() in -lXmu... yes checking for g_print()... no ========================================================= It wants 'gnome-config --libs applets. But to get /usr/lib/appletsConf.sh, you need gnome-base/gnome-panel-1.4.2-r2. So, ruby-panel-applet needs to depend on exactly that version of gnome-panel in order to build. (The warnings are because I do have such a directory on this system.) I have verified that if you just have emerged gnome-panel, you get gnome-panel-2.10.2, which does not have appletsConf.sh, but if you also force gnome-panel-1.4.2-r2, ruby-panel-applet builds fine. So, this bug boils down to a problem in the Dependencies in the ebuild. It looks like it needs DEPEND="... =gnome-base/gnome-panel-1.4.2-r2 ..." If you (or I or someone) makes this change, I'll verify it, close this bug, and give ruby-panel-applet its ~sparc.
As a member of the ruby herd I'd be grateful if you can get us rid of this bug, Ferris! Thanks!
This is fixed on sparc by adding a dependency "sparc? ( =gnome-base/gnome-panel-1.4.2-r2 )". I think all architectures should require this, but I cannot verify. Hence, I am leaving the bug open, but removing sparc from the CC list and adding ~sparc to the ebuild for 0.34. Sorry I can't close completely, but I cannot test on other architectures. I'm pretty sure that this is not sparc-specific, though, and that the dependency has to be unconditional in order for this to build.
rar I feel dumb, I was looking for panel-applet2 for gnome2 for ruby I dont have gnome1 installed, so thats probably why it failed. Still, a) ruby-gnome is out with 0.13 now, and b) since it's shipped as one package, why all the separate ebuilds, and can we get one for the panel-applet module since there doesnt seem to be one? Or do I need to enter another bug. Anything I might be able to do to help in my not trained in gentoo zen way?
(In reply to comment #11) > a) ruby-gnome is out with 0.13 now, We know. > b) since it's shipped as one package, why all the separate ebuilds When you actually download and unpack that "one package", you'll find there are folders corresponding to the different ebuilds, where each will have to be installed seperately. Hope that makes more sense now. I planned to do the ruby-gnome-0.13.0 version bump since it came out, but I never really found the time for it. If nobody beats me to it, you'll have to wait a little longer I'm afraid...
Ha, ok, makes decent sense. Only wondered becasue this way some packages got left out that did get shipped. Is it more the renaming all the ebuilds and making sure they install? BecauseI can try that and test it in my portage overlay. Is there anything else I could do to help? Also, is there code in portage that runs on this stuff so I can test it works for you?
Haplo, ruby-gnome2-0.14.1 has just been commited. The included ruby-panel-applet2 should take care of your problems, if not feel free to reopen this bug.