Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Gentoo This forum is for the discussion of Gentoo Linux.


  Search this Thread
Old 06-15-2009, 08:43 PM   #1
Registered: May 2009
Posts: 123

Rep: Reputation: 18
ebuild errors

I've been using Gentoo for some time now. But I realise when I meet up with an ebuild error, the only thing I know to do is post it on a forum.

What should I look to, to be able to fix the problems myself?
Old 06-15-2009, 10:31 PM   #2
Gentoo support team
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
Hi, first, you check with google if someone has the error.

Also, you can go to and search for the name of the package that is crashing.

50% of the time, you can solve the problem with google and the bugzilla site and for the rest, you ask for help and that's pretty fine, because I'm sure that a lot of people can have the same problem as your.
Old 06-18-2009, 01:52 AM   #3
Registered: Feb 2009
Location: Where ever life takes me
Distribution: gentoo,opensuse,ubuntu, arch
Posts: 110

Rep: Reputation: 18
Also you can check the irc. Anther possible choice is to install one version back.
Old 06-18-2009, 06:49 AM   #4
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,079

Rep: Reputation: 401Reputation: 401Reputation: 401Reputation: 401Reputation: 401
The first thing if you want to solve it yourself is to be able to read and understand the output.

When an ebuild fails there are at least two parts that you must be able to separate. Those are the compiler output and the portage one. It's very important to read the messages and identify where the error comes from. Once done that, then it just takes time and experience to be able to identify the ultimate cause of the problem. But sometimes it can get really tricky.

Last edited by i92guboj; 06-28-2009 at 11:19 AM. Reason: typo
Old 06-26-2009, 12:48 AM   #5
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Rep: Reputation: 20
The statements above about learning how to read the output and to search and Google will help you fix many problems. Also, the revdep-rebuild utility helps when a new revision of something requires rebuilding dependencies (part of the gentoolkit package). If you're stuck after that, you'll probably need to ask.

Here's an example. I was putting off updates because I was too busy to do much more than check my email and some of the updates were going from tetex to texlive and a new pcre version. The tetex to texlive upgrade requires rebuilding programs like kile and pcre is just a dependency that happened to have a newer version available.

libtool: link: cannot find the library `/usr/lib64/'
make[4]: *** [kile] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-editors/kile-2.0.3-r1/work/kile-2.0.3/src/kile'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-editors/kile-2.0.3-r1/work/kile-2.0.3/src/kile'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-editors/kile-2.0.3-r1/work/kile-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-editors/kile-2.0.3-r1/work/kile-2.0.3'
make: *** [all] Error 2
Most of that make stuff isn't relevant (for this purpose anyway). What we care about is the libtool line. A quick Google search for "cannot find the library" (the bold part, quotes included) would probably get you helpful results. However, the output from emerge (Portage messages, not build messages) after the pcre update says pcre no longer installs .la files and to install dev-util/lafilefixer and run it with the --justfixit argument.

In other cases Portage messages will say something useful like a USE flag should be enabled or disabled. The Portage output will have asterisks to the left of the messages. There can be other cases as well, but this is common stuff. I like to send the output from emerge -uvp to a file before an update so I have a reference of what was updated and what versions were involved.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting Program from Ebuild 321 Linux - Distributions 9 07-19-2006 12:38 AM
installing ebuild phsythax Linux - General 1 03-20-2006 05:44 PM ebuild doralsoral Linux - Software 2 03-27-2005 10:33 PM
ebuild foo.ebuild digest problem shooterfpga Linux - Newbie 3 04-14-2004 07:57 AM > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration