[gentoo-user] can not compile / emerge

2014-09-09 Thread Joseph

I was installing an application gimp and all of a sudden I got an error:


Emerging (7 of 8) media-gfx/gimp-2.8.10-r1
* gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...   [ 
ok ]
* gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-) ... [ 
ok ]

cfg-update-1.8.2-r1: Creating checksum index...
Unpacking source...
Unpacking gimp-2.8.10.tar.bz2 to /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
Unpacking gimp-2.8.10-freetype251.patch to 
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work

unpack gimp-2.8.10-freetype251.patch: file format not recognized. Ignoring.

Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
Preparing source in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 
...
* Applying gimp-2.7.4-no-deprecation.patch ...   [ 
ok ]
* Applying gimp-2.8.10-freetype251.patch ... [ 
ok ]
* Applying gimp-2.8.10-clang.patch ...   [ 
ok ]

* Running eautoreconf in 
'/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
* Running glib-gettextize --copy --force ... [ 
ok ]
* Running intltoolize --automake --copy --force ...  [ 
ok ]

* Skipping 'gtkdocize --copy' due gtkdocize not installed
* Running libtoolize --install --copy --force --automake ... [ 
ok ]
* Running aclocal -I m4macros ...[ 
ok ]
* Running autoconf ...   [ 
ok ]
* Running autoheader ... [ 
ok ]
* Running automake --add-missing --copy --force-missing ...  [ 
ok ]

* Running elibtoolize in: gimp-2.8.10/
*   Applying portage/1.2.0 patch ...
*   Applying sed/1.5.6 patch ...
*   Applying as-needed/2.4.2 patch ...
*   Applying target-nm/2.4.2 patch ...
* Fixing OMF Makefiles ...   [ 
ok ]
* Disabling deprecation warnings ... [ 
ok ]

Source prepared.
Configuring source in 
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...

* econf: updating gimp-2.8.10/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gimp-2.8.10/config.guess with 
/usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1 
--disable-maintainer-mode --disable-gtk-doc --enable-default-binary --disable-silent-rules --with-x --without-aa --with-alsa --disable-altivec --with-bzip2 
--without-libcurl --with-dbus --without-gvfs --without-webkit --with-libjpeg --without-libjasper --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx 
--with-libmng --with-poppler --with-libpng --disable-python --disable-mp --enable-sse --with-librsvg --with-libtiff --with-gudev --without-wmf --with-xmc 
--without-libxpm --without-xvfb-run

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in 
`/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
configure: error: C compiler cannot create executables
See `config.log' for more 

Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Joseph

On 09/09/14 12:36, Joseph wrote:

I was installing an application gimp and all of a sudden I got an error:


Emerging (7 of 8) media-gfx/gimp-2.8.10-r1

* gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...  

 [
ok ]
* gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-) ...

 [
ok ]

cfg-update-1.8.2-r1: Creating checksum index...
Unpacking source...
Unpacking gimp-2.8.10.tar.bz2 to /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
Unpacking gimp-2.8.10-freetype251.patch to 
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work

unpack gimp-2.8.10-freetype251.patch: file format not recognized. Ignoring.

Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
Preparing source in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 
...

* Applying gimp-2.7.4-no-deprecation.patch ...  

 [
ok ]
* Applying gimp-2.8.10-freetype251.patch ...

 [
ok ]
* Applying gimp-2.8.10-clang.patch ...  

 [
ok ]
* Running eautoreconf in 
'/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
* Running glib-gettextize --copy --force ...

 [
ok ]
* Running intltoolize --automake --copy --force ... 

 [
ok ]
* Skipping 'gtkdocize --copy' due gtkdocize not installed
* Running libtoolize --install --copy --force --automake ...

 [
ok ]
* Running aclocal -I m4macros ...   

 [
ok ]
* Running autoconf ...  

 [
ok ]
* Running autoheader ...

 [
ok ]
* Running automake --add-missing --copy --force-missing ... 

 [
ok ]
* Running elibtoolize in: gimp-2.8.10/
*   Applying portage/1.2.0 patch ...
*   Applying sed/1.5.6 patch ...
*   Applying as-needed/2.4.2 patch ...
*   Applying target-nm/2.4.2 patch ...
* Fixing OMF Makefiles ...  

 [
ok ]
* Disabling deprecation warnings ...

 [
ok ]

Source prepared.
Configuring source in 
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...

* econf: updating gimp-2.8.10/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating gimp-2.8.10/config.guess with 
/usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info 
--datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 
--disable-silent-rules --disable-dependency-tracking 
--docdir=/usr/share/doc/gimp-2.8.10-r1
--disable-maintainer-mode --disable-gtk-doc --enable-default-binary 
--disable-silent-rules --with-x --without-aa --with-alsa --disable-altivec 
--with-bzip2
--without-libcurl --with-dbus --without-gvfs --without-webkit --with-libjpeg 
--without-libjasper --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx
--with-libmng --with-poppler --with-libpng --disable-python --disable-mp 
--enable-sse --with-librsvg --with-libtiff --with-gudev --without-wmf --with-xmc
--without-libxpm --without-xvfb-run
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in 
`/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
configure: error: C compiler 

Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Todd Goodman
* Joseph syscon...@gmail.com [140909 14:37]:
 I was installing an application gimp and all of a sudden I got an error:
[SNIP]
 configure: error: in 
 `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
 configure: error: C compiler cannot create executables
 See `config.log' for more details

What does 'gcc-config -l' show?



Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Dale
Joseph wrote:
 I was installing an application gimp and all of a sudden I got an error:

 Emerging (7 of 8) media-gfx/gimp-2.8.10-r1
 * gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-)
 ...   

 [ ok ]
 * gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-)
 ...   
  
 [ ok ]
 cfg-update-1.8.2-r1: Creating checksum index...
 Unpacking source...
 Unpacking gimp-2.8.10.tar.bz2 to
 /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
 Unpacking gimp-2.8.10-freetype251.patch to
 /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
 unpack gimp-2.8.10-freetype251.patch: file format not recognized.
 Ignoring.
 Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
 Preparing source in
 /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
 * Applying gimp-2.7.4-no-deprecation.patch
 ...   

 [ ok ]
 * Applying gimp-2.8.10-freetype251.patch
 ...   
  
 [ ok ]
 * Applying gimp-2.8.10-clang.patch
 ...   

 [ ok ]
 * Running eautoreconf in
 '/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
 * Running glib-gettextize --copy --force
 ...   
  
 [ ok ]
 * Running intltoolize --automake --copy --force
 ...   
   
 [ ok ]
 * Skipping 'gtkdocize --copy' due gtkdocize not installed
 * Running libtoolize --install --copy --force --automake
 ...   
  
 [ ok ]
 * Running aclocal -I m4macros
 ...   
 
 [ ok ]
 * Running autoconf
 ...   

 [ ok ]
 * Running autoheader
 ...   
  
 [ ok ]
 * Running automake --add-missing --copy --force-missing
 ...   
   
 [ ok ]
 * Running elibtoolize in: gimp-2.8.10/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Fixing OMF Makefiles
 ...   

 [ ok ]
 * Disabling deprecation warnings
 ...   
  
 [ ok ]
 Source prepared.
 Configuring source in
 /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
 * econf: updating gimp-2.8.10/config.sub with
 /usr/share/gnuconfig/config.sub
 * econf: updating gimp-2.8.10/config.guess with
 /usr/share/gnuconfig/config.guess
 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules
 --disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1
 --disable-maintainer-mode --disable-gtk-doc --enable-default-binary
 --disable-silent-rules --with-x --without-aa --with-alsa
 --disable-altivec --with-bzip2 --without-libcurl --with-dbus
 --without-gvfs --without-webkit --with-libjpeg --without-libjasper
 --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx
 --with-libmng --with-poppler --with-libpng --disable-python
 --disable-mp --enable-sse --with-librsvg --with-libtiff --with-gudev
 --without-wmf --with-xmc --without-libxpm --without-xvfb-run
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking whether make supports nested variables... (cached) yes
 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
 checking whether the C compiler works... no
 configure: error: in
 

Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Joseph

On 09/09/14 14:46, Todd Goodman wrote:

* Joseph syscon...@gmail.com [140909 14:37]:

I was installing an application gimp and all of a sudden I got an error:

[SNIP]

configure: error: in 
`/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
configure: error: C compiler cannot create executables
See `config.log' for more details


What does 'gcc-config -l' show?


gcc-config -l
* gcc-config: Could not get portage CHOST!
* gcc-config: You should verify that CHOST is set in one of these places:
* gcc-config:  - //etc/portage/make.conf
* gcc-config:  - active environment

--
Joseph



Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Joseph

On 09/09/14 14:46, Todd Goodman wrote:

* Joseph syscon...@gmail.com [140909 14:37]:

I was installing an application gimp and all of a sudden I got an error:

[SNIP]

configure: error: in 
`/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
configure: error: C compiler cannot create executables
See `config.log' for more details


What does 'gcc-config -l' show?


I tried to set blindly gcc to active one: gcc-config 1 but I get the same error 


* gcc-config: Could not get portage CHOST!
* gcc-config: You should verify that CHOST is set in one of these places:
* gcc-config:  - //etc/portage/make.conf
* gcc-config:  - active environment

It is a new installation on SSD and it is broken. 
I can't proceed with gcc upgrade/setting, in fact my system is currently broken.


--
Joseph



Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Mick
On Tuesday 09 Sep 2014 20:15:09 Joseph wrote:
 On 09/09/14 14:46, Todd Goodman wrote:
 * Joseph syscon...@gmail.com [140909 14:37]:
  I was installing an application gimp and all of a sudden I got an error:
 [SNIP]
 
  configure: error: in
  `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
  configure: error: C compiler cannot create executables
  See `config.log' for more details
 
 What does 'gcc-config -l' show?
 
 I tried to set blindly gcc to active one: gcc-config 1 but I get the same
 error
 
  * gcc-config: Could not get portage CHOST!
  * gcc-config: You should verify that CHOST is set in one of these places:
  * gcc-config:  - //etc/portage/make.conf
  * gcc-config:  - active environment
 
 It is a new installation on SSD and it is broken.
 I can't proceed with gcc upgrade/setting, in fact my system is currently
 broken.

You do not have an /etc/portage/make.conf file, or you have not configured the 
default with the correct settings?

Follow the installation guide and you should find your way out of there.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Joseph

On 09/09/14 22:38, Mick wrote:

On Tuesday 09 Sep 2014 20:15:09 Joseph wrote:

On 09/09/14 14:46, Todd Goodman wrote:
* Joseph syscon...@gmail.com [140909 14:37]:
 I was installing an application gimp and all of a sudden I got an error:
[SNIP]

 configure: error: in
 `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
 configure: error: C compiler cannot create executables
 See `config.log' for more details

What does 'gcc-config -l' show?

I tried to set blindly gcc to active one: gcc-config 1 but I get the same
error

 * gcc-config: Could not get portage CHOST!
 * gcc-config: You should verify that CHOST is set in one of these places:
 * gcc-config:  - //etc/portage/make.conf
 * gcc-config:  - active environment

It is a new installation on SSD and it is broken.
I can't proceed with gcc upgrade/setting, in fact my system is currently
broken.


You do not have an /etc/portage/make.conf file, or you have not configured the
default with the correct settings?

Follow the installation guide and you should find your way out of there.

--
Regards,
Mick


make.conf can be in /etc or /etc/portage mine is in /etc
It was working find but all of a sudden it stopped. 
emerge and other commands related to emerge don't work.


Here is my make.conf

CFLAGS=-march=core2 -O2 -pipe
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j5

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

CHOST=x86_64-pc-linux-gnu

USE=-acl -gnome -kde -minimal -qt3 -qt4 -hal X consolekit brandingdvd dbus 
lock  \
session startup-notification thunar alsa cdr cups apache2 ssl foomaticdb ppds 
mysql \
java tiff jpeg png pam policykit usb udev scanner gimp gimpprint cgi fam nplt 
truetype \
type1 opengl tetex lm_sensors mmx sse sse2 spell -systemd

INPUT_DEVICES=evdev
LINGUAS=en
VIDEO_CARDS=intel vesa
SANE_BACKENDS=fujitsu
ACCEPT_LICENSE=${ACCEPT_LICENSE} PUEL dlj-1.1 Oracle-BCLA-JavaSE
PHP_TARGETS=php5-3 php5-4
PHP_INI_VERSION=production

EMERGE_DEFAULT_OPTS=--autounmask-write=y --keep-going --with-bdeps=y
GENTOO_MIRRORS=ftp://ftp.gtlib.gatech.edu/pub/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror; 


FEATURES=parallel-fetch strict fixlafiles

PORTAGE_ELOG_CLASSES=info warn error log
PORTAGE_ELOG_SYSTEM=mail
PORTAGE_ELOG_MAILURI=root@localhost /usr/sbin/sendmail
PORTAGE_ELOG_MAILFROM=portage
PORTAGE_ELOG_MAILSUBJECT=package \${PACKAGE} merged on \${HOST} with notice

#local portage
PORTDIR_OVERLAY=/usr/local/portage

# Set PORTDIR for backward compatibility with various tools:
PORTDIR=/usr/portage

--
Joseph



Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Neil Bothwick
On Tue, 9 Sep 2014 15:57:18 -0600, Joseph wrote:

 make.conf can be in /etc or /etc/portage mine is in /etc
 It was working find but all of a sudden it stopped. 

That is thw wrong location, it is only provided for compatibility with
old installations. /etc/portage is the preferred location and the
settings in the make.conf in there will override yours.


-- 
Neil Bothwick

Top Oxymorons Number 30: Business ethics


signature.asc
Description: PGP signature


Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Joseph

On 09/09/14 23:20, Neil Bothwick wrote:

On Tue, 9 Sep 2014 15:57:18 -0600, Joseph wrote:


make.conf can be in /etc or /etc/portage mine is in /etc
It was working find but all of a sudden it stopped.


That is thw wrong location, it is only provided for compatibility with
old installations. /etc/portage is the preferred location and the
settings in the make.conf in there will override yours.


--
Neil Bothwick

Top Oxymorons Number 30: Business ethics


I moved /etc/make.conf to /etc/portage/make.conf rebooted the system but it 
doesn't help.
Something went wrong during compilation.  


Howto initialized GCC environment from bootstrap?

--
Joseph



Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Kerin Millar

On 09/09/2014 19:36, Joseph wrote:

I was installing an application gimp and all of a sudden I got an error:


Emerging (7 of 8) media-gfx/gimp-2.8.10-r1

* gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-)
...
[ ok ]
* gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-)
...
[ ok ]

cfg-update-1.8.2-r1: Creating checksum index...
Unpacking source...
Unpacking gimp-2.8.10.tar.bz2 to
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
Unpacking gimp-2.8.10-freetype251.patch to
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work

unpack gimp-2.8.10-freetype251.patch: file format not recognized. Ignoring.

Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
Preparing source in
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...

* Applying gimp-2.7.4-no-deprecation.patch
...
[ ok ]
* Applying gimp-2.8.10-freetype251.patch
...
[ ok ]
* Applying gimp-2.8.10-clang.patch
...
[ ok ]
* Running eautoreconf in
'/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
* Running glib-gettextize --copy --force
...
[ ok ]
* Running intltoolize --automake --copy --force
...
[ ok ]
* Skipping 'gtkdocize --copy' due gtkdocize not installed
* Running libtoolize --install --copy --force --automake
...
[ ok ]
* Running aclocal -I m4macros
...
[ ok ]
* Running autoconf
...
[ ok ]
* Running autoheader
...
[ ok ]
* Running automake --add-missing --copy --force-missing
...
[ ok ]
* Running elibtoolize in: gimp-2.8.10/
*   Applying portage/1.2.0 patch ...
*   Applying sed/1.5.6 patch ...
*   Applying as-needed/2.4.2 patch ...
*   Applying target-nm/2.4.2 patch ...
* Fixing OMF Makefiles
...
[ ok ]
* Disabling deprecation warnings
...
[ ok ]

Source prepared.
Configuring source in
/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...

* econf: updating gimp-2.8.10/config.sub with
/usr/share/gnuconfig/config.sub
* econf: updating gimp-2.8.10/config.guess with
/usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules
--disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1
--disable-maintainer-mode --disable-gtk-doc --enable-default-binary
--disable-silent-rules --with-x --without-aa --with-alsa
--disable-altivec --with-bzip2 --without-libcurl --with-dbus
--without-gvfs --without-webkit --with-libjpeg --without-libjasper
--with-libexif --with-lcms=lcms2 --without-gs --enable-mmx --with-libmng
--with-poppler --with-libpng --disable-python --disable-mp --enable-sse
--with-librsvg --with-libtiff --with-gudev --without-wmf --with-xmc
--without-libxpm --without-xvfb-run
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in
`/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
configure: error: C compiler cannot create executables
See `config.log' for more details


Now, emerge / equery  will not even show up on a command line.
Most of the time I'm getting an error:
error while loading shared libraries: libstdc++.so.6: cannot open shared
object file: No such file or directory

Running on my other system I get:
equery b libstdc++.so.6
* Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
(/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 -
libstdc++.so.6.0.14)

env-update - doesn't work either



Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file 
defining the appropriate paths for your current version of gcc. Here's 
how it looks on my system:


  # cd /etc/ld.so.conf.d
  # ls
  05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
  # cat 05gcc-x86_64-pc-linux-gnu.conf
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3

Once you have made any necessary changes, run ldconfig.

--Kerin



Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Joseph

On 09/10/14 03:59, Kerin Millar wrote:

On 09/09/2014 19:36, Joseph wrote:

[snip]



Running on my other system I get:
equery b libstdc++.so.6
* Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
(/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 -
libstdc++.so.6.0.14)

env-update - doesn't work either



Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
defining the appropriate paths for your current version of gcc. Here's
how it looks on my system:

  # cd /etc/ld.so.conf.d
  # ls
  05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
  # cat 05gcc-x86_64-pc-linux-gnu.conf
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3

Once you have made any necessary changes, run ldconfig.

--Kerin


Thanks Kerin, for the pointer.
I think I have a bigger problem, and don't know how to fix it.

Yes, I have the same file /etc/ld.so.conf.d
# ls 
# 05gcc-x86_64-pc-linux-gnu.conf
# cat 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3

However, those directories are empty (only one file):
# ls -al /usr/lib/
libbrcomplpr2.so

On my other working system this directory /usr/lib/ contain about 2020 files.
What had happened?  


After emerging some files and system I was running command: fstrim -v / (as the 
disk is SSD).
Could it have something to do with the fact that these directories are empty?
--
Joseph



Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Kerin Millar

On 10/09/2014 04:21, Joseph wrote:

On 09/10/14 03:59, Kerin Millar wrote:

On 09/09/2014 19:36, Joseph wrote:

[snip]



Running on my other system I get:
equery b libstdc++.so.6
* Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
(/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 -
libstdc++.so.6.0.14)

env-update - doesn't work either



Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
defining the appropriate paths for your current version of gcc. Here's
how it looks on my system:

  # cd /etc/ld.so.conf.d
  # ls
  05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
  # cat 05gcc-x86_64-pc-linux-gnu.conf
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3

Once you have made any necessary changes, run ldconfig.

--Kerin


Thanks Kerin, for the pointer.
I think I have a bigger problem, and don't know how to fix it.

Yes, I have the same file /etc/ld.so.conf.d
# ls # 05gcc-x86_64-pc-linux-gnu.conf
# cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3

However, those directories are empty (only one file):
# ls -al /usr/lib/
libbrcomplpr2.so


Is /usr/lib an actual directory or a symlink? Assuming that you use a 
stock amd64 (multilib) profile, it should be a symlink to lib64. If you 
find that it is a directory and that you also have a lib64 directory, 
try the commands below. You can skip the busybox and exit commands if 
you are doing this in a chroot rather than on a live system.


  # busybox sh
  # cd /usr/
  # mv lib lib.old
  # ln -s lib64 lib
  # exit


On my other working system this directory /usr/lib/ contain about 2020
files.
What had happened?
After emerging some files and system I was running command: fstrim -v /
(as the disk is SSD).
Could it have something to do with the fact that these directories are
empty?


No. Using fstrim does not delete files.

--Kerin



Re: [gentoo-user] can not compile / emerge

2014-09-09 Thread Kerin Millar

On 09/09/2014 22:38, Mick wrote:

On Tuesday 09 Sep 2014 20:15:09 Joseph wrote:

On 09/09/14 14:46, Todd Goodman wrote:

* Joseph syscon...@gmail.com [140909 14:37]:

I was installing an application gimp and all of a sudden I got an error:

[SNIP]


configure: error: in
`/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
configure: error: C compiler cannot create executables
See `config.log' for more details


What does 'gcc-config -l' show?


I tried to set blindly gcc to active one: gcc-config 1 but I get the same
error

  * gcc-config: Could not get portage CHOST!
  * gcc-config: You should verify that CHOST is set in one of these places:
  * gcc-config:  - //etc/portage/make.conf
  * gcc-config:  - active environment

It is a new installation on SSD and it is broken.
I can't proceed with gcc upgrade/setting, in fact my system is currently
broken.


You do not have an /etc/portage/make.conf file, or you have not configured the
default with the correct settings?


This is not pertinent to the matter at hand. Even if make.conf cannot be 
sourced, CHOST will be sourced from the profile and portage is perfectly 
capable of functioning.


There is no need for a user to define CHOST. At best, it is a no-op and, 
at worst, the user may screw up and define it in such a way that it is 
at odds with the profile.


The error message from gcc-config isn't particularly helpful because it 
falsely implies that make.conf or the active environment - as opposed 
to portage's environment - are the only valid sources.


--Kerin