gnome-main-menu [Solved]

Anything that pertains to Portage

Moderator: Moderators

gnome-main-menu [Solved]

Postby Fitzcarraldo » Sun Feb 10, 2008 17:36

revdep-rebuild on my PC wants to rebuild gnome-main-menu but the rebuild fails as shown below. Any ideas, anyone?

Code: Select all
localhost fitzcarraldo # revdep-rebuild
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/bin/application-browser (requires  libgnutls.so.13)
  broken /usr/libexec/main-menu (requires  libgnutls.so.13)
  broken /usr/lib64/bonobo/librb-nautilus-context-menu.la (requires /usr/lib64/libgstcontrol-0.8.la)
  broken /usr/lib64/bonobo/librb-nautilus-context-menu.la (requires /usr/lib64/libgstgconf-0.8.la)
  broken /usr/lib64/bonobo/librb-nautilus-context-menu.la (requires /usr/lib64/libgstreamer-0.8.la)
  broken /usr/lib/bonobo/librb-nautilus-context-menu.la (requires /usr/lib64/libgstcontrol-0.8.la)
  broken /usr/lib/bonobo/librb-nautilus-context-menu.la (requires /usr/lib64/libgstgconf-0.8.la)
  broken /usr/lib/bonobo/librb-nautilus-context-menu.la (requires /usr/lib64/libgstreamer-0.8.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order...
Warning: Failed to resolve package order.
Will merge in "random" order!
Possible reasons:
- An ebuild is no longer in the portage tree.
- An ebuild is masked, use /etc/portage/packages.keyword
  and/or /etc/portage/package.unmask to unmask it
..... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot  =gnome-extra/gnome-main-menu-9999
..........
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) gnome-extra/gnome-main-menu-9999 to /
 * checking ebuild checksums ;-) ...                                                                                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                     [ ok ]
>>> Unpacking source...
 * subversion update start -->
 *      repository: http://svn.gnome.org/svn/gnome-main-menu/trunk
