Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-config problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Tue Aug 30, 2005 2:19 pm    Post subject: Reply with quote

i've had this problem show up on three systems in the last 24 hours. the common denominator is that they were all loaded with the portage-20050827 snapshot and had the toolkit rebuilt with emerge -e system && emerge -e system.

here's what emerge --info looks like:
Code:
deena / # emerge --info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -mtune=pentium3 -pipe -O3 -fweb -frename-registers -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


look what happens when i recompile gcc-config and then try to use it:

Code:
deena / # emerge gcc-config
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-config-1.4.0 to /
>>> Unpacking source...
>>> Source unpacked.
>>> Test phase [not enabled]: sys-devel/gcc-config-1.4.0

>>> Install gcc-config-1.4.0 into /var/tmp/portage/gcc-config-1.4.0/image/ category sys-devel
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/lib/misc/gcc-config-wrapper
>>> Completed installing gcc-config-1.4.0 into /var/tmp/portage/gcc-config-1.4.0/image/

>>> Merging sys-devel/gcc-config-1.4.0 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/gcc-config
--- /usr/lib/
--- /usr/lib/misc/
>>> /usr/lib/misc/gcc-config-wrapper
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/lib/misc/gcc-config-wrapper
--- !mtime obj /usr/bin/gcc-config
--- !empty dir /usr/lib/misc
--- !empty dir /usr/lib
--- !empty dir /usr/bin
--- !empty dir /usr
>>> original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> sys-devel/gcc-config-1.4.0 merged.

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.


deena / # gcc-config -l
env: envvar: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
 * /usr/bin/gcc-config: No gcc profile is active; please select one!
[1] i686-pc-linux-gnu-3.4.4
[2] i686-pc-linux-gnu-3.4.4-hardened
[3] i686-pc-linux-gnu-3.4.4-hardenednopie
[4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.4-hardenednossp

deena / # gcc-config 1
 * Switching to i686-pc-linux-gnu-3.4.4 compiler ...                                                                                                  [ ok ]
deena / # gcc-config -l
env: envvar: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
 * /usr/bin/gcc-config: No gcc profile is active; please select one!
[1] i686-pc-linux-gnu-3.4.4
[2] i686-pc-linux-gnu-3.4.4-hardened
[3] i686-pc-linux-gnu-3.4.4-hardenednopie
[4] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.4-hardenednossp




just for reference, there is an appropriate CHOST entry in make.conf:
Code:
CHOST="i686-pc-linux-gnu"


and look at this:

Code:
deena / # portageq envvar CHOST
i686-pc-linux-gnu
deena / #                 


hmmm. problems with gcc-config?
:?
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Tue Aug 30, 2005 3:35 pm    Post subject: Reply with quote

masking the current version of gcc-config solves the problem. its a problem with gcc-config 1.4.0.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Tue Aug 30, 2005 3:48 pm    Post subject: Reply with quote

bugzilla

https://bugs.gentoo.org/show_bug.cgi?id=104277
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Wed Aug 31, 2005 4:48 am    Post subject: vapier false statistics Reply with quote

Now here is a fine example of how a Gentoo Developer should NOT fix his bugs:

I documented with great clarity the problem with gcc-config-1.4.0 in the portage tree this morning. I documented that it remains in the portage snapshot dated portage-20050827.tar.bz2. i filed a bug report that clearly identified the problem.

Vapier's solution? delete gcc-config-1.4.0 from the portage tree and mark the bug as RESOLVED INVALID, claiming that gcc-config-1.4.0 does not exist, and blame me for filing an invalid bug report.

this is fucking ridiculous.

its one thing to admit you've made a mistake and fix the bug. its something entirely different to remove the buggy file from the portage tree, claim that the bug never existed, and then blame the user for filing an invalid bug report.

Vapier, this is not the first time that you've done this. i think that its really sad that Gentoo Develpers would use methods like these to try to falsify their statistics.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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