Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
We need better emerge 'ERROR' messages for new users
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Wed Jan 02, 2008 1:24 am    Post subject: We need better emerge 'ERROR' messages for new users Reply with quote

kalos wrote:
Regarding the error message, it would helpful to have a few lines above the ERROR: portion.
All new users are lead to believe the part after "ERROR:..." is the relevant portion.
I think it would be best if emerge itself said something like "look above to see the first instance of the word 'error' and start quoting from there onwards for assistance."

How could such a change be implemented? Should a Gentoo bug be reported for the 'portage' package?
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.


Last edited by OmSai on Thu Jan 03, 2008 9:50 pm; edited 2 times in total
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Wed Jan 02, 2008 1:28 am    Post subject: Reply with quote

I agree with that suggestion; I know that when I was first getting into Gentoo, I posted many times without the useful part of the error message for that exact reason. Portage does say something along the lines of "if you need help, post the top-most error...," but that doesn't mean much to a n00b. Maybe a moderator can split this post off and put it under "Other things Gentoo."
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Wed Jan 02, 2008 3:16 am    Post subject: Reply with quote

erehwon wrote:
...By the way, is it possible to copy an error message while in a cli environment and then post it to the forums through that links browser? That could be useful next time I run into a big problem.
You will notice that the error message states the log where the full error is saved.
You can save a copy of the relevant portion of that log using your text editor (nano for example).

Pasting the log into lynx...is difficult because the browser doesn't have the functionality of a clipboard.
Your best bet would be to use a cli pastebin script and simply include the http link of your file in your forum post:
http://bbs.archlinux.org/viewtopic.php?pid=312456
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Wed Jan 02, 2008 6:57 am    Post subject: Reply with quote

Split from topic "Issues during xorg-x11 install".
Back to top
View user's profile Send private message
fuzzythebear
Guru
Guru


Joined: 28 Nov 2004
Posts: 317

PostPosted: Wed Jan 02, 2008 2:43 pm    Post subject: easy way to post on the net from the terminal. Reply with quote

emerge nopaste .. then posting an error is as simple as
nopaste /file/name and bingo .. tells you the url

i found nothing easier to use.
_________________
There's this once i thought i had made a mistake .. but i was wrong :|
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Thu Jan 03, 2008 6:03 pm    Post subject: Re: easy way to post on the net from the terminal. Reply with quote

fuzzythebear wrote:
emerge nopaste .. then posting an error is as simple as
nopaste /file/name and bingo .. tells you the url

i found nothing easier to use.


I was unaware of this option; guess I will have to read up on it. Thanks for bringing it to my attention. :)
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Thu Jan 03, 2008 9:07 pm    Post subject: Reply with quote

Not that nopaste in cli isn't brilliant...
I wouldn't recommend it for forum use.

I don't like the idea of gentoo/portage related error text being posted outside of the forum.
Who's to say that google, etc would index those errors?
In this forum, I search certain keywords of the error text like specific file names, libaries, etc.
...and that's been working out very well for me.

So nopaste works for IRC, not forum threads.
The exception would be headless systems, and the rare case of X failing.
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Thu Jan 03, 2008 9:32 pm    Post subject: Reply with quote

After looking into the nopaste method, I would have to agree with om. I would much rather keep the errors here in the community so that they are easily, overtly, and readily searched. The originally proposed idea was to place a line instructing the user to look above the first instance of "ERROR:" for reporting the problem. As I am not a portage developer, I'm not sure how difficult it would be to implement this or any other solution. Are there any other methods that could be used to indicate the relevant portion of the error message to the user?
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Thu Jan 03, 2008 10:24 pm    Post subject: Reply with quote

The problem is that even though portage says "post the topmost build error", it does not obviously refer to the lowercase error, and so n00bs post "ERROR:..." instead.
I knocked off a random error message for illustration of what I think would be a good change -

Before
Quote:
make[1]: Leaving directory `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8'
>>> Source compiled.
>>> Test phase [not enabled]: kde-base/kitchensync-3.5.8

>>> Install kitchensync-3.5.8 into /var/tmp/portage/kde-base/kitchensync-3.5.8/image/ category kde-base
Making install in libqopensync
make[1]: Entering directory `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8/kitchensync/libqopensync'
/usr/qt/3/bin/moc ./callbackhandler.h -o callbackhandler.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kitchensync/src -I../../kitchensync -I../.. -I/usr/include/opensync-1.0 -I../../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o callbackhandler.lo callbackhandler.cpp
callbackhandler.cpp:22:29: error: osengine/engine.h: No such file or directory
callbackhandler.cpp: In member function 'void QSync::CallbackHandler::setEngine(QSync::Engine*)':
callbackhandler.cpp:114: error: 'osengine_set_conflict_callback' was not declared in this scope
callbackhandler.cpp:115: error: 'osengine_set_changestatus_callback' was not declared in this scope
callbackhandler.cpp:116: error: 'osengine_set_mappingstatus_callback' was not declared in this scope
callbackhandler.cpp:117: error: 'osengine_set_enginestatus_callback' was not declared in this scope
callbackhandler.cpp:118: error: 'osengine_set_memberstatus_callback' was not declared in this scope
make[1]: *** [callbackhandler.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8/kitchensync/libqopensync'
make: *** [install-recursive] Error 1
*
* ERROR: kde-base/kitchensync-3.5.8 failed.
* Call stack:
* ebuild.sh, line 46: Called src_install
* environment, line 4407: Called kde-meta_src_install
* environment, line 2924: Called kde-meta_src_install 'src_install' 'src_install'
* environment, line 2933: Called die
* The specific snippet of code:
* make DESTDIR=${D} destdir=${D} install || diefunc "$FUNCNAME" "$LINENO" "$?";
* The die message:
* (no error message)
*
* 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/kde-base/kitchensync-3.5.8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/kde-base/kitchensync-3.5.8/temp/environment'.
*


After
Quote:
make[1]: Leaving directory `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8'
>>> Source compiled.
>>> Test phase [not enabled]: kde-base/kitchensync-3.5.8

>>> Install kitchensync-3.5.8 into /var/tmp/portage/kde-base/kitchensync-3.5.8/image/ category kde-base
Making install in libqopensync
make[1]: Entering directory `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8/kitchensync/libqopensync'
/usr/qt/3/bin/moc ./callbackhandler.h -o callbackhandler.moc
/bin/sh ../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kitchensync/src -I../../kitchensync -I../.. -I/usr/include/opensync-1.0 -I../../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o callbackhandler.lo callbackhandler.cpp
callbackhandler.cpp:22:29: error: osengine/engine.h: No such file or directory
callbackhandler.cpp: In member function 'void QSync::CallbackHandler::setEngine(QSync::Engine*)':
callbackhandler.cpp:114: error: 'osengine_set_conflict_callback' was not declared in this scope
callbackhandler.cpp:115: error: 'osengine_set_changestatus_callback' was not declared in this scope
callbackhandler.cpp:116: error: 'osengine_set_mappingstatus_callback' was not declared in this scope
callbackhandler.cpp:117: error: 'osengine_set_enginestatus_callback' was not declared in this scope
callbackhandler.cpp:118: error: 'osengine_set_memberstatus_callback' was not declared in this scope
make[1]: *** [callbackhandler.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kitchensync-3.5.8/work/kitchensync-3.5.8/kitchensync/libqopensync'
make: *** [install-recursive] Error 1

Emerging kde-base/kitchensync-3.5.8 failed.

Call stack:
* ebuild.sh, line 46: Called src_install
* environment, line 4407: Called kde-meta_src_install
* environment, line 2924: Called kde-meta_src_install 'src_install' 'src_install'
* environment, line 2933: Called die
* The specific snippet of code:
* make DESTDIR=${D} destdir=${D} install || diefunc "$FUNCNAME" "$LINENO" "$?";
* The die message:
* (no error message)
*
* If you need support, post all text from the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/kde-base/kitchensync-3.5.8/temp/build.log'.
* If you do not have an X window manager try using the nopaste program to upload the above error log,
* and then refer to the url of your error for support - emerge nopaste
* The ebuild environment file is located at '/var/tmp/portage/kde-base/kitchensync-3.5.8/temp/environment'.
*


Feel free to tweak/change the desirable output above.
I have no portage development experience either, so I don't know how something like this could be implemented or how feasible it would be.

kalos wrote:
The originally proposed idea was to place a line instructing the user to look above the first instance of "ERROR:" for reporting the problem.
Changed OP subject from "Error reporting." to "We need better emerge 'ERROR' messages for new users"
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Thu Jan 03, 2008 10:48 pm    Post subject: Reply with quote

I really thought about the idea of using different colours, but I wondered if that would even be possible. To change the colours like that, it would probably have to be done retroactively after an error is encountered. BUT, if that is possible, it would be a wonderful addition to Portage, in my opinion. I guess to further this discussion, we need to get some developers in here to help us understand what is possible and what is not.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Tue Jan 08, 2008 2:32 am    Post subject: Reply with quote

Submitted bug 204849 as an 'Enhancement/Feature Request'
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Tue Jan 08, 2008 2:44 am    Post subject: Reply with quote

Good idea submitting the bug report, but I don't think Andrew Gaffney liked your horse. ;)
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Tue Jan 08, 2008 2:58 am    Post subject: Reply with quote

It just wasn't a good time to be horsing around.
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Tue Jan 08, 2008 4:39 am    Post subject: Reply with quote

WOW, that was a terrible pun...I LOVE IT! 8)
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Tue Jan 08, 2008 5:24 am    Post subject: Reply with quote

yes it looked like a bad timing -- though i do not like to think the horse was necessary :(
ofcourse the horse looks nice :)
we could make it a practice to post 10 lines above the ERROR
or all of it if it is a config failed error like

i would like the portage suggest the remedy and ask you to remerge with required parameters/useflags
as in some cases it says so.

even the color idea is attractive and make all the lines to be posted in the forum colored to make sense to reader and poster.

it will be useful to all not only to noobs

the search does not really provide already existing solved same error posts.
google some times find the forum posts of the same error topic better than the forum search.
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Tue Jan 08, 2008 5:32 am    Post subject: Reply with quote

I think the relevant portion of the error message being printed in a different colour is the best idea so far. I had been thinking about this idea for a while and didn't know how difficult it would be to implement, considering it would have to be retroactive--changing AFTER an error occurred. Then I thought about it a little longer, and it seems like the coloured text would only show up IF an error was encountered, so why can't it be that different colour by default? Again, as I am not a Portage developer, I don't understand all the ins and outs...

@padoor,

I don't understand why the horse is such a big deal. It just seemed like a way to make things a little more fun. I would think that reading error reports would be quite disheartening, so seeing a nice ASCII horse (or other creature) could be a relief. Is there some underlying reference that I don't get? :?
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
padoor
Advocate
Advocate


Joined: 30 Dec 2005
Posts: 4185
Location: india

PostPosted: Tue Jan 08, 2008 6:52 am    Post subject: Reply with quote

the same fun does not appear to be funny for everybody at everytime.
it is just Murphy's law[ if something can go wrong it will ]
the horse is superb and i liked it very much
still developer asked if it was necessary. we better leave it at that. :)
as om said it was not right time
_________________
reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Tue Jan 08, 2008 6:59 am    Post subject: Reply with quote

Point taken. ;)
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Tue Jan 08, 2008 7:54 am    Post subject: Reply with quote

kalos wrote:
I don't understand why the horse is such a big deal. It just seemed like a way to make things a little more fun. I would think that reading error reports would be quite disheartening, so seeing a nice ASCII horse (or other creature) could be a relief. Is there some underlying reference that I don't get? :?
That's exactly right, the horse was just random - no reference or other intention.
Anyway, acta est fabula so now back to our topic :P


padoor wrote:
it will be useful to all not only to noobs

the search does not really provide already existing solved same error posts.
google some times find the forum posts of the same error topic better than the forum search.
You're on to something here!

There are many resources to troubleshoot emerge errors - the forum, google, bugzilla, irc, basic understanding of portage, etc
Maybe portage should point the user to general portage/emerge a troubleshooting guide on the gentoo.org website.

Since I'm a relatively new user (I've now been on for ~4 months), I think other newbies might benefit from some of these ideas for a start:
  1. emerge --resume --skipfirst
    If the error throwing package is part of a larger update, continue on and then get back to it.

  2. Portage
    Glance through the portage introduction, for basic understanding and gentool-kit for useful tools like revdep-rebuild and equery
    It will help later, if not now

  3. GCC related errors
    GF20: C compiler cannot create executables
    etc etc
    Hmmm... actually maybe it should include all of the forum FAQ

  4. Java related errors
    To comply with generation 1 VM follow the Java upgrade guide. Check your compilers

  5. Gentoo.org and Gentoo-Wiki.com
    Consult them for context specific help if you are setting up program structures like Samba, ALSA sound, etc

  6. Browse the Forums
    Your error is probably already in discussion and maybe resolved.
    Look at the sticky threads under the category of your program - Multimedia, Networking, Gamers, etc.

  7. To search more thoroughly in the Forums / Google
    Pick out keywords peculiar to your error (name of the first error causing file, or library) and significant other keywords there like segfault, linking, etc
    Search the forum, and then if need be google.

  8. Bugzilla
    Choose the advanced search option in bugs.gentoo.org, and search all errors (i.e. shift-selecting every status) and put those same keywords in.

  9. Steps you can try yourself

    Use stable version instead of ~(arch)

    Disable USE flags
    Try to relate the error file with a use flag option, and try a quick re-emerge by temporary disabling it
    Quickie fix:
    USE="-blah" emerge -av package-please-emerge

    Version downgrade

  10. Important error information for support

    Posting for help on the forum
    - The exact emerge command you were running
    - Context of what you want to do (maybe there's a more developed program in the portage tree to do what you want)
    - All relevant error text (no more, no less)

    IRC
    - The #gentoo channel is often useful if you need support more immediately.
    - Try posting on channels more particular to your program

    Bugzilla
    Instructions provided on that website already

_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Tue Jan 08, 2008 3:09 pm    Post subject: Reply with quote

The problem is the top most error is in the compiler output. The line that says it failed is the first line produced from portage. I'm kind of interested in this idea. I think I'm going to play around with portage to see if I can have it grab the log and find the first error and display that in the portage error message.
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Wed Jan 09, 2008 5:04 am    Post subject: Reply with quote

SLBMEH wrote:
The problem is the top most error is in the compiler output. The line that says it failed is the first line produced from portage. I'm kind of interested in this idea.
Tim Burrell opened bug 139418 to colorize the compiler output specifically for portage
So not only is is the idea already out, it's also feasible.
In fact Tim even had it working in portage
So that's the way to approaching colorizing during compilation but, SLBMEH, I like the idea of parsing the log even better (see below)

However, for assisting n00b users quote the appropriate ERROR output from emerge... colorizing, by itself, isn't the best way to go as Marius Mauch points out
A troubleshooting guide is more holistic solution.
So I'm moving the basic content I put (from 1 posts above) to the gentoo wiki:
http://gentoo-wiki.com/FAQ_Troubleshooting_Emerge_Errors


Below section
It is a necessary to update the "ERROR" message to something more relevant.
Why?
Because then the error is then easily identifiable by users
SLBMEH wrote:
I think I'm going to play around with portage to see if I can have it grab the log and find the first error and display that in the portage error message.
Yes that seems the best way - stripping the relevant section of the error from the log and have that summarizes under "ERROR:..."
Please keep us updated on that.
Note Marius' caveat that not all emerge errors have the word 'error' in them.
So some sort of algorithm would need to be created to account for the different scenarios.
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Wed Jan 09, 2008 8:09 am    Post subject: Reply with quote

Ok, I'm done setting up the page:
http://gentoo-wiki.com/FAQ_Troubleshooting_Emerge_Errors
Took a while since it was my first time using a wiki.

Feel free to add in your contributions 8)
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jan 09, 2008 11:25 am    Post subject: Reply with quote

Moved from Other Things Gentoo to Gentoo Chat, since this isn't a support request.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Jan 09, 2008 12:39 pm    Post subject: Reply with quote

I agree the call-stack is pretty useless. If you have portage logging enabled update will display the last 30 lines of the log if only one package failed, or give you the tail lines for every package which failed on the run. I'll ask about modding the call stack info. zmedico in #gentoo-portage is always open to discussion (when he is about) and patches which don't impact on the central dep resolution are usually welcome if they help users.

We could easily colourise the log error lines as displayed above in update. (This is why I like writing it in bash; it's easy to change stuff and you don't need to ask for dev time to change a script on your system.) I'll look into it after we sort the timing guesstimate, and depclean which i really need on my desktop :P
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Wed Jan 09, 2008 2:24 pm    Post subject: Reply with quote

Thanks, steveL
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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