At revision 386.
 *    working copy: /usr/portage/distfiles/svn-src/gnome-main-menu/trunk

 * Fixing OMF Makefiles ...                                                                                                                                                [ ok ]
 * Applying 02-gnome-main-menu-autogen-noconfigure.patch ...                                                                                                               [ ok ]
 * Applying 03-configure.in-remove-gtk-doc.patch ...

 * Failed Patch: 03-configure.in-remove-gtk-doc.patch !
 *  ( /usr/portage/local/layman/sabayon/gnome-extra/gnome-main-menu/files/03-configure.in-remove-gtk-doc.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gnome-extra/gnome-main-menu-9999/temp/03-configure.in-remove-gtk-doc.patch-23665.out

 *
 * ERROR: gnome-extra/gnome-main-menu-9999 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_unpack
 *             environment, line 2645:  Called epatch 'src_unpack'
 *             environment, line 1460:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: 03-configure.in-remove-gtk-doc.patch!
 *
 * 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/gnome-extra/gnome-main-menu-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-main-menu-9999/temp/environment'.
 *

 * Messages for package gnome-extra/gnome-main-menu-9999:

 * Failed Patch: 03-configure.in-remove-gtk-doc.patch !
 *  ( /usr/portage/local/layman/sabayon/gnome-extra/gnome-main-menu/files/03-configure.in-remove-gtk-doc.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gnome-extra/gnome-main-menu-9999/temp/03-configure.in-remove-gtk-doc.patch-23665.out
 *
 * ERROR: gnome-extra/gnome-main-menu-9999 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_unpack
 *             environment, line 2645:  Called epatch 'src_unpack'
 *             environment, line 1460:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: 03-configure.in-remove-gtk-doc.patch!
 *
 * 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/gnome-extra/gnome-main-menu-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-main-menu-9999/temp/environment'.
 *

revdep-rebuild failed to emerge all packages
you have the following choices:

- if emerge failed during the build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (trys to rebuild package, not exact
  ebuild)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*
localhost fitzcarraldo # 


The contents of /usr/portage/local/layman/sabayon/gnome-extra/gnome-main-menu/files/03-configure.in-remove-gtk-doc.patch are are shown below, so I'm not surprised that gnome-main-menu will not build. But the question is, what do I need to do to solve the problem?

Code: Select all
diff -ru slab-orig/configure.in slab/configure.in
--- slab-orig/configure.in   2006-08-29 01:34:23.451831243 -0600
+++ slab/configure.in   2006-08-29 01:35:00.685578431 -0600
@@ -92,8 +92,6 @@
 dnl End: Gconf
 dnl ==============================================
 
-GTK_DOC_CHECK(1.0)
-
 AC_OUTPUT([
 Makefile
 application-browser/etc/Makefile
Last edited by Fitzcarraldo on Mon Feb 11, 2008 0:31, edited 1 time in total.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7984
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: gnome-main-menu

Postby Fitzcarraldo » Sun Feb 10, 2008 20:48

OK, here's how I got it to rebuild:

1. Un-installed the package: emerge -C gnome-main-menu

2. cd'ed into the SL overlay directory /usr/portage/local/layman/sabayon/gnome-extra/gnome-main-menu/ and deleted the ebuild file, the Manifest file and the contents of the ./files directory.

3. Surfed over to the Gentoo Bugzilla http://bugs.gentoo.org/show_bug.cgi?id=140027 and got the latest version of the following files:

01-control-center-fix.patch
01-gnome-main-menu-autogen-noconfigure.patch
02-configure.in-remove-gtk-doc.patch
03-tracker-search.patch
04-disable-search.patch

and put them in /usr/portage/local/layman/sabayon/gnome-extra/gnome-main-menu/files/

4. Also got the latest ebuild from the Gentoo Bugzilla -- different (newer?) from the SL version installed by the 3.4f LiveDVD -- and put it in /usr/portage/local/layman/sabayon/gnome-extra/gnome-main-menu/

5. ebuild gnome-main-menu-9999.ebuild manifest

6. USE="doc" emerge -1v gnome-main-menu
Last edited by Fitzcarraldo on Sun Feb 10, 2008 23:28, edited 1 time in total.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7984
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: gnome-main-menu

Postby wolfden » Sun Feb 10, 2008 21:14

weird how some are having issues with gnome like that - I have no issues compiling gnome packages, but I know others are.
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: gnome-main-menu [Solved]

Postby Fitzcarraldo » Sat Feb 16, 2008 17:23

Hmmm... After (successfully) re-installing gnome-main-menu-9999 using the method I posted earlier, I realised that I could have tried to do just the following:

USE="doc" emerge -1v gnome-main-menu

which might have worked.

And I could have got the ebuild and patches from the SL Subversion repository rather than from the Gentoo Bugzilla, although the versions in the Gentoo Bugzilla are newer than the ones in the SL repository (despite the date of issue of SL 3.4f being later than the date of the posting of the ebuild and patches in the Gentoo Bugzilla). A quick inspection of the ebuild in the SL repository and the various versions of the ebuilds in the Gentoo Bugzilla on the page I gave the link for earlier shows that the SL ebuild is an earler version. Anyway, just for a challenge I downloaded the patches and ebuild from the SL repository and rebuilt gnome-main-menu-9999 from those. But the version of gnome-main-menu-9999 in the Gentoo Bugzilla is newer and also works on my PC so either method can be used. But, as I mentioned above, try just doing a USE="doc" emerge -1v gnome-main-menu first in case that solves the problem.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7984
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: gnome-main-menu [Solved]

Postby thenthenio » Sun Mar 23, 2008 19:39

Your guess is correct!
I had the same problem and in my case it was solved with just that command!

Many thanks.
Mauro
thenthenio
Old Dear Hen
 
Posts: 522
Joined: Thu Mar 01, 2007 23:11
Location: Melegnano (MI) Italy

Re: gnome-main-menu [Solved]

Postby DontPanic » Sun Nov 16, 2008 0:05

I know this is an old thread, but I have some updates.

It's probably been a while since gnome-main-menu-9999 would build. The current SVN TRUNK version has many dependencies on masked packages and packages that just don't exist yet (like networkmanager-7.0).

I've put together an ebuild for gnome-main-menu-0.9.9, which corresponds to the version prepared for gnome 2-22. This ebuild should work on most systems right now.

It is still svn-based, but it pulls in the branch that was designated as 0.9.9.

I've also fixed the bug with the 'doc' USE Flag, so you can now build with USE='-doc' on this version.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest