Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139180 - gcc-config-1.3.13-r2 suppresses error output from python
Summary: gcc-config-1.3.13-r2 suppresses error output from python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 06:30 UTC by kalium
Modified: 2006-07-04 12:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kalium 2006-07-04 06:30:10 UTC
The gcc-config script (gcc-config-1.3.13-r2) suppresses error output from python (somewhere before line 105). That is not a good idea as it produces non-understandable error outputs from the script itself (not finding gcc config profile although it is there).

Furthermore, the ebuild is missing a runtime dependency on python.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-04 06:33:00 UTC
(In reply to comment #0)
> Furthermore, the ebuild is missing a runtime dependency on python.

Care to tell us how you managed to install and run Gentoo without python? :P


Comment 2 kalium 2006-07-04 06:35:50 UTC
> (In reply to comment #0)
> > Furthermore, the ebuild is missing a runtime dependency on python.
> 
> Care to tell us how you managed to install and run Gentoo without python? :P

That's not the point. Python is required by emerge/portage, so that problem never shows up in practice. I discovered it when I tried to track down a problem with that script.

The python error suppression is at line 129. I had problems with that when changing the CHOST variable and emerging gcc: python is then broken and needs to be rebuilt or the LD_LIBRARY_PATH variable changed. Suppressing the "missing libstdc++.so.6" message is misleading.

Comment 3 SpanKY gentoo-dev 2006-07-04 12:10:22 UTC
the output is suppressed on purpose as gcc-config will attempt to recover from a broken python

i'll add an error message that says "failed to execute portage/python, trying to find CHOST ourselves"

as for the source of your trouble, i'm pretty sure if you update to 1.3.13-r3 things will be resolved as i just fixed a bug in the fallback code

and as for the python/portage in DEPEND/RDEPEND, not going to happen