public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] can not compile / emerge
@ 2014-09-09 18:36 Joseph
  2014-09-09 18:45 ` Joseph
                   ` (3 more replies)
  0 siblings, 4 replies; 33+ messages in thread
From: Joseph @ 2014-09-09 18:36 UTC (permalink / raw
  To: gentoo-user

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

-- 
Joseph


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
@ 2014-09-09 18:45 ` Joseph
  2014-09-09 18:46 ` Todd Goodman
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 33+ messages in thread
From: Joseph @ 2014-09-09 18:45 UTC (permalink / raw
  To: gentoo-user

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 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
>
>-- 
>Joseph

I've tried to bootstrap the system and re-install "gcc" but I can not even do "env-update" after running: chroot /mnt/gentoo /bin/bash

-- 
Joseph


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
  2014-09-09 18:45 ` Joseph
@ 2014-09-09 18:46 ` Todd Goodman
  2014-09-09 19:02   ` Joseph
  2014-09-09 19:15   ` Joseph
  2014-09-09 18:49 ` Dale
  2014-09-10  2:59 ` Kerin Millar
  3 siblings, 2 replies; 33+ messages in thread
From: Todd Goodman @ 2014-09-09 18:46 UTC (permalink / raw
  To: gentoo-user

* Joseph <syscon780@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?


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
  2014-09-09 18:45 ` Joseph
  2014-09-09 18:46 ` Todd Goodman
@ 2014-09-09 18:49 ` Dale
  2014-09-10  2:59 ` Kerin Millar
  3 siblings, 0 replies; 33+ messages in thread
From: Dale @ 2014-09-09 18:49 UTC (permalink / raw
  To: gentoo-user

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
>

I ran into this and I think I ran this:

gcc-config -l

And make sure a compiler is selected.  If not, do gcc-config <number of
one you want to use>  Usually that is the highest one but could depend. 
Either way, one should have a "*" by it like this on mine:

root@fireball / # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *
root@fireball / # 

I hope that helps, if not, I'm sure other ideas will come along soon. 

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:46 ` Todd Goodman
@ 2014-09-09 19:02   ` Joseph
  2014-09-09 19:15   ` Joseph
  1 sibling, 0 replies; 33+ messages in thread
From: Joseph @ 2014-09-09 19:02 UTC (permalink / raw
  To: gentoo-user

On 09/09/14 14:46, Todd Goodman wrote:
>* Joseph <syscon780@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


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:46 ` Todd Goodman
  2014-09-09 19:02   ` Joseph
@ 2014-09-09 19:15   ` Joseph
  2014-09-09 21:38     ` Mick
  1 sibling, 1 reply; 33+ messages in thread
From: Joseph @ 2014-09-09 19:15 UTC (permalink / raw
  To: gentoo-user

On 09/09/14 14:46, Todd Goodman wrote:
>* Joseph <syscon780@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


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 19:15   ` Joseph
@ 2014-09-09 21:38     ` Mick
  2014-09-09 21:57       ` Joseph
  2014-09-10  3:29       ` Kerin Millar
  0 siblings, 2 replies; 33+ messages in thread
From: Mick @ 2014-09-09 21:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1140 bytes --]

On Tuesday 09 Sep 2014 20:15:09 Joseph wrote:
> On 09/09/14 14:46, Todd Goodman wrote:
> >* Joseph <syscon780@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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 21:38     ` Mick
@ 2014-09-09 21:57       ` Joseph
  2014-09-09 22:20         ` Neil Bothwick
  2014-09-10  3:29       ` Kerin Millar
  1 sibling, 1 reply; 33+ messages in thread
From: Joseph @ 2014-09-09 21:57 UTC (permalink / raw
  To: gentoo-user

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 <syscon780@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


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 21:57       ` Joseph
@ 2014-09-09 22:20         ` Neil Bothwick
  2014-09-09 22:49           ` Joseph
  0 siblings, 1 reply; 33+ messages in thread
From: Neil Bothwick @ 2014-09-09 22:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 22:20         ` Neil Bothwick
@ 2014-09-09 22:49           ` Joseph
  0 siblings, 0 replies; 33+ messages in thread
From: Joseph @ 2014-09-09 22:49 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
                   ` (2 preceding siblings ...)
  2014-09-09 18:49 ` Dale
@ 2014-09-10  2:59 ` Kerin Millar
  2014-09-10  3:21   ` Joseph
  3 siblings, 1 reply; 33+ messages in thread
From: Kerin Millar @ 2014-09-10  2:59 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-10  2:59 ` Kerin Millar
@ 2014-09-10  3:21   ` Joseph
  2014-09-10  3:27     ` Kerin Millar
  0 siblings, 1 reply; 33+ messages in thread
From: Joseph @ 2014-09-10  3:21 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-10  3:21   ` Joseph
@ 2014-09-10  3:27     ` Kerin Millar
  2014-09-10  3:50       ` [gentoo-user] [SOLVED] " Joseph
  0 siblings, 1 reply; 33+ messages in thread
From: Kerin Millar @ 2014-09-10  3:27 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 21:38     ` Mick
  2014-09-09 21:57       ` Joseph
@ 2014-09-10  3:29       ` Kerin Millar
  1 sibling, 0 replies; 33+ messages in thread
From: Kerin Millar @ 2014-09-10  3:29 UTC (permalink / raw
  To: gentoo-user

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 <syscon780@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


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  3:27     ` Kerin Millar
@ 2014-09-10  3:50       ` Joseph
  2014-09-10  3:57         ` Kerin Millar
  0 siblings, 1 reply; 33+ messages in thread
From: Joseph @ 2014-09-10  3:50 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 04:27, Kerin Millar wrote:
>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

Kerin you are a magician! THANK YOU!!!
Yes, it worked.  Everything is back to normal.

I can still not comprehend what had happened :-/ why all of a sudden in the middle of compilation it all vanished. 

-- 
Joseph


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  3:50       ` [gentoo-user] [SOLVED] " Joseph
@ 2014-09-10  3:57         ` Kerin Millar
  2014-09-10  4:16           ` Joseph
  0 siblings, 1 reply; 33+ messages in thread
From: Kerin Millar @ 2014-09-10  3:57 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 04:50, Joseph wrote:
> On 09/10/14 04:27, Kerin Millar wrote:
>> 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
>
> Kerin you are a magician! THANK YOU!!!
> Yes, it worked.  Everything is back to normal.
>
> I can still not comprehend what had happened :-/ why all of a sudden in
> the middle of compilation it all vanished.

Were you doing anything outside of portage that may have had a hand in it?

Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some 
googling suggests to me that it is a library included in a proprietary 
Brother printer driver package. You can use the file command to confirm 
that it is a 32-bit library.

--Kerin


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  3:57         ` Kerin Millar
@ 2014-09-10  4:16           ` Joseph
  2014-09-10  5:01             ` Kerin Millar
  2014-09-11 12:07             ` [gentoo-user] " James
  0 siblings, 2 replies; 33+ messages in thread
From: Joseph @ 2014-09-10  4:16 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 04:57, Kerin Millar wrote:
>On 10/09/2014 04:50, Joseph wrote:
>> On 09/10/14 04:27, Kerin Millar wrote:
>>> 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
>>
>> Kerin you are a magician! THANK YOU!!!
>> Yes, it worked.  Everything is back to normal.
>>
>> I can still not comprehend what had happened :-/ why all of a sudden in
>> the middle of compilation it all vanished.
>
>Were you doing anything outside of portage that may have had a hand in it?
>
>Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some
>googling suggests to me that it is a library included in a proprietary
>Brother printer driver package. You can use the file command to confirm
>that it is a 32-bit library.
>
>--Kerin

I was logged in over ssh in one terminal, compiling "xsane"
and logged in, in another terminal and was installing brother printer driver (without emerge) manual installation.
I followed my own instructions from: 
 http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43

I run: 
tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / 
tar zxvf ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C / 

Could be that one of this script messed up the links.
If so I don't know how could it happen. Looking though "history" these are the commands I run:

 305  tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C /
  306  tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C /
  307  cd /usr/local/Brother/cupswrapper
  308  mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak
  309  /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\ restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1
  310  ls -al
  311  pwd
  312  ll
  313  ls -al
  314  chmod 755 cupswrapperHL5250DN-2.0.1

I just extracted the files with "tar..." 

-- 
Joseph


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  4:16           ` Joseph
@ 2014-09-10  5:01             ` Kerin Millar
  2014-09-10  5:10               ` Kerin Millar
  2014-09-10  5:20               ` [gentoo-user] [SOLVED] can not compile / emerge Joseph
  2014-09-11 12:07             ` [gentoo-user] " James
  1 sibling, 2 replies; 33+ messages in thread
From: Kerin Millar @ 2014-09-10  5:01 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 05:16, Joseph wrote:
> On 09/10/14 04:57, Kerin Millar wrote:
>> On 10/09/2014 04:50, Joseph wrote:
>>> On 09/10/14 04:27, Kerin Millar wrote:
>>>> 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
>>>
>>> Kerin you are a magician! THANK YOU!!!
>>> Yes, it worked.  Everything is back to normal.
>>>
>>> I can still not comprehend what had happened :-/ why all of a sudden in
>>> the middle of compilation it all vanished.
>>
>> Were you doing anything outside of portage that may have had a hand in
>> it?
>>
>> Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some
>> googling suggests to me that it is a library included in a proprietary
>> Brother printer driver package. You can use the file command to confirm
>> that it is a 32-bit library.
>>
>> --Kerin
>
> I was logged in over ssh in one terminal, compiling "xsane"
> and logged in, in another terminal and was installing brother printer
> driver (without emerge) manual installation.
> I followed my own instructions from:
> http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>
>
> I run: tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / tar zxvf
> ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C /
> Could be that one of this script messed up the links.
> If so I don't know how could it happen. Looking though "history" these
> are the commands I run:
>
> 305  tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C /
>   306  tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C /
>   307  cd /usr/local/Brother/cupswrapper
>   308  mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak
>   309  /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\
> restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1
>   310  ls -al
>   311  pwd
>   312  ll
>   313  ls -al
>   314  chmod 755 cupswrapperHL5250DN-2.0.1
>
> I just extracted the files with "tar..."

I read your forum post and can see that you're (dangerously) extracting 
directly into the root directory and that this is among the contents of 
the archive:

   ./usr/lib/
   ./usr/lib/libbrcomplpr2.so

I posit that tar clobbers the /usr/lib symlink, converting it into a 
directory because that is what is stored in the archive.

Ergo, use the --keep-directory-symlink parameter.

--Kerin


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  5:01             ` Kerin Millar
@ 2014-09-10  5:10               ` Kerin Millar
  2014-09-10  5:32                 ` [gentoo-user] BACKUPS Joseph
  2014-09-10  5:20               ` [gentoo-user] [SOLVED] can not compile / emerge Joseph
  1 sibling, 1 reply; 33+ messages in thread
From: Kerin Millar @ 2014-09-10  5:10 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 06:01, Kerin Millar wrote:
> On 10/09/2014 05:16, Joseph wrote:
>> On 09/10/14 04:57, Kerin Millar wrote:
>>> On 10/09/2014 04:50, Joseph wrote:
>>>> On 09/10/14 04:27, Kerin Millar wrote:
>>>>> 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
>>>>
>>>> Kerin you are a magician! THANK YOU!!!
>>>> Yes, it worked.  Everything is back to normal.
>>>>
>>>> I can still not comprehend what had happened :-/ why all of a sudden in
>>>> the middle of compilation it all vanished.
>>>
>>> Were you doing anything outside of portage that may have had a hand in
>>> it?
>>>
>>> Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some
>>> googling suggests to me that it is a library included in a proprietary
>>> Brother printer driver package. You can use the file command to confirm
>>> that it is a 32-bit library.
>>>
>>> --Kerin
>>
>> I was logged in over ssh in one terminal, compiling "xsane"
>> and logged in, in another terminal and was installing brother printer
>> driver (without emerge) manual installation.
>> I followed my own instructions from:
>> http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>>
>>
>>
>> I run: tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / tar zxvf
>> ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C /
>> Could be that one of this script messed up the links.
>> If so I don't know how could it happen. Looking though "history" these
>> are the commands I run:
>>
>> 305  tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C /
>>   306  tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C /
>>   307  cd /usr/local/Brother/cupswrapper
>>   308  mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak
>>   309  /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\
>> restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1
>>   310  ls -al
>>   311  pwd
>>   312  ll
>>   313  ls -al
>>   314  chmod 755 cupswrapperHL5250DN-2.0.1
>>
>> I just extracted the files with "tar..."
>
> I read your forum post and can see that you're (dangerously) extracting
> directly into the root directory and that this is among the contents of
> the archive:
>
>    ./usr/lib/
>    ./usr/lib/libbrcomplpr2.so
>
> I posit that tar clobbers the /usr/lib symlink, converting it into a
> directory because that is what is stored in the archive.
>
> Ergo, use the --keep-directory-symlink parameter.

Excuse the fact that I am replying to myself, but I must also stress 
that the library does not belong in lib64. On a 64-bit system, you 
should adapt your process so that the library ends up residing in lib32, 
not lib64 (by way of the lib symlink). The software will not be able to 
function correctly otherwise.

--Kerin


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  5:01             ` Kerin Millar
  2014-09-10  5:10               ` Kerin Millar
@ 2014-09-10  5:20               ` Joseph
  1 sibling, 0 replies; 33+ messages in thread
From: Joseph @ 2014-09-10  5:20 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 06:01, Kerin Millar wrote:
>On 10/09/2014 05:16, Joseph wrote:
>> On 09/10/14 04:57, Kerin Millar wrote:
>>> On 10/09/2014 04:50, Joseph wrote:
>>>> On 09/10/14 04:27, Kerin Millar wrote:
>>>>> 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
>>>>
>>>> Kerin you are a magician! THANK YOU!!!
>>>> Yes, it worked.  Everything is back to normal.
>>>>
>>>> I can still not comprehend what had happened :-/ why all of a sudden in
>>>> the middle of compilation it all vanished.
>>>
>>> Were you doing anything outside of portage that may have had a hand in
>>> it?
>>>
>>> Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some
>>> googling suggests to me that it is a library included in a proprietary
>>> Brother printer driver package. You can use the file command to confirm
>>> that it is a 32-bit library.
>>>
>>> --Kerin
>>
>> I was logged in over ssh in one terminal, compiling "xsane"
>> and logged in, in another terminal and was installing brother printer
>> driver (without emerge) manual installation.
>> I followed my own instructions from:
>> http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>>
>>
>> I run: tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / tar zxvf
>> ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C /
>> Could be that one of this script messed up the links.
>> If so I don't know how could it happen. Looking though "history" these
>> are the commands I run:
>>
>> 305  tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C /
>>   306  tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C /
>>   307  cd /usr/local/Brother/cupswrapper
>>   308  mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak
>>   309  /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\
>> restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1
>>   310  ls -al
>>   311  pwd
>>   312  ll
>>   313  ls -al
>>   314  chmod 755 cupswrapperHL5250DN-2.0.1
>>
>> I just extracted the files with "tar..."
>
>I read your forum post and can see that you're (dangerously) extracting
>directly into the root directory and that this is among the contents of
>the archive:
>
>   ./usr/lib/
>   ./usr/lib/libbrcomplpr2.so
>
>I posit that tar clobbers the /usr/lib symlink, converting it into a
>directory because that is what is stored in the archive.
>
>Ergo, use the --keep-directory-symlink parameter.
>
>--Kerin

Thank you again, I've already modified the line (so hopefully nobody else will get caught in it):
eg. tar --keep-directory-symlink -zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / 

-- 
Joseph


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  5:10               ` Kerin Millar
@ 2014-09-10  5:32                 ` Joseph
  2014-09-10  7:14                   ` Alan McKinnon
  2014-09-10 11:03                   ` Kerin Millar
  0 siblings, 2 replies; 33+ messages in thread
From: Joseph @ 2014-09-10  5:32 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 06:10, Kerin Millar wrote:
[snip]

>>> I just extracted the files with "tar..."
>>
>> I read your forum post and can see that you're (dangerously) extracting
>> directly into the root directory and that this is among the contents of
>> the archive:
>>
>>    ./usr/lib/
>>    ./usr/lib/libbrcomplpr2.so
>>
>> I posit that tar clobbers the /usr/lib symlink, converting it into a
>> directory because that is what is stored in the archive.
>>
>> Ergo, use the --keep-directory-symlink parameter.
>
>Excuse the fact that I am replying to myself, but I must also stress
>that the library does not belong in lib64. On a 64-bit system, you
>should adapt your process so that the library ends up residing in lib32,
>not lib64 (by way of the lib symlink). The software will not be able to
>function correctly otherwise.
>
>--Kerin

Thank you again. 
On a different subject.  Do you have a good pointer on how to backup a system.
I just had a HD crash so I selected a replacement SSD and I'm re installing the software.
I had backup of /etc/ and /home but I've missed all other settings eg:
/boot/ kernel config and other files and are not in /etc directory like: hylafax setting etc.

Is there a way to keep backup of all those configuration files that are manually edited?

-- 
Joseph


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  5:32                 ` [gentoo-user] BACKUPS Joseph
@ 2014-09-10  7:14                   ` Alan McKinnon
  2014-09-10  7:47                     ` Dale
  2014-09-10  8:34                     ` Neil Bothwick
  2014-09-10 11:03                   ` Kerin Millar
  1 sibling, 2 replies; 33+ messages in thread
From: Alan McKinnon @ 2014-09-10  7:14 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 07:32, Joseph wrote:
> Thank you again. On a different subject.  Do you have a good pointer on
> how to backup a system.


Did it even occur to you at all to type that exact question into a
search engine and see what comes back?

Come on dude, we aren't here to do ALL your thinking for you.

-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  7:14                   ` Alan McKinnon
@ 2014-09-10  7:47                     ` Dale
  2014-09-10  7:51                       ` J. Roeleveld
  2014-09-10  8:34                     ` Neil Bothwick
  1 sibling, 1 reply; 33+ messages in thread
From: Dale @ 2014-09-10  7:47 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On 10/09/2014 07:32, Joseph wrote:
>> Thank you again. On a different subject.  Do you have a good pointer on
>> how to backup a system.
>
> Did it even occur to you at all to type that exact question into a
> search engine and see what comes back?
>
> Come on dude, we aren't here to do ALL your thinking for you.
>


Even easier,

eix backup

  ;-)

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  7:47                     ` Dale
@ 2014-09-10  7:51                       ` J. Roeleveld
  2014-09-10  8:03                         ` Dale
  0 siblings, 1 reply; 33+ messages in thread
From: J. Roeleveld @ 2014-09-10  7:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]


On Wednesday, September 10, 2014 02:47:26 AM Dale wrote:
> Alan McKinnon wrote:
> > On 10/09/2014 07:32, Joseph wrote:
> >> Thank you again. On a different subject.  Do you have a good pointer 
on
> >> how to backup a system.
> > 
> > Did it even occur to you at all to type that exact question into a
> > search engine and see what comes back?
> > 
> > Come on dude, we aren't here to do ALL your thinking for you.
> 
> Even easier,
> 
> eix backup

That only returns 18 packages and you're missing most of the ones in app-
backup/.

Try:
eix app-backup/

That gives you 44 to choose from.

Alternatively, copy every file to a usb-disk and manually confirm they are all 
identical?

--
Joost

[-- Attachment #2: Type: text/html, Size: 4980 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  7:51                       ` J. Roeleveld
@ 2014-09-10  8:03                         ` Dale
  2014-09-10  9:13                           ` Alan McKinnon
  0 siblings, 1 reply; 33+ messages in thread
From: Dale @ 2014-09-10  8:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]

J. Roeleveld wrote:
>
>  
>
> On Wednesday, September 10, 2014 02:47:26 AM Dale wrote:
>
> > Alan McKinnon wrote:
>
> > > On 10/09/2014 07:32, Joseph wrote:
>
> > >> Thank you again. On a different subject. Do you have a good
> pointer on
>
> > >> how to backup a system.
>
> > >
>
> > > Did it even occur to you at all to type that exact question into a
>
> > > search engine and see what comes back?
>
> > >
>
> > > Come on dude, we aren't here to do ALL your thinking for you.
>
> >
>
> > Even easier,
>
> >
>
> > eix backup
>
>  
>
> That only returns 18 packages and you're missing most of the ones in
> app-backup/.
>
>  
>
> Try:
>
> eix app-backup/
>
>  
>
> That gives you 44 to choose from.
>
>  
>
> Alternatively, copy every file to a usb-disk and manually confirm they
> are all identical?
>
>  
>
> --
>
> Joost
>


Well, I first used eix backup.  My thinking was this, if one searches
first for something with "backup" in it, they should notice a lot of
apps in the app-backup category even tho they might not know it existed
before that.  At that point, pot of gold with this:

eix app-backup/*

Thing is, he may not have eix installed.  :/ 

Either way works tho.  :-D 

Me, I just use rsync and call it a day. 

Dale

:-)  :-)

[-- Attachment #2: Type: text/html, Size: 6262 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  7:14                   ` Alan McKinnon
  2014-09-10  7:47                     ` Dale
@ 2014-09-10  8:34                     ` Neil Bothwick
  1 sibling, 0 replies; 33+ messages in thread
From: Neil Bothwick @ 2014-09-10  8:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

On Wed, 10 Sep 2014 09:14:43 +0200, Alan McKinnon wrote:

> > Thank you again. On a different subject.  Do you have a good pointer
> > on how to backup a system.  
> 
> Did it even occur to you at all to type that exact question into a
> search engine and see what comes back?

And if you then need to ask a question on a different subject, please
start a new thread. It's still thread-jacking if the thread you hijack is
one you started.


-- 
Neil Bothwick

I am Flatulus of Borg.  You will be asphixiated.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  8:03                         ` Dale
@ 2014-09-10  9:13                           ` Alan McKinnon
  0 siblings, 0 replies; 33+ messages in thread
From: Alan McKinnon @ 2014-09-10  9:13 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 10:03, Dale wrote:
> J. Roeleveld wrote:
>>
>>  
>>
>> On Wednesday, September 10, 2014 02:47:26 AM Dale wrote:
>>
>> > Alan McKinnon wrote:
>>
>> > > On 10/09/2014 07:32, Joseph wrote:
>>
>> > >> Thank you again. On a different subject. Do you have a good
>> pointer on
>>
>> > >> how to backup a system.
>>
>> > >
>>
>> > > Did it even occur to you at all to type that exact question into a
>>
>> > > search engine and see what comes back?
>>
>> > >
>>
>> > > Come on dude, we aren't here to do ALL your thinking for you.
>>
>> >
>>
>> > Even easier,
>>
>> >
>>
>> > eix backup
>>
>>  
>>
>> That only returns 18 packages and you're missing most of the ones in
>> app-backup/.
>>
>>  
>>
>> Try:
>>
>> eix app-backup/
>>
>>  
>>
>> That gives you 44 to choose from.
>>
>>  
>>
>> Alternatively, copy every file to a usb-disk and manually confirm they
>> are all identical?
>>
>>  
>>
>> --
>>
>> Joost
>>
> 
> 
> Well, I first used eix backup.  My thinking was this, if one searches
> first for something with "backup" in it, they should notice a lot of
> apps in the app-backup category even tho they might not know it existed
> before that.  At that point, pot of gold with this:
> 
> eix app-backup/*
> 
> Thing is, he may not have eix installed.  :/ 



that's why we have emerge -s


:-)



> 
> Either way works tho.  :-D 
> 
> Me, I just use rsync and call it a day. 
> 
> Dale
> 
> :-)  :-)


-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  5:32                 ` [gentoo-user] BACKUPS Joseph
  2014-09-10  7:14                   ` Alan McKinnon
@ 2014-09-10 11:03                   ` Kerin Millar
  1 sibling, 0 replies; 33+ messages in thread
From: Kerin Millar @ 2014-09-10 11:03 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 06:32, Joseph wrote:
> On 09/10/14 06:10, Kerin Millar wrote:

<snip>

> Thank you again. On a different subject.  Do you have a good pointer on
> how to backup a system.
> I just had a HD crash so I selected a replacement SSD and I'm re
> installing the software.
> I had backup of /etc/ and /home but I've missed all other settings eg:
> /boot/ kernel config and other files and are not in /etc directory like:
> hylafax setting etc.
>
> Is there a way to keep backup of all those configuration files that are
> manually edited?

As suggested by Neil, please begin a new thread.

--Kerin



^ permalink raw reply	[flat|nested] 33+ messages in thread

* [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-10  4:16           ` Joseph
  2014-09-10  5:01             ` Kerin Millar
@ 2014-09-11 12:07             ` James
  2014-09-11 12:28               ` Joseph
  1 sibling, 1 reply; 33+ messages in thread
From: James @ 2014-09-11 12:07 UTC (permalink / raw
  To: gentoo-user

Joseph <syscon780 <at> gmail.com> writes:






>  http://forums.gentoo.org/viewtopic-t-909052-highlight- 
> brother.html?sid=1ba0b92db499262c6a74919d86c6af43

> I just extracted the files with "tar..." 


Hello Joseph,

You might find this document useful:

http://wiki.gentoo.org/wiki/Brother_networked_printer

hth,
James








^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-11 12:07             ` [gentoo-user] " James
@ 2014-09-11 12:28               ` Joseph
  2014-09-11 13:36                 ` J. Roeleveld
  2014-09-11 13:40                 ` James
  0 siblings, 2 replies; 33+ messages in thread
From: Joseph @ 2014-09-11 12:28 UTC (permalink / raw
  To: gentoo-user

On 09/11/14 12:07, James wrote:
>Joseph <syscon780 <at> gmail.com> writes:
>
>
>
>
>
>
>>  http://forums.gentoo.org/viewtopic-t-909052-highlight-
>> brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>
>> I just extracted the files with "tar..."
>
>
>Hello Joseph,
>
>You might find this document useful:
>
>http://wiki.gentoo.org/wiki/Brother_networked_printer
>
>hth,
>James

The one on that link you posted is based on rpm so I've posted my own instruction here:
http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1d304c64a64892ab675d23cfa09e55f1

-- 
Joseph


^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-11 12:28               ` Joseph
@ 2014-09-11 13:36                 ` J. Roeleveld
  2014-09-12 17:09                   ` Joseph
  2014-09-11 13:40                 ` James
  1 sibling, 1 reply; 33+ messages in thread
From: J. Roeleveld @ 2014-09-11 13:36 UTC (permalink / raw
  To: gentoo-user

On 11 September 2014 14:28:16 CEST, Joseph <syscon780@gmail.com> wrote:
>On 09/11/14 12:07, James wrote:
>>Joseph <syscon780 <at> gmail.com> writes:
>>
>>
>>
>>
>>
>>
>>>  http://forums.gentoo.org/viewtopic-t-909052-highlight-
>>> brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>>
>>> I just extracted the files with "tar..."
>>
>>
>>Hello Joseph,
>>
>>You might find this document useful:
>>
>>http://wiki.gentoo.org/wiki/Brother_networked_printer
>>
>>hth,
>>James
>
>The one on that link you posted is based on rpm so I've posted my own
>instruction here:
>http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1d304c64a64892ab675d23cfa09e55f1

Joseph,

Why not add your instructions to the wiki page?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 33+ messages in thread

* [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-11 12:28               ` Joseph
  2014-09-11 13:36                 ` J. Roeleveld
@ 2014-09-11 13:40                 ` James
  1 sibling, 0 replies; 33+ messages in thread
From: James @ 2014-09-11 13:40 UTC (permalink / raw
  To: gentoo-user

Joseph <syscon780 <at> gmail.com> writes:


> > http://wiki.gentoo.org/wiki/Brother_networked_printer

> The one on that link you posted is based on rpm so I've posted my own  
> instruction here: 
>
http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1d304c64a64892ab675d23cfa09e55f1


Great. If you have the time, explore to integrate your information
into the wiki.gentoo.org. In fact you can start your own brother
wiki page on wiki.gentoo.org.....


Also, just so you know, Gentoo folks routinely use rpm as as
a source for ebuilds. I can dig out some links, if you like
or better yet, others can post those links and relevant urls....


hth,
James







^ permalink raw reply	[flat|nested] 33+ messages in thread

* Re: [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-11 13:36                 ` J. Roeleveld
@ 2014-09-12 17:09                   ` Joseph
  0 siblings, 0 replies; 33+ messages in thread
From: Joseph @ 2014-09-12 17:09 UTC (permalink / raw
  To: gentoo-user

On 09/11/14 15:36, J. Roeleveld wrote:
>On 11 September 2014 14:28:16 CEST, Joseph <syscon780@gmail.com> wrote:
>>On 09/11/14 12:07, James wrote:
>>>Joseph <syscon780 <at> gmail.com> writes:
>>>
>>>
>>>
>>>
>>>
>>>
>>>>  http://forums.gentoo.org/viewtopic-t-909052-highlight-
>>>> brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>>>
>>>> I just extracted the files with "tar..."
>>>
>>>
>>>Hello Joseph,
>>>
>>>You might find this document useful:
>>>
>>>http://wiki.gentoo.org/wiki/Brother_networked_printer
>>>
>>>hth,
>>>James
>>
>>The one on that link you posted is based on rpm so I've posted my own
>>instruction here:
>>http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1d304c64a64892ab675d23cfa09e55f1
>
>Joseph,
>
>Why not add your instructions to the wiki page?

That would be a good idea, if only I could find some time.
Restoring the system is a slow process. Even though I have most of the backups; I still improving it as I restore it.
Making backup of these file that I manually changed.

-- 
Joseph


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2014-09-12 17:09 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
2014-09-09 18:45 ` Joseph
2014-09-09 18:46 ` Todd Goodman
2014-09-09 19:02   ` Joseph
2014-09-09 19:15   ` Joseph
2014-09-09 21:38     ` Mick
2014-09-09 21:57       ` Joseph
2014-09-09 22:20         ` Neil Bothwick
2014-09-09 22:49           ` Joseph
2014-09-10  3:29       ` Kerin Millar
2014-09-09 18:49 ` Dale
2014-09-10  2:59 ` Kerin Millar
2014-09-10  3:21   ` Joseph
2014-09-10  3:27     ` Kerin Millar
2014-09-10  3:50       ` [gentoo-user] [SOLVED] " Joseph
2014-09-10  3:57         ` Kerin Millar
2014-09-10  4:16           ` Joseph
2014-09-10  5:01             ` Kerin Millar
2014-09-10  5:10               ` Kerin Millar
2014-09-10  5:32                 ` [gentoo-user] BACKUPS Joseph
2014-09-10  7:14                   ` Alan McKinnon
2014-09-10  7:47                     ` Dale
2014-09-10  7:51                       ` J. Roeleveld
2014-09-10  8:03                         ` Dale
2014-09-10  9:13                           ` Alan McKinnon
2014-09-10  8:34                     ` Neil Bothwick
2014-09-10 11:03                   ` Kerin Millar
2014-09-10  5:20               ` [gentoo-user] [SOLVED] can not compile / emerge Joseph
2014-09-11 12:07             ` [gentoo-user] " James
2014-09-11 12:28               ` Joseph
2014-09-11 13:36                 ` J. Roeleveld
2014-09-12 17:09                   ` Joseph
2014-09-11 13:40                 ` James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox