Re: [gentoo-user] sudo in kernel config ?

2010-09-11 Thread Albert Hopkins
On Sat, 2010-09-11 at 10:24 +0200, Stéphane Guedon wrote:
 few months ago, I read linux kernel in a nutschell(sic), and the author wrote 
 we 
 shouldn't do kernel operations (config and build) as root.

I call bullsh*t.  I've been compiling kernels for 17 years and for the
most part have done it as root without any problems.

What the author is saying is that, to an extent, in theory no one should
compile anything as root, or really do anything non-system-adminly as
root.  You should only do as root what is critically necessary (e.g.
make install) as root.

In a perfect, tidy world we'd all do that.  This world, however does not
exist.  Even portage, by default does configure and make as root (albeit
in a sandbox so it is safe(r). 

What the author means is theoretically the config/compile phase could
unintentionally cause some kind of harm to your system.  In practice I
have never seen this or heard of it.  The kernel devs are bright enough
to ensure that the compilation does nothing outside the source tree
itself.

It's a good guideline but, like the government's dietary guidelines, not
ones I intend to follow religiously.

 Is sudo (or kdesudo ?) a good replacement to that ?

sudo runs things as root, so effectively you've done nothing but add a
password prompt to the mix.

Gentoo actually makes this a bit more difficult, because usually one
uses portage to install the kernel sources, and they get installed as
root-owned, and only root has write access to the kernel tree.

Some people, such as myself, use kernel sources outside of portage (I
follow a git repo) and do so as a non-root user.  In this case the
kernel tree is not owned by root and the config/compile is easily done
as a non-root user.

If you are super-paranoid.  You can make a non-root copy
of /usr/src/linux and compile it as a non-root user.

But there really isn't any point in using sudo.  It's effectively doing
the same thing that you are trying to avoid.





Re: [gentoo-user] sudo in kernel config ?

2010-09-11 Thread Stéphane Guedon
Le Saturday 11 September 2010 11:46:59, Albert Hopkins a écrit :
 On Sat, 2010-09-11 at 10:24 +0200, Stéphane Guedon wrote:
  few months ago, I read linux kernel in a nutschell(sic), and the author
  wrote we shouldn't do kernel operations (config and build) as root.
 
 I call bullsh*t.  I've been compiling kernels for 17 years and for the
 most part have done it as root without any problems.
 
 What the author is saying is that, to an extent, in theory no one should
 compile anything as root, or really do anything non-system-adminly as
 root.  You should only do as root what is critically necessary (e.g.
 make install) as root.
 
 In a perfect, tidy world we'd all do that.  This world, however does not
 exist.  Even portage, by default does configure and make as root (albeit
 in a sandbox so it is safe(r).
 
 What the author means is theoretically the config/compile phase could
 unintentionally cause some kind of harm to your system.  In practice I
 have never seen this or heard of it.  The kernel devs are bright enough
 to ensure that the compilation does nothing outside the source tree
 itself.
 
 It's a good guideline but, like the government's dietary guidelines, not
 ones I intend to follow religiously.
 
  Is sudo (or kdesudo ?) a good replacement to that ?
 
 sudo runs things as root, so effectively you've done nothing but add a
 password prompt to the mix.
 
 Gentoo actually makes this a bit more difficult, because usually one
 uses portage to install the kernel sources, and they get installed as
 root-owned, and only root has write access to the kernel tree.
 
 Some people, such as myself, use kernel sources outside of portage (I
 follow a git repo) and do so as a non-root user.  In this case the
 kernel tree is not owned by root and the config/compile is easily done
 as a non-root user.
 
 If you are super-paranoid.  You can make a non-root copy
 of /usr/src/linux and compile it as a non-root user.
 
 But there really isn't any point in using sudo.  It's effectively doing
 the same thing that you are trying to avoid.

I am not paranoid anymore, just asking to knowing persons...
Ok ! thanks for your answer !
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


Re: [gentoo-user] sudo in kernel config ?

2010-09-11 Thread Volker Armin Hemmann
On Saturday 11 September 2010, Stéphane Guedon wrote:
 Le Saturday 11 September 2010 11:46:59, Albert Hopkins a écrit :
  On Sat, 2010-09-11 at 10:24 +0200, Stéphane Guedon wrote:
   few months ago, I read linux kernel in a nutschell(sic), and the author
   wrote we shouldn't do kernel operations (config and build) as root.
  
  I call bullsh*t.  I've been compiling kernels for 17 years and for the
  most part have done it as root without any problems.
  
  What the author is saying is that, to an extent, in theory no one should
  compile anything as root, or really do anything non-system-adminly as
  root.  You should only do as root what is critically necessary (e.g.
  make install) as root.
  
  In a perfect, tidy world we'd all do that.  This world, however does not
  exist.  Even portage, by default does configure and make as root (albeit
  in a sandbox so it is safe(r).
  
  What the author means is theoretically the config/compile phase could
  unintentionally cause some kind of harm to your system.  In practice I
  have never seen this or heard of it.  The kernel devs are bright enough
  to ensure that the compilation does nothing outside the source tree
  itself.
  
  It's a good guideline but, like the government's dietary guidelines, not
  ones I intend to follow religiously.
  
   Is sudo (or kdesudo ?) a good replacement to that ?
  
  sudo runs things as root, so effectively you've done nothing but add a
  password prompt to the mix.
  
  Gentoo actually makes this a bit more difficult, because usually one
  uses portage to install the kernel sources, and they get installed as
  root-owned, and only root has write access to the kernel tree.
  
  Some people, such as myself, use kernel sources outside of portage (I
  follow a git repo) and do so as a non-root user.  In this case the
  kernel tree is not owned by root and the config/compile is easily done
  as a non-root user.
  
  If you are super-paranoid.  You can make a non-root copy
  of /usr/src/linux and compile it as a non-root user.
  
  But there really isn't any point in using sudo.  It's effectively doing
  the same thing that you are trying to avoid.
 
 I am not paranoid anymore, just asking to knowing persons...
 Ok ! thanks for your answer !

well, some years ago someone made a mistake causing some people doing make as 
root loosing /dev/null or something like that. But not even everybody was hit.

/me prefers loosing /dev/null over having /home/$USER overwritten.



[gentoo-user] file collisions

2011-05-26 Thread Allan Gottlieb
emerge complains that icu (details below) will overwrite files that MAY
belong to other packages.  But in fact none do.  The suggestion is to
ignore the collisions.  Does that mean I should simply rm the files
before retrying the emerge?

thanks,
allan

 * Messages for package dev-libs/icu-4.6.1:

 * Package:dev-libs/icu-4.6.1
 * Repository: gentoo
 * Maintainer: arfre...@gentoo.org
 * USE:amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Applying icu-4.6.1-parallel_installation.patch ...
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / filename` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * package dev-libs/icu-4.6.1 NOT merged
 * 
 * Detected file collision(s):
 * 
 *  /usr/lib64/libicutu.so.46.1
 *  /usr/lib64/libicuio.so.46.1
 *  /usr/lib64/libiculx.so.46.1
 *  /usr/lib64/libicutest.so.46.1
 *  /usr/lib64/libicudata.so.46.1
 *  /usr/lib64/libicui18n.so.46.1
 *  /usr/lib64/libicuuc.so.46.1
 *  /usr/lib64/libicule.so.46.1
 *  /usr/lib64/icu/4.6.1/Makefile.inc
 *  /usr/lib64/icu/4.6.1/pkgdata.inc
 *  /usr/share/doc/icu-4.6.1/unicode-license.txt.bz2
 *  /usr/share/doc/icu-4.6.1/html/readme.html
 *  /usr/share/icu/4.6.1/install-sh
 *  /usr/share/icu/4.6.1/license.html
 *  /usr/share/icu/4.6.1/mkinstalldirs
 *  /usr/share/icu/4.6.1/config/mh-linux
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'dev-libs/icu-4.6.1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
 * 



[gentoo-user] Do we have to build gcc with fortran now?

2011-06-21 Thread Dale

I just did my updates and ran into this:

* Maintainer: s...@gentoo.org
 * USE:amd64 consolekit elibc_glibc kernel_linux multilib 
policykit userland_GNU

 * FEATURES:   preserve-libs sandbox

 * Please install currently selected gcc version with USE=fortran.
 * If you intend to use a different compiler then gfortran, please
 * set FC variable accordingly and take care that the neccessary
 * fortran dialects are support.

 * ERROR: sci-libs/blas-reference-20070226 failed (setup phase):
 *   Currently no working fortran compiler is available
 *
 * Call stack:
 *  ebuild.sh, line   56:  Called pkg_setup
 *  ebuild.sh, line 1446:  Called fortran-2_pkg_setup
 *   fortran-2.eclass, line  134:  Called _die_msg
 *   fortran-2.eclass, line  120:  Called die
 * The specific snippet of code:
 *  die Currently no working fortran compiler is available
 *
 * If you need support, post the output of 'emerge --info 
=sci-libs/blas-reference-20070226',
 * the complete build log and the output of 'emerge -pqv 
=sci-libs/blas-reference-20070226'.
 * The complete build log is located at 
'/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'.
 * S: 
'/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'


 Failed to emerge sci-libs/blas-reference-20070226, Log file:

  
'/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log'

root@fireball / #

This is my gcc info:

[ebuild   R] sys-devel/gcc-4.4.5  USE=gtk mudflap (multilib) nls 
nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran 
-gcj -graphite (-hardened) (-libffi) -multislot -nocxx -nopie -nossp 
-objc -objc++ -objc-gc -test -vanilla


So, does everyone need to turn on the fortran USE flag so that they 
don't break anything?   May I also add, the USE flag description is 
worth about as much as a screen door on a submarine.


fortran - Adds support for fortran (formerly f77)

That doesn't tell me very much.

Heads up for folks about to do their updates, check into the USE flag 
fortran to see if you need to add it to yours before updating a bunch of 
stuff.


Dale

:-)  :-)



Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-21 Thread Matthew Finkel
On 06/21/11 23:55, Dale wrote:
 I just did my updates and ran into this:

 * Maintainer: s...@gentoo.org
  * USE:amd64 consolekit elibc_glibc kernel_linux multilib
 policykit userland_GNU
  * FEATURES:   preserve-libs sandbox

  * Please install currently selected gcc version with USE=fortran.
  * If you intend to use a different compiler then gfortran, please
  * set FC variable accordingly and take care that the neccessary
  * fortran dialects are support.

  * ERROR: sci-libs/blas-reference-20070226 failed (setup phase):
  *   Currently no working fortran compiler is available
  *
  * Call stack:
  *  ebuild.sh, line   56:  Called pkg_setup
  *  ebuild.sh, line 1446:  Called fortran-2_pkg_setup
  *   fortran-2.eclass, line  134:  Called _die_msg
  *   fortran-2.eclass, line  120:  Called die
  * The specific snippet of code:
  *  die Currently no working fortran compiler is available
  *
  * If you need support, post the output of 'emerge --info
 =sci-libs/blas-reference-20070226',
  * the complete build log and the output of 'emerge -pqv
 =sci-libs/blas-reference-20070226'.
  * The complete build log is located at
 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'.
  * S:
 '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'

  Failed to emerge sci-libs/blas-reference-20070226, Log file:

  
 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log'
 root@fireball / #

 This is my gcc info:

 [ebuild   R] sys-devel/gcc-4.4.5  USE=gtk mudflap (multilib) nls
 nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran
 -gcj -graphite (-hardened) (-libffi) -multislot -nocxx -nopie -nossp
 -objc -objc++ -objc-gc -test -vanilla

 So, does everyone need to turn on the fortran USE flag so that they
 don't break anything?   May I also add, the USE flag description is
 worth about as much as a screen door on a submarine.

 fortran - Adds support for fortran (formerly f77)

 That doesn't tell me very much.

 Heads up for folks about to do their updates, check into the USE flag
 fortran to see if you need to add it to yours before updating a bunch
 of stuff.

 Dale

 :-)  :-)

If I had to guess, I'd say =sci-libs/blas-reference-20070226 requires
fortran (ebuild depends on it) and you don't have another fortran
compiler installed.

Could be wrong though.

- Matt



[gentoo-user] Re: Do we have to build gcc with fortran now?

2011-06-22 Thread Nikos Chantziaras

On 06/22/2011 02:18 PM, Dale wrote:

Nikos Chantziaras wrote:

On 06/22/2011 06:55 AM, Dale wrote:

I just did my updates and ran into this:

* Maintainer: s...@gentoo.org
* USE: amd64 consolekit elibc_glibc kernel_linux multilib policykit
userland_GNU
* FEATURES: preserve-libs sandbox

* Please install currently selected gcc version with USE=fortran.
* If you intend to use a different compiler then gfortran, please
* set FC variable accordingly and take care that the neccessary
* fortran dialects are support.
[...]

Heads up for folks about to do their updates, check into the USE flag
fortran to see if you need to add it to yours before updating a bunch of
stuff.


Uninstall sci-libs/blas-reference I guess. And probably whatever
depends on it. Please do an emerge -pv --depclean blas-reference and
post the output so we can see what's pulling it as a dep on your system.



Here is the output:

root@fireball / # emerge -pv --depclean blas-reference

Calculating dependencies... done!
sci-libs/blas-reference-20070226 pulled in by:
virtual/blas-1.0


OK, that didn't help.  Try: emerge -pv --depclean virtual/blas



Two things. I read about this on -dev but didn't realize it was going to
affect me until I saw the message. After I added fortran to my USE line
in make.conf, it only rebuilt gcc then revdep-rebuild rebuilt
dev-lang/ifc-10.0.026-r1. Everything appears to be clean now.

To think people wonder why my USE line is so big. I keep having to add
stuff when portage pukes but portage never tells me when one has fell
off the reservation and needs to be removed.  sighs  Over the years,
it adds up.


That is no solution.  I highly doubt you need a Fortran compiler :-/  By 
adding more stuff to your make.conf as a work-around for problems like 
this, you add more and more stuff to your Gentoo install; stuff you 
actually have zero use for.  By that logic, you could enable every 
possible USE flag that exists so that you always have everything, just 
in case.  But then you should probably be using openSUSE or something :-P





Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-22 Thread Matthew Finkel
On 06/22/11 14:10, Dale wrote:
 I put -fortran in make.conf.  I ran emerge -uvDNa world and let it
 rebuild a few packages.  Then I get this:

  Emerging (1 of 2) sci-libs/blas-reference-20070226
  * lapack-lite-3.1.1.tgz RMD160 SHA1 SHA256 size ;-)
 ...   
 
 [ ok ]
  * Package:sci-libs/blas-reference-20070226
  * Repository: gentoo
  * Maintainer: s...@gentoo.org
  * USE:amd64 consolekit elibc_glibc kernel_linux multilib
 policykit userland_GNU
  * FEATURES:   preserve-libs sandbox

  * Please install currently selected gcc version with USE=fortran.
  * If you intend to use a different compiler then gfortran, please
  * set FC variable accordingly and take care that the neccessary
  * fortran dialects are support.

  * ERROR: sci-libs/blas-reference-20070226 failed (setup phase):
  *   Currently no working fortran compiler is available
  *
  * Call stack:
  *  ebuild.sh, line   56:  Called pkg_setup
  *  ebuild.sh, line 1446:  Called fortran-2_pkg_setup
  *   fortran-2.eclass, line  134:  Called _die_msg
  *   fortran-2.eclass, line  120:  Called die
  * The specific snippet of code:
  *  die Currently no working fortran compiler is available
  *
  * If you need support, post the output of 'emerge --info
 =sci-libs/blas-reference-20070226',
  * the complete build log and the output of 'emerge -pqv
 =sci-libs/blas-reference-20070226'.
  * The complete build log is located at
 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-180601.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'.
  * S:
 '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'

  Failed to emerge sci-libs/blas-reference-20070226, Log file:

  
 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-180601.log'
 root@fireball / #

 Am I going in circles again?  I don't drink because I don't like being
 drunk.  I also don't spin around in my chair for the same reason.  One
 of those may be needed to reverse the problem here.

 Now to go see how to fix this mess once and for all.

 Dale

 :-)  :-)


Do correct me if I'm wrong, but wasn't blas-reference pulled in by
merging gcc with USE=fortran? Or did you install blas-reference for
another reason?




Re: [gentoo-user] Problems emerging util-linux-2.20-r1 in chroot

2012-02-09 Thread Pandu Poluan
On Thu, Feb 9, 2012 at 19:32, Pandu Poluan pa...@poluan.info wrote:
 On Thu, Feb 9, 2012 at 18:49, William Kenworthy bi...@iinet.net.au wrote:

 On Thu, 2012-02-09 at 18:00 +0700, Pandu Poluan wrote:
 Have anyone been having problems emerging sys-apps/util-linux-2.20-r1
 on a chroot-ed environment?

 In my case, it always fail during the following stage:

 chmod g+s /var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write

 Strangely, if I exit chroot, I can do the following with no problem:

 chmod g+s 
 /mnt/gentoo/var/tmp/portage/sys-apps/util-linux-2.20-r1/image//usr/bin/write

 Any pointers to any blockers?

 Rgds,

 you might need to bind /proc into the chroot?


 Already done that. From outside of chroot:

 # mount | grep /mnt/gentoo/proc
 none on /mnt/gentoo/proc type proc (rw)
 #

 Note: I just tried keywording util-linux-2.20.1-r1, same error.

 If push comes to shove, I'll emerge util-linux-2.20.1-r1 on another
 system and get the binpkg.


Bah, no joy :(

Even grabbing the binpkg from another identical system resulted in
Permission denied errors:

 Extracting info
 * Package:sys-apps/util-linux-2.20.1-r1
 * Repository: gentoo
 * USE:ncurses crypt nls cramfs
 * FEATURES:   preserve-libs sandbox
 Extracting sys-apps/util-linux-2.20.1-r1
tar: ./bin/mount: Cannot change mode to rws--x--x: Permission denied
tar: ./bin/umount: Cannot change mode to rws--x--x: Permission denied
tar: ./usr/bin/write: Cannot change mode to rwxr-s--x: Permission denied
tar: Exiting with failure status due to previous errors
tar failed with status 2
!!! Error Extracting '/usr/portage/packages/sys-apps/util-linux-2.20.1-r1.tbz2'


Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] [OT] Still trying to compile hydrogen

2012-02-18 Thread Alex Schuster
meino.cra...@gmx.de writes:

 Alex Schuster wo...@wonkology.org [12-02-18 16:44]:

  What about trying the new ebuild for musesq-2.0 [2]?
  
  [1] http://www.gossamer-threads.com/lists/gentoo/dev/206852
  [2]
  http://www.mail-archive.com/proaudio@lists.tuxfamily.org/msg04170.html
  
  Wonko
  
 
 The mail at [2] is of 10.2011. If I am not totally wrong here I should
 have the ebuild already on my system. I am doing updates regularily...

Well, but which version are you actually emerging?

I just added the pro-audio overlay to check for myself. emerge museseq
wants to build version 1.0.1. Which fails, aparrently it tries to write
to /usr/qt/3/etc/settings/ which is not allowed:

ACCESS DENIED  open_wr:  /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
ISE:write_logfile unable to append logfile
ISE open_wr(/usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock): Permission
denied abs_path: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
res_path: /usr/qt/3/etc/settings/.qt_plugins_3.3rc.lock
/usr/lib64/libsandbox.so(+0x3832)[0x7fb1c5cbb832]
/usr/lib64/libsandbox.so(+0x38ab)[0x7fb1c5cbb8ab]
/usr/lib64/libsandbox.so(+0x4d8d)[0x7fb1c5cbcd8d]
/usr/lib64/libsandbox.so(open64+0xad)[0x7fb1c5cc0a4d]
/usr/qt/3/lib64/libqt-mt.so.3(+0x5c79cd)[0x7fb1c58279cd]
/usr/qt/3/lib64/libqt-mt.so.3(_ZN16QSettingsHeading4readERK7QString+0x5a)[0x7fb1c582973a]
/usr/qt/3/lib64/libqt-mt.so.3(_ZN16QSettingsPrivate9readGroupEv+0x6ac)[0x7fb1c582b64c]
/usr/qt/3/lib64/libqt-mt.so.3(_ZN9QSettings9readEntryERK7QStringS2_Pb+0x17e)[0x7fb1c582cf3e]
/usr/qt/3/lib64/libqt-mt.so.3(_ZN9QSettings13readListEntryERK7QStringPb+0x2e)[0x7fb1c582d5ce]
/usr/qt/3/lib64/libqt-mt.so.3(_ZN11QComLibrary22createInstanceInternalEv+0x2c2)[0x7fb1c57f2a62]
/proc/4891/cmdline: /usr/qt/3/bin/uic -L ../../muse/widgets -o
organguibase.cpp -impl organguibase.h organguibase.ui 

make[5]: *** [organguibase.lo] Aborted

But with FEATURES=-sandbox -usersandbox emerge museseq it builds fine.
1. and 2. seem to be written for Qt4, but subversion is unable to
check out the sources. Maybe this project is just dead?

But add kde-sunset to your overlays and emerge qt-meta:3, and it should
work.

Wonko



Re: [gentoo-user] mdev for udev substitution instructions web page is up

2012-03-18 Thread Michael Mol
On Sun, Mar 18, 2012 at 4:38 AM, Michael Mol mike...@gmail.com wrote:
 On Sun, Mar 18, 2012 at 3:29 AM, Walter Dnes waltd...@waltdnes.org wrote:
 On Sat, Mar 17, 2012 at 11:37:49PM +0100, Sebastian Pipping wrote
 On 03/17/2012 03:51 AM, Walter Dnes wrote:
  The page will be permanently under construction, i.e. evolving as
  we find out more about how mdev works.

 Unless you want to maintain total control of the data flow I would
 suggest turning that page into a new wiki page at
 https://wiki.gentoo.org/ to ease contribution to others and to
 increase availability and accessibility of that content.

  Probably the best thing to do in the long run. I've never done any
 wiki editing/posting, so I'll take a day or 2 to read up on it.  The
 help page looks rather complex.  Or are there any volunteers here who
 can copy the contents of the web page to a wiki page?  I'll gladly
 change my webpage to a pointer to the wiki page.

 First stab: https://wiki.gentoo.org/wiki/Mdev

 I don't know the Gentoo wiki's style policies, but I do know MediaWiki
 reasonably well. I did take license to edit for language/linguistic
 style, but not for substantive comment. Please go through and correct
 anything that seems broken. It's almost 4:30AM where I am, and I
 really ought to be sleeping, so I almost certainly mussed something
 up. Pretty sure I switched styles about halfway through, too.

 You should find the MediaWiki syntax reasonably accessible; just click
 'edit' at the top of the page and compare what the 'raw' form looks
 like with what the results look like.


  On a tangent, is that a better tutorial on wiki pages anywhere?

 MediaWiki.org has the best content. Generally, you'd play around in a
 sandbox page of your own (on whatever wiki site you have an account
 on) to get a feel for things.

BTW, where would one go to get involved in organization of the wiki? I
found myself wishing for templates for consistent formatting of things
like files, one-liners and naming of ebuilds, but I don't think I
ought to simply create the templates I'm looking for without talking
with someone first.

-- 
:wq



Re: [gentoo-user] mdev for udev substitution instructions web page is up

2012-03-18 Thread Pandu Poluan
On Mar 18, 2012 3:45 PM, Michael Mol mike...@gmail.com wrote:

 On Sun, Mar 18, 2012 at 4:38 AM, Michael Mol mike...@gmail.com wrote:
  On Sun, Mar 18, 2012 at 3:29 AM, Walter Dnes waltd...@waltdnes.org
wrote:
  On Sat, Mar 17, 2012 at 11:37:49PM +0100, Sebastian Pipping wrote
  On 03/17/2012 03:51 AM, Walter Dnes wrote:
   The page will be permanently under construction, i.e. evolving as
   we find out more about how mdev works.
 
  Unless you want to maintain total control of the data flow I would
  suggest turning that page into a new wiki page at
  https://wiki.gentoo.org/ to ease contribution to others and to
  increase availability and accessibility of that content.
 
   Probably the best thing to do in the long run. I've never done any
  wiki editing/posting, so I'll take a day or 2 to read up on it.  The
  help page looks rather complex.  Or are there any volunteers here who
  can copy the contents of the web page to a wiki page?  I'll gladly
  change my webpage to a pointer to the wiki page.
 
  First stab: https://wiki.gentoo.org/wiki/Mdev
 
  I don't know the Gentoo wiki's style policies, but I do know MediaWiki
  reasonably well. I did take license to edit for language/linguistic
  style, but not for substantive comment. Please go through and correct
  anything that seems broken. It's almost 4:30AM where I am, and I
  really ought to be sleeping, so I almost certainly mussed something
  up. Pretty sure I switched styles about halfway through, too.
 
  You should find the MediaWiki syntax reasonably accessible; just click
  'edit' at the top of the page and compare what the 'raw' form looks
  like with what the results look like.
 
 
   On a tangent, is that a better tutorial on wiki pages anywhere?
 
  MediaWiki.org has the best content. Generally, you'd play around in a
  sandbox page of your own (on whatever wiki site you have an account
  on) to get a feel for things.

 BTW, where would one go to get involved in organization of the wiki? I
 found myself wishing for templates for consistent formatting of things
 like files, one-liners and naming of ebuilds, but I don't think I
 ought to simply create the templates I'm looking for without talking
 with someone first.


I suggest asking in gentoo-project. The Powers That Be™ are obligatory
members there...

Rgds,


Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.

2012-04-28 Thread Michael Mol
I don't think I have one on kaylee. If I have one on inara, it'd be =
system RAM, so at least 4G.
On Apr 28, 2012 3:14 AM, Pandu Poluan pa...@poluan.info wrote:


 On Apr 27, 2012 8:58 AM, Michael Mol mike...@gmail.com wrote:
 
  On Thu, Apr 26, 2012 at 8:35 PM, Adam Carter adamcart...@gmail.com
 wrote:
   #expanded form of -march=native. Nothing special here. Noting this
   here because people keep freaking out when they see it in-line.
   SYS_CFLAGS_MARCH_NATIVE_EXP=-march=amdfam10 -mcx16 -msahf -mpopcnt
   --param l1-cache-size=64 --param l1-cache-line-size=64 --param
   l2-cache-size=512 -mtune=amdfam10
   CFLAGS=${SYS_CFLAGS_MARCH_NATIVE_EXP} -O2 -pipe -ggdb3
   CXXFLAGS=${CFLAGS}
   FEATURES=splitdebug
   MAKEOPTS=--jobs --load=5
   EMERGE_DEFAULT_OPTS=--jobs --load-average=6 --verbose --tree
   --with-bdeps=y --keep-going
  
   FYI Michael, i'm not too dissimilar, and no apparent problems with
   glibc-2.14.1-r3. Mostly stable, kernel from gentoo-sources 3.3.2.
 
  Running 3.2.12-gentoo on all systems here.
 
  
   CFLAGS=-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm -O2 -pipe
   CXXFLAGS=${CFLAGS}
   CHOST=x86_64-pc-linux-gnu
   #MAKEOPTS=-j1
   MAKEOPTS=-j4
   #FEATURES=ccache parallel-fetch buildsyspkg distcc
   FEATURES=-sandbox ccache parallel-fetch buildsyspkg
   LINGUAS=en
   EMERGE_DEFAULT_OPTS=--keep-going --autounmask y
  
 
  Yeah, that's pretty similar to mine.
 
  Lost my SSH session to inara (inara and kaylee are the two systems
  that are borked by the upgrade, saffron is the one system I have which
  upgraded without problem) when saffron hung coming out of screensaver.
  I can no longer ssh into either inara or kaylee. And I won't have time
  to work with either until Sunday at the earliest.
 
  This has not been a good week.
 

 How big is your swapfile?

 Rgds,



Re: [gentoo-user] Re: 32bit or 64bit

2012-07-19 Thread Michael Mol
On Thu, Jul 19, 2012 at 9:43 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Thu, 19 Jul 2012 16:31:42 +0300
 Nikos Chantziaras rea...@gmail.com wrote:

 On 19/07/12 16:03, Michael Mol wrote:
  On Thu, Jul 19, 2012 at 8:55 AM, Nikos Chantziaras
  rea...@gmail.com wrote:
  Interesting that Wine aims to do the WOW64 thing.  That's
  certainly news to me :-)
 
  Not really surprising. There's an IsWow64Process() in the Windows
  API to allow processes to detect the nature of the environment
  they're running on, since sometimes that's something you need to
  know. :)

 WOW64 relies on 32-bit libraries to do it's job though.  It's well
 known that 32-bit code cannot link against 64-bit libraries.  If
 building a 64-bit only version of Wine (since you cannot build any
 32-bit code on non-multilib Gentoo), the question arises on how Wine
 is doing it.



 Stupid question incoming:

 What's the WOW in WOW64?

 The more I read it as World of Warcraft the more I see that it doesn't
 actually fit :-)

WOW64 is Windows On Windows 64-bit. It's how 32-bit Windows
applications run on 64-bit Windows.

By and large, the way 32-bit and 64-bit applications and libraries can
communicate with each other are very limited. 64-bit programs can't
load 32-bit libraries, and vice versa. Some environment variables
containing path information are switched out depending on if the
program is 32-bit or 64-bit. Accesses to some registry paths are
shunted to one place or another, depending on if the program is 32-bit
or 64-bit.
For system libraries, 64-bit windows provides both 32-bit and 64-bit
versions of supported libraries, rather like multilib environments on
Linux.

In essence, if you get 64-bit Windows, you're getting two copies of
Windows, a 64-bit version and a 32-bit version, and the kernel shunts
32-bit programs into the 32-bit version while maintaining a reasonably
high degree of interoperability; it's not a complete sandbox.

32-bit and 64-bit processes can still communicate with each other.
mmap()'d files still work the same way, as the filesystem paths don't
change. Named objects such as pipes, events, mutexes...all of those
are handled by the kernel, which has mapping code to allow 32-bit and
64-bit processes to independently gain handles on the same named
objects. (Subject to security attributes and restrictions, of course.)

But, yeah. That's Windows, on Windows 64-bit, or WOW64.

(P.S. For the Horde!)
-- 
:wq



[gentoo-user] emerge dev-python/python-dateutil-2.1 failed (compile phase)

2012-08-14 Thread Cinder
I'm at a loss, as to how to solve this problem. Any advice would be 
greatly appreciated

# emerge --info '=dev-python/python-dateutil-2.1' 
Portage 2.1.10.65 (default/linux/amd64/10.0/desktop, gcc-4.5.3, 
glibc-2.14.1-r3, 3.3.8-gentoo x86_64)
=
 System Settings
=
System uname: 
Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Fri, 20 Jul 2012 16:15:01 +
app-shells/bash:  4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python:  2.7.3-r2, 3.2.3
dev-util/cmake:   2.8.7-r5
dev-util/pkgconfig:   0.26
sys-apps/baselayout:  2.1-r1
sys-apps/openrc:  0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf:   2.13, 2.68
sys-devel/automake:   1.11.1
sys-devel/binutils:   2.21.1-r1
sys-devel/gcc:4.5.3-r2
sys-devel/gcc-config: 1.6
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r1
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:   2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=core2 -O2 -pipe -msse4.1
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d 
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c
CXXFLAGS=-march=core2 -O2 -pipe -msse4.1
DISTDIR=/usr/portage/distfiles
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head 
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
unmerge-orphans userfetch userpriv
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://ftp.swin.edu.au/gentoo http://gentoo.channelx.biz/ 
http://gentoo.gg3.net/ http://ftp.iij.ad.jp/pub/linux/gentoo/ 
http://ftp.jaist.ac.jp/pub/Linux/Gentoo/;
LANG=en_US.UTF-8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=en
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --human-readable --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=rsync://rsync.au.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa amd64 audiofile berkdb bluetooth branding bzip2 
cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus dga 
directfb djvu dri dts dvd dvdr emboss encode enscript exif fam fbcon ffmpeg 
fftw firefox flac fortran gdbm gif gpm gtk hddtemp iconv ipv6 jack joystick 
jpeg ladspa lame lash lcms ldap libnotify libsamplerate lm_sensors mad matroska 
mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz ncurses 
networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds 
pppd qt3support qt4 readline sasl scanner sdl session smp sound spell sse sse2 
sse3 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode 
upower usb v4l vim vorbis wifi wxwidgets x264 xcb xcomposite xml xorg 
xscreensaver xv xvid xvmc zlib ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm 
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa 
lfloat linear meter mmap_emul mulaw multi null plug rate route share shm 
softvol APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon 
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile 
authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock 
deflate dir disk_cache env expires ext_filter file_cache filter headers include 
info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
speling status unique_id userdir usertrack vhost_alias CALLIGRA_FEATURES=kexi 
words flow plan sheets stage tables krita karbon braindump CAMERAS=ptp2 
COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog 
ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin 
garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore 
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx 
GRUB_PLATFORMS=efi-64 INPUT_DEVICES=keyboard mouse synaptics evdev 
KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 
mtxorb ncurses text LIBREOFFICE_EXTENSIONS=presenter-console 
presenter-minimizer LINGUAS=en PHP_TARGETS=php5-3 
PYTHON_TARGETS=python3_2 python2_7 RUBY_TARGETS=ruby18 ruby19 
USERLAND=GNU VIDEO_CARDS=nouveau v4l XTABLES_ADDONS=quota2 psd pknock 
lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit 
sysrq steal rawnat logmark ipmark dhcpmac delude chaos

Re: [gentoo-user] emerge dev-python/python-dateutil-2.1 failed (compile phase)

2012-08-14 Thread Alex
On 08/14/2012 02:49 AM, Cinder wrote:
 I'm at a loss, as to how to solve this problem. Any advice would be 
 greatly appreciated

 # emerge --info '=dev-python/python-dateutil-2.1' 
 Portage 2.1.10.65 (default/linux/amd64/10.0/desktop, gcc-4.5.3, 
 glibc-2.14.1-r3, 3.3.8-gentoo x86_64)
 =
  System Settings
 =
 System uname: 
 Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.1
 Timestamp of tree: Fri, 20 Jul 2012 16:15:01 +
 app-shells/bash:  4.2_p20
 dev-java/java-config: 2.1.11-r3
 dev-lang/python:  2.7.3-r2, 3.2.3
 dev-util/cmake:   2.8.7-r5
 dev-util/pkgconfig:   0.26
 sys-apps/baselayout:  2.1-r1
 sys-apps/openrc:  0.9.8.4
 sys-apps/sandbox: 2.5
 sys-devel/autoconf:   2.13, 2.68
 sys-devel/automake:   1.11.1
 sys-devel/binutils:   2.21.1-r1
 sys-devel/gcc:4.5.3-r2
 sys-devel/gcc-config: 1.6
 sys-devel/libtool:2.4-r1
 sys-devel/make:   3.82-r1
 sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
 sys-libs/glibc:   2.14.1-r3
 Repositories: gentoo
 ACCEPT_KEYWORDS=amd64
 ACCEPT_LICENSE=* -@EULA
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=core2 -O2 -pipe -msse4.1
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
 /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d 
 /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c
 CXXFLAGS=-march=core2 -O2 -pipe -msse4.1
 DISTDIR=/usr/portage/distfiles
 FCFLAGS=-O2 -pipe
 FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks 
 ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head 
 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
 unmerge-orphans userfetch userpriv
 FFLAGS=-O2 -pipe
 GENTOO_MIRRORS=http://ftp.swin.edu.au/gentoo http://gentoo.channelx.biz/ 
 http://gentoo.gg3.net/ http://ftp.iij.ad.jp/pub/linux/gentoo/ 
 http://ftp.jaist.ac.jp/pub/Linux/Gentoo/;
 LANG=en_US.UTF-8
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 LINGUAS=en
 MAKEOPTS=-j3
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
 --compress --force --whole-file --delete --stats --human-readable 
 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=
 SYNC=rsync://rsync.au.gentoo.org/gentoo-portage
 USE=X a52 aac acl acpi alsa amd64 audiofile berkdb bluetooth branding bzip2 
 cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus dga 
 directfb djvu dri dts dvd dvdr emboss encode enscript exif fam fbcon ffmpeg 
 fftw firefox flac fortran gdbm gif gpm gtk hddtemp iconv ipv6 jack joystick 
 jpeg ladspa lame lash lcms ldap libnotify libsamplerate lm_sensors mad 
 matroska mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz 
 ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png 
 policykit ppds pppd qt3support qt4 readline sasl scanner sdl session smp 
 sound spell sse sse2 sse3 ssl startup-notification svg tcpd theora tiff 
 truetype udev udisks unicode upower usb v4l vim vorbis wifi wxwidgets x264 
 xcb xcomposite xml xorg xscreensaver xv xvid xvmc zlib 
 ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare 
 dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 
 mmap_emul mulaw multi null plug rate route share shm softvol 
 APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm 
 authn_default authn_file authz_dbm authz_default authz_groupfile authz_host 
 authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate 
 dir disk_cache env expires ext_filter file_cache filter headers include info 
 log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
 speling status unique_id userdir usertrack vhost_alias 
 CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon 
 braindump CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory 
 rrdtool swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate 
 evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom 
 oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip 
 tripmate tnt ubx GRUB_PLATFORMS=efi-64 INPUT_DEVICES=keyboard mouse 
 synaptics evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk 
 hd44780 lb216 lcdm001 mtxorb ncurses text 
 LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer LINGUAS=en 
 PHP_TARGETS=php5-3 PYTHON_TARGETS=python3_2 python2_7 
 RUBY_TARGETS=ruby18 ruby19 USERLAND=GNU VIDEO_CARDS=nouveau v4l 
 XTABLES_ADDONS=quota2 psd pknock lscan

[gentoo-user] crossdev --target armv7a-unknown-linux-gnueabi failed ...

2012-08-17 Thread meino . cramer
Hi,

with crossdev I tried to build a toolchain for the 
armv7a-unknown-linux-gnueabi target.

The build process failed due to a wrong format of an archive
of patches.
Is there a way for a local quick fix...or am I lost for
a longer period of time... ;)  ???


Best regards,
mcc

Log:
_




 * Package:cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90
 * Repository: proaudio
 * Maintainer: toolch...@gentoo.org
 * USE:amd64 cxx elibc_glibc kernel_linux nls userland_GNU zlib
 * FEATURES:   sandbox
 ESC[1mESC[37mcfg-update-1.8.2-r1ESC[0mESC[0m: Checksum index is up-to-date 
 ...
 Unpacking source...
 Unpacking binutils-2.22.90.tar.bz2 to 
 /var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/work
 Unpacking binutils-2.22.90-patches-1.1.tar.xz to 
 /var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/work
unpack binutils-2.22.90-patches-1.1.tar.xz: file format not recognized. 
Ignoring.

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   
/var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/work/patch
 *   ( patch )

 * ERROR: cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90 failed (unpack 
phase):
 *   Cannot find $EPATCH_SOURCE!
 * 
 * Call stack:
 * ebuild.sh, line   85:  Called src_unpack
 *   environment, line 2962:  Called toolchain-binutils_src_unpack
 *   environment, line 3750:  Called tc-binutils_apply_patches
 *   environment, line 3059:  Called epatch
 *   environment, line 1378:  Called die
 * The specific snippet of code:
 *   die Cannot find \$EPATCH_SOURCE!;
 * 
 * If you need support, post the output of `emerge --info 
'=cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90'`,
 * the complete build log and the output of `emerge -pqv 
'=cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/pro-audio/eclass/unpacker.eclass
 * This ebuild is from an overlay named 'proaudio': '/var/lib/layman/pro-audio/'
 * The complete build log is located at 
'/var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/temp/environment'.
 * Working directory: 
'/var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/work/binutils-2.22.90'
 * S: 
'/var/tmp/portage/cross-armv7a-unknown-linux-gnueabi/binutils-2.22.90/work/binutils-2.22.90'




[gentoo-user] Google Chrome leftovers

2012-11-29 Thread Mark Knecht
Hi,
   I've sort of decided I like Chrome's UI better than others that
I've spent time with (mostly Firefox  Konqueror) but I'm constantly
held up by leftover processes when Chrome is closed:

mark@c2stable ~ $ ps aux | grep chrome
mark  3206  0.0  0.0 292448 16064 ?S06:32   0:01
/opt/google/chrome/chrome
--extra-plugin-dir=/usr/lib64/nsbrowser/plugins
mark  3207  0.0  0.0   6376   380 ?S06:32   0:00
/opt/google/chrome/chrome-sandbox /opt/google/chrome/chrome
--type=zygote
mark  3208  0.0  0.1 332364 40784 ?S06:32   0:00
/opt/google/chrome/chrome --type=zygote
mark  3212  0.0  0.0 189608 23336 ?S06:32   0:00
/opt/google/chrome/nacl_helper_bootstrap
/opt/google/chrome/nacl_helper --reserved_at_zero=0x
--r_debug=0x00213000
mark  3216  0.0  0.0 365148 15552 ?S06:32   0:00
/opt/google/chrome/chrome --type=zygote
mark 24747  0.0  0.0   8596   904 pts/4S+   13:05   0:00 grep
--colour=auto chrome
mark 27655  0.0  0.4 657892 114500 ?   S07:31   0:01
/opt/google/chrome/chrome
--extra-plugin-dir=/usr/lib64/nsbrowser/plugins
mark@c2stable ~ $

   In this case if I start Chrome again I don't get any bookmarks. I
have to kill all Chrome process id by hand and restart Chrome to get
my bookmarks.

   Anyone else experiencing this sort of problem? Machines are 64-bit
mostly stable. Clearly Chrome itself is testing so maybe this is early
days?

mark@c2stable ~ $ eix -Ic chrome
[I] www-client/google-chrome
(24.0.1312.25_beta169562(beta){tbz2}@11/28/2012): The web browser from
Google
mark@c2stable ~ $

   Also, is anyone successfully using GoogleTalk in Chrome on Gentoo?

Thanks,
Mark



Re: [gentoo-user] emerge --update : how to keep it going?

2012-12-02 Thread kwkhui
On Sun, 2 Dec 2012 16:12:02 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:

 On Sat, 01 Dec 2012 19:58:45 +
 Graham Murray gra...@gmurray.org.uk wrote:
 
  Volker Armin Hemmann volkerar...@googlemail.com writes:
  
   --keep-going does not help you, if the emerge does not start
   because of missing dep/slot conflict/blocking/masking whatever... 
  
  Though it would be nice if there was some flag, probably mainly of
  use with either ' -u @world' or --resume, to tell portage to get on
  and merge what it can and leave any masked packages or those which
  would generate blockers or conflicts. 
  
 
 That is a terribly bad idea, and you need to have a fairly deep
 understanding of IT theory to see it (which is why so few people see
 it). I don't know which camp you are in.
 
 The command is to emerge world, and it's supposed to be determinate,
 i.e. when it's ready to start you can tell what it's going to do, and
 that should be what you told it to do, no more and no less[1]
 
 the command is 
 emerge world
 not 
 emerge the-bits-of-world-you-think-you-can-deal-with
 
 If portage cannot emerge world and fully obey what root told it to do,
 then portage correctly refuses to continue. It could not possibly be
 any other way, as eg all automated build tools (puppet, chef and
 friends, even flameeyes's sandbox) break horribly if you do it any
 other way. Life is hard enough dealing with build failures without
 adding portage do somethign different to what it was told into the
 mix.
 
 [1] determinate excludes build failures, as those are not
 predictable. Dep graph failures happen before the meaty work begins.
 
 
 

While there are good reasons not to implement it in portage itself, you
can implement it with a bit of help from shell scripts telling portage
what to do.

Do an emerge -uDpv world, use sed or awk or whatever to replace the
beginning [ebuild ...] and whatever come after the package
nameversion, and finally loop emerge -1 =${package} for each package
in that list.  Now provided you discard the return value of emerge, if
such ${package} will give you something that portage doesn't think is a
good idea (e.g. unsatisfiable dependencies), the loop will go on to the
next package instead of completely halting.

The shell script is thus left as an exercise.

The usual warning applies:- it can be done doesn't necessarily mean it
is a good idea to do it.

Kerwin.


signature.asc
Description: PGP signature


[gentoo-user] Can't update pax-utils to 0.5 because of genkernel block.

2013-04-11 Thread Mateusz Kowalczyk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Trying to update my (fairly fresh install) system, I stumbled upon a
package block. Nothing unusual except that I get the following:
- -
Calculating dependencies... done!
[ebuild U  ] app-misc/pax-utils-0.5 [0.4] USE=-caps 79 kB
[blocks B  ] =app-misc/pax-utils-0.5 (=app-misc/pax-utils-0.5 is
blocking sys-kernel/genkernel-3.4.45)

Total: 1 package (1 upgrade), Size of downloads: 79 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-kernel/genkernel-3.4.45::gentoo, installed) pulled in by
sys-kernel/genkernel required by @selected

  (app-misc/pax-utils-0.5::gentoo, ebuild scheduled for merge) pulled
in by
=app-misc/pax-utils-0.1.17 required by
(sys-apps/portage-2.1.11.60::gentoo, installed)
=app-misc/pax-utils-0.1.19 required by
(sys-apps/sandbox-2.5::gentoo, installed)
=app-misc/pax-utils-0.1.10 required by
(sys-libs/glibc-2.15-r3::gentoo, installed)
pax-utils
app-misc/pax-utils-0.6 required by
(sys-kernel/genkernel-3.4.45::gentoo, installed)
=app-misc/pax-utils-0.2.1 required by
(sys-kernel/genkernel-3.4.45::gentoo, installed)
- -
I'm masking more recent pax-utils in my package.mask:
 app-misc/pax-utils-0.5

Why isn't Portage letting me update to 0.5? 0.6 is required by
genkernel and as far as I'm concerned, 0.5 should fall into that
category and yet it blocks.

- -- 
Mateusz K.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJRZ51XAAoJEM1mucMq2pqXYB8P/Rxds5m1XWaGv7ACSyxPNk7E
sJssYeyfiCL4pCacGR6Z141PK0nQHlnsv50ore7zNdFE1kqCc5M4T19JzBbWQIx6
dP+zYCgB+Bd/L0+S2UyW8ZcO+w3H8BjksRuCze5VavnYoE6d5oEfuPIrN+/Uo6H7
DyxpOzAYehta18l5V+GzZhtRVrh2Ppe1IVJDGffZy0w25u2REX1u3T2Ve+MgwX8u
318cx/JTc0pBw0iFcXenzCP4uQurkhykyKa4eamwrLP3IEQgAgq6SknTrT+VcMh2
dBYT5xBTFMhQ4nYBZ2q2KHy6JOKEF6PCCLmYVw5gxwsKlYheuLZvlYXX4dbzWNmb
3dNRzighjZIJ9u3P6yA0/ih7rVbEObe9rxI7MVGeyfPl1AGQIu+JR35rUNeMEA2H
FIds5GcGHoYgz3Z8azqchgNjfEP4NwlHwrsPjugPpjEsUlsC9enC1AWKgDJo3X8f
uHxNPDuqSCZqWjbA3byH+T3VnTwPfHKESqJL+jeEJQkLcQbthDClgUHhxHs+0ZcF
TCNMB3FfRLOtRNG0eXf+eUsA6WIh9r84vRLoEfmSKRHP5WPRty2Hhumv97vN+pu4
pJlo5GZLaO20rGXLb9/P2B8d/flICDXTHpD+IN8Bc4IJl1YPTuZOIOA3ZD+LKvj4
42OMeVc9D7oWZ6s2xEnh
=lmEu
-END PGP SIGNATURE-



Re: [gentoo-user] Serious problem with linode vm

2013-04-15 Thread Tanstaafl

On 2013-04-15 11:42 AM, Michael Mol mike...@gmail.com wrote:

On 04/15/2013 11:37 AM, Tanstaafl wrote:

Hi all,

Help! :(


[snip]



I've tried recompiling both (both compile/install ok), but when I try to
start SSHD I get:

  # /etc/init.d/sshd start
/etc/init.d/sshd: line 18: 2079 Illegal instruction ${SSHD_BINARY} -t
${SSHD_OPTS}
* ERROR: sshd failed to start


^^ That screams 'CFLAGS' issue. Verify that the CFLAGS for your prod
server are the same (or close enough) to that of your dev server.

Guessing the new host has different CPU capabilities exposed to the
guest, either because of a differing hypervisor configuraiton, or
because of the different underlying hardware.


Ok, as I said, I got SSH working now and am making progress, updating 
@system a little at a time...


Before I started updating everything in @system though, I tried ncurses 
again (one of the first ones that failed on me), and it still dies with 
this:


INFO: setup
Package:sys-libs/ncurses-5.9-r2
Repository: gentoo
Maintainer: base-sys...@gentoo.org
USE:abi_x86_32 cxx elibc_glibc gpm kernel_linux unicode 
userland_GNU x86

FEATURES:   sandbox
INFO: unpack
Applying ncurses-5.8-gfbsd.patch ...
Applying ncurses-5.7-nongnu.patch ...
Applying ncurses-5.9-rxvt-unicode-9.15.patch ...
Applying ncurses-5.9-fix-clang-build.patch ...
ERROR: compile
ERROR: sys-libs/ncurses-5.9-r2 failed (compile phase):
  (no error message)

Call stack:
ebuild.sh, line   93:  Called src_compile
  environment, line 2340:  Called do_compile 'narrowc'
  environment, line  467:  Called die
The specific snippet of code:
  emake ${make_flags} || die

If you need support, post the output of `emerge --info 
'=sys-libs/ncurses-5.9-r2'`,
the complete build log and the output of `emerge -pqv 
'=sys-libs/ncurses-5.9-r2'`.
The complete build log is located at 
'/var/tmp/portage/sys-libs/ncurses-5.9-r2/temp/build.log'.
The ebuild environment file is located at 
'/var/tmp/portage/sys-libs/ncurses-5.9-r2/temp/environment'.

Working directory: '/var/tmp/portage/sys-libs/ncurses-5.9-r2/work/narrowc'
S: '/var/tmp/portage/sys-libs/ncurses-5.9-r2/work/ncurses-5.9'

Ideas?



[gentoo-user] udev upgrade and baselayout 2.2

2013-04-29 Thread felix
I've finally got my system settled enough to look into teh scary udev upgrade.  
Especially I have all data dirs off in their own LVM partitions (/home, /encfs, 
/usr/portage, /var/spool), and a backup of the most recent bootable and runable 
/, so I can boot back to that if I need to and still get email etc. while 
working oout what I screwed up.

Excluding gcc, llvm, various app-emulation packages, videolibs, etc, most of it 
looks innocent enough.

=sys-apps/coreutils-8.21
=sys-apps/dbus-1.6.10
=sys-apps/dmidecode-2.12
=sys-apps/gptfdisk-0.8.6
=sys-apps/hwids-20130329
=sys-apps/hwloc-1.6.2
=sys-apps/kmod-13
=sys-apps/pciutils-3.2.0
=sys-apps/portage-2.1.11.62
=sys-apps/sandbox-2.6-r1
=sys-apps/sysvinit-2.88-r4
=sys-apps/usbutils-006-r1
=sys-apps/util-linux-2.22.2
=sys-auth/consolekit-0.4.5_p20120320-r2
=sys-auth/pambase-20120417-r1
=sys-auth/polkit-0.110
=sys-block/nbd-3.3
=sys-block/thin-provisioning-tools-0.1.5-r1
=sys-cluster/openmpi-1.6.4
=sys-fs/ecryptfs-utils-103
=sys-fs/lvm2-2.02.98
=sys-fs/s3fs-1.67
=sys-fs/s3ql-1.14
=sys-fs/udev-202
=sys-fs/udev-init-scripts-26
=sys-fs/udisks-1.0.4-r5
=sys-fs/udisks-2.1.0:2
=sys-libs/glibc-2.17:2.2
=sys-libs/pam-1.1.6-r4
=sys-power/cpufrequtils-008-r2
=sys-power/cpupower-3.8-r1
=sys-power/powertop-2.3
=sys-power/upower-0.9.20-r2
=sys-process/lsof-4.87-r1
=virtual/udev-197-r3

Some give me pause:

=sys-apps/baselayout-2.2

Is baselayout 2.2 necessary for upgrading udev, or just optional?  Could I 
upgrade this without upgrading udev?

=sys-boot/grub-2.00-r3:2

I'm running grub 1.  What I have seen of grub 2 doesn't impress me, and 
besides, my bootable backup is on a different disk but relies on the grub 1 
boot setup, and I'd just as soon not upgrade to grub 2 ever if possible.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Re: You need at least GCC 4.7.x or Clang = 3.0 for C++11-specific compiler flags

2013-07-27 Thread Carlos Sura
Nevermind mates,

I've just upgraded the GCC to latest and it worked out.

Thanks!


On 27 July 2013 20:55, Carlos Sura carlos.su...@googlemail.com wrote:

 Hello mates,

 I am facing the following issue, not sure why I have been trying to fix it
 for 3 days now.

 I've also installed Clang, but the same results.

 Additional information:
 ~AMD64

 emerge --info
 here: http://tny.cz/c2210f24


 Build log:

 ^[[32;01m * ^[[39;49;00mPackage:net-libs/webkit-gtk-2.0.4
 ^[[32;01m * ^[[39;49;00mRepository: gentoo
 ^[[32;01m * ^[[39;49;00mMaintainer: gn...@gentoo.org
 ^[[32;01m * ^[[39;49;00mUSE:amd64 elibc_glibc geoloc gstreamer
 introspection jit kernel_linux userland_GNU webgl
 ^[[32;01m * ^[[39;49;00mFEATURES:   preserve-libs sandbox userpriv
 usersandbox
  ^[[31;01m*^[[0m ERROR: net-libs/webkit-gtk-2.0.4::gentoo failed (pretend
 phase):
  ^[[31;01m*^[[0m   You need at least GCC 4.7.x or Clang = 3.0 for
 C++11-specific compiler flags
  ^[[31;01m*^[[0m
  ^[[31;01m*^[[0m Call stack:
  ^[[31;01m*^[[0m ebuild.sh, line  93:  Called pkg_pretend
  ^[[31;01m*^[[0m   webkit-gtk-2.0.4.ebuild, line  93:  Called die
  ^[[31;01m*^[[0m The specific snippet of code:
  ^[[31;01m*^[[0mdie You need at least GCC 4.7.x or Clang
 = 3.0 for C++11-specific compiler flags
  ^[[31;01m*^[[0m
  ^[[31;01m*^[[0m If you need support, post the output of `emerge --info
 '=net-libs/webkit-gtk-2.0.4::gentoo'`,
  ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv
 '=net-libs/webkit-gtk-2.0.4::gentoo'`.
  ^[[31;01m*^[[0m The complete build log is located at
 '/var/tmp/portage/net-libs/webkit-gtk-2.0.4/temp/build.log'.
  ^[[31;01m*^[[0m The ebuild environment file is located at
 '/var/tmp/portage/net-libs/webkit-gtk-2.0.4/temp/die.env'.
  ^[[31;01m*^[[0m Working directory: '/usr/lib64/portage/pym'
  ^[[31;01m*^[[0m S:
 '/var/tmp/portage/net-libs/webkit-gtk-2.0.4/work/webkitgtk-2.0.4'



 Any help?

 --
 Carlos Sura.-
 www.carlossura.com
 www.carlossura.com/blog




-- 
Carlos Sura.-
www.carlossura.com
www.carlossura.com/blog


[gentoo-user] trouble installing cups

2013-09-16 Thread gottlieb
When I reinstall CUPS /etc/cups/cupsd.conf is *not* updated.
Details follow.

Cups was behaving badly: the web interface could not be used.  The
browser would quickly say no process was listening on localhost:631

I compared cupsd.conf to the same file on another working system and
noticed the following differences

  1. *Many* pairs of lines were missing.  The first line of each pair
 was blank; the second a comment.  Presumably this has no effect.

  2. The initial block comment was missing.  Again no effect.

  3. One very influential change
   Listen localhost:631
 was replaced by a second copy of
   Listen /run/cups/cups.sock
 When I manually put back localhost:631
 the cups web interface again behaved normally.

  4. The following block was *added* at the end
JobPrivateAccess default
JobPrivateValues default
MaxLogSize 200
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

 The first, second, fourth, and fifth generated Unknown directive
 messages in /var/log/cups/error.log

So I reinstalled cups but /etc/cups/cupd.conf was not changed and still
has its old date and contents.  The merge looks clean (output below)

I am wondering if there is something wrong with my setup.
I have the userpriv feature enabled.

Any help would be appreciated.
thanks,
allan



 * Messages for package net-print/cups-1.6.3-r2:

 * Package:net-print/cups-1.6.3-r2
 * Repository: gentoo
 * Maintainer: print...@gentoo.org
 * USE:X acl amd64 dbus elibc_glibc filters kernel_linux pam 
python_single_target_python2_7 python_targets_python2_7 ssl threads usb 
userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 3.11.0-gentoo-rcs-1.3
 * Applying cups-1.6.0-dont-compress-manpages.patch ...
 * Applying cups-1.6.0-fix-install-perms.patch ...
 * Applying cups-1.4.4-nostrip.patch ...
 * Applying cups-1.5.0-systemd-socket-2.patch ...
 * Applying cups-1.6.2-statedir.patch ...
 * Applying cups-1.6.3-colord-profile.patch ...
 * Running aclocal -I config-scripts ...
 * Running autoconf ...
 * LANGS=ca es fr ja ru
 * LINGUAS=
 * Skipping make test/check due to ebuild restriction.
 * Updating icons cache ...
 * Updating desktop mime database ...
 Auto-cleaning packages...



Re: [gentoo-user] Managing multiple systems with identical hardware

2013-09-30 Thread thegeezer
On 09/30/2013 06:31 PM, Grant wrote:
 Keeping all of the laptops 100% identical as far as hardware is
 central to this plan.  I know I'm setting myself up for big problems
 otherwise.

 I'm hoping I can emerge every package on my laptop that every other
 laptop needs.  That way I can fix any build problems and update any
 config files right on my own system.  Then I would push config file
 differences to all of the other laptops.  Then each laptop could
 emerge its own stuff unattended.
 I see what you desire now - essentially you want to clone your laptop
 (or big chunks of it) over to your other workstations.
 That sounds about right.

 To get a feel for how it works, visit puppet's web site and download
 some of the test appliances they have there and run them in vm software.
 Set up a server and a few clients, and start experimenting in that
 sandbox. You'll quickly get a feel for how it all hangs together (it's
 hard to describe in text how puppet gets the job done, so much easier to
 do it for real and watch the results)
 Puppet seems like overkill for what I need.  I think all I really need
 is something to manage config file differences and user accounts.  At
 this point I'm thinking I shouldn't push packages themselves, but
 portage config files and then let each laptop emerge unattended based
 on those portage configs.  I'm going to bring this to the 'salt'
 mailing list to see if it might be a good fit.  It seems like a much
 lighter weight application.

 I'm soaking up a lot of your time (again).  I'll return with any real
 Gentoo questions I run into and to run down the final plan before I
 execute it.  Thanks so much for your help.  Not sure what I'd do
 without you. :)

 - Grant

maybe someone could chip in re: experience with distributed compilation
and cached compiles?
https://wiki.gentoo.org/wiki/Distcc
http://ccache.samba.org/

this may be closer to what you are looking for ?



Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error

2014-07-14 Thread Hinnerk van Bruinehsen
On Mon, Jul 14, 2014 at 08:50:58PM -0500, Dale wrote:
 Howdy,
 
 I'm reinstalling Gentoo on my OLD rig.  It's x86.  I have two issues
 which will be seen in the error below.  Sort of hard to miss.  Anyway, I
 started with the latest stage3 tarball.  I've got it to where it boots
 up and all and am in the process of trying to do a emerge -e system
 which will also update everything as well.  My problem is glibc and the
 locale settings.  May be a separate issue or related.  Here is the boo
 boo. 
 
SNIP
  * Package:sys-libs/glibc-2.17
  * Repository: gentoo
  * Maintainer: toolch...@gentoo.org
  * USE:abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
  * FEATURES:   preserve-libs sandbox
 [sys-libs/glibc-2.17] bash: warning: setlocale: LC_ALL: cannot change
 locale (en_US.UTF8)
 /bin/bash: warning: setlocale: LC_ALL: cannot change locale
 (en_US.UTF8)  -- This error right here. :-( 
SNIP error1 above
  * Your old kernel is broken.  You need to update it to
  * a newer version as syscall(bignum) will break.
SNIP error 2 above 
 
 One reason I want to re-emerge glibc, I'm HOPING it will fix the other
 LC_ALL error.  I'm pretty sure glibc takes care of that but not 100%
 sure.  I checked my main rig for differences in USE flags, multilib is
 the only one I see.  It is set on my main rig and doesn't seem to be
 available on x86 for obvious reasons. 
 
 If this is not enough info, let me know what you need.  I don't want to
 flood with tons of unneeded info when usually that above gives enough of
 a hint.  ;-) 
 

Hi Dale,

first you should check if you have this line in your /etc/locale.gen: 
en_US.UTF-8 UTF-8

If you do, run locale-gen to create the locale. This should in theory fix the
LC_foo errors (Note: there are some LC_ settings best left undisturbed,
especially setting LC_ALL to something other than C tends  to break stuff).

The other error you get (glibc failing to install) seem to be caused by an old
kernel version that wouldn't be compatible with the newer glibc. So I'd
recommend that you try to update your kernel first.

WKR
Hinnerk


signature.asc
Description: Digital signature


[gentoo-user] nonfatal() not supported error in glibc binary install

2014-10-04 Thread Bruce Schultz

Hi,

I'm trying to update a system using binary packages build on another 
system. I get this error for glibc:


  Emerging binary (1 of 1) sys-libs/glibc-2.19-r1::gentoo
 * glibc-2.19-r1.tbz2 MD5 SHA1 size ;-) 
...  [ ok ]

  Extracting info

  Failed to emerge sys-libs/glibc-2.19-r1, Log file:

  '/var/tmp/portage/sys-libs/glibc-2.19-r1/temp/build.log'

 * Messages for package sys-libs/glibc-2.19-r1:

 * ERROR: sys-libs/glibc-2.19-r1::gentoo failed (setup phase):
 *   nonfatal() not supported in this EAPI
 *
 * Call stack:
 *   ebuild.sh, line   93:  Called pkg_setup
 * environment, line 2870:  Called eblit-run 'pkg_setup'
 * environment, line  987:  Called eblit-glibc-pkg_setup
 * environment, line  843:  Called glibc_run_test '#include 
pwd.h

 * int main(){return getpwuid(0)==0;}
 * '
 * environment, line 2085:  Called glibc_compile_test '' 
'#include pwd.h

 * int main(){return getpwuid(0)==0;}
 * '
 * environment, line 1998:  Called nonfatal 'emake' '-s' 
'glibc-test'

 *   isolated-functions.sh, line   92:  Called die
 * The specific snippet of code:
 *  die $FUNCNAME() not supported in this EAPI
 *
 * If you need support, post the output of `emerge --info 
'=sys-libs/glibc-2.19-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv 
'=sys-libs/glibc-2.19-r1::gentoo'`.
 * The complete build log is located at 
'/var/tmp/portage/sys-libs/glibc-2.19-r1/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/sys-libs/glibc-2.19-r1/temp/environment'.

 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.19-r1/temp'
 * S: '/var/tmp/portage/sys-libs/glibc-2.19-r1/work/glibc-2.19'


The build log is mostly useless:
cat /var/tmp/portage/sys-libs/glibc-2.19-r1/temp/build.log
  Extracting info
 * Package:sys-libs/glibc-2.19-r1
 * Repository: gentoo
 * USE:hardened elibc_glibc amd64 abi_x86_64 userland_GNU 
kernel_linux

 * FEATURES:   preserve-libs sandbox userpriv usersandbox


I've tried updating to the latest portage (2.2.14_rc1) on both systems 
involved, but that doesn't help.


Also, it fails with the same error with emerge -k on the system that 
built the package.


It's currently compiling on my target system, so its not something 
that's blocking me, but I suspect its a bug in the ebuild or portage. 
Googling the error messages hasn't found anything revealing. Has anyone 
else come across this? Any suggestions on what to do about it?


Cheers
Bruce
--
:b




Re: [gentoo-user] rebuild of graphviz failed

2015-02-09 Thread wabenbau
Am Dienstag, 10.02.2015 um 01:10
schrieb bitlord bitlord0...@gmail.com:

 On Tue, 10 Feb 2015 00:55:00 +0100
 waben...@gmail.com wrote:
 
  Hi folks,
  
  after the last update, rebuild of graphviz failed with:
  
   * Package:media-gfx/graphviz-2.26.3-r4
   * Repository: gentoo
   * Maintainer: graph...@gentoo.org
   * USE:abi_x86_64 amd64 cairo doc elibc_glibc examples gtk
  kernel_linux nls perl python userland_GNU
   * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
   Unpacking source...
   Unpacking graphviz-2.26.3.tar.gz
   to /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
   Source unpacked
   in /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
   Preparing source
   in 
   /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3
...
   * Applying graphviz-2.26.3-libtool.patch ...
   [ ok ]
   * Applying graphviz-2.26.3-automake-1.11.2.patch ...
   [ ok ]
  cp: cannot stat '/usr/share/libtool/config/install-sh': No such file
  or directory
   * ERROR: media-gfx/graphviz-2.26.3-r4::gentoo failed (prepare
  phase):
   *   (no error message)
   * 
   * Call stack:
   * ebuild.sh, line  93:  Called src_prepare
   *   environment, line 5681:  Called die
   * The specific snippet of code:
   *   cp ${EPREFIX}/usr/share/libtool/config/install-sh
  config || die;
   * 
   * If you need support, post the output of `emerge --info
  '=media-gfx/graphviz-2.26.3-r4::gentoo'`,
   * the complete build log and the output of `emerge -pqv
  '=media-gfx/graphviz-2.26.3-r4::gentoo'`.
   * The complete build log is located at
  '/var/log/portage/media-gfx:graphviz-2.26.3-r4:20150209-234745.log'.
   * The ebuild environment file is located at
  '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/temp/environment'.
   * Working directory:
  '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
   * S:
  '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
  
  Any recommendations how I can solve this problem?
  
  Regards
  wabe
  
 
 Already reported  https://bugs.gentoo.org/show_bug.cgi?id=537850 
 I did a trick, downgraded libtool, installed graphviz, upgraded
 libtool ... (worked for me on two systems)

THX a lot for the information and the workaround. It also worked for me.

Regards
wabe



Re: [gentoo-user] rebuild of graphviz failed

2015-02-09 Thread bitlord
On Tue, 10 Feb 2015 00:55:00 +0100
waben...@gmail.com wrote:

 Hi folks,
 
 after the last update, rebuild of graphviz failed with:
 
  * Package:media-gfx/graphviz-2.26.3-r4
  * Repository: gentoo
  * Maintainer: graph...@gentoo.org
  * USE:abi_x86_64 amd64 cairo doc elibc_glibc examples gtk
 kernel_linux nls perl python userland_GNU
  * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
  Unpacking source...
  Unpacking graphviz-2.26.3.tar.gz
  to /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
  Source unpacked
  in /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work
  Preparing source
  in 
  /var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3
   ...
  * Applying graphviz-2.26.3-libtool.patch ...
  [ ok ]
  * Applying graphviz-2.26.3-automake-1.11.2.patch ...
  [ ok ]
 cp: cannot stat '/usr/share/libtool/config/install-sh': No such file
 or directory
  * ERROR: media-gfx/graphviz-2.26.3-r4::gentoo failed (prepare phase):
  *   (no error message)
  * 
  * Call stack:
  * ebuild.sh, line  93:  Called src_prepare
  *   environment, line 5681:  Called die
  * The specific snippet of code:
  *   cp ${EPREFIX}/usr/share/libtool/config/install-sh
 config || die;
  * 
  * If you need support, post the output of `emerge --info
 '=media-gfx/graphviz-2.26.3-r4::gentoo'`,
  * the complete build log and the output of `emerge -pqv
 '=media-gfx/graphviz-2.26.3-r4::gentoo'`.
  * The complete build log is located at
 '/var/log/portage/media-gfx:graphviz-2.26.3-r4:20150209-234745.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/temp/environment'.
  * Working directory:
 '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
  * S:
 '/var/tmp/portage/portage/media-gfx/graphviz-2.26.3-r4/work/graphviz-2.26.3'
 
 Any recommendations how I can solve this problem?
 
 Regards
 wabe
 

Already reported  https://bugs.gentoo.org/show_bug.cgi?id=537850 
I did a trick, downgraded libtool, installed graphviz, upgraded
libtool ... (worked for me on two systems)



Re: [gentoo-user] xen doesn't work

2015-07-14 Thread hw



Am 13.07.2015 um 20:17 schrieb hydra:

Please post the output of
emerge --info xen



Portage 2.2.20 (python 2.7.9-final-0, 
default/linux/amd64/13.0/no-multilib, gcc-4.8.4, glibc-2.20-r2, 
4.0.5-gentoo x86_64)

=
 System Settings
=
System uname: 
Linux-4.0.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.2

KiB Mem:24742332 total,  23827252 free
KiB Swap:   67069948 total,  67069948 free
Timestamp of repository gentoo: Tue, 14 Jul 2015 08:00:01 +
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:  4.3_p33-r2::gentoo
dev-lang/perl:5.20.2::gentoo
dev-lang/python:  2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:   3.2.2::gentoo
dev-util/pkgconfig:   0.28-r2::gentoo
sys-apps/baselayout:  2.2::gentoo
sys-apps/openrc:  0.17::gentoo
sys-apps/sandbox: 2.6-r1::gentoo
sys-devel/autoconf:   2.69::gentoo
sys-devel/automake:   1.14.1::gentoo
sys-devel/binutils:   2.24-r3::gentoo
sys-devel/gcc:4.8.4::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool:2.4.6::gentoo
sys-devel/make:   4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:   2.20-r2::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -pipe -march=native -fomit-frame-pointer
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf 
/etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo

CXXFLAGS=-O2 -pipe -march=native -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=-j 4
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs config-protect-if-modified 
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch 
preserve-libs protect-owned sandbox sfperms strict unknown-features-warn 
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync

FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://tux.rainside.sk/gentoo/ 
http://mirror.ovh.net/gentoo-distfiles/ 
http://gd.tuwien.ac.at/opsys/linux/gentoo/;

LANG=en_US.utf8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j24
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages

PORTAGE_TMPDIR=/var/tmp
USE=acl alsa amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri 
fortran gdbm iconv mmx mmxext modules ncurses nls nptl opengl openmp pam 
pcre readline session sse sse2 ssl tcpd unicode vdpau xvmc zlib 
ABI_X86=64 ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x 
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 
ymfpci APACHE2_MODULES=authn_core authz_core socache_shmcb unixd 
actions alias auth_basic authn_alias authn_anon authn_dbm authn_default 
authn_file authz_dbm authz_default authz_groupfile authz_host 
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock 
deflate dir disk_cache env expires ext_filter file_cache filter headers 
include info log_config logio mem_cache mime mime_magic negotiation 
rewrite setenvif speling status unique_id userdir usertrack vhost_alias 
CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon 
braindump author CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load 
memory rrdtool swap syslog CPU_FLAGS_X86=aes mmx mmxext popcnt sse 
sse2 sse3 sse4_1 sse4_2 ssse3 ELIBC=glibc GPSD_PROTOCOLS=ashtech 
aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 
nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf 
superstar2 timing tsip tripmate tnt ublox ubx INPUT_DEVICES=keyboard 
mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk 
hd44780 lb216 lcdm001 mtxorb ncurses text 
LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer 
OFFICE_IMPLEMENTATION=libreoffice PHP_TARGETS=php5-5 
PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 python3_3 
RUBY_TARGETS=ruby19 ruby20 USERLAND=GNU VIDEO_CARDS=nouveau 
XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p 
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark 
dhcpmac delude chaos account

USE_PYTHON=2.7 3.4
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, 
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS


=
Package

[gentoo-user] media-fonts/urw-fonts-2.4.9 - problem with the tar archive ?

2016-06-17 Thread Hogren
 

Hello,

I have a problem when I try to emerge media-fonts/urw-fonts-2.4.9.

my build log :

[32;01m * Package:media-fonts/urw-fonts-2.4.9
 * Repository: gentoo
 * Maintainer: fo...@gentoo.org
 * USE:X abi_x86_64 amd64 elibc_glibc
kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv
usersandbox
>>> Unpacking source...
>>> Unpacking urw-fonts-2.4-9.fc13.src.rpm to 
>>> /var/tmp/portage/media-fonts/urw-fonts-2.4.9/work
rpm2tar:
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm:
failed to extract cpio via gzip (not actually an RPM?)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: media-fonts/urw-fonts-2.4.9::gentoo failed (unpack
phase):
 *   failure unpacking
/var/tmp/portage/media-fonts/urw-fonts-2.4.9/distdir/urw-fonts-2.4-9.fc13.src.rpm
 * 
 * Call stack:
 * ebuild.sh, line  133:  Called src_unpack
 *   environment, line 2295:  Called rpm_src_unpack
 *   environment, line 2250:  Called srcrpm_unpack
'urw-fonts-2.4-9.fc13.src.rpm'
 *   environment, line 2300:  Called rpm_unpack
'urw-fonts-2.4-9.fc13.src.rpm'
 *   environment, line 2278:  Called die
 * The specific snippet of code:
 *   rpm2tar -O "${a}" | tar xf - || die "failure
unpacking ${a}";
 * 
 * If you need support, post the output of `emerge --info
'=media-fonts/urw-fonts-2.4.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=media-fonts/urw-fonts-2.4.9::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/temp/environment'.
 * Working directory:
'/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work'
 * S: '/var/tmp/portage/media-fonts/urw-fonts-2.4.9/work'

It sounds that is problem with the rpm file.

Anybody has the same problem or do I have to search about rpm2tar ? 

Thank you very much !!!

Hogren 

Re: [gentoo-user] Re: Confessional: how I generally use emerge.

2016-03-19 Thread Alan McKinnon
On 19/03/2016 18:43, »Q« wrote:
> On Fri, 18 Mar 2016 23:55:19 +0200
> Alan McKinnon <alan.mckin...@gmail.com> wrote:
> 
>> On 18/03/2016 20:43, »Q« wrote:
>>> On Thu, 17 Mar 2016 20:37:04 -0400
>>> Alec Ten Harmsel <a...@alectenharmsel.com> wrote:
>>>   
>>>>> emerge --update --newuse --deep --with-bdeps=y system
>>>>> --keep-going
>>>>
>>>> Add "--oneshot", same reasoning as above.  
>>>
>>> When the target is a set (in this case @system), does portage ever
>>> add all of it to @world? 
>>
>> Effectively, yes. That's not what the code does of course (they go
>> into world_sets) but the behaviour is as if the set was in world, and
>> gets added/removed as a complete unit
> 
> Hmm, that doesn't match my experience.  I just tested with the smallest
> set I ever use, @module-rebuild :
> 
> # emerge @module-rebuild
> Calculating dependencies... done!
>>>> Verifying ebuild manifests
>>>> Emerging (1 of 1) app-emulation/virtualbox-modules-4.3.32::gentoo
>>>> Installing (1 of 1) app-emulation/virtualbox-modules-4.3.32::gentoo
>>>> Jobs: 1 of 1 complete   Load avg: 2.04,
>>>> 0.80, 0.52 Auto-cleaning packages...
> 
>>>> No outdated packages were found on your system.
> 
>  * GNU info directory index is up-to-date.
> # cat /var/lib/portage/world_sets 
> # file /var/lib/portage/world_sets 
> /var/lib/portage/world_sets: empty
> 
> I don't think I have anything in make.conf which would change the
> default behavior WRT world_sets, but here's what I have anyway:
> 
> FEATURES="binpkg-logs buildsyspkg collision-protect downgrade-backup
>  fail-clean fixlafiles news parallel-fetch parallel-install
>  preserve-libs sandbox strict unknown-features-warn userfetch
>  userpriv usersandbox usersync"
> 
> EMERGE_DEFAULT_OPTS="--ask-enter-invalid --jobs=8 --load-average 11.2 
> --with-bdeps y"
> 
> 
> 


@module-rebuild is a dynamic set. It translates to "all the packages you
have emerged that install out-of-tree kernel modules"

So not really a fair comparison. Compare instead against a regular
static set - "a bunch of packages defined by you that go together and
live in /etc/portage/sets/"

-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Illegal State in Chroot Environment

2017-08-06 Thread symack
Hello Everyone, I was able to get as far as installing grub however through
the installation I would find some strange behaviour such as not being able
to mount /dev/sda2 to the boot directory. I would do it on the livecd (ie,
mount /dev/sda2 /mnt/gentoo/boot).

When it came to installing `grub grub-install /dev/sda` I got an 'Illegal
State'. emerge -e world would fail with:

>>> Installing (4 of 199) app-arch/bzip2-1.0.6-r8::gentoo
bash: line 1: 26183 Illegal instruction
${PORTAGE_BUNZIP2_COMMAND:-${PORTAGE_BZIP2_COMMAND} -d} -c --
/var/db/pkg/app-arch/bzip2-1.0.6-r8/environment.bz2 >
/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/environment
!!! FAILED prerm: 132
 * ERROR: app-arch/bzip2-1.0.6-r8::gentoo failed (postrm phase):
 *   eutils.eclass could not be found by inherit()
 *
 * Call stack:
 *   ebuild.sh, line 611:  Called source
'/var/db/pkg/app-arch/bzip2-1.0.6-r8/bzip2-1.0.6-r8.ebuild'
 *   bzip2-1.0.6-r8.ebuild, line   9:  Called inherit 'eutils'
'toolchain-funcs' 'multilib' 'multilib-minimal'
 *   ebuild.sh, line 284:  Called die
 * The specific snippet of code:
 *   [[ -z ${location} ]] && die "${1}.eclass could not be found by
inherit()"
 *
 * If you need support, post the output of `emerge --info
'=app-arch/bzip2-1.0.6-r8::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=app-arch/bzip2-1.0.6-r8::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/die.env'.
 * Working directory:
'/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/homedir'
 * S: '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/work/bzip2-1.0.6'
 * QA Notice: ECLASS 'eutils' inherited illegally in
app-arch/bzip2-1.0.6-r8
 * ERROR: app-arch/bzip2-1.0.6-r8::gentoo failed:
 *   eutils.eclass could not be found by inherit()
 *
 * Call stack:
 *   misc-functions.sh, line  17:  Called source
'/var/tmp/portage/._portage_reinstall_.vay4msqy/bin/ebuild.sh'
 *   ebuild.sh, line 611:  Called source
'/var/db/pkg/app-arch/bzip2-1.0.6-r8/bzip2-1.0.6-r8.ebuild'
 *   bzip2-1.0.6-r8.ebuild, line   9:  Called inherit 'eutils'
'toolchain-funcs' 'multilib' 'multilib-minimal'
 *   ebuild.sh, line 284:  Called die
 * The specific snippet of code:
 *   [[ -z ${location} ]] && die "${1}.eclass could not be found by
inherit()"
 *
 * If you need support, post the output of `emerge --info
'=app-arch/bzip2-1.0.6-r8::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=app-arch/bzip2-1.0.6-r8::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/die.env'.
 * Working directory:
'/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/homedir'
 * S: '/var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/work/bzip2-1.0.6'
!!! FAILED postrm: 1
 * The 'postrm' phase of the 'app-arch/bzip2-1.0.6-r8' package has failed
 * with exit value 1.
 *
 * The problem occurred while executing the ebuild file named
 * 'bzip2-1.0.6-r8.ebuild' located in the '/var/db/pkg/app-
 * arch/bzip2-1.0.6-r8' directory. If necessary, manually remove the
 * environment.bz2 file and/or the ebuild file located in that directory.
 *
 * Removal of the environment.bz2 file is preferred since it may allow the
 * removal phases to execute successfully. The ebuild will be sourced and
 * the eclasses from the current portage tree will be used when necessary.
 * Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm()
 * removal phases to be skipped entirely.
Traceback (most recent call last):
  File
"/var/tmp/portage/._portage_reinstall_.vay4msqy/bin/filter-bash-environment.py",
line 157, in 
re.compile(var_pattern), file_in, file_out)
  File
"/var/tmp/portage/._portage_reinstall_.vay4msqy/bin/filter-bash-environment.py",
line 81, in filter_bash_environment
file_out.write(line.replace("\1", ""))
BrokenPipeError: [Errno 32] Broken pipe
 * ERROR: app-arch/bzip2-1.0.6-r8::gentoo failed (postinst phase):
 *   filter-bash-environment.py failed
 *
 * Call stack:
 *ebuild.sh, line 767:  Called __ebuild_main 'postinst'
 *   phase-functions.sh, line 949:  Called __filter_readonly_variables
'--filter-path' '--filter-sandbox' '--allow-extra-vars'
 *   phase-functions.sh, line 137:  Called die
 * The specific snippet of code:
 *   "${PORTAGE_PYTHON:-/usr/bin/python}"
"${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" || die
"filter-bash-environment.py failed"
 *
 * If you need support, post the output of `emerge --info
'=app-arch/bzip2-1.0.6-r8::gentoo'`,
 * the complete build log and the output of 

Re: [gentoo-user] emerge --emptytree : how to ?

2017-10-14 Thread Dale
Helmut Jarausch wrote:
> Hi,
> I think I'm in need of doing 
> emerge --emptytree ...
> for the first time.
> Can I do it on a running Gentoo system?
> I expected it will take several days to complete.
> This poses some problems to me.
> First, I have to shut down my machine overnight.
> Second, I haven't made good experience with --keep-going
> nor with --resume.
> What can I do if 'emerge -e ...' fails by itself or because I have to
> shut my machine down?
>
> Many thanks for some hints,
> Helmut
>
>


I do this on occasion when some update makes things go weird.  I'll look
for anyone else having the issue and if not, then I do a emerge -e world
to see if it helps. 

First, I have entries in make.conf to help make it so that it doesn't
affect what I'm doing.  I use ionice, -j and friends to do that.  I also
use --keep-going as well.  Generally, I can't tell it is doing
anything.  There is a few packages that it slows things down for a few
minutes.  It doesn't do it for the whole compile process, just a few
minutes of it.  Firefox, Libreoffice is two that I recall. I'll post
some of my make.conf items below. 

Second, you can skip certain programs, large ones for example.  You can
for example add this:  --exclude libreoffice  That will let it skip
libreoffice but keep in mind, some dependencies may be skipped as well,
if nothing else depends on them.  I haven't tested that but that's my
thinking.  Maybe someone else has more ideas on that. 

Third, I'm almost certain --resume works even after a reboot.  Just keep
in mind, if it was in the middle of a package compile, it likely will
start over from scratch.  That's my experience at least. 

Some of my make.conf entries.  You may not need all of these so edit out
what you don't want or change values if you need to.  I have a four core
CPU. 

FEATURES="-usersync -userpriv -usersandbox buildpkg sandbox parallel-fetch"

MAKEOPTS="-j5"

EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=100 --keep-going -v -j5
--quiet-build=n -1 --unordered-display"

PORTAGE_NICENESS=5

PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"

As for the command I use, emerge -ea world.  If you have to shutdown for
a while, once you reboot, try emerge --resume and see if it works.  It
should.  I've done it before but its been a good while back.

Hope that helps.

Dale

:-)  :-) 



[gentoo-user] x2goclient-4.1 will not compile

2018-01-02 Thread thelma
I'm trying to compile x2goclient-4.1
I'm getting similar errors, doesn't matter which version I'm trying to
compile
4.1.0.0-r1
4.1.0.1
4.1.0.1-r1
4.1.1.0

Eg.
>>> Failed to emerge net-misc/x2goclient-4.1.0.1-r1, Log file:
>>>  '/var/log/portage/net-misc:x2goclient-4.1.0.1-r1:20180103-050959.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.18,
0.07, 0.09
 * Package:net-misc/x2goclient-4.1.0.1-r1
 * Repository: gentoo
 * Maintainer: voyag...@gentoo.org
 * USE:abi_x86_64 amd64 elibc_glibc kernel_linux ldap userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
 * Running qmake ...
Info: creating stash file
/var/tmp/portage/net-misc/x2goclient-4.1.0.1-r1/work/x2goclient-4.1.0.1/.qmake.stash
Project MESSAGE: if you want to build x2goplugin you should export
X2GO_CLIENT_TARGET=plugin
Project MESSAGE: building x2goclient with ldap and cups
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_da.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_de.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_es.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_et.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_fi.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_fr.qm'
RCC: Error in 'res/resources.qrc': Cannot find file
'i18n/x2goclient_nb_no.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_nl.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_pt.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_ru.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_sv.qm'
RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_tr.qm'
RCC: Error in 'res/resources.qrc': Cannot find file
'i18n/x2goclient_zh_tw.qm'
 [ ok ]
/usr/lib64/qt5/bin/lrelease res/i18n/x2goclient_de.ts
make: /usr/lib64/qt5/bin/lrelease: Command not found
make: *** [Makefile:537: x2goclient_de.qm] Error 127
 * ERROR: net-misc/x2goclient-4.1.0.1-r1::gentoo failed (compile phase):
 *   emake failed


-- 
Joseph



Re: [gentoo-user] x2goclient-4.1 will not compile

2018-01-02 Thread R0b0t1
On Tue, Jan 2, 2018 at 11:15 PM,  <the...@sys-concept.com> wrote:
> I'm trying to compile x2goclient-4.1
> I'm getting similar errors, doesn't matter which version I'm trying to
> compile
> 4.1.0.0-r1
> 4.1.0.1
> 4.1.0.1-r1
> 4.1.1.0
>
> Eg.
>>>> Failed to emerge net-misc/x2goclient-4.1.0.1-r1, Log file:
>>>>  '/var/log/portage/net-misc:x2goclient-4.1.0.1-r1:20180103-050959.log'
>>>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.18,
> 0.07, 0.09
>  * Package:net-misc/x2goclient-4.1.0.1-r1
>  * Repository: gentoo
>  * Maintainer: voyag...@gentoo.org
>  * USE:abi_x86_64 amd64 elibc_glibc kernel_linux ldap userland_GNU
>  * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>  * Running qmake ...
> Info: creating stash file
> /var/tmp/portage/net-misc/x2goclient-4.1.0.1-r1/work/x2goclient-4.1.0.1/.qmake.stash
> Project MESSAGE: if you want to build x2goplugin you should export
> X2GO_CLIENT_TARGET=plugin
> Project MESSAGE: building x2goclient with ldap and cups
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_da.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_de.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_es.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_et.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_fi.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_fr.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file
> 'i18n/x2goclient_nb_no.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_nl.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_pt.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_ru.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_sv.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file 'i18n/x2goclient_tr.qm'
> RCC: Error in 'res/resources.qrc': Cannot find file
> 'i18n/x2goclient_zh_tw.qm'
>  [ ok ]
> /usr/lib64/qt5/bin/lrelease res/i18n/x2goclient_de.ts
> make: /usr/lib64/qt5/bin/lrelease: Command not found
> make: *** [Makefile:537: x2goclient_de.qm] Error 127
>  * ERROR: net-misc/x2goclient-4.1.0.1-r1::gentoo failed (compile phase):
>  *   emake failed
>

Can you attach emerge --info and the other requested files? Which use
flags are you using? 4.1.0.0 installs with no issue for me.

Cheers,
 R0b0t1



Re: [gentoo-user] Expect a ~15% average slowdown if you use an Intel processor

2018-01-04 Thread Rich Freeman
On Thu, Jan 4, 2018 at 8:44 AM, Corbin Bird <corbinb...@charter.net> wrote:
>
> According to the Project Zero documentation  having BPF JIT enabled
> is the key to the exploit.
>
> The way the docs read ... can it be assumed that by having BPF JIT
> disabled on an AMD, that blocks this exploit?
>

I'm still working through the details, but AMD seems to only be
vulnerable to variant 1 (based on AMD's reports), and for Linux that
requires that BPF JIT be both built into the kernel (compile-time),
and enabled in sysctl (net.core.bpf_jit_enable).  From what I can tell
variant 1 requires that the vulnerable code actually be executed in
the kernel security context.  I'm sure a fix to BPF will be made to
close that.  There might also be some other code that can be tricked
in the kernel but there are no reports of this.

For variant 2 (not exploitable on AMD), it sounds like the BPF code
need merely be present in kernel virtual memory while running in user
security context.  That would mean that it would need to be built at
compile-time, and loaded (if in a module), but it wouldn't have to be
enabled in sysctl.  I didn't see any mention of it but I would think
that the PTI fixes might close this hole on Intel, since then when the
CPU is in user security context the BPF code would not be present in
virtual memory.  Intel posted a separate compile-time fix to lkml
yesterday as well, with an amusing response from Linus in his usual
style, and an even more amusing subsequent joke about needing to add a
perl interpreter to the kernel.

Variant 1 does exploit CPU behavior, but I suspect it could be fixed
with a change to gcc to recognize these kinds of indirect memory
references and ensure they're not executed speculatively.  That fix
would be applicable to anything that runs untrusted code in a sandbox,
such as browsers.  That variant isn't about crossing CPU privilege
boundaries so much as getting code that is legitimately being run to
leak state through the cache as a backchannel.

Note: I'm not an expert on any of this stuff, and if somebody wants to
chime in with details/adjustments to the above I'm all ears.

-- 
Rich



Re: [gentoo-user] Expect a ~15% average slowdown if you use an Intel processor

2018-01-04 Thread Corbin Bird


On 01/04/2018 08:17 AM, Rich Freeman wrote:
> On Thu, Jan 4, 2018 at 8:44 AM, Corbin Bird <corbinb...@charter.net> wrote:
>> According to the Project Zero documentation  having BPF JIT enabled
>> is the key to the exploit.
>>
>> The way the docs read ... can it be assumed that by having BPF JIT
>> disabled on an AMD, that blocks this exploit?
>>
> I'm still working through the details, but AMD seems to only be
> vulnerable to variant 1 (based on AMD's reports), and for Linux that
> requires that BPF JIT be both built into the kernel (compile-time),
> and enabled in sysctl (net.core.bpf_jit_enable).  From what I can tell
> variant 1 requires that the vulnerable code actually be executed in
> the kernel security context.  I'm sure a fix to BPF will be made to
> close that.  There might also be some other code that can be tricked
> in the kernel but there are no reports of this.
>
> For variant 2 (not exploitable on AMD), it sounds like the BPF code
> need merely be present in kernel virtual memory while running in user
> security context.  That would mean that it would need to be built at
> compile-time, and loaded (if in a module), but it wouldn't have to be
> enabled in sysctl.  I didn't see any mention of it but I would think
> that the PTI fixes might close this hole on Intel, since then when the
> CPU is in user security context the BPF code would not be present in
> virtual memory.  Intel posted a separate compile-time fix to lkml
> yesterday as well, with an amusing response from Linus in his usual
> style, and an even more amusing subsequent joke about needing to add a
> perl interpreter to the kernel.
>
> Variant 1 does exploit CPU behavior, but I suspect it could be fixed
> with a change to gcc to recognize these kinds of indirect memory
> references and ensure they're not executed speculatively.  That fix
> would be applicable to anything that runs untrusted code in a sandbox,
> such as browsers.  That variant isn't about crossing CPU privilege
> boundaries so much as getting code that is legitimately being run to
> leak state through the cache as a backchannel.
>
> Note: I'm not an expert on any of this stuff, and if somebody wants to
> chime in with details/adjustments to the above I'm all ears.
>

So  kill all BPF JIT support / leave BPF JIT out of the kernel / no
kernel modules either == attack Variant #1 fails.
The "current workaround" ( for AMD CPU's ) is how I read it.

Thanks for the info.

Corbin



Re: [gentoo-user] All Gentoo signing key expired and no way to fix it

2018-07-04 Thread Jack

On 2018.07.04 13:38, gevisz wrote:

2018-07-03 16:22 GMT+03:00 Mart Raudsepp :
> Ühel kenal päeval, T, 03.07.2018 kell 14:00, kirjutas gevisz:
Are you, by any chance, running this command through something like  
lxc-attach or ssh?
I had the exact same problem two days ago and it turned out to be  
something about the environment being passed to the remote system.  
Sourcing /etc/profile did the trick.
No, I do it on my desktop staying just in front of me. So, no need  
for ssh (and I do not know what lxc-attach is at all).

>>
>> Still, sourcing /etc/profile somehow helped:
>
> How do you obtain root privileges for the command?

su

If you use su, you should be using "su -" (or "su -l" or "su  
--login"), not "su".


I have used only "su" for already 3 years, since switched to Gentoo  
from Ubuntu and never had any problems with it.


Could you explain a little bit more why "su -" should be used instead.
It's not so much needing the root environment, it's that sometimes  
things in your own environment cause problems if not removed when  
emerge runs.  There is another recent thread about emerge (nodejs)  
failing because of sandbox violations due to some XDG variable causing  
an install script to try writing to somewhere it would not have it the  
environment had been properly sanitized.  Note I consider this a  
general precaution, it may or may not be relevant for the subject of  
this thread.  The problems caused by this issue are indeed infrequent  
and sporadic, so it's not surprising that you have not run into any of  
them.  It seems to be related to the details in some ebuilds.



From the man page I've got the following:

-, -l, --login
Provide an environment similar to what the user would expect  
had the user logged in directly.


But I cannot see why I need the original root environment, especially  
if I never set it up.
That's partly the point - the root environment is generally much more  
empty than that of your usual user.



> If you use sudo, you might need to pass -i (--login) option to it.

I hate using sudo since I have been forced to use it in Ubuntu.
I almost never used sudo when I used Ubuntu.  I used su or logged in as  
root when necessary.




Jack


Re: [gentoo-user] Re: bash upgrading problem

2019-01-21 Thread Raffaele Belardi
Jacques Montier wrote:
> /
> /
> Le lun. 21 janv. 2019 à 07:52, Raffaele Belardi  <mailto:raffaele.bela...@st.com>> a écrit :
> 
> Jacques Montier wrote:
> > checking whether /dev/fd is available... ERROR: ld.so: object 
> 'libsandbox.so' from
> LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
> 
> Just a guess. configure here is trying to read /dev/fd which is a symlink 
> to
> /proc/self/fd. Do you see anything strange with those two directories or 
> directory
> entries?
> 
> $ ll /dev/fd
> lrwxrwxrwx 1 root root 13 Jan 21 07:10 /dev/fd -> /proc/self/fd
> 
> 
> # ll /proc/self/fd
> total 0
> lrwx-- 1 root root 64 Jan 21 07:53 0 -> /dev/pts/3
> lrwx-- 1 root root 64 Jan 21 07:53 1 -> /dev/pts/3
> lrwx-- 1 root root 64 Jan 21 07:53 2 -> /dev/pts/3
> lr-x-- 1 root root 64 Jan 21 07:53 3 -> /proc/3744/fd
> 
> # ll /proc/self/
> total 0
> dr-x-- 2 root root 0 Jan 21 07:54 fd
> (snip)
> 
> 
> Thanks Raffaele,
> 
> No, i don't see anything strange with those two directories. Do you ?
> 
> $ ls -al /dev/fd
>  lrwxrwxrwx 1 root root 13 21 janv. 10:28 /dev/fd -> /proc/self/fd/
> 
> $ ls -al /proc/self/fd
> total 0
> dr-x-- 2 jacques jacques  0 21 janv. 10:43 ./
> dr-xr-xr-x 9 jacques jacques  0 21 janv. 10:43 ../
> lrwx-- 1 jacques jacques 64 21 janv. 10:43 0 -> /dev/pts/0
> lrwx-- 1 jacques jacques 64 21 janv. 10:43 1 -> /dev/pts/0
> lrwx-- 1 jacques jacques 64 21 janv. 10:43 2 -> /dev/pts/0
> lr-x-- 1 jacques jacques 64 21 janv. 10:43 3 -> /proc/5146/fd/
> 
> $ ls -al /proc/self/
> dr-x--   2 jacques jacques 0 21 janv. 10:44 fd/
> 

Well, they are owned by jacques instead of root. Could it be the reason why 
you're asked
for a password? Maybe some strange interaction with the sandbox?

raffaele



Re: [gentoo-user] Re: bash upgrading problem

2019-01-19 Thread Jack

On 2019.01.19 05:51, Jacques Montier wrote:
Le ven. 18 janv. 2019 à 21:36, Nikos Chantziaras  a  
écrit :

> On 18/01/2019 13:29, Jacques Montier wrote:

[snip]

Thanks Jack and Nikos,

I did not have any problem with bash emerge so far.
It is not clear if you do not have any problem with the emerge, or if  
it is still failing.

Here is the attached log.

[snip]
The only thing i did some days ago, was to change my user jacques  
password. In the sudoers file, i have the row : jacques ALL=(ALL)  
NOPASSWD: ALL So with sudo, i don't have to write the root password.
Changing the password should not cause any problems, and that sudo  
entry look fine.


It is not version bash related as i tried to re-emerge the installed  
app-shells/bash and it fails.

So you DO still have the problem.
[snip]

--quoted attachment  
“app-shells:bash-4.4_p23-r1:20190119-102517.log”--

[snip much of emerge log]
So the problem occurs at the end of the ./configure stage.  You did not  
include this in your original post.
checking which library has the termcap functions... (cached) using  
libcurses

checking whether /dev/fd is available...
ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be  
preloaded (cannot open shared object file): ignored.

So this is the real error - portage can't (pre)load libsandbox.so.
1) When is the last time you did a full upgrade?  I'm now wondering if  
you have inconsistent versions of different packages installed.

2) Try re-emerging sys-apps/sandbox.
3) If that does not work, try running revdep-rebuild.  It should not  
normally be necessary, but there are times.  Did an emerge world ever  
get interrupted?




We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Sorry, try again.
sandbox:stop  caught signal 2 in pid 10364
sudo: 1 incorrect password attempt
sandbox:stop  Send signal 4 more times to force SIGKILL

[snipped repeated error]

Jack


Re: [gentoo-user] strange ebuild problem

2020-11-20 Thread Helmut Jarausch

On 11/20/2020 05:50:11 PM, Mickaël Bucas wrote:
Le  ven. 20 nov. 2020    16:44, Helmut Jarausch  
<_j_a_r_a_u_s_c_h_@_s_k_y_n_e_t_._b_e> a ©crit  :

 Hi,
 I have an ebuild containing

 inherit git-r3

 and

 src_compile() {

         ./build_all.sh
 }

 The script build_all.sh contains

 [ -d csources ] || git clone --depth 1  
  
_h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t



 When I try to build I get the strange error
 fatal: unable to access  
'_h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t_/':

  
 Could not resolve host: _g_i_t_h_u_b_._c_o_m

 But when I exec
 git clone --depth 1  
_h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t

 in an xterm (i.e. without using 'ebuild') it succeeds.

 What's going on here?

 Many thanks for a hint,
 Helmut

Hi Helmut

I believe this is a consequence of the sandboxing of ebuilds.

When I had the same problem with an ebuild trying to download many  
things from

the Maven repository, I added the following lines inside the ebuild:
# To enable Maven access to  
_h_t_t_p_s_:_/_/_r_e_p_o_._m_a_v_e_n_._a_p_a_c_h_e_._o_r_g_/_m_a_v_e_n_2

RESTRICT="network-sandbox"

It is described (shortly) in "man 5 ebuild"
This is forbidden in the Portage tree, but is allowed in your own  
overlay.


Best regards
Micka l Bucas



Many, many thanks Micka. I'd never thought of that.

Stay healthy,
Helmut




Re: [gentoo-user] SSSD and nsupdate installation issue

2021-03-13 Thread David M. Fellows
>Hey all,
>
>I've been trying to install SSSD on my Gentoo laptop over the past week 
>and keep getting stuck at the same spot. I've tried 2.2.0-r1, 2.3.1-r2, 
>and even 2.4.2 - all are failing during initial configuration, claiming 
>that "nsupdate does not support 'realm'". I've manually run the Autoconf 
>script and it doesn't seem to find this issue with nsupdate, so I'm 
>really starting to scratch my head. Admittedly, my knowledge of the 
>Gentoo package build process is lacking and after exhausting my 
>google-foo I now climb the mountain in search of guidance.
>
>The dependencies and flags for SSSD seem pretty straightforward, so not 
>sure what could be causing this. Any pointers (or commiseration) would 
>be much appreciated.
>
>A few snippets below:
>
>checking for executable nsupdate... yes
>checking for nsupdate 'realm' support'... no
>configure: error: nsupdate does not support 'realm'
>
>environment, line 3426:  Called econf '--localstatedir=/var' 
>'--runstatedir=/run' '--with-pid-path=/run' 
>'--with-plugin-path=/usr/lib64/sssd' 
>'--enable-pammoddir=//lib64/security' 
>'--with-ldb-lib-dir=/usr/lib64/samba/ldb' 
>'--with-db-path=/var/lib/sss/db' 
>'--with-gpo-cache-path=/var/lib/sss/gpo_cache' 
>'--with-pubconf-path=/var/lib/sss/pubconf' 
>'--with-pipe-path=/var/lib/sss/pipes' 
>'--with-mcache-path=/var/lib/sss/mc' 
>'--with-secrets-db-path=/var/lib/sss/secrets' 
>'--with-log-path=/var/log/sssd' '--with-os=gentoo' 
>'--with-nscd=/usr/sbin/nscd' '--with-unicode-lib=glib2' 
>'--disable-rpath' '--sbindir=/usr/sbin' '--enable-local-provider' 
>'--without-kcm' '--without-secrets' '--with-samba' 
>'--with-smb-idmap-interface-version=6' '--enable-cifs-idmap-plugin' 
>'--without-selinux' '--without-semanage' '--enable-krb5-locator-plugin' 
>'--disable-pac-responder' '--with-nfsv4-idmapd-plugin' '--enable-nls' 
>'--with-libnl' '--with-manpages' '--with-sudo' '--with-autofs' 
>'--with-ssh' '--disable-valgrind' '--without-python2-bindings' 
>'--without-python3-bindings' '--with-initscript=sysv'
>
>Best,
>
>Alex

The problem seems to be described in this bug report:

https://bugs.gentoo.org/679838

It also describes a workaround  (set FEATURES=-network-sandbox).

DaveF




Re: [gentoo-user] SSSD and nsupdate installation issue

2021-03-13 Thread Alex Luehm

Dave,

That did the trick! Adding the bug tracker to my list of resources for 
future troubleshooting. Another day wiser, I suppose.


Many thanks!

On 3/13/21 5:28 PM, David M. Fellows wrote:

Hey all,

I've been trying to install SSSD on my Gentoo laptop over the past week
and keep getting stuck at the same spot. I've tried 2.2.0-r1, 2.3.1-r2,
and even 2.4.2 - all are failing during initial configuration, claiming
that "nsupdate does not support 'realm'". I've manually run the Autoconf
script and it doesn't seem to find this issue with nsupdate, so I'm
really starting to scratch my head. Admittedly, my knowledge of the
Gentoo package build process is lacking and after exhausting my
google-foo I now climb the mountain in search of guidance.

The dependencies and flags for SSSD seem pretty straightforward, so not
sure what could be causing this. Any pointers (or commiseration) would
be much appreciated.

A few snippets below:

checking for executable nsupdate... yes
checking for nsupdate 'realm' support'... no
configure: error: nsupdate does not support 'realm'

environment, line 3426:  Called econf '--localstatedir=/var'
'--runstatedir=/run' '--with-pid-path=/run'
'--with-plugin-path=/usr/lib64/sssd'
'--enable-pammoddir=//lib64/security'
'--with-ldb-lib-dir=/usr/lib64/samba/ldb'
'--with-db-path=/var/lib/sss/db'
'--with-gpo-cache-path=/var/lib/sss/gpo_cache'
'--with-pubconf-path=/var/lib/sss/pubconf'
'--with-pipe-path=/var/lib/sss/pipes'
'--with-mcache-path=/var/lib/sss/mc'
'--with-secrets-db-path=/var/lib/sss/secrets'
'--with-log-path=/var/log/sssd' '--with-os=gentoo'
'--with-nscd=/usr/sbin/nscd' '--with-unicode-lib=glib2'
'--disable-rpath' '--sbindir=/usr/sbin' '--enable-local-provider'
'--without-kcm' '--without-secrets' '--with-samba'
'--with-smb-idmap-interface-version=6' '--enable-cifs-idmap-plugin'
'--without-selinux' '--without-semanage' '--enable-krb5-locator-plugin'
'--disable-pac-responder' '--with-nfsv4-idmapd-plugin' '--enable-nls'
'--with-libnl' '--with-manpages' '--with-sudo' '--with-autofs'
'--with-ssh' '--disable-valgrind' '--without-python2-bindings'
'--without-python3-bindings' '--with-initscript=sysv'

Best,

Alex

The problem seems to be described in this bug report:

https://bugs.gentoo.org/679838

It also describes a workaround  (set FEATURES=-network-sandbox).

DaveF



OpenPGP_0x866016D0C7D402E0.asc
Description: application/pgp-keys


OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] Can I safely switch (no)multilib profile???

2023-04-17 Thread Walter Dnes
On Sun, Apr 16, 2023 at 06:56:35PM -0400, Walter Dnes wrote
> 
>   ***I CAN'T EVEN BUILD THE CURRENT GLIBC ON MY MACHINE***.  It looks
> more and more like somewhere somehow my profile selection got changed
> after my previous glibc update.
> 
>   I regularly back up incrementally to two large standalone backup
> drives.  Every so often, I tarball my $HOME dir and push the copy over
> to my "hot backup" machine.  I intend to do that tonight, followed by
> selecting profile...
> 
> [15]  default/linux/amd64/17.1/no-multilib (stable)
> 
> ...and then running...
> 
> emerge --changed-use --deep --update @world

  Having backed up, I selected the no-multilib (stable) profile.  I
checked out how glibc would build...


[x8940][root][~] emerge -pv1 glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 3.33 s.

[ebuild U  ] sys-libs/glibc-2.36-r7:2.2::gentoo [2.36-r5:2.2::gentoo] 
USE="multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) 
(-custom-cflags) -doc -gd -hash-sysv-compat -headers-only (-multilib*) 
-multilib-bootstrap -nscd -perl% -profile (-selinux) (-stack-realign*) -suid 
-systemd -systemtap -test (-vanilla)" 0 KiB


  The forced (multilib) flag has changed to forced (-multilib).  The
other USE flag change is (-stack-realign).

emerge -pv --changed-use --deep --update @world

calls for glibc to to be updated (-multilib*) and (-stack-realign*)

  In addition, the profile change appears to cause 5 rebuilds...
sys-libs/ncurses (-stack-realign*)
sys-apps/sandbox (-32*)
virtual/libcrypt (-32*)
sys-libs/libxcrypt (-32*)
sys-devel/gcc (-multilib*)

  The update is running.  I'll check the emerge results after I get back
from some shopping and fish-n-chips.

-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.



[gentoo-user] Re: emerge: touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory

2008-03-21 Thread Fred Kastl

 /usr/lib/portage/bin/ebuild.sh

preprocess_ebuild_env() {
echo Touch: $(type touch)
local filter_opts=
if [ -f ${T}/environment.raw ] ; then
# This is a signal from the python side, indicating 
that the
# environment may contain stale 
SANDBOX_{DENY,PREDICT,READ,WRITE}
# and FEATURES variables that should be filtered out. 
Between

# phases, these variables are normally preserved.
filter_opts=--filter-sandbox --filter-features 
${filter_opts}

fi
filter_readonly_variables ${filter_opts}  ${T}/environment \
 ${T}/environment.filtered || return $?
unset filter_opts
mv ${T}/environment.filtered ${T}/environment || return $?
rm -f ${T}/environment.success || return $?
# WARNING: Code inside this subshell should avoid making 
assumptions
# about variables or functions after source ${T}/environment 
has been
# called. Any variables that need to be relied upon should 
already be

# filtered out above.
(
export SANDBOX_ON=1
source ${T}/environment || exit $?
# We have to temporarily disable sandbox since the
# SANDBOX_{DENY,READ,PREDICT,WRITE} values we've just 
loaded
# may be unusable (triggering in spurious sandbox 
violations)

# until we've merged them with our current values.
export SANDBOX_ON=0

# It's remotely possible that save_ebuild_env() has 
been overridden
# by the above source command. To protect ourselves, we 
override it
# here with our own version. ${PORTAGE_BIN_PATH} is 
safe to use here

# because it's already filtered above.
source ${PORTAGE_BIN_PATH}/isolated-functions.sh || 
exit $?


# Rely on save_ebuild_env() to filter out any remaining 
variables
# and functions that could interfere with the current 
environment.

save_ebuild_env || exit $?
echo Touch: $(type touch)
##  touch ${T}/environment.success || exit $?
)  ${T}/environment.filtered


  /usr/lib/portage/bin/ebuild.sh with -xv option
...

export
type touch
++ type touch
+ echo Touch: touch is /bin/touch
+ touch /var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment.success
touch: error while loading shared libraries: librt.so.1: cannot open 
shared object file: No such file or directory

+ exit 127
+ local retval


### running touch 
/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment.success in 
the console causes no error




Fred Kastl schrieb:

hi,

on every emerge --unmerge i get the following error Message:

touch: error while loading shared libraries: librt.so.1: cannot open 
shared object file: No such file or directory.


### revdep-rebuild found no missing library for touch or portage.

### ldconfig -p | grep librt.so.1
librt.so.1 (libc6, OS ABI: Linux 2.6.9) = /lib/librt.so.1

### ll /lib/librt.so.1
lrwxrwxrwx 1 root root 14 19. Feb 19:22 /lib/librt.so.1 - librt-2.6.1.so
### ll /lib/librt-2.6.1.so
-rwxr-xr-x 1 root root 32400  8. Nov 14:05 /lib/librt-2.6.1.so

### equery belongs /lib/librt-2.6.1.so
[ Searching for file(s) /lib/librt-2.6.1.so in *... ]
sys-libs/glibc-2.6.1 (/lib/librt-2.6.1.so)

### fileaccess while running emerge --unmerge
fileaccess-dazuko /lib | grep librt
OPEN   uid:0 pid:31995 mode:33261 flags:0 file_uid:0 file_gid:0 
file_device:0 file_size:32400 file:/lib/librt-2.6.1.so
OPEN   uid:0 pid:32002 mode:33261 flags:0 file_uid:0 file_gid:0 
file_device:0 file_size:32400 file:/lib/librt-2.6.1.so


can anyone help ?

regards

Fred

 emerge --unmerge app-admin/gnomesu

  These are the packages that would be unmerged:

 app-admin/gnomesu
selected: 0.3.1
   protected: none
 omitted: none

  'Selected' packages are slated for removal.
  'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] y
  Waiting 5 seconds before starting...
  (Control-C to abort)...
  Unmerging in: 5 4 3 2 1
  Unmerging app-admin/gnomesu-0.3.1...
touch: error while loading shared libraries: librt.so.1: cannot open 
shared object file: No such file or directory


*
 * ERROR: media-tv/tvbrowser-2.5.3 failed.
 * Call stack:
 *   ebuild.sh, line 1641:  Called die
 * The specific snippet of code:
 *  preprocess_ebuild_env || \
 *  die error processing environment
 *  The die message:
 *   error processing environment
 *
 * If you need support, post the topmost build error, and the call stack 
if relevant.
 * A complete build log is located at 
'/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/binpkgs/media-tv/tvbrowser-2.5.3/temp/environment'.

 *
!!! FAILED prerm: 1
 * The 'prerm' phase

[gentoo-user] massive segmentation faults since 2 days with layman and portage

2007-10-16 Thread [EMAIL PROTECTED]
Hi, since 1 or 2 days i get segmentation faults on 2 computers and logs
say nothing. memtest gives no errors!

with layman:

# layman -S
Speicherzugriffsfehler
#

with emerge progname:

random segfaults, especially at the end of emerge-process or cleanups.
mostly bigger programms like php,sandbox,portage,openssl,gcc itself

info:

ati-drivers 8.41.7

# gcc --version
gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0)

~ $ emerge  --info
Portage 2.1.3.14 (default-linux/x86/2007.0/desktop, gcc-4.2.2,
glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=
System uname: 2.6.22-gentoo-r8 i686 AMD Athlon(tm) XP 3200+
Timestamp of tree: Tue, 16 Oct 2007 00:50:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python: 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/config
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf 
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo 
/etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--with-bdeps y
FEATURES=ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/;
LANG=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LINGUAS=de
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/portage/local/layman/gnome-experimental 
/usr/portage/local/layman/jamnet
SYNC=rsync://silverchair/gentoo-portage
USE=3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi aim alsa
apache2 ares artworkextra async audacious audiofile audit avahi berkdb
bidi bitmap-fonts blender-game bogofilter bonobo branding buttons bzip2
cairo caps cdda cddb cdio cdparanoia cdr chardet cli console corba
cpudetection cracklib crypt css cups cursors dbus de_tvtoday devil
directfb disk-partition divx dri dts dvb dvd dvdnav dvdr dvdread eds
emboss emerald emovix encode epiphany esd evo exif expat fam fat fbcon
fbsplash ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp fuse
gajim gd gdbm gdm gedit gif gimp gimpprint glade glib glitz glut gmedia
gnokii gnome gnomecanvas gnutls gpg2-experimental gphoto2 gpm graphviz
gs gsl gstreamer gtk gtkhtml guile hal hddtemp hdri howl hub icons iconv
icq id3tag idle idn ieee1394 imagemagick imap ipv6 irc isdnlog jabber
jack java jce jfs jingle joystick jpeg jpeg2k kerberos keyring kpoll
ladspa lame lcms ldap libgcrypt libnotify libsamplerate libwww lirc live
lm_sensors logitech-mouse logrotate lzo mad maildir matroska md5sum midi
mikmod mjpeg mmap mmx mmxext mng mod_irc mod_muc mod_pubsub modplug mono
mozdevelop mozdom mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer
mpm-event msn mudflap musepack musicbrainz mysql nautilus ncurses
network network-cron networking nforce2 nfs nls nntp nptl nptlonly
nsplugin ntfs nxclient offensive ogg openal openexr opengl openmp oss
pam pango parport pascal pcre pdf perl php pic player plib png posix
postscript povray ppds pppd python qt3support quicktime rar rdesktop
readline real realmedia reflection regex reiser4 reiserfs
restrict-javascript rrdtool rss rtc rtsp ruby samba sasl scanner screen
sdl server session shout sid skins slang smime sndfile speex spell spl
sqlite srt srv sse ssl startup-notification stream subtitles svg svga
taglib tcl tcpd teletext tetex tga theora threads threadsafe tidy tiff
timidity tk totem trayicon truetype truetype-fonts twolame type1-fonts
unicode usb userlocales utils v4l v4l2 vcd vditool vidix vnc vorbis
vorbis-psy wavpack web wideband win32codecs wma wmp wxwindows x264 x86
xattr xcb xchatdccserver xcomposite xerces-c xforms xfs xhtml xine
xinerama xiph xml xmlreader xmlwriter xorg xosd xpm xsl xv xvid xvmc
yahoo yv12 zip zlib ALSA_CARDS=emu10k1 ALSA_PCM_PLUGINS=adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
ladspa lfloat linear meter mulaw multi null plug rate route share shm

Re: [gentoo-user] massive segmentation faults since 2 days with layman and portage

2007-10-16 Thread Mark Shields
On 10/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi, since 1 or 2 days i get segmentation faults on 2 computers and logs
 say nothing. memtest gives no errors!

 with layman:

 # layman -S
 Speicherzugriffsfehler
 #

 with emerge progname:

 random segfaults, especially at the end of emerge-process or cleanups.
 mostly bigger programms like php,sandbox,portage,openssl,gcc itself

 info:

 ati-drivers 8.41.7

 # gcc --version
 gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0)

 ~ $ emerge  --info
 Portage 2.1.3.14 (default-linux/x86/2007.0/desktop, gcc-4.2.2,
 glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
 =
 System uname: 2.6.22-gentoo-r8 i686 AMD Athlon(tm) XP 3200+
 Timestamp of tree: Tue, 16 Oct 2007 00:50:01 +
 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
 [disabled]
 ccache version 2.4 [enabled]
 app-shells/bash: 3.2_p17-r1
 dev-java/java-config: 1.3.7, 2.1.2-r1
 dev-lang/python: 2.5.1-r2
 dev-python/pycrypto: 2.0.1-r6
 dev-util/ccache: 2.4-r7
 sys-apps/baselayout: 1.12.10-r5
 sys-apps/sandbox:1.2.18.1
 sys-devel/autoconf:  2.13, 2.61-r1
 sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
 sys-devel/binutils:  2.18-r1
 sys-devel/gcc-config: 1.4.0-r4
 sys-devel/libtool:   1.5.24
 virtual/os-headers:  2.6.23
 ACCEPT_KEYWORDS=x86
 CBUILD=i686-pc-linux-gnu
 CFLAGS=-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe
 CHOST=i686-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
 /usr/kde/3.5/shutdown /usr/share/config
 CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
 /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
 /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
 /etc/texmf/web2c /etc/udev/rules.d
 CXXFLAGS=-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe
 DISTDIR=/usr/portage/distfiles
 EMERGE_DEFAULT_OPTS=--with-bdeps y
 FEATURES=ccache distlocks metadata-transfer parallel-fetch sandbox
 sfperms strict unmerge-orphans userfetch
 GENTOO_MIRRORS=ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
 ftp://ftp.tu-clausthal.de/pub/linux/gentoo/;
 LANG=de_DE.UTF-8
 LC_ALL=de_DE.UTF-8
 LINGUAS=de
 MAKEOPTS=-j2
 PKGDIR=/usr/portage/packages
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --delete-after --stats
 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
 --filter=H_**/files/digest-*
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=/usr/portage/local/layman/gnome-experimental
 /usr/portage/local/layman/jamnet
 SYNC=rsync://silverchair/gentoo-portage
 USE=3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi aim alsa
 apache2 ares artworkextra async audacious audiofile audit avahi berkdb
 bidi bitmap-fonts blender-game bogofilter bonobo branding buttons bzip2
 cairo caps cdda cddb cdio cdparanoia cdr chardet cli console corba
 cpudetection cracklib crypt css cups cursors dbus de_tvtoday devil
 directfb disk-partition divx dri dts dvb dvd dvdnav dvdr dvdread eds
 emboss emerald emovix encode epiphany esd evo exif expat fam fat fbcon
 fbsplash ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp fuse
 gajim gd gdbm gdm gedit gif gimp gimpprint glade glib glitz glut gmedia
 gnokii gnome gnomecanvas gnutls gpg2-experimental gphoto2 gpm graphviz
 gs gsl gstreamer gtk gtkhtml guile hal hddtemp hdri howl hub icons iconv
 icq id3tag idle idn ieee1394 imagemagick imap ipv6 irc isdnlog jabber
 jack java jce jfs jingle joystick jpeg jpeg2k kerberos keyring kpoll
 ladspa lame lcms ldap libgcrypt libnotify libsamplerate libwww lirc live
 lm_sensors logitech-mouse logrotate lzo mad maildir matroska md5sum midi
 mikmod mjpeg mmap mmx mmxext mng mod_irc mod_muc mod_pubsub modplug mono
 mozdevelop mozdom mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer
 mpm-event msn mudflap musepack musicbrainz mysql nautilus ncurses
 network network-cron networking nforce2 nfs nls nntp nptl nptlonly
 nsplugin ntfs nxclient offensive ogg openal openexr opengl openmp oss
 pam pango parport pascal pcre pdf perl php pic player plib png posix
 postscript povray ppds pppd python qt3support quicktime rar rdesktop
 readline real realmedia reflection regex reiser4 reiserfs
 restrict-javascript rrdtool rss rtc rtsp ruby samba sasl scanner screen
 sdl server session shout sid skins slang smime sndfile speex spell spl
 sqlite srt srv sse ssl startup-notification stream subtitles svg svga
 taglib tcl tcpd teletext tetex tga theora threads threadsafe tidy tiff
 timidity tk totem trayicon truetype truetype-fonts twolame type1-fonts
 unicode usb userlocales utils v4l v4l2 vcd vditool vidix vnc vorbis
 vorbis-psy wavpack web wideband win32codecs wma wmp wxwindows x264 x86
 xattr xcb xchatdccserver xcomposite xerces-c xforms xfs xhtml xine
 xinerama xiph xml xmlreader xmlwriter xorg xosd xpm xsl xv xvid xvmc
 yahoo yv12 zip zlib ALSA_CARDS=emu10k1 ALSA_PCM_PLUGINS

Re: [gentoo-user] massive segmentation faults since 2 days with layman and portage

2007-10-16 Thread [EMAIL PROTECTED]
I don't think these are hardware probs. like i sad on to different
computers. also I watch cpu-temp the hole time, so nothing changed in
the past.

And layman -S + CPU-Overheating!! Don't think so

Am Dienstag, den 16.10.2007, 17:46 -0400 schrieb Mark Shields:
 On 10/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi, since 1 or 2 days i get segmentation faults on 2 computers
 and logs
 say nothing. memtest gives no errors!
 
 with layman:
 
 # layman -S
 Speicherzugriffsfehler
 #
 
 with emerge progname: 
 
 random segfaults, especially at the end of emerge-process or
 cleanups.
 mostly bigger programms like php,sandbox,portage,openssl,gcc
 itself
 
 info:
 
 ati-drivers 8.41.7
 
 # gcc --version
 gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0)
 
 ~ $ emerge  --info
 Portage 2.1.3.14 (default-linux/x86/2007.0/desktop, gcc-4.2.2,
 glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
 = 
 System uname: 2.6.22-gentoo-r8 i686 AMD Athlon(tm) XP 3200+
 Timestamp of tree: Tue, 16 Oct 2007 00:50:01 +
 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default
 port 3632)
 [disabled]
 ccache version 2.4 [enabled]
 app-shells/bash: 3.2_p17-r1
 dev-java/java-config: 1.3.7, 2.1.2-r1
 dev-lang/python: 2.5.1-r2
 dev-python/pycrypto: 2.0.1-r6
 dev-util/ccache: 2.4-r7
 sys-apps/baselayout: 1.12.10-r5 
 sys-apps/sandbox:1.2.18.1
 sys-devel/autoconf:  2.13, 2.61-r1
 sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3,
 1.9.6-r2, 1.10
 sys-devel/binutils:  2.18-r1
 sys-devel/gcc-config: 1.4.0-r4
 sys-devel/libtool:   1.5.24
 virtual/os-headers:  2.6.23
 ACCEPT_KEYWORDS=x86
 CBUILD=i686-pc-linux-gnu
 CFLAGS=-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe
 CHOST=i686-pc-linux-gnu 
 CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
 /usr/kde/3.5/shutdown /usr/share/config
 CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf 
 /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ 
 /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo 
 /etc/texmf/web2c /etc/udev/rules.d 
 CXXFLAGS=-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe
 DISTDIR=/usr/portage/distfiles
 EMERGE_DEFAULT_OPTS=--with-bdeps y
 FEATURES=ccache distlocks metadata-transfer parallel-fetch
 sandbox 
 sfperms strict unmerge-orphans userfetch
 GENTOO_MIRRORS=ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
 ftp://ftp.tu-clausthal.de/pub/linux/gentoo/;
 LANG=de_DE.UTF-8
 LC_ALL=de_DE.UTF-8
 LINGUAS=de
 MAKEOPTS=-j2
 PKGDIR=/usr/portage/packages
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms
 --times
 --compress --force --whole-file --delete --delete-after
 --stats
 --timeout=180 --exclude=/distfiles --exclude=/local
 --exclude=/packages
 --filter=H_**/files/digest-* 
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=/usr/portage/local/layman/gnome-experimental 
 /usr/portage/local/layman/jamnet
 SYNC=rsync://silverchair/gentoo-portage 
 USE=3dnow 3dnowext 7zip X a52 aac aalib accessibility acl
 acpi aim alsa
 apache2 ares artworkextra async audacious audiofile audit
 avahi berkdb
 bidi bitmap-fonts blender-game bogofilter bonobo branding
 buttons bzip2 
 cairo caps cdda cddb cdio cdparanoia cdr chardet cli console
 corba
 cpudetection cracklib crypt css cups cursors dbus de_tvtoday
 devil
 directfb disk-partition divx dri dts dvb dvd dvdnav dvdr
 dvdread eds
 emboss emerald emovix encode epiphany esd evo exif expat fam
 fat fbcon 
 fbsplash ffmpeg fftw firefox flac fontconfig foomaticdb
 fortran ftp fuse
 gajim gd gdbm gdm gedit gif gimp gimpprint glade glib glitz
 glut gmedia
 gnokii gnome gnomecanvas gnutls gpg2-experimental gphoto2 gpm
 graphviz 
 gs gsl gstreamer gtk gtkhtml guile hal hddtemp hdri howl hub
 icons iconv
 icq id3tag idle idn ieee1394 imagemagick imap ipv6 irc isdnlog
 jabber
 jack java jce jfs jingle joystick jpeg jpeg2k kerberos keyring
 kpoll 
 ladspa lame lcms ldap libgcrypt libnotify libsamplerate libwww
 lirc live
 lm_sensors logitech-mouse logrotate lzo mad maildir matroska
 md5sum midi
 mikmod mjpeg mmap mmx mmxext mng mod_irc mod_muc

[gentoo-user] checking whether the C compiler works... no Oooops !!

2011-05-06 Thread Dale

Hi,

I'm trying to update my old rig, the x86 one.  It is about 2 months or 
so behind.  I wanted to get it ready for the latest KDE for my brother 
to play on.  I keep running into this type of error:


checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for i686-pc-linux-gnu-gcc... gcc
checking whether the C compiler works... no
configure: error: in 
`/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1':

configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! 
/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1/config.log

 * ERROR: x11-libs/gdk-pixbuf-2.22.1 failed (configure phase):
 *   econf failed


This happens with LOTS of packages.  I did a google search and found 
some really old threads and tried a few things but nothing seems to 
work.  This is emerge info:


root@smoker ~ # emerge --info
Portage 2.2.0_alpha31 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, 
glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)

=
System uname: 
Linux-2.6.36-gentoo-r5-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.14

Timestamp of tree: Fri, 06 May 2011 00:15:01 +
app-shells/bash:  4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:  2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:   2.8.1-r2
sys-apps/baselayout:  1.12.14-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf:   2.13, 2.65-r1
sys-devel/automake:   1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:   2.20.1-r1
sys-devel/gcc:4.4.4-r2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:2.2.10
sys-devel/make:   3.81-r2
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:   2.11.2-r3
Repositories: gentoo
Installed sets: @system, @xorg-drivers
ACCEPT_KEYWORDS=x86
ACCEPT_LICENSE=*
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /var/lib/hsqldb
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d 
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo

CXXFLAGS=-march=native -O2 -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--with-bdeps y --backtrack=30
FEATURES=assume-digests binpkg-logs buildpkg distlocks fixlafiles 
fixpackages news parallel-fetch preserve-libs protect-owned sandbox 
sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch

FFLAGS=
GENTOO_MIRRORS=http://distfiles.gentoo.org;
LANG=en_US
LC_ALL=en_US.utf8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=en_US en
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_EXTRA_OPTS=--timeout=600
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
--compress --force --whole-file --delete --stats --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=

Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, 
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


root@smoker ~ #

I left out the USE line.  It needs cleaning.  lol  This is a list of the 
packages that have failed so far:


=sys-kernel/linux-headers-2.6.36.1
=sys-libs/glibc-2.11.3
=sys-devel/binutils-2.20.1-r1
=sys-libs/zlib-1.2.5-r2
=dev-libs/expat-2.0.1-r3
=app-arch/xz-utils-5.0.1
=app-arch/bzip2-1.0.6
=media-libs/libogg-1.2.0
=app-misc/pax-utils-0.2.2
=app-arch/cpio-2.11
=dev-libs/gmp-4.3.2
=app-text/libpaper-1.1.23
=media-libs/openjpeg-1.3-r3
=sys-apps/tcp-wrappers-7.6-r8
=app-portage/portage-utils-0.3.1
=dev-libs/nspr-4.8.7
=sys-libs/timezone-data-2011d
=media-libs/jbigkit-2.0-r1
=sys-fs/sysfsutils-2.1.0
=sys-libs/libutempter-1.1.5
=dev-libs/libx86-1.1-r1
=sys-apps/sdparm-1.03
=media-libs/libdvbpsi-0.1.6
=dev-libs/libevent-2.0.10
=dev-libs/libdaemon-0.14-r1
=dev-libs/libusb-1.0.8
=media-libs/jpeg-8b
=dev-libs/libffi-3.0.9-r2
=sys-devel/patch-2.5.9
=sys-apps/which-2.20
=dev-util/gperf-3.0.4
=dev-lang/swig-1.3.40-r1
=sys-devel/m4-1.4.15
=media-libs/libpng-1.4.5
=app-arch/unzip-6.0-r1
=sys-apps/pciutils-3.1.7
=dev-libs/mpfr-3.0.0_p3
=sys-apps/sandbox-2.4

It only has one gcc installed and it is selected:

root@smoker / # gcc-config -l
 [1] i686-pc-linux-gnu-4.4.4 *
root@smoker / #

Can anyone see what I am missing?  I got to be missing something.  It 
won't even do a emerge -e system right now.


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] checking whether the C compiler works... no Oooops !!

2011-05-06 Thread Alan McKinnon
This is usually CFLAGS and other bits of env stuff. There's probably a more 
meaningful error earlier in the build log.

Can you post the full log for a failing file?


Apparently, though unproven, at 09:45 on Friday 06 May 2011, Dale did opine 
thusly:

 Hi,
 
 I'm trying to update my old rig, the x86 one.  It is about 2 months or
 so behind.  I wanted to get it ready for the latest KDE for my brother
 to play on.  I keep running into this type of error:
 
 checking whether make sets $(MAKE)... yes
 checking whether to disable maintainer-specific portions of Makefiles...
 yes checking for i686-pc-linux-gnu-gcc... gcc
 checking whether the C compiler works... no
 configure: error: in
 `/var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1':
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 
 !!! Please attach the following file when seeking support:
 !!!
 /var/tmp/portage/x11-libs/gdk-pixbuf-2.22.1/work/gdk-pixbuf-2.22.1/config.l
 og * ERROR: x11-libs/gdk-pixbuf-2.22.1 failed (configure phase):
   *   econf failed
 
 
 This happens with LOTS of packages.  I did a google search and found
 some really old threads and tried a few things but nothing seems to
 work.  This is emerge info:
 
 root@smoker ~ # emerge --info
 Portage 2.2.0_alpha31 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4,
 glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
 =
 System uname:
 Linux-2.6.36-gentoo-r5-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.14
 Timestamp of tree: Fri, 06 May 2011 00:15:01 +
 app-shells/bash:  4.1_p9
 dev-java/java-config: 2.1.11-r3
 dev-lang/python:  2.6.6-r1, 2.7.1-r1, 3.1.3-r1
 dev-util/cmake:   2.8.1-r2
 sys-apps/baselayout:  1.12.14-r1
 sys-apps/sandbox: 2.4
 sys-devel/autoconf:   2.13, 2.65-r1
 sys-devel/automake:   1.9.6-r3, 1.10.3, 1.11.1
 sys-devel/binutils:   2.20.1-r1
 sys-devel/gcc:4.4.4-r2
 sys-devel/gcc-config: 1.4.1-r1
 sys-devel/libtool:2.2.10
 sys-devel/make:   3.81-r2
 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
 sys-libs/glibc:   2.11.2-r3
 Repositories: gentoo
 Installed sets: @system, @xorg-drivers
 ACCEPT_KEYWORDS=x86
 ACCEPT_LICENSE=*
 CBUILD=i686-pc-linux-gnu
 CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer
 CHOST=i686-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/share/config /var/lib/hsqldb
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
 /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
 /etc/sandbox.d /etc/terminfo
 CXXFLAGS=-march=native -O2 -pipe -fomit-frame-pointer
 DISTDIR=/usr/portage/distfiles
 EMERGE_DEFAULT_OPTS=--with-bdeps y --backtrack=30
 FEATURES=assume-digests binpkg-logs buildpkg distlocks fixlafiles
 fixpackages news parallel-fetch preserve-libs protect-owned sandbox
 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans
 userfetch FFLAGS=
 GENTOO_MIRRORS=http://distfiles.gentoo.org;
 LANG=en_US
 LC_ALL=en_US.utf8
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 LINGUAS=en_US en
 MAKEOPTS=-j2
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_EXTRA_OPTS=--timeout=600
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --stats --timeout=180
 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=
 
 Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND,
 PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
 
 root@smoker ~ #
 
 I left out the USE line.  It needs cleaning.  lol  This is a list of the
 packages that have failed so far:
 
 =sys-kernel/linux-headers-2.6.36.1
 =sys-libs/glibc-2.11.3
 =sys-devel/binutils-2.20.1-r1
 =sys-libs/zlib-1.2.5-r2
 =dev-libs/expat-2.0.1-r3
 =app-arch/xz-utils-5.0.1
 =app-arch/bzip2-1.0.6
 =media-libs/libogg-1.2.0
 =app-misc/pax-utils-0.2.2
 =app-arch/cpio-2.11
 =dev-libs/gmp-4.3.2
 =app-text/libpaper-1.1.23
 =media-libs/openjpeg-1.3-r3
 =sys-apps/tcp-wrappers-7.6-r8
 =app-portage/portage-utils-0.3.1
 =dev-libs/nspr-4.8.7
 =sys-libs/timezone-data-2011d
 =media-libs/jbigkit-2.0-r1
 =sys-fs/sysfsutils-2.1.0
 =sys-libs/libutempter-1.1.5
 =dev-libs/libx86-1.1-r1
 =sys-apps/sdparm-1.03
 =media-libs/libdvbpsi-0.1.6
 =dev-libs/libevent-2.0.10
 =dev-libs/libdaemon-0.14-r1
 =dev-libs/libusb-1.0.8
 =media-libs/jpeg-8b
 =dev-libs/libffi-3.0.9-r2
 =sys-devel/patch-2.5.9
 =sys-apps/which-2.20
 =dev-util/gperf-3.0.4
 =dev-lang/swig-1.3.40-r1
 =sys-devel/m4-1.4.15
 =media-libs/libpng-1.4.5
 =app-arch/unzip-6.0-r1
 =sys-apps/pciutils-3.1.7
 =dev-libs/mpfr-3.0.0_p3
 =sys-apps/sandbox-2.4
 
 It only has one gcc installed and it is selected:
 
 root@smoker / # gcc-config -l
   [1] i686-pc-linux-gnu-4.4.4 *
 root@smoker / #
 
 Can anyone see what I am missing?  I got to be missing something.  It
 won't even do a emerge -e system right now.
 
 Thanks.
 
 Dale

[gentoo-user] Error building tar

2013-04-28 Thread staticsafe
Updating a Gentoo VM today when I encountered an issue with building
tar. Attaching relevant logs.
-- 
staticsafe
O ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.
[ebuild U ] app-arch/tar-1.26-r1 [1.26] USE=nls -minimal% -static -xattr% 

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Portage 2.1.11.62 (default/linux/x86/13.0, gcc-4.6.3, glibc-2.15-r3, 
3.7.10-gentoo i686)
=
 System Settings
=
System uname: 
Linux-3.7.10-gentoo-i686-QEMU_Virtual_CPU_version_-cpu64-rhel6-with-gentoo-2.2
KiB Mem:  508948 total, 51860 free
KiB Swap: 524284 total,523168 free
Timestamp of tree: Sun, 28 Apr 2013 17:15:01 +
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:  4.2_p37
dev-lang/python:  2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:   0.28
sys-apps/baselayout:  2.2
sys-apps/openrc:  0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf:   2.69
sys-devel/automake:   1.10.3, 1.12.6
sys-devel/binutils:   2.22-r1
sys-devel/gcc:4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:   2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS=x86
ACCEPT_LICENSE=* -@EULA
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt /var/bind
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/gconf 
/etc/gentoo-release /etc/sandbox.d /etc/terminfo
CXXFLAGS=-O2 -march=i686 -pipe
DISTDIR=/usr/portage/distfiles
FCFLAGS=-O2 -march=i686 -pipe
FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox 
sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
FFLAGS=-O2 -march=i686 -pipe
GENTOO_MIRRORS=ftp://mirror.rit.edu/gentoo/;
LANG=en_US.UTF-8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j3
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --human-readable --timeout=180 
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=rsync://rsync5.us.gentoo.org/gentoo-portage
USE=acl berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv 
ipv6 modules mudflap ncurses nls nptl openmp pam pcre readline session ssl tcpd 
unicode x86 zlib ABI_X86=32 ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem 
bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem 
ymfpci ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug 
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null 
plug rate route share shm softvol APACHE2_MODULES=authn_core authz_core 
socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm 
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host 
authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir 
disk_cache env expires ext_filter file_cache filter headers include info 
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling 
status unique_id userdir usertrack vhost_alias CALLIGRA_FEATURES=kexi words 
flow plan sheets stage tables krita karbon braindump author CAMERAS=ptp2 
COLLECTD_PLUGINS=df interface irq load memory rrdtool swap syslog 
ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate evermore fv18 garmin 
garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore 
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx 
INPUT_DEVICES=keyboard mouse evdev KERNEL=linux LCD_DEVICES=bayrad cfontz 
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text 
LIBREOFFICE_EXTENSIONS=presenter-console presenter-minimizer 
OFFICE_IMPLEMENTATION=libreoffice PHP_TARGETS=php5-3 
PYTHON_SINGLE_TARGET=python2_7 PYTHON_TARGETS=python2_7 python3_2 
RUBY_TARGETS=ruby18 ruby19 USERLAND=GNU VIDEO_CARDS=fbdev glint intel 
mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy 
v4l XTABLES_ADDONS=quota2 psd pknock lscan length2 ipv4options ipset ipp2p 
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark 
dhcpmac delude chaos account
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, 
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


 * Package:app-arch/tar-1.26-r1

[gentoo-user] emerge kde-plasma/kscreenlocker: permission denied

2016-04-11 Thread Yuri K. Shatroff

Hi gentoo users,

Got a strange problem. While emerging kde-plasma/kscreenlocker (as part 
of upgrading to the brand new plasma desktop), the build fails with the 
following error:


* Applying kscreenlocker-5.4.90-no-SUID-no-GUID.patch ...
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment: line 
1217: 
/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch: 
Permission denied


I tried to run the ebuild manually and changed all permissions to a+w, 
but to no avail. (The patch itself applied successfully from the command 
line.)
I don't believe it's a permissions issue. There haven't been any such 
issues before, and I just did a fresh eix-sync. Should I file a bug?



The complete output:

 * Package:kde-plasma/kscreenlocker-5.6.2
 * Repository: gentoo
 * Maintainer: k...@gentoo.org
 * USE:abi_x86_64 amd64 elibc_glibc kernel_linux pam userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking kscreenlocker-5.6.2.tar.xz to 
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work

>>> Source unpacked in /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work
>>> Preparing source in 
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work/kscreenlocker-5.6.2 ...

 * Applying kscreenlocker-5.4.90-no-SUID-no-GUID.patch ...
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment: line 
1217: 
/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch: 
Permission denied

 [ !! ]
 * ERROR: kde-plasma/kscreenlocker-5.6.2::gentoo failed (prepare phase):
 *   patch -p1  failed with 
/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch

 *
 * Call stack:
 *   ebuild.sh, line  133:  Called src_prepare
 * environment, line 3892:  Called kde5_src_prepare
 * environment, line 2853:  Called cmake-utils_src_prepare
 * environment, line 1075:  Called 
_cmake_execute_optionally 'src_prepare'
 * environment, line  517:  Called 
enable_cmake-utils_src_prepare

 * environment, line 1535:  Called default_src_prepare
 *  phase-functions.sh, line  870:  Called __eapi6_src_prepare
 * environment, line  349:  Called eapply 
'/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch'
 * environment, line 1282:  Called _eapply_patch 
'/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch'
 * environment, line 1220:  Called __helpers_die 'patch -p1 
 failed with 
/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch'

 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *  die "$@"
 *


emerge --info '=kde-plasma/kscreenlocker-5.6.2::gentoo'

Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0, 
gcc-4.9.3, glibc-2.22-r4, 4.5.0-gentoo x86_64)

=
 System Settings
=
System uname: 
Linux-4.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2

KiB Mem: 8190684 total,   2426472 free
KiB Swap:   16777212 total,  15952084 free
Timestamp of repository gentoo: Mon, 11 Apr 2016 12:45:01 +
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:  4.3_p42-r2::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl:5.22.1::gentoo
dev-lang/python:  2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 
3.5.1-r2::gentoo

dev-util/cmake:   3.5.1::gentoo
dev-util/pkgconfig:   0.29.1::gentoo
sys-apps/baselayout:  2.2::gentoo
sys-apps/openrc:  0.20.5::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf:   2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:   1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:   2.25.1-r1::gentoo
sys-devel/gcc:4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool:2.4.6-r2::gentoo
sys-devel/make:   4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc:   2.22-r4::gentoo
Repositories:

gentoo
location: /var/portage/tree
sync-type: rsync
sync-uri: rsync://rsync.ru.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts: --no-p --chmod=g+w

telred
location: /var/lib/layman/telred
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt 
/usr/share/themes/oxygen-gtk/gtk-

[gentoo-user] Major trouble with my build system

2016-11-29 Thread Christian Rößner
Hi,

I have major problems to get a package compiled.

mail-filter/rspamd

All version including live-build does not work anymore since yesterday
evening. It worked for weeks now and in the last 24h something must have
happened that it can not compile anymore. Interesting is that I did not
upgrade any other packages in the time of before yesterday and yesterday.

When trying to emerge, cmake breaks and tells me that the assembler does
not work correctly.

I asked on the #rspamd IRC channel and the main developer has worked
with me to identify the problem.

What have I tried so far:

1. Switch gcc from 4.9.3 to 5.4.0
revdep-rebuild for libstdc++.so.6
emerge -e @system
emerge sandbox
emerge portage

emerge =mail-filter/rspamd-1.3.5-r2 , 1.4.0 , 

All fail

Interesting is that when I do it manually:

ebuild /usr/portage/mail-filter/rspamd/rspamd-.ebuild unpack
cd /var/tmp/portage/mail-filter/rspamd-/work
mkdir rspamd-_build
cd rspamd-_build
cmake ../rspamd-

everything works as expected.

If I use emerge, the _build-folder gets also created, but if I try to
use cmake there, it fails with the broken asm message.

What could have happend that the build does not work anymore since 24h,
even the system did not change nor the ebuilds?

What can I do now?

The main developer of rspamd mentioned that the build system obviously
selects some broken compiler. What component does do it? How can I
verify this?

Am am very, very thankful for any hints you can give me. I spent now
more than 11 hours in rebuilding nearly all packages.


emerge --info
Portage 2.3.0 (python 2.7.12-final-0, hardened/linux/amd64/no-multilib,
gcc-5.4.0, glibc-2.22-r4, 4.7.10-gentoo x86_64)
=
System uname:
Linux-4.7.10-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_L5640_@_2.27GHz-with-gentoo-2.2
KiB Mem: 8178648 total,   7749288 free
KiB Swap:6290428 total,   6290428 free
Timestamp of repository gentoo: Tue, 29 Nov 2016 06:45:01 +
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [enabled]
app-shells/bash:  4.3_p48::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl:5.22.2::gentoo
dev-lang/python:  2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:  3.2.4::gentoo
dev-util/cmake:   3.5.2-r1::gentoo
dev-util/pkgconfig:   0.28-r2::gentoo
sys-apps/baselayout:  2.2::gentoo
sys-apps/openrc:  0.22.4::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf:   2.69::gentoo
sys-devel/automake:   1.12.6::gentoo, 1.13.4::gentoo,
1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:   2.25.1-r1::gentoo
sys-devel/gcc:4.9.3::gentoo, 5.4.0::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool:2.4.6::gentoo
sys-devel/make:   4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:   2.22-r4::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
priority: -1000

croessner
location: /usr/local/portage
masters: gentoo
priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/
/etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache cgroup clean-logs
compressdebug config-protect-if-modified distlocks ebuild-locks
fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned
sandbox sfperms strict unknown-features-warn unmerge-logs
unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://de-mirror.org/gentoo/
rsync://mirror.netcologne.de/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo;
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/misc/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages --exclude=/.git&qu

Re: [gentoo-user] Shared libraries lack a SONAME

2020-09-25 Thread urpion
On Fri, Sep 25, 2020 at 10:25:30AM -0400, Michael Orlitzky wrote:
> On 2020-09-25 01:39, urp...@gmx.com wrote:
> > 
> > # Copyright 2020 Gentoo Authors
> >  * QA Notice: The following shared libraries lack a SONAME
> >  * /usr/lib/liblsp-dsp-lib-0.5.9.so
> 
> This is just a warning, I think? Regardless, it's not something you can
> fix yourself.
> 
> The short explanation is that libraries can have their own version
> separate from the larger package. The library version is what people use
> to track compatibility, and is often how Gentoo decides when to do
> subslot rebuilds. A library without a SONAME is a library without a
> "version," but the upstream authors would need to figure out the
> versioning scheme (and commit to it in the future) before fixing this.
> 
> Some references:
> 
>   * https://autotools.io/libtool/version.html
>   * https://www.gnu.org/software/libtool/manual/libtool.html#Versioning
> 
> 
> > Files matching a file type that is not allowed:
> >usr/lib/liblsp-dsp-lib-0.5.9.so
> > 
> 
> I think you have some other problem that's killing your install. A "QA
> Notice" won't do it.
> 
> 
  Thanks for the information Michael. This is more complicated than I
thought. I have no idea what to do now.


emerge -pqv '=media-libs/lsp-dsp-lib-0.5.9::macro'
[ebuild  N] media-libs/lsp-dsp-lib-0.5.9


emerge --info '=media-libs/lsp-dsp-lib-0.5.9::macro'
Portage 3.0.4 (python 3.8.5-final-0, default/linux/amd64/17.1/desktop, 
gcc-9.3.0, glibc-2.31-r6, 5.6.19-rt-rt11 x86_64)
=
 System Settings
=
System uname: 
Linux-5.6.19-rt-rt11-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-glibc2.2.5
KiB Mem: 3936604 total,383664 free
KiB Swap:  0 total, 0 free
Timestamp of repository gentoo: Sat, 26 Sep 2020 00:36:22 +
Head commit of repository gentoo: 8e6455de0a243fbcf735170e615431fee9af24c9

Timestamp of repository audio-overlay: Wed, 23 Sep 2020 18:35:18 +
Head commit of repository audio-overlay: 
38d215903f0a936ebfbddb6b6e302afc212630fa

Timestamp of repository brave-overlay: Tue, 22 Sep 2020 19:05:23 +
Head commit of repository brave-overlay: 
1d42a89a08f8a94a864c59f2dfabf8e2e0281aab

Head commit of repository fordfrog: b2f40f59b304b012ac8b9eb7aac37ed97c773867

Head commit of repository abendbrot: ee15f9f30a7d171348c9fe19bca8e2ad6ab0b557

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
ccache version 3.7.11 [enabled]
app-shells/bash:  5.0_p18::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl:5.30.3::gentoo
dev-lang/python:  2.7.18-r2::gentoo, 3.6.11-r2::gentoo, 
3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/ccache:  3.7.11::gentoo
dev-util/cmake:   3.16.5::gentoo
dev-util/pkgconfig:   0.29.2::gentoo
sys-apps/baselayout:  2.7::gentoo
sys-apps/openrc:  0.42.1::gentoo
sys-apps/sandbox: 2.18::gentoo
sys-devel/autoconf:   2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:   1.16.1-r1::gentoo
sys-devel/binutils:   2.34-r2::gentoo
sys-devel/gcc:9.3.0-r1::gentoo
sys-devel/gcc-config: 2.3.1::gentoo
sys-devel/libtool:2.4.6-r6::gentoo
sys-devel/make:   4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:   2.31-r6::gentoo

#Repositories:

Installed sets: @lbry
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d 
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
DISTDIR="/home/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB 
PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME 
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=ivybridge -mtune=ivybridge -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache 
config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox 
merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 
pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox 
sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch 
userpriv usersandbox usersync x

[gentoo-user] meet compile error when install firefox-78.5.0

2020-11-29 Thread bobwxc
, line 4472: Called die

* The specific snippet of code:

* ${virtx_cmd} ./mach build --verbose || die

*

* If you need support, post the output of `emerge --info 
'=www-client/firefox-78.5.0::gentoo'`,

* the complete build log and the output of `emerge -pqv 
'=www-client/firefox-78.5.0::gentoo'`.

* The complete build log is located at 
'/var/tmp/portage/www-client/firefox-78.5.0/temp/build.log'.

* The ebuild environment file is located at 
'/var/tmp/portage/www-client/firefox-78.5.0/temp/environment'.

* Working directory: 
'/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0'

* S: '/var/tmp/portage/www-client/firefox-78.5.0/work/firefox-78.5.0'

>>> Failed to emerge www-client/firefox-78.5.0, Log file:




## System info




Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop, 
gcc-9.3.0, glibc-2.32-r2, 5.4.72-gentoo-x86_64 x86_64)

=

System Settings

=

System uname: 
Linux-5.4.72-gentoo-x86_64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-gentoo-2.7

KiB Mem: 3930828 total, 1758048 free

KiB Swap: 0 total, 0 free

Timestamp of repository gentoo: Sat, 28 Nov 2020 06:15:01 +

Head commit of repository gentoo: 22efecc44666d3ed9050ac4a6895b94f35c3510b

sh bash 5.0_p18

ld GNU ld (Gentoo 2.34 p6) 2.34.0

ccache version 3.7.12 [enabled]

app-shells/bash: 5.0_p18::gentoo

dev-lang/perl: 5.30.3::gentoo

dev-lang/python: 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo

dev-util/ccache: 3.7.12::gentoo

dev-util/cmake: 3.17.4-r1::gentoo

sys-apps/baselayout: 2.7::gentoo

sys-apps/openrc: 0.42.1::gentoo

sys-apps/sandbox: 2.20::gentoo

sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo

sys-devel/automake: 1.16.2-r1::gentoo

sys-devel/binutils: 2.34-r2::gentoo

sys-devel/gcc: 9.3.0-r1::gentoo

sys-devel/gcc-config: 2.3.2-r1::gentoo

sys-devel/libtool: 2.4.6-r6::gentoo

sys-devel/make: 4.2.1-r4::gentoo

sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)

sys-libs/glibc: 2.32-r2::gentoo

Repositories:

gentoo

location: /var/db/repos/gentoo

sync-type: rsync

sync-uri: rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage

priority: -1000

sync-rsync-verify-metamanifest: yes

sync-rsync-verify-max-age: 24

sync-rsync-verify-jobs: 1

sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"

ACCEPT_LICENSE="@FREE"

CBUILD="x86_64-pc-linux-gnu"

CFLAGS="-march=native -O2 -pipe"

CHOST="x86_64-pc-linux-gnu"

CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"

CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d 
/etc/terminfo"

CXXFLAGS="-march=native -O2 -pipe"

DISTDIR="/var/cache/distfiles"

ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB 
PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME 
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"

FCFLAGS="-march=native -O2 -pipe"

FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache 
config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox 
merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 
preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict 
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv 
usersandbox usersync xattr"

FFLAGS="-march=native -O2 -pipe"

GENTOO_MIRRORS="https://mirrors.163.com/gentoo/ http://mirrors.163.com/gentoo/ 
https://mirrors.tuna.tsinghua.edu.cn/gentoo;

LANG="zh_CN.utf8"

LDFLAGS="-Wl,-O1 -Wl,--as-needed"

MAKEOPTS="-j2"

PKGDIR="/var/cache/binpkgs"

PORTAGE_CONFIGROOT="/"

PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages --exclude=/.git"

PORTAGE_TMPDIR="/var/tmp"

USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda 
cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac 
fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify 
libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam 
pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl 
startup-notification svg tcpd tiff truetype udev udisks unicode upower usb 
vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 
ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x 
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 
APACHE2

[gentoo-user] MEGA sync problems

2021-10-08 Thread Skippy
]
--
MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: ad54b550286c9ba129514473453e2909
Version code: 4400.0
Module name: megasync
Timestamp: 1633353881560
Operating system: Linux
System version:  gentoo 2.8/#1 SMP PREEMPT Fri Aug 14 14:04:49 MDT 2020
System release:  5.7.15-gentoo
System arch: x86_64
Error info:
Segmentation fault (11) at address 0
Stacktrace:
/usr/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x4a) 
[0x7f9f9551cfba]
/usr/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x4a) 
[0x7f9f9551cfba]
/usr/lib64/libcryptopp.so.8(_ZN8CryptoPP32AuthenticatedSymmetricCipherBase6SetKeyEPKhmRKNS_14NameValuePairsE+0x2e) 
[0x7f9f955087ce]
/usr/lib64/libcryptopp.so.8(_ZN8CryptoPP21SimpleKeyingInterface12SetKeyWithIVEPKhmS2_m+0x116) 
[0x7f9f954e8086]

megasync(+0x26e68c) [0x55f1088aa68c]
megasync(+0x2055db) [0x55f1088415db]
megasync(+0x34242f) [0x55f10897e42f]
megasync(+0x349220) [0x55f108985220]
megasync(+0x34932d) [0x55f10898532d]
/usr/lib64/libQt5Core.so.5(+0xc7e67) [0x7f9f93bb3e67]
/lib64/libpthread.so.0(+0x7cde) [0x7f9f93ad3cde]
/lib64/libc.so.6(clone+0x3f) [0x7f9f9369c7ef]
--
MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: 1ce94ba17475538e3f2cd4b8e078f8f0
Version code: 4400.0
Module name: megasync
Timestamp: 1633353055680
Operating system: Linux
System version:  gentoo 2.8/#1 SMP PREEMPT Fri Aug 14 14:04:49 MDT 2020
System release:  5.7.15-gentoo
System arch: x86_64
Error info:
Segmentation fault (11) at address 0
Stacktrace:
/usr/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x4a) 
[0x7f42cbf17fba]
/usr/lib64/libcryptopp.so.8(_ZN8CryptoPP8CCM_Base6ResyncEPKhm+0x4a) 
[0x7f42cbf17fba]
/usr/lib64/libcryptopp.so.8(_ZN8CryptoPP32AuthenticatedSymmetricCipherBase6SetKeyEPKhmRKNS_14NameValuePairsE+0x2e) 
[0x7f42cbf037ce]
/usr/lib64/libcryptopp.so.8(_ZN8CryptoPP21SimpleKeyingInterface12SetKeyWithIVEPKhmS2_m+0x116) 
[0x7f42cbee3086]

megasync(+0x26e68c) [0x5606ef65668c]
megasync(+0x2055db) [0x5606ef5ed5db]
megasync(+0x34242f) [0x5606ef72a42f]
megasync(+0x349220) [0x5606ef731220]
megasync(+0x34932d) [0x5606ef73132d]
/usr/lib64/libQt5Core.so.5(+0xc7e67) [0x7f42ca5aee67]
/lib64/libpthread.so.0(+0x7cde) [0x7f42ca4cecde]
/lib64/libc.so.6(clone+0x3f) [0x7f42ca0977ef]
--

There are newer versions available so I figured this was a good 
indicator I should just update Megasync.


Well the universe hates me and every version of Megasync newer than 
4.4.0 fails.  In fact if I attempt to re-emerge my existing 4.4.0 that 
fails as well.


Here is the full emerge log for version 4.5.3.

https://zerobin.net/?e8b7f31b1ce11c23#4wTnxsnZ+v31rS8PLplBxM+//23zC5b0rMXSATuoYDQ=

I've been informed that 4.5.3 is failing because it needs <=ffmpeg-3.4.

That brings me to how to install such a version of ffmpeg. My limited 
understanding of slots tells me this should be possible, but I've yet to 
find anything explaining how to install the older ffmpeg without 
disturbing the newer version.


Any help with this would be greatly appreciate.  Much thanks.

Skippy



--

 root # emerge --info '=net-misc/megasync-4.5.3::Skippy'
Portage 3.0.26 (python 3.9.7-final-0, default/linux/amd64/17.1, 
gcc-11.2.0, glibc-2.33-r7, 5.7.15-gentoo x86_64)

=
 System Settings
=
System uname: 
Linux-5.7.15-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.33

KiB Mem:24627244 total,  11640888 free
KiB Swap:   19535036 total,  19535036 free
Timestamp of repository gentoo: Sat, 02 Oct 2021 04:00:01 +
Head commit of repository gentoo: c878d800fb8bb0a2e59eff6fbcd9623583f0
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
ccache version 4.4.2 [disabled]
app-shells/bash:  5.1_p8::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl:5.34.0-r2::gentoo
dev-lang/python:  2.7.18_p13::gentoo, 3.8.12::gentoo, 
3.9.7::gentoo, 3.10.0_rc2::gentoo

dev-lang/rust:1.55.0::gentoo
dev-util/ccache:  4.4.2::gentoo
dev-util/cmake:   3.21.3::gentoo
sys-apps/baselayout:  2.8::gentoo
sys-apps/openrc:  0.44.5::gentoo
sys-apps/sandbox: 2.25::gentoo
sys-devel/autoconf:   2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:   1.16.4::gentoo
sys-devel/binutils:   2.37_p1::gentoo
sys-devel/gcc:11.2.0::gentoo
sys-devel/gcc-config: 2.4::gentoo
sys-devel/libtool:2.4.6-r6::gentoo
sys-devel/make:   4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:   2.33-r7::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-ver

[gentoo-user] portage blocking bash -- how to fix?

2008-08-01 Thread John covici
On my laptop, I did emerge sync and it said to emerge portage,
however when I tried to do this I got the following:



These are the packages that would be merged, in order:



Calculating dependencies  . ..... done!



[ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.17] 232 kB 

[ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE=-bindist -gmp 
-test 151 kB 

[ebuild U ] sys-apps/portage-2.1.4.4 [2.1.2.7] USE=doc* -build -epydoc 
(-selinux) LINGUAS=-pl 368 kB 

*** Portage will stop merging at this point and reload itself,

then resume the merge.

[ebuild U ] app-shells/bash-3.2_p33 [3.1_p17] USE=nls -afs -bashlogger 
-plugins% -vanilla 2,564 kB 

[blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking 
app-shells/bash-3.2_p33)



Total: 4 packages (4 upgrades, 1 block), Size of downloads: 3,313 kB


My emerge --info follows:

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 
2.6.20-suspend2-r6 i686)
=
System uname: 2.6.20-suspend2-r6 i686 Intel(R) Core(TM)2 CPU T5600  @ 
1.83GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 01 Aug 2008 15:06:01 +
app-shells/bash: 3.1_p17
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS=x86
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 
maestro3 trident usb-audio via82xx via82xx-modem ymfpci
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route 
share shm softvol
APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm 
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host 
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir 
disk_cache env expires ext_filter file_cache filter headers include info 
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling 
status unique_id userdir usertrack vhost_alias
ARCH=x86
AUTOCLEAN=yes
BASH_ENV=/root/.bashrc
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -mtune=i686 -pipe
CHOST=i686-pc-linux-gnu
CLEAN_DELAY=5
CONFIG_PROTECT=/etc /usr/share/X11/xkb
CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
CVS_RSH=ssh
CXXFLAGS=-O2 -mtune=i686 -pipe
DISTDIR=/usr/portage/distfiles
EDITOR=/usr/bin/emacs
ELIBC=glibc
EMERGE_DEFAULT_OPTS=--ask --color=n --verbose --nospinner
EMERGE_WARNING_DELAY=10
FEATURES=distlocks metadata-transfer sandbox sfperms strict
FETCHCOMMAND=/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}
GCC_SPECS=
GDK_USE_XFT=1
GENTOO_MIRRORS=ftp://mirror.iawnet.sandia.gov/pub/gentoo/ 
http://distfiles.gentoo.org;
G_BROKEN_FILENAMES=1
G_FILENAME_ENCODING=UTF-8
HOME=/root
INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info:/usr/share/info/emacs-22
INPUT_DEVICES=keyboard mouse evdev
KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text
LESS=-R -M --shift 5
LESSOPEN=|lesspipe.sh %s
LOGNAME=root
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.yuv=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:*.ra=01;36:*.mka=01;36:
MAIL=/var/mail/root
MAKEOPTS=-j2
MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man
NOCOLOR=true
OLDPWD=/root
OPENGL_PROFILE=xorg-x11
PAGER=/usr/bin/less
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt

[gentoo-user]

2014-03-23 Thread Nikita Tropin
Hi there. I can't compile zsh-5.0.2-r3 with error on configure stage. It
says that I haven't any curser or ncurses library. However I have ncurses
5.9. Masked zsh 5.0.5 build fine. Additional info:

emerge -pqv =app-shells/zsh-5.0.2-r3
[ebuild  N] app-shells/zsh-5.0.2-r3  USE=caps doc examples gdbm pcre
unicode -debug -maildir
-static

emerge --info =app-shells/zsh-5.0.2-r3
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17,
3.10.7-gentoo x86_64)
=
 System Settings
=
System uname: Linux-3.10.7-gentoo-x86_64-Intel-R-_Core-TM-_i5-2310_CPU_@
_2.90GHz-with-gentoo-2.2
KiB Mem: 3933576 total,960652 free
KiB Swap:  0 total, 0 free
Timestamp of tree: Sun, 23 Mar 2014 11:15:01 +
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:  4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python:  2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:   2.8.10.2-r2
dev-util/pkgconfig:   0.28
sys-apps/baselayout:  2.2
sys-apps/openrc:  0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf:   2.13, 2.69
sys-devel/automake:   1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:   2.23.1
sys-devel/gcc:4.6.3, 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:   2.17
Repositories: gentoo
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=*
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-ggdb -O2 -pipe -march=native
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo
CXXFLAGS=-ggdb -O2 -pipe -march=native
DISTDIR=/usr/portage/distfiles
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs
protect-owned sandbox sfperms splitdebug strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync
FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://gentoo.iteam.net.ua/;
LANG=ru_RU.utf8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j5
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--omit-dir-times --compress --force --whole-file --delete --stats
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=rsync://rsync.ua.gentoo.org/gentoo-portage
USE=X aac acl acpi alsa amd64 apng autotools bash-completion berkdb
bindist bzip2 cairo cdr cli cracklib crypt cscope ctype cups curl cxx dbus
dga djvu doc dri dv dvb dvd dvdr encode enscript exif fbcon ffmpeg flac
fontconfig fortran ftp gdbm gif gimp git glut gpm gsm gstreamer gtk gtk2
gtk3 gzip iconv icu idn imlib introspection ipv6 jit jpeg jpeg2k lame lcms
libass libsamplerate lm_sensors lzma lzo mad matroska matrox mime mmx
modules mp3 mp4 mpeg mplayer multilib mysql mysqli nas ncurses nls nptl ogg
openal openexr opengl openmp optimization pam pch pcre pdf png posix
postgres postscript profile python qt3support qt4 quicktime raw readline
samba scanner session sharedmem smp sqlite sqlite3 sse sse2 sse3 ssl svg
sysvipc t1lib tcpd theora threads tiff truetype udev unicode vdpau
vim-syntax vorbis wavpack x264 xcb xcomposite xft xorg xpm xscreensaver
xvmc zlib zsh-completion ABI_X86=32 64 ALSA_CARDS=ali5451 als4000
atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938
es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
via82xx via82xx-modem ymfpci APACHE2_MODULES=authn_core authz_core
socache_shmcb unixd actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile
authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias
CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon
braindump author CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load
memory rrdtool swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm
earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip
navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2
timing tsip tripmate tnt ublox ubx INPUT_DEVICES=evdev KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text LIBREOFFICE_EXTENSIONS=presenter-console
presenter-minimizer LINGUAS=ru en NETBEANS_MODULES=mobility apisupport
profiler

[gentoo-user] ACCESS VIOLATION SUMMARY error with several packages

2014-06-12 Thread Dale
/sandbox/sandbox-29464.log
 *
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /proc/self/coredump_filter
A: /proc/self/coredump_filter
R: /proc/30681/coredump_filter
C: /opt/icedtea-bin-6.1.13.3/bin/java -Dfile.encoding=iso-8859-1
-classpath
/usr/share/ant-core/lib/ant-launcher.jar:/opt/icedtea-bin-6.1.13.3/lib/tools.jar
-Dant.home=/usr/share/ant-core -Dant.library.dir=/usr/share/ant-core/lib
org.apache.tools.ant.launch.Launcher -cp  -version
 *

!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH= JAVA_HOME=/opt/icedtea-bin-6.1.13.3
JAVACFLAGS=-source 1.6 -target 1.6 COMPILER=
and of course, the output of emerge --info =opencv-2.4.5

 Failed to emerge media-libs/opencv-2.4.5, Log file:

  '/var/tmp/portage/media-libs/opencv-2.4.5/temp/build.log'

[/ERROR CODE]


So far, I get the what appears to me as the same error, with different
variables of course, with the following packages:

root@fireball / # equery list sys-devel/gettext dev-java/ant-core
sys-devel/bison media-libs/libjpeg-turbo sys-libs/db media-libs/opencv
 * Searching for gettext in sys-devel ...
[IP-] [  ] sys-devel/gettext-0.18.3.2:0

 * Searching for ant-core in dev-java ...
[IP-] [  ] dev-java/ant-core-1.9.2:0

 * Searching for bison in sys-devel ...
[IP-] [  ] sys-devel/bison-2.4.3:0

 * Searching for libjpeg-turbo in media-libs ...
[IP-] [  ] media-libs/libjpeg-turbo-1.3.1:0

 * Searching for db in sys-libs ...
[IP-] [  ] sys-libs/db-4.8.30:4.8

 * Searching for opencv in media-libs ...
[IP-] [  ] media-libs/opencv-2.4.5:0
root@fireball / #

I have tried disabling sandbox in make.conf with no change.  I have
keep-going set and tried that a few times to hoping it was just a small
burp but no help there either.  Before I start keywording packages, I
was wondering if this could be something else causing the problem other
than one of the packages listed above.  Since it mentions filing a bug
report, is Raid needed? 

Ideas? 

Thanks.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] emerge kde-plasma/kscreenlocker: permission denied

2016-04-11 Thread Alan McKinnon
On 11/04/2016 15:15, Yuri K. Shatroff wrote:
> Hi gentoo users,
> 
> Got a strange problem. While emerging kde-plasma/kscreenlocker (as part
> of upgrading to the brand new plasma desktop), the build fails with the
> following error:
> 
> * Applying kscreenlocker-5.4.90-no-SUID-no-GUID.patch ...
> /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment: line
> 1217:
> /var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch:
> Permission denied
> 
> I tried to run the ebuild manually and changed all permissions to a+w,
> but to no avail. (The patch itself applied successfully from the command
> line.)
> I don't believe it's a permissions issue. There haven't been any such
> issues before, and I just did a fresh eix-sync. Should I file a bug?

I have the same settings as you and kscreenlocker merges for me.

Basic checks:

ls -al all the files in
/var/portage/tree/kde-plasma/kscreenlocker/files/ and parent
directories. Make sure they are OK, especially look for literal question
marks.

then run
"ebuild /var/portage/tree/kde-plasma/kscreenlocker/kscreenlocker-5.6.2
prepare"

and see what's at line 1217 of
/var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment plus a
few lines above and below.

This won't be executable permissions - ebuilds are sourced, not executed.
I suspect file corruption.


> 
> 
> The complete output:
> 
>  * Package:kde-plasma/kscreenlocker-5.6.2
>  * Repository: gentoo
>  * Maintainer: k...@gentoo.org
>  * USE:abi_x86_64 amd64 elibc_glibc kernel_linux pam userland_GNU
>  * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>>> Unpacking source...
>>>> Unpacking kscreenlocker-5.6.2.tar.xz to
> /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work
>>>> Source unpacked in /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work
>>>> Preparing source in
> /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/work/kscreenlocker-5.6.2
> ...
>  * Applying kscreenlocker-5.4.90-no-SUID-no-GUID.patch ...
> /var/tmp/portage/kde-plasma/kscreenlocker-5.6.2/temp/environment: line
> 1217:
> /var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch:
> Permission denied
>  [ !! ]
>  * ERROR: kde-plasma/kscreenlocker-5.6.2::gentoo failed (prepare phase):
>  *   patch -p1  failed with
> /var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch
> 
>  *
>  * Call stack:
>  *   ebuild.sh, line  133:  Called src_prepare
>  * environment, line 3892:  Called kde5_src_prepare
>  * environment, line 2853:  Called cmake-utils_src_prepare
>  * environment, line 1075:  Called _cmake_execute_optionally
> 'src_prepare'
>  * environment, line  517:  Called
> enable_cmake-utils_src_prepare
>  * environment, line 1535:  Called default_src_prepare
>  *  phase-functions.sh, line  870:  Called __eapi6_src_prepare
>  * environment, line  349:  Called eapply
> '/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch'
> 
>  * environment, line 1282:  Called _eapply_patch
> '/var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch'
> 
>  * environment, line 1220:  Called __helpers_die 'patch -p1
>  failed with
> /var/portage/tree/kde-plasma/kscreenlocker/files/kscreenlocker-5.4.90-no-SUID-no-GUID.patch'
> 
>  *   isolated-functions.sh, line  117:  Called die
>  * The specific snippet of code:
>  *  die "$@"
>  *
> 
> 
> emerge --info '=kde-plasma/kscreenlocker-5.6.2::gentoo'
> 
> Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0,
> gcc-4.9.3, glibc-2.22-r4, 4.5.0-gentoo x86_64)
> =
>  System Settings
> =
> System uname:
> Linux-4.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
> 
> KiB Mem: 8190684 total,   2426472 free
> KiB Swap:   16777212 total,  15952084 free
> Timestamp of repository gentoo: Mon, 11 Apr 2016 12:45:01 +
> sh bash 4.3_p42-r2
> ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
> app-shells/bash:  4.3_p42-r2::gentoo
> dev-java/java-config: 2.2.0-r3::gentoo
> dev-lang/perl:5.22.1::gentoo
> dev-lang/python:  2.7.11-r2::gentoo, 3.4.3-r7::gentoo,
> 3.5.1-r2::gentoo
> dev-util/cmake:   3.5.1::gentoo
> dev-util/pkgconfig:   0.29.1::gentoo
> sys-apps/baselayout:  2.2::gentoo
> sys-apps/openrc:  0.20.5::gentoo
> sys-a

[gentoo-user] Puzzled with duration of chromium emerge under profile 17.0

2017-12-06 Thread Mick
I discovered that building Chromium with gcc-6.4.0 is taking an inordinately 
longer time on a laptop with 1st gen i7 and 4G of RAM, e.g.: 

 Wed Sep 27 17:36:53 2017 >>> www-client/chromium-61.0.3163.100
   merge time: 6 hours, 40 minutes and 50 seconds.

 Thu Nov  9 17:44:58 2017 >>> www-client/chromium-62.0.3202.89
   merge time: 8 hours, 12 minutes and 30 seconds.

-->switch to gcc-6.4.0

 Mon Dec  4 11:39:36 2017 >>> www-client/chromium-62.0.3202.89
   merge time: 20 hours, 2 minutes and 4 seconds.

 Wed Dec  6 18:41:13 2017 >>> www-client/chromium-62.0.3202.94
   merge time: 22 hours, 47 minutes and 35 seconds.


but not so on another older and lesser Intel(R) Core(TM)2 Duo CPU P7550  @ 
2.26GHz, also with 4G RAM:

 Wed Sep 27 22:25:32 2017 >>> www-client/chromium-61.0.3163.100
   merge time: 11 hours, 46 minutes and 18 seconds.

 Thu Nov  9 22:09:59 2017 >>> www-client/chromium-62.0.3202.89
   merge time: 13 hours, 16 minutes and 41 seconds.

-->switch to gcc-6.4.0

 Sat Dec  2 21:00:59 2017 >>> www-client/chromium-62.0.3202.89
   merge time: 15 hours, 35 minutes and 50 seconds.

 Mon Dec  4 03:44:12 2017 >>> www-client/chromium-62.0.3202.94
   merge time: 15 hours, 40 minutes and 18 seconds.


Any idea why this is happening?  I attach emerge info of the i7 in case you 
can spot something which may be causing this exponential increase in emerge 
times.  BTW, on the i7 I had to increase swap because the 4,200,960 KiB swap 
partition was not enough to complete the compilation of version 62.0.3202.89, 
even after I shut down all applications and exited X.  O_O

-- 
Regards,
Mick~ $ emerge --info www-client/chromium
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, g
cc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=
 System Settings
=
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60G
Hz-with-gentoo-2.4.1
KiB Mem: 4032296 total,   2050332 free
KiB Swap:4200960 total,   4200960 free
Timestamp of repository gentoo: Wed, 06 Dec 2017 18:15:01 +
Head commit of repository gentoo: f2378f105da3bbdc56fe40323b97dd31044b8dcc
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:  4.3_p48-r1::gentoo
dev-lang/perl:5.24.3::gentoo
dev-lang/python:  2.7.14::gentoo, 3.5.4::gentoo
dev-util/cmake:   3.8.2::gentoo
dev-util/pkgconfig:   0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:  0.34.11::gentoo
sys-apps/sandbox: 2.10-r4::gentoo
sys-devel/autoconf:   2.13::gentoo, 2.69::gentoo
sys-devel/automake:   1.15.1-r1::gentoo
sys-devel/binutils:   2.29.1-r1::gentoo
sys-devel/gcc:6.4.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool:2.4.6-r3::gentoo
sys-devel/make:   4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:   2.25-r9::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://10.10.10.2/gentoo-portage
priority: -1000
sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

bar
location: /var/lib/layman/bar
masters: gentoo
priority: 50

brother-overlay
location: /var/lib/layman/brother-overlay
masters: gentoo
priority: 50

psix-overlay
location: /var/lib/layman/psix-overlay
masters: gentoo
priority: 50

local
location: /usr/local/portage
masters: gentoo
priority: 100

Installed sets: @enlightenment
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config
/usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/
fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /et
c/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild
-locks fail-clean fixlafiles merge-sync multilib-strict network-sandbox news par
allel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknow
n-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox user
sync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://10.10.10.2:1024/ http://mirror.qubenet.net/mirror/gentoo/
 rsync://rsync.mirrorservice.org/distfiles.gentoo.org/

Re: [gentoo-ppc-user] yaboot has kicked my butt - 5 times?!

2010-09-25 Thread Mark Knecht
On Sat, Sep 25, 2010 at 8:12 AM, Joseph Jezak jos...@gentoo.org wrote:
SNIP
 None of these things are weird, they're expected!


Really? OK - cool then.

 When you start the system with init=/bin/bash, the only thing your
 system does is start bash as the only process. Things like mounting
 proc, remounting the root file system r/w (and setting up mtab) aren't
 done because they're part of the normal startup process.


I need to find a good _SIMPLE_ book on how Linux boots. I'm just a
long time use with no real sys admin background so for a decade or
longer I just want the things go by at boot and then use my system.

 Can you run fsck.ext3 from the shell that starts when you replace init?


I cannot due to the same sort of message I get when trying to boot:

e2fsck_check_if_mount: Can't check if filesystem is mounted due to
missing mtab file
fsck.ext3: Device or resource busy while trying to open /dev/hda4
Filesystem mounted or opened exclusively by another program?

For kicks I tried umount /dev/hda4 but that complains about the
missing mtab file also. It seems from the man page I could force it
but I didn't want to do that, and again if I did and it even worked
then where would the system read fsck.ext3 from to do the check since
it's on /dev/hda4 itself?

 Also, which version of udev are you using? I forgot to ask if you're
 running ~ppc instead of ppc, you may want to try switching to the
 PATA_MACIO driver in order for the system to work properly.

udev would be whatever comes with a stable ppc system these days.

Other than running ~ppc portage and sandbox the machine is currently
all stable with no USE flags. The make.conf file is pretty much empty
other than the stuff the install has me put in. (Which mirrors to sync
from, etc.)

I've gone back and done a couple more experiments:

1) So far anything I try that refers to the drive as /dev/sda4 results
in a VFS not syncing type error so at least as far as the boot process
goes hda4 seems to be the right device.

2) I tried building in the PATA_MACIO driver but that by itself didn't
change anything:

(chroot) livecd / # cat /usr/src/linux/.config | grep MACIO
CONFIG_PATA_MACIO=y
CONFIG_ADB_MACIO=y
(chroot) livecd / #

The boot still fails at the same point with the same message. Possibly
some other ATA driver is being selected ahead of this one and maybe it
needs to be removed from the kernel? I don't know what to remove
though so I'm sort of stuck on that account.

3) If this is a kernel config issue - and it seem plausible that it is
- then I'll point out that the kernel config page of the Gentoo PPC
Istall Guide had a possible command that didn't work for me:

http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1chap=7

Specifically:

make pmac32_defconfig

which supposedly will make a config file that would boot most 32-bit
machines. Unfortunately the command doesn't work for me on current
kernels. The install guide should be updated to either remove this or
make it more clear if I need to do anything more than that command in
the /usr/src/linux directory.

I've looked around at lots more stuff in my kernel config and compared
it to what the Install guide says. I don't see any differences but I
suspect there probably are.

Thanks!

- Mark



[gentoo-user] Portage issue

2008-02-03 Thread Robert Stockdale IV
I'm currently running Sabayon on an Ahtlon 64 x2. When I run emerge --sync,
it claims that there is an updated version of portage, and I should run
emerge portage before updating any packages. When I run emerge -pv portage I
get:

These are the packages that would be merged, in order:

Calculating dependencies... done!

[ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.18.1] 232 kB [0]
[ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE=-bindist -gmp
-test 151 kB [0]
[ebuild U ] sys-apps/portage-2.1.4.1 [2.1.3.4-r1] USE=-build -doc
-epydoc (-selinux) LINGUAS=-pl* 361 kB [0]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE=nls -afs
-bashlogger -plugins% -vanilla 2,564 kB [0]
[blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-
3.2_p33)

Total: 4 packages (4 upgrades, 1 block), Size of downloads: 3,306 kB
Portage tree and overlays:
 [0] /usr/portage



When I try an emerge --pv world I get a lot of blocked packages:

snipped...
[ebuild U ] sys-apps/portage-2.1.4.1 [2.1.3.4-r1] USE=-build -doc
-epydoc (-selinux) LINGUAS=-pl* 361 kB [0]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE=nls -afs
-bashlogger -plugins% -vanilla 2,564 kB [0]
[blocks B ] media-libs/libdts (is blocking media-libs/libdca-0.0.5)
[blocks B ] sys-fs/udev-115-r1 (is blocking sys-fs/device-
mapper-1.02.22-r5)
[blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-
3.2_p33)
[blocks B ] kde-base/ksync (is blocking kde-base/kdelibs-3.5.8-r10)
[blocks B ] dev-util/portatosourceview (is blocking app-portage/portato-
0.8.6.2)
[blocks B ] sys-fs/device-mapper-1.02.19-r1 (is blocking
sys-fs/udev-118-r2)
[blocks B ] sys-apps/setarch (is blocking sys-apps/util-linux-2.13.1)
[blocks B ] sys-apps/mktemp (is blocking sys-apps/coreutils-6.10-r1)
[blocks B ] media-libs/gst-plugins-ugly-0.10.6 (is blocking
media-libs/gstreamer-0.10.17)
[blocks B ] sys-apps/baselayout-2.0.0_rc (is blocking sys-apps/makedev-
3.23.1)
[blocks B ] sys-process/schedutils (is blocking sys-apps/util-
linux-2.13.1)
[blocks B ] app-crypt/libgssapi (is blocking net-libs/libgssglue-0.1)
[blocks B ] =sys-apps/coreutils-6.10 (is blocking sys-apps/mktemp-1.5)

Total: 616 packages (569 upgrades, 5 downgrades, 33 new, 9 in new slots, 13
blocks), Size of downloads: 2,090,644 kB
Fetch Restriction: 1 package (1 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/sabayon


What can be done to resolve these problems so I can bring my system up to
date.
Thank you,
Bob


Re: [gentoo-user] Portage issue

2008-02-03 Thread Kenneth Prugh
On Sun, 3 Feb 2008 18:44:26 +
Robert Stockdale IV [EMAIL PROTECTED] wrote:

 I'm currently running Sabayon on an Ahtlon 64 x2. When I run emerge
 --sync, it claims that there is an updated version of portage, and I
 should run emerge portage before updating any packages. When I run
 emerge -pv portage I get:
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 
 [ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.18.1] 232 kB [0]
 [ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE=-bindist
 -gmp -test 151 kB [0]
 [ebuild U ] sys-apps/portage-2.1.4.1 [2.1.3.4-r1] USE=-build -doc
 -epydoc (-selinux) LINGUAS=-pl* 361 kB [0]
 *** Portage will stop merging at this point and reload itself,
 then resume the merge.
 [ebuild U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE=nls -afs
 -bashlogger -plugins% -vanilla 2,564 kB [0]
 [blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking
 app-shells/bash- 3.2_p33)
 
 Total: 4 packages (4 upgrades, 1 block), Size of downloads: 3,306 kB
 Portage tree and overlays:
  [0] /usr/portage
 
 
 
 When I try an emerge --pv world I get a lot of blocked packages:
 
 snipped...
 [ebuild U ] sys-apps/portage-2.1.4.1 [2.1.3.4-r1] USE=-build -doc
 -epydoc (-selinux) LINGUAS=-pl* 361 kB [0]
 *** Portage will stop merging at this point and reload itself,
 then resume the merge.
 [ebuild U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE=nls -afs
 -bashlogger -plugins% -vanilla 2,564 kB [0]
 [blocks B ] media-libs/libdts (is blocking
 media-libs/libdca-0.0.5) [blocks B ] sys-fs/udev-115-r1 (is
 blocking sys-fs/device- mapper-1.02.22-r5)
 [blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking
 app-shells/bash- 3.2_p33)
 [blocks B ] kde-base/ksync (is blocking
 kde-base/kdelibs-3.5.8-r10) [blocks B ]
 dev-util/portatosourceview (is blocking app-portage/portato- 0.8.6.2)
 [blocks B ] sys-fs/device-mapper-1.02.19-r1 (is blocking
 sys-fs/udev-118-r2)
 [blocks B ] sys-apps/setarch (is blocking
 sys-apps/util-linux-2.13.1) [blocks B ] sys-apps/mktemp (is
 blocking sys-apps/coreutils-6.10-r1) [blocks B ]
 media-libs/gst-plugins-ugly-0.10.6 (is blocking
 media-libs/gstreamer-0.10.17) [blocks B ]
 sys-apps/baselayout-2.0.0_rc (is blocking sys-apps/makedev- 3.23.1)
 [blocks B ] sys-process/schedutils (is blocking sys-apps/util-
 linux-2.13.1)
 [blocks B ] app-crypt/libgssapi (is blocking
 net-libs/libgssglue-0.1) [blocks B ] =sys-apps/coreutils-6.10
 (is blocking sys-apps/mktemp-1.5)
 
 Total: 616 packages (569 upgrades, 5 downgrades, 33 new, 9 in new
 slots, 13 blocks), Size of downloads: 2,090,644 kB
 Fetch Restriction: 1 package (1 unsatisfied)
 Portage tree and overlays:
  [0] /usr/portage
  [1] /usr/portage/local/layman/sabayon
 
 
 What can be done to resolve these problems so I can bring my system
 up to date.
 Thank you,
 Bob

Well first off setarch was replaced with util-linux, so you can nuke
setarch. Same case with mktemp in that coreutils replaced it.

The others I'm not positive of.


signature.asc
Description: PGP signature


Re: [gentoo-user] Portage issue

2008-02-04 Thread Dale
Robert Stockdale IV wrote:

 On Feb 3, 2008 6:49 PM, Kenneth Prugh [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 On Sun, 3 Feb 2008 18:44:26 +
 Robert Stockdale IV [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:


  snipped...

 Well first off setarch was replaced with util-linux, so you can nuke
 setarch. Same case with mktemp in that coreutils replaced it.

 The others I'm not positive of.



 OK, I've got it pared down to some degree. These few block programs in
 portage are still preventing a world update and I don't believe I can
 remove them without destroying my system. They are:

 [blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking
 app-shells/bash-3.2_p33)
 [blocks B ] kde-base/ksync (is blocking kde-base/kdelibs-3.5.8-r10)
 [blocks B ] sys-apps/baselayout-2.0.0_rc (is blocking
 sys-apps/makedev-3.23.1)

 Total: 617 packages (568 upgrades, 5 downgrades, 35 new, 9 in new
 slots, 3 blocks), Size of downloads: 2,090,644 kB
 Fetch Restriction: 1 package (1 unsatisfied)
 Portage tree and overlays:
  [0] /usr/portage
  [1] /usr/portage/local/layman/sabayon


 I'm thinking that there must be a way to hold back the upgrade on
 these last three files in order to permit the portage upgrade.
 When I do emerge -pv portage I get:

 java bob # emerge -pv portage

 These are the packages that would be merged, in order:

 Calculating dependencies... done!

 [ebuild U ] sys-apps/sandbox-1.2.18.1-r2 [1.2.18.1
 http://1.2.18.1] 232 kB [0]
 [ebuild U ] dev-python/pycrypto-2.0.1-r6 [2.0.1-r5] USE=-bindist
 -gmp -test 151 kB [0]
 [ebuild U ] sys-apps/portage-2.1.4.1 http://2.1.4.1 [2.1.3.4-r1]
 USE=-build -doc -epydoc (-selinux) LINGUAS=-pl* 361 kB [0]
 *** Portage will stop merging at this point and reload itself,
 then resume the merge.
 [ebuild U ] app-shells/bash-3.2_p33 [3.2_p15-r1] USE=nls -afs
 -bashlogger -plugins% -vanilla 2,564 kB [0]
 [blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking
 app-shells/bash-3.2_p33)

 Total: 4 packages (4 upgrades, 1 block), Size of downloads: 3,306 kB
 Portage tree and overlays:
  [0] /usr/portage


 So it looks like the important one to look at is:
   sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)
 So if I could prevent the update to bash then portage should update.
 Is this correct? How would I do this?

 Thank you,
 Bob

He wrote this earlier.  Quoting his reply:

 On Sunday 03 February 2008, Robert Stockdale IV wrote:

   
  [blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking
  app-shells/bash- 3.2_p33)
 

 emerge --sync, there is a later version of portage in the tree that bash 
 does not block

   


So hopefully if you sync again that will fix that.  Hopefully nothing
else will pop up tho.

Dale

:-)  :-)  :-)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Portage issue

2008-02-19 Thread Alan McKinnon
On Tuesday 19 February 2008, Michael Schmarck wrote:
 Hello!

 Alan McKinnon-2 wrote:
  On Sunday 03 February 2008, Robert Stockdale IV wrote:
  [blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking
  app-shells/bash- 3.2_p33)
 
  emerge --sync, there is a later version of portage in the tree that
  bash does not block

 Hm. Are you sure?

Not so much anymore...

One of the admins at work is having similar troubles with a machine not 
updated for a while. I didn't go through this on my notebook which is 
updated weekly, so perhaps I hit an ideal window of opportunity between 
commits. 

Let's look at this in more detail:

You have portage-2.1.2.2 and want to upgrade to 2.1.4.4
You have bash-3.1_p17 and want to upgrade to 3.2_33

bash-3.1_p17 has no DEPEND blockers
bash-3.2-p17-r1 has no DEPEND blockers
bash-3.2_p33 blocks portage-2.1.4-rc1

portage-2.1.2.12 requires =app-shells/bash-3.1_p17
portage-2.1.3.19 requires =app-shells/bash-3.2_p17
portage-2.1.4.4  requires =app-shells/bash-3.2_p17


Ignore the conditional blocker from portage as you should not have build 
in USE. Now aside from what on earth certain versions of portage have 
to do with certain versions of bash...

try this:

emerge bash-3.2-p17-r1
emerge portage
emerge bash

 I just installed 2007.0 and set ACCEPT_KEYWORDS=~x86. I then
 did a emerge --sync followed by an emerge -vat portage. Result:

 test9 / # emerge -vat portage

 These are the packages that would be merged, in reverse order:

 Calculating dependencies... done!
 [nomerge  ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE=-build -doc
 -epydoc (-selinux) LINGUAS=-pl
 [ebuild U ]  app-shells/bash-3.2_p33 [3.1_p17] USE=-afs
 -bashlogger nls -plugins% -vanilla 2,564 kB
 [ebuild U ] sys-apps/portage-2.1.4.4 [2.1.2.2] USE=-build -doc
 -epydoc (-selinux) LINGUAS=-pl 368 kB
 [nomerge  ]  dev-lang/python-2.5.1-r5  USE=berkdb -bootstrap
 -build -doc -examples gdbm -ipv6 ncurses -nothreads readline -sqlite
 ssl -tk -ucs2 [ebuild  N]   app-admin/python-updater-0.4  4 kB
 [ebuild  NS   ]  dev-lang/python-2.5.1-r5  USE=berkdb -bootstrap
 -build -doc -examples gdbm -ipv6 ncurses -nothreads readline -sqlite
 ssl -tk -ucs2 9,174 kB
 [ebuild U ]  sys-apps/sandbox-1.2.18.1-r2 [1.2.17] 232 kB
 [blocks B ] sys-apps/portage-2.1.4_rc1 (is blocking
 app-shells/bash-3.2_p33)

 Total: 5 packages (3 upgrades, 1 new, 1 in new slot, 1 block), Size
 of downloads: 12,338 kB

 !!! Error: The above package list contains packages which cannot be
 installed
 !!!at the same time on the same system.

 For more information about Blocked Packages, please refer to the
 following section of the Gentoo Linux x86 Handbook (architecture is
 irrelevant):

 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

 How do you get around this blocker?

 Thanks,
 Michael

 -
 --
 Michael Schmarck
 [EMAIL PROTECTED]
 --
 View this message in context:
 http://www.nabble.com/Portage-issue-tp15256634p15562413.html Sent
 from the gentoo-user mailing list archive at Nabble.com.



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] metacity Woes

2007-09-11 Thread Michael Sullivan
Every time I boot into Linux and log into GNOME I have to start metacity
manually by su'ing in a terminal and issuing a

# metacity  /dev/null 

before I can get title bars and such that goes with it.  My wife's
computer does the same thing.  Here's the info on my PC:

camille ~ # emerge --info
Portage 2.1.2.12 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r4,
2.6.21-gentoo-r4 i686)
=
System uname: 2.6.21-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 11 Sep 2007 12:30:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf 
/etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/terminfo /etc/texmf/web2c
CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=http://mirror.datapipe.net/gentoo;
LINGUAS=en fr es
MAKEOPTS=-j2
PKGDIR=/usr/portage-packages/camille
PORTAGE_RSYNC_EXTRA_OPTS=--human-readable
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X alsa apache2 apm arts asterisk audiofile avi bash-completion
berkdb bind-mysql bitmap-fonts browserplugin bzip2 candy cdr cgi cli
cracklib crypt ctype cups dba dbus divx4linux doc dri dvb dvd dvdr
dvdread eds emboss encode examples expat f77 ffmpeg flash foomaticdb
fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal
iconv imap imlib ipv6 isdnlog ithreads ivtv jack jack-tempfs java jikes
joystick jpeg kde kerberos lib libclamav libg++ libwww lirc mad midi
mikmod mmx mmx2 mmxext mode-owner motif mp3 mpeg mpm-leader mudflap
mysql mythtv nas nautilus ncurses new-login nls nntp nsplugin offensive
ogg oggvorbis opengl openmp oss pam pcre pdf perl php png portaudio ppds
pppd python qt qt3 qt4 quicktime readline real reflection ruby samba
sasl sdl seamonkey session slp snmp spell spl sql ssl svga syslog tcl
tcltk tcpd threads tidy truetype truetype-fonts type1-fonts unicode usb
userlocales v4l v4l2 vorbis win32codecs x86 xml xml2 xorg xv zaptel
zlib ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter mulaw multi null plug rate route share shm softvol
ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text LINGUAS=en fr es USERLAND=GNU VIDEO_CARDS=apm ark
chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga
neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion
sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

camille ~ # emerge -pv metacity gnome

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-wm/metacity-2.18.5  USE=-debug -xinerama 0 kB 
[ebuild   R   ] gnome-base/gnome-2.18.2-r1  USE=cdr cups dvdr
-accessibility -ldap -mono 0 kB 

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB

The same thing happens on my wife's PC.  Here's the info for her
computer:

catherine ~ # emerge --info
Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-4.1.2,
glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=
System uname: 2.6.21-gentoo-r4 i686 AMD Sempron(tm) 2400+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 10 Sep 2007 12:30:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9

[gentoo-user] Re: metacity Woes

2007-09-12 Thread Moshe Kamensky
Hi,

I don't have a solution, just to mention that I have the same problem 
(with gnome-2.18.2-r1). I guess the starting point would be: Where goes 
the output (and error) of whatever script starts the gnome session? and 
where in the config files does it say that metacity should start?

Thanks,
Moshe

* Michael Sullivan [EMAIL PROTECTED] [11/09/07 21:27]:
 Every time I boot into Linux and log into GNOME I have to start metacity
 manually by su'ing in a terminal and issuing a
 
 # metacity  /dev/null 
 
 before I can get title bars and such that goes with it.  My wife's
 computer does the same thing.  Here's the info on my PC:
 
 camille ~ # emerge --info
 Portage 2.1.2.12 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r4,
 2.6.21-gentoo-r4 i686)
 =
 System uname: 2.6.21-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.66GHz
 Gentoo Base System release 1.12.9
 Timestamp of tree: Tue, 11 Sep 2007 12:30:01 +
 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
 [disabled]
 app-shells/bash: 3.2_p17
 dev-java/java-config: 1.3.7, 2.0.33-r1
 dev-lang/python: 2.4.4-r4
 dev-python/pycrypto: 2.0.1-r6
 sys-apps/baselayout: 1.12.9-r2
 sys-apps/sandbox:1.2.17
 sys-devel/autoconf:  2.13, 2.61-r1
 sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
 1.10
 sys-devel/binutils:  2.17
 sys-devel/gcc-config: 1.3.16
 sys-devel/libtool:   1.5.24
 virtual/os-headers:  2.6.17-r1
 ACCEPT_KEYWORDS=x86
 CBUILD=i686-pc-linux-gnu
 CFLAGS=-O2 -march=i686 -fomit-frame-pointer
 CHOST=i686-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
 /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
 CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf 
 /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ 
 /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ 
 /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ 
 /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
 CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer
 DISTDIR=/usr/portage/distfiles
 FEATURES=distlocks metadata-transfer sandbox sfperms strict
 GENTOO_MIRRORS=http://mirror.datapipe.net/gentoo;
 LINGUAS=en fr es
 MAKEOPTS=-j2
 PKGDIR=/usr/portage-packages/camille
 PORTAGE_RSYNC_EXTRA_OPTS=--human-readable
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --delete-after --stats
 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
 --filter=H_**/files/digest-*
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=/usr/local/portage
 SYNC=rsync://rsync.gentoo.org/gentoo-portage
 USE=X alsa apache2 apm arts asterisk audiofile avi bash-completion
 berkdb bind-mysql bitmap-fonts browserplugin bzip2 candy cdr cgi cli
 cracklib crypt ctype cups dba dbus divx4linux doc dri dvb dvd dvdr
 dvdread eds emboss encode examples expat f77 ffmpeg flash foomaticdb
 fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal
 iconv imap imlib ipv6 isdnlog ithreads ivtv jack jack-tempfs java jikes
 joystick jpeg kde kerberos lib libclamav libg++ libwww lirc mad midi
 mikmod mmx mmx2 mmxext mode-owner motif mp3 mpeg mpm-leader mudflap
 mysql mythtv nas nautilus ncurses new-login nls nntp nsplugin offensive
 ogg oggvorbis opengl openmp oss pam pcre pdf perl php png portaudio ppds
 pppd python qt qt3 qt4 quicktime readline real reflection ruby samba
 sasl sdl seamonkey session slp snmp spell spl sql ssl svga syslog tcl
 tcltk tcpd threads tidy truetype truetype-fonts type1-fonts unicode usb
 userlocales v4l v4l2 vorbis win32codecs x86 xml xml2 xorg xv zaptel
 zlib ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix
 dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
 linear meter mulaw multi null plug rate route share shm softvol
 ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
 LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
 ncurses text LINGUAS=en fr es USERLAND=GNU VIDEO_CARDS=apm ark
 chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga
 neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion
 sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo
 Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
 LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
 
 camille ~ # emerge -pv metacity gnome
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R   ] x11-wm/metacity-2.18.5  USE=-debug -xinerama 0 kB 
 [ebuild   R   ] gnome-base/gnome-2.18.2-r1  USE=cdr cups dvdr
 -accessibility -ldap -mono 0 kB 
 
 Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
 
 The same thing happens on my wife's PC.  Here's the info for her
 computer:
 
 catherine ~ # emerge --info
 Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-4.1.2,
 glibc-2.5-r4, 2.6.21

RE: [gentoo-user] Re: metacity Woes

2007-09-12 Thread Marzan, Richard non Unisys
Solved it. Just delete your local .gnome .gnome2 .gnome_private files in
your home dir. 

-Original Message-
From: Moshe Kamensky [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 12, 2007 8:20 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: metacity Woes

Hi,

I don't have a solution, just to mention that I have the same problem 
(with gnome-2.18.2-r1). I guess the starting point would be: Where goes 
the output (and error) of whatever script starts the gnome session? and 
where in the config files does it say that metacity should start?

Thanks,
Moshe

* Michael Sullivan [EMAIL PROTECTED] [11/09/07 21:27]:
 Every time I boot into Linux and log into GNOME I have to start
metacity
 manually by su'ing in a terminal and issuing a
 
 # metacity  /dev/null 
 
 before I can get title bars and such that goes with it.  My wife's
 computer does the same thing.  Here's the info on my PC:
 
 camille ~ # emerge --info
 Portage 2.1.2.12 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r4,
 2.6.21-gentoo-r4 i686)
 =
 System uname: 2.6.21-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.66GHz
 Gentoo Base System release 1.12.9
 Timestamp of tree: Tue, 11 Sep 2007 12:30:01 +
 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port
3632)
 [disabled]
 app-shells/bash: 3.2_p17
 dev-java/java-config: 1.3.7, 2.0.33-r1
 dev-lang/python: 2.4.4-r4
 dev-python/pycrypto: 2.0.1-r6
 sys-apps/baselayout: 1.12.9-r2
 sys-apps/sandbox:1.2.17
 sys-devel/autoconf:  2.13, 2.61-r1
 sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
 1.10
 sys-devel/binutils:  2.17
 sys-devel/gcc-config: 1.3.16
 sys-devel/libtool:   1.5.24
 virtual/os-headers:  2.6.17-r1
 ACCEPT_KEYWORDS=x86
 CBUILD=i686-pc-linux-gnu
 CFLAGS=-O2 -march=i686 -fomit-frame-pointer
 CHOST=i686-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
 CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
 CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer
 DISTDIR=/usr/portage/distfiles
 FEATURES=distlocks metadata-transfer sandbox sfperms strict
 GENTOO_MIRRORS=http://mirror.datapipe.net/gentoo;
 LINGUAS=en fr es
 MAKEOPTS=-j2
 PKGDIR=/usr/portage-packages/camille
 PORTAGE_RSYNC_EXTRA_OPTS=--human-readable
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --delete-after --stats
 --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages
 --filter=H_**/files/digest-*
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=/usr/local/portage
 SYNC=rsync://rsync.gentoo.org/gentoo-portage
 USE=X alsa apache2 apm arts asterisk audiofile avi bash-completion
 berkdb bind-mysql bitmap-fonts browserplugin bzip2 candy cdr cgi cli
 cracklib crypt ctype cups dba dbus divx4linux doc dri dvb dvd dvdr
 dvdread eds emboss encode examples expat f77 ffmpeg flash foomaticdb
 fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile
hal
 iconv imap imlib ipv6 isdnlog ithreads ivtv jack jack-tempfs java
jikes
 joystick jpeg kde kerberos lib libclamav libg++ libwww lirc mad midi
 mikmod mmx mmx2 mmxext mode-owner motif mp3 mpeg mpm-leader mudflap
 mysql mythtv nas nautilus ncurses new-login nls nntp nsplugin
offensive
 ogg oggvorbis opengl openmp oss pam pcre pdf perl php png portaudio
ppds
 pppd python qt qt3 qt4 quicktime readline real reflection ruby samba
 sasl sdl seamonkey session slp snmp spell spl sql ssl svga syslog tcl
 tcltk tcpd threads tidy truetype truetype-fonts type1-fonts unicode
usb
 userlocales v4l v4l2 vorbis win32codecs x86 xml xml2 xorg xv zaptel
 zlib ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy
dmix
 dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
 linear meter mulaw multi null plug rate route share shm softvol
 ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
 LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
 ncurses text LINGUAS=en fr es USERLAND=GNU VIDEO_CARDS=apm ark
 chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga
 neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion
 sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo
 Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
 LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
 
 camille ~ # emerge -pv metacity gnome
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R   ] x11-wm/metacity-2.18.5  USE=-debug -xinerama 0 kB 
 [ebuild   R   ] gnome-base/gnome-2.18.2-r1  USE=cdr cups dvdr
 -accessibility -ldap

RE: [gentoo-user] Re: metacity Woes[solved? you let me know]

2007-09-12 Thread Marzan, Richard non Unisys
Hello,


I came across the same problem. I believe it happened during an
upgrade or update of either gnome/gtk or libexpat. I know that the
execution of metacity and such settings are set in the .gnome* files. So
as a last resort without any help I just figured; why not just delete
the .gnome* directories with `rm -rf .gnome2 .gnome .gnome2_private` and
then restart X. I was shocked to have seen it work afterwards. I know
for a fact that certain programs regenerate their config dirs if they
don't exist and I believe that that is what happened. 

-Original Message-
From: Moshe Kamensky [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 12, 2007 8:20 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: metacity Woes

Hi,

I don't have a solution, just to mention that I have the same problem 
(with gnome-2.18.2-r1). I guess the starting point would be: Where goes 
the output (and error) of whatever script starts the gnome session? and 
where in the config files does it say that metacity should start?

Thanks,
Moshe

* Michael Sullivan [EMAIL PROTECTED] [11/09/07 21:27]:
 Every time I boot into Linux and log into GNOME I have to start
metacity
 manually by su'ing in a terminal and issuing a
 
 # metacity  /dev/null 
 
 before I can get title bars and such that goes with it.  My wife's
 computer does the same thing.  Here's the info on my PC:
 
 camille ~ # emerge --info
 Portage 2.1.2.12 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r4,
 2.6.21-gentoo-r4 i686)
 =
 System uname: 2.6.21-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.66GHz
 Gentoo Base System release 1.12.9
 Timestamp of tree: Tue, 11 Sep 2007 12:30:01 +
 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port
3632)
 [disabled]
 app-shells/bash: 3.2_p17
 dev-java/java-config: 1.3.7, 2.0.33-r1
 dev-lang/python: 2.4.4-r4
 dev-python/pycrypto: 2.0.1-r6
 sys-apps/baselayout: 1.12.9-r2
 sys-apps/sandbox:1.2.17
 sys-devel/autoconf:  2.13, 2.61-r1
 sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
 1.10
 sys-devel/binutils:  2.17
 sys-devel/gcc-config: 1.3.16
 sys-devel/libtool:   1.5.24
 virtual/os-headers:  2.6.17-r1
 ACCEPT_KEYWORDS=x86
 CBUILD=i686-pc-linux-gnu
 CFLAGS=-O2 -march=i686 -fomit-frame-pointer
 CHOST=i686-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
 CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
 CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer
 DISTDIR=/usr/portage/distfiles
 FEATURES=distlocks metadata-transfer sandbox sfperms strict
 GENTOO_MIRRORS=http://mirror.datapipe.net/gentoo;
 LINGUAS=en fr es
 MAKEOPTS=-j2
 PKGDIR=/usr/portage-packages/camille
 PORTAGE_RSYNC_EXTRA_OPTS=--human-readable
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --delete-after --stats
 --timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages
 --filter=H_**/files/digest-*
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=/usr/local/portage
 SYNC=rsync://rsync.gentoo.org/gentoo-portage
 USE=X alsa apache2 apm arts asterisk audiofile avi bash-completion
 berkdb bind-mysql bitmap-fonts browserplugin bzip2 candy cdr cgi cli
 cracklib crypt ctype cups dba dbus divx4linux doc dri dvb dvd dvdr
 dvdread eds emboss encode examples expat f77 ffmpeg flash foomaticdb
 fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile
hal
 iconv imap imlib ipv6 isdnlog ithreads ivtv jack jack-tempfs java
jikes
 joystick jpeg kde kerberos lib libclamav libg++ libwww lirc mad midi
 mikmod mmx mmx2 mmxext mode-owner motif mp3 mpeg mpm-leader mudflap
 mysql mythtv nas nautilus ncurses new-login nls nntp nsplugin
offensive
 ogg oggvorbis opengl openmp oss pam pcre pdf perl php png portaudio
ppds
 pppd python qt qt3 qt4 quicktime readline real reflection ruby samba
 sasl sdl seamonkey session slp snmp spell spl sql ssl svga syslog tcl
 tcltk tcpd threads tidy truetype truetype-fonts type1-fonts unicode
usb
 userlocales v4l v4l2 vorbis win32codecs x86 xml xml2 xorg xv zaptel
 zlib ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy
dmix
 dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
 linear meter mulaw multi null plug rate route share shm softvol
 ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
 LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
 ncurses text LINGUAS=en fr es USERLAND=GNU VIDEO_CARDS=apm ark
 chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga
 neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion

RE: [gentoo-user] Re: metacity Woes[solved? you let me know]

2007-09-13 Thread Marzan, Richard non Unisys
Surprisingly, it did not destroy my settings. The background and
everything was still there.

-Original Message-
From: Moshe Kamensky [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 13, 2007 4:02 PM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: metacity Woes[solved? you let me know]

Hi,

Thanks for the help. The problem for me with this approach is that it 
happens on a machine that I manage for my father on different continent.

I am afraid that if I do this all the settings for the desktop will 
disappear, he will not know how to set this up, and I also won't know 
since I don't understand the gnome configuration files. I will do it as 
a last resort, but I would rather understand what happens, and fix it.

Thanks,
Moshe

* Marzan, Richard non Unisys [EMAIL PROTECTED] [12/09/07
12:03]:
 Hello,
 
 
   I came across the same problem. I believe it happened during an
 upgrade or update of either gnome/gtk or libexpat. I know that the
 execution of metacity and such settings are set in the .gnome* files.
So
 as a last resort without any help I just figured; why not just delete
 the .gnome* directories with `rm -rf .gnome2 .gnome .gnome2_private`
and
 then restart X. I was shocked to have seen it work afterwards. I know
 for a fact that certain programs regenerate their config dirs if they
 don't exist and I believe that that is what happened. 
 
 -Original Message-
 From: Moshe Kamensky [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 12, 2007 8:20 AM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Re: metacity Woes
 
 Hi,
 
 I don't have a solution, just to mention that I have the same problem 
 (with gnome-2.18.2-r1). I guess the starting point would be: Where
goes 
 the output (and error) of whatever script starts the gnome session?
and 
 where in the config files does it say that metacity should start?
 
 Thanks,
 Moshe
 
 * Michael Sullivan [EMAIL PROTECTED] [11/09/07 21:27]:
  Every time I boot into Linux and log into GNOME I have to start
 metacity
  manually by su'ing in a terminal and issuing a
  
  # metacity  /dev/null 
  
  before I can get title bars and such that goes with it.  My wife's
  computer does the same thing.  Here's the info on my PC:
  
  camille ~ # emerge --info
  Portage 2.1.2.12 (default-linux/x86/no-nptl, gcc-4.1.2,
glibc-2.5-r4,
  2.6.21-gentoo-r4 i686)
  =
  System uname: 2.6.21-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.66GHz
  Gentoo Base System release 1.12.9
  Timestamp of tree: Tue, 11 Sep 2007 12:30:01 +
  distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port
 3632)
  [disabled]
  app-shells/bash: 3.2_p17
  dev-java/java-config: 1.3.7, 2.0.33-r1
  dev-lang/python: 2.4.4-r4
  dev-python/pycrypto: 2.0.1-r6
  sys-apps/baselayout: 1.12.9-r2
  sys-apps/sandbox:1.2.17
  sys-devel/autoconf:  2.13, 2.61-r1
  sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3,
1.9.6-r2,
  1.10
  sys-devel/binutils:  2.17
  sys-devel/gcc-config: 1.3.16
  sys-devel/libtool:   1.5.24
  virtual/os-headers:  2.6.17-r1
  ACCEPT_KEYWORDS=x86
  CBUILD=i686-pc-linux-gnu
  CFLAGS=-O2 -march=i686 -fomit-frame-pointer
  CHOST=i686-pc-linux-gnu
  CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
 /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
  CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
 /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/
 /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/
 /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/
 /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
  CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer
  DISTDIR=/usr/portage/distfiles
  FEATURES=distlocks metadata-transfer sandbox sfperms strict
  GENTOO_MIRRORS=http://mirror.datapipe.net/gentoo;
  LINGUAS=en fr es
  MAKEOPTS=-j2
  PKGDIR=/usr/portage-packages/camille
  PORTAGE_RSYNC_EXTRA_OPTS=--human-readable
  PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
  --compress --force --whole-file --delete --delete-after --stats
  --timeout=180 --exclude=/distfiles --exclude=/local
 --exclude=/packages
  --filter=H_**/files/digest-*
  PORTAGE_TMPDIR=/var/tmp
  PORTDIR=/usr/portage
  PORTDIR_OVERLAY=/usr/local/portage
  SYNC=rsync://rsync.gentoo.org/gentoo-portage
  USE=X alsa apache2 apm arts asterisk audiofile avi bash-completion
  berkdb bind-mysql bitmap-fonts browserplugin bzip2 candy cdr cgi cli
  cracklib crypt ctype cups dba dbus divx4linux doc dri dvb dvd dvdr
  dvdread eds emboss encode examples expat f77 ffmpeg flash foomaticdb
  fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile
 hal
  iconv imap imlib ipv6 isdnlog ithreads ivtv jack jack-tempfs java
 jikes
  joystick jpeg kde kerberos lib libclamav libg++ libwww lirc mad midi
  mikmod mmx mmx2 mmxext mode-owner motif mp3 mpeg mpm-leader mudflap
  mysql mythtv nas nautilus ncurses new-login

Re: [gentoo-user] Re: metacity Woes[solved? you let me know]

2007-09-13 Thread Michael Sullivan
On Thu, 2007-09-13 at 16:02 -0400, Moshe Kamensky wrote:
 Hi,
 
 Thanks for the help. The problem for me with this approach is that it 
 happens on a machine that I manage for my father on different continent.  
 I am afraid that if I do this all the settings for the desktop will 
 disappear, he will not know how to set this up, and I also won't know 
 since I don't understand the gnome configuration files. I will do it as 
 a last resort, but I would rather understand what happens, and fix it.
 
 Thanks,
 Moshe
 

I've done it on two of our PCs here.  The only side effects I've seen
are that a few of the gnome-panel applets disappear and I had a couple
of icons in a drawer on the panel go away, but that's it...
 * Marzan, Richard non Unisys [EMAIL PROTECTED] [12/09/07 12:03]:
  Hello,
  
  
  I came across the same problem. I believe it happened during an
  upgrade or update of either gnome/gtk or libexpat. I know that the
  execution of metacity and such settings are set in the .gnome* files. So
  as a last resort without any help I just figured; why not just delete
  the .gnome* directories with `rm -rf .gnome2 .gnome .gnome2_private` and
  then restart X. I was shocked to have seen it work afterwards. I know
  for a fact that certain programs regenerate their config dirs if they
  don't exist and I believe that that is what happened. 
  
  -Original Message-
  From: Moshe Kamensky [mailto:[EMAIL PROTECTED] 
  Sent: Wednesday, September 12, 2007 8:20 AM
  To: gentoo-user@lists.gentoo.org
  Subject: [gentoo-user] Re: metacity Woes
  
  Hi,
  
  I don't have a solution, just to mention that I have the same problem 
  (with gnome-2.18.2-r1). I guess the starting point would be: Where goes 
  the output (and error) of whatever script starts the gnome session? and 
  where in the config files does it say that metacity should start?
  
  Thanks,
  Moshe
  
  * Michael Sullivan [EMAIL PROTECTED] [11/09/07 21:27]:
   Every time I boot into Linux and log into GNOME I have to start
  metacity
   manually by su'ing in a terminal and issuing a
   
   # metacity  /dev/null 
   
   before I can get title bars and such that goes with it.  My wife's
   computer does the same thing.  Here's the info on my PC:
   
   camille ~ # emerge --info
   Portage 2.1.2.12 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r4,
   2.6.21-gentoo-r4 i686)
   =
   System uname: 2.6.21-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.66GHz
   Gentoo Base System release 1.12.9
   Timestamp of tree: Tue, 11 Sep 2007 12:30:01 +
   distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port
  3632)
   [disabled]
   app-shells/bash: 3.2_p17
   dev-java/java-config: 1.3.7, 2.0.33-r1
   dev-lang/python: 2.4.4-r4
   dev-python/pycrypto: 2.0.1-r6
   sys-apps/baselayout: 1.12.9-r2
   sys-apps/sandbox:1.2.17
   sys-devel/autoconf:  2.13, 2.61-r1
   sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
   1.10
   sys-devel/binutils:  2.17
   sys-devel/gcc-config: 1.3.16
   sys-devel/libtool:   1.5.24
   virtual/os-headers:  2.6.17-r1
   ACCEPT_KEYWORDS=x86
   CBUILD=i686-pc-linux-gnu
   CFLAGS=-O2 -march=i686 -fomit-frame-pointer
   CHOST=i686-pc-linux-gnu
   CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
  /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
   CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf
  /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/
  /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/
  /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/
  /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
   CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer
   DISTDIR=/usr/portage/distfiles
   FEATURES=distlocks metadata-transfer sandbox sfperms strict
   GENTOO_MIRRORS=http://mirror.datapipe.net/gentoo;
   LINGUAS=en fr es
   MAKEOPTS=-j2
   PKGDIR=/usr/portage-packages/camille
   PORTAGE_RSYNC_EXTRA_OPTS=--human-readable
   PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
   --compress --force --whole-file --delete --delete-after --stats
   --timeout=180 --exclude=/distfiles --exclude=/local
  --exclude=/packages
   --filter=H_**/files/digest-*
   PORTAGE_TMPDIR=/var/tmp
   PORTDIR=/usr/portage
   PORTDIR_OVERLAY=/usr/local/portage
   SYNC=rsync://rsync.gentoo.org/gentoo-portage
   USE=X alsa apache2 apm arts asterisk audiofile avi bash-completion
   berkdb bind-mysql bitmap-fonts browserplugin bzip2 candy cdr cgi cli
   cracklib crypt ctype cups dba dbus divx4linux doc dri dvb dvd dvdr
   dvdread eds emboss encode examples expat f77 ffmpeg flash foomaticdb
   fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile
  hal
   iconv imap imlib ipv6 isdnlog ithreads ivtv jack jack-tempfs java
  jikes
   joystick jpeg kde kerberos lib libclamav libg++ libwww lirc mad midi
   mikmod mmx mmx2 mmxext mode-owner motif mp3 mpeg mpm

[gentoo-user] baselayout slot issue, portage wants to downgrade everything

2009-04-19 Thread darren kirby
K, no idea what's going on. This is a hardened server, just synced a moment 
ago:

-
# emerge -puD system

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] sys-devel/libtool-1.3.5 [1.5.26] 527 kB [0]
[ebuild UD] sys-apps/kbd-1.12-r8 [1.13-r1] USE=-nls* 865 kB [0]
[ebuild U ] sys-libs/timezone-data-2009c [2009b] USE=-nls* 0 kB [0]
[ebuild UD] sys-apps/sysvinit-2.86-r8 [2.86-r10] USE=(-ibm) 
(-selinux) -static 0 kB [0]
[ebuild U ] sys-apps/sandbox-1.6-r2 [1.2.18.1-r2] 300 kB [?=0]
[ebuild UD] sys-devel/bison-1.875d [2.3] USE=-nls* -static 863 kB [0]
[ebuild UD] net-misc/iputils-20070202 [20071127] USE=-doc -ipv6 -static 
0 kB [0]
[ebuild UD] app-editors/nano-2.0.9 [2.1.7-r1] USE=ncurses 
unicode -debug -justify -minimal -nls* -slang -spell 1,371 kB [0]
[ebuild U ] sys-apps/coreutils-7.1 [6.10-r2] USE=acl -caps% -nls* 
(-selinux) -static -vanilla -xattr 9,318 kB [0]
[ebuild UD] sys-devel/binutils-2.18-r1 [2.18-r3] 
USE=-multislot -multitarget -nls* -test -vanilla 0 kB [0]
[ebuild UD] net-misc/wget-1.11.1 [1.11.3] 
USE=ssl -debug -ipv6 -nls* -socks5 -static 0 kB [0]
[ebuild U ] sys-fs/udev-124-r2 [124-r1] USE=(-selinux) 0 kB [0]
[ebuild U ] dev-lang/python-2.5.4-r2 [2.5.2-r7] USE=berkdb ncurses 
readline ssl threads 
xml%* -build -doc -examples -gdbm -ipv6 -sqlite -tk -ucs2 -wininst 
(-bootstrap%) 9,611 kB [0]
[ebuild UD] sys-apps/baselayout-1.11.15-r3 [1.12.11.1] 
USE=unicode -bootstrap -build -static 158 kB [0]

Total: 14 packages (5 upgrades, 8 downgrades, 1 in new slot), Size of 
downloads: 23,009 kB
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-apps/baselayout:0

  ('ebuild', '/', 'sys-apps/baselayout-1.11.15-r3', 'merge') pulled in by
sys-apps/baselayout required by system

  ('installed', '/', 'sys-apps/baselayout-1.12.11.1', 'nomerge') pulled in by
=sys-apps/baselayout-1.12.5 required by 
('ebuild', '/', 'sys-fs/udev-124-r2', 'merge')
=sys-apps/baselayout-1.12.7-r2 required by 
('installed', '/', 'sys-apps/module-init-tools-3.5', 'nomerge')
(and 1 more)


This system uses a NFS mounted portage tree, as do all my Gentoo systems, none 
other are showing this behaviour. I had a search through bugzy, but cannot 
find anything relevent.

What have I done wrong here? I can give more info if you want. Not sure what 
you need. I do keep the system fairly up to date (emerge -uD world at least 
every month).

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972



Re: [gentoo-user] how to recover a portage that wasn't in use for very long time

2009-05-10 Thread Stroller


On 10 May 2009, at 01:58, Alexey Luchko wrote:

...
But then I've got the following collision. Obviously, a portage  
update is required. But it is confused by dependencies:

colinux ~ # emerge portage --pretend --tree

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge  ] sys-apps/portage-2.1.6.11 [2.1.2.2]
[ebuild U ]  app-shells/bash-3.2_p39 [3.1_p17] USE=-examples% - 
plugins%

[ebuild U ] sys-apps/portage-2.1.6.11 [2.1.2.2]
[ebuild U ]  dev-python/pycrypto-2.0.1-r6 [2.0.1-r5]
[ebuild U ]  sys-apps/sandbox-1.6-r2 [1.2.17]
[ebuild  N]   app-arch/lzma-utils-4.32.7  USE=-nocxx
[ebuild  N]  app-admin/eselect-news-20080320
[ebuild U ]   app-admin/eselect-1.0.11-r1 [1.0.7] USE=-vim- 
syntax%

[ebuild U ]  app-misc/pax-utils-0.1.19 [0.1.15]
[blocks B ] sys-apps/portage-2.1.5 (is blocking app-shells/ 
bash-3.2_p39)

colinux ~ #


Hi there,

I have done some similar kinds of updates. Once stuff has been removed  
from the tree it becomes a bit painful. I have had success, however,  
reading the blocked ebuilds to find which versions of dependency  
ebuilds are required, and then getting them from Gentoo's CVS attic http://sources.gentoo.org/ 
. You can place these in your local overlay and then `emerge  
=category/package-version` to overcome the blocker.


This is probably a fair bit of work - one machine here is so old that  
I accept I'll never get it updated (and a reinstall will be required,  
when I get around to it), on another the work is not complete. On that  
latter machine I have successfully updated some important packages to  
the latest version (previously updated September 2007) by using this  
method, but it required at least 2 or 3 blockers manually resolved  
this way, and it did feel ugly. I suggest frequent use of `revdep- 
rebuild`, `python-updater` and whatever else you can think of.


`emerge -pv --update world` on that machine still shows 202 packages  
in need of updating, so this will need repeating a number of times.


I think a number of people here would tell you that this isn't  
worthwhile, to back up /home directories  config files and to  
reinstall, but personally I'm reluctant to do that in the case of a  
working system on which users depend. So it _does_ appear possible to  
upgrade using this tedious method.


In your case, I think you would first try to emerge =sys-apps/ 
portage-2.1.5, in order to unblock app-shells/bash-3.2_p39. This will  
(surely) result in another blocker - resolve that first, then emerge  
=sys-apps/portage-2.1.5 then try again to upgrade to the latest portage.


Good luck!

Stroller.






[gentoo-user] Emerge is Waiting for lirc_client.o.lock to be removed

2006-01-12 Thread Drew Tomlinson
I've got some weirdness going on with my system after an upgrade.  Seems 
that some things that were compiled with gcc 3.3 don't want to run with 
a kernel that was compiled with gcc 3.4.  I'm not sure of this but 
that's my guess, especially after re-emerging a few packages (that one 
doesn't normally have to re-emerge after a kernel upgrade) and they 
suddenly stop seg faulting.


So anyway, I thought I'd just re-emerge my entire system with 'emerge 
-vuDNe1 world'.  It was chuggin' along fine until it hit 
app-misc/lirc-0.7.2.  The build starts, goes through configure, and 
actually begins compiling, and then starts waiting here:


gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -mcpu=i686 -fomit-frame-pointer 
-march=athlon-xp -pipe -Wall -c `test -f irxevent.c || echo './'`irxevent.c

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
source='xmode2.c' object='xmode2.o' libtool=no \
depfile='.deps/xmode2.Po' tmpdepfile='.deps/xmode2.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -mcpu=i686 -fomit-frame-pointer 
-march=athlon-xp -pipe -Wall -c `test -f xmode2.c || echo './'`xmode2.c

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
/bin/sh ../libtool --mode=link gcc  -O2 -mcpu=i686 -fomit-frame-pointer 
-march=athlon-xp -pipe -Wall   -o irw  irw.o 
Waiting for lirc_client.o.lock to be removed

mkdir .libs
gcc -O2 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -o 
irw irw.o
/bin/sh ../libtool --mode=link gcc  -O2 -mcpu=i686 -fomit-frame-pointer 
-march=athlon-xp -pipe -Wall   -o mode2  mode2.o 
gcc -O2 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -o 
mode2 mode2.o
/bin/sh ../libtool --mode=link gcc  -O2 -mcpu=i686 -fomit-frame-pointer 
-march=athlon-xp -pipe -Wall   -o irsend  irsend.o 
gcc -O2 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -o 
irsend irsend.o
/bin/sh ../libtool --mode=link gcc  -O2 -mcpu=i686 -fomit-frame-pointer 
-march=athlon-xp -pipe -Wall   -o smode2  smode2.o -lvga -lvgagl

Waiting for lirc_client.o.lock to be removed
gcc -O2 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -o 
smode2 smode2.o  -lvga -lvgagl
/bin/sh ../libtool --mode=link gcc  -O2 -mcpu=i686 -fomit-frame-pointer 
-march=athlon-xp -pipe -Wall   -o xmode2  xmode2.o -lSM -lICE -lX11 
gcc -O2 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -o 
xmode2 xmode2.o  -lSM -lICE -lX11

Waiting for lirc_client.o.lock to be removed
Waiting for lirc_client.o.lock to be removed
Waiting for lirc_client.o.lock to be removed
Waiting for lirc_client.o.lock to be removed
Waiting for lirc_client.o.lock to be removed
sandbox:  Caught signal 2 in pid 30088

I've stopped lircd, removed all lirc kernel modules, searched the entire 
file system for a file named lirc_client.o.lock, searched Google for 
the same, even rebooted, and am still stuck at this point.  I keep using 
'emerge --resume' to retry as i don't want to rebuild the 130+ things 
that have already been built.  I just want to continue with the 
remaining 250+.


Any ideas on how to overcome this hurdle?

Thanks,

Drew

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: dev-lang/python-2.3.6-r2 (is blocking app-admin/python-updater-0.5

2008-07-26 Thread Mark Knecht
On Sat, Jul 26, 2008 at 7:11 PM, Dale [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:

 Humm. I seem to be stuck at this one. python-updater is complaining
 about vte which is used by gnome and gnome-terminal. I tried unmasking
 vte in package.keywords but I still get the same error:

  * Adding to list: =games-board/pysol-sound-server-3.01
  * Adding to list: =dev-tcltk/snack-2.2.10

 These are the packages that would be merged, in order:

 Calculating dependencies \
 !!! All ebuilds that could satisfy =x11-libs/vte-0.16.12 have been
 masked.
 !!! One of the following masked packages is required to complete your
 request:
 - x11-libs/vte-0.16.12 (masked by: )

 For more information, see MASKED PACKAGES section in the emerge man page
 or
 refer to the Gentoo Handbook.

 dragonfly ~ # equery depends vte
 [ Searching for packages depending on vte... ]
 gnome-base/gnome-2.20.3 (=x11-libs/vte-0.16.12)
 x11-terms/gnome-terminal-2.18.4 (=x11-libs/vte-0.15.3)
 dragonfly ~ #

 It seems that the developers have deleted the version on my machine
 from portage:

 dragonfly ~ # eix x11-libs/vte
 [U] x11-libs/vte
 Available versions:  0.16.8 0.16.13 (~)0.16.14 {debug doc opengl
 python}
 Installed versions:  0.16.12(08:52:33 02/24/08)(opengl python -debug
 -doc)
 Homepage:http://www.gnome.org/
 Description: Gnome terminal widget

 dragonfly ~ #

 I tried building 0.6.14 and got a sandbox violation.

 Ideas?

 Thanks,
 Mark




 That may require a new thread.  I'm clueless on that one.  KDE nut here.  :/

 Dale

Well, thanks for the help so far. python-updater stops with the
following message:

 * Adding to list: =dev-java/java-config-2.1.4
 * Adding to list: =dev-java/java-config-1.3.7
 * Adding to list: =media-tv/mythtv-0.21_p16867
 * Adding to list: =app-portage/layman-1.1.1
 * Adding to list: =games-board/pysol-sound-server-3.01
 * Adding to list: =dev-tcltk/snack-2.2.10

These are the packages that would be merged, in order:

Calculating dependencies \
!!! All ebuilds that could satisfy =x11-libs/vte-0.16.12 have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-libs/vte-0.16.12 (masked by: )

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

dragonfly ~ #


Somehow the equery depends seems very unhappy. python-updater hasn't
run but equery is doing this:

dragonfly ~ # equery depends =dev-lang/python-2.3.6-r2
[ Searching for packages depending on =dev-lang/python-2.3.6-r2... ]
!!! Warning: No packages found matching =dev-lang/python-2.3.6-r2
dragonfly ~ #

I'm very confused at this point.

I wonder what I'd even call a different thread! :-)

- Mark



Re: [gentoo-user] Re: dev-lang/python-2.3.6-r2 (is blocking app-admin/python-updater-0.5

2008-07-26 Thread Dale

Mark Knecht wrote:

On Sat, Jul 26, 2008 at 7:11 PM, Dale [EMAIL PROTECTED] wrote:
  

Mark Knecht wrote:


Humm. I seem to be stuck at this one. python-updater is complaining
about vte which is used by gnome and gnome-terminal. I tried unmasking
vte in package.keywords but I still get the same error:

 * Adding to list: =games-board/pysol-sound-server-3.01
 * Adding to list: =dev-tcltk/snack-2.2.10

These are the packages that would be merged, in order:

Calculating dependencies \
!!! All ebuilds that could satisfy =x11-libs/vte-0.16.12 have been
masked.
!!! One of the following masked packages is required to complete your
request:
- x11-libs/vte-0.16.12 (masked by: )

For more information, see MASKED PACKAGES section in the emerge man page
or
refer to the Gentoo Handbook.

dragonfly ~ # equery depends vte
[ Searching for packages depending on vte... ]
gnome-base/gnome-2.20.3 (=x11-libs/vte-0.16.12)
x11-terms/gnome-terminal-2.18.4 (=x11-libs/vte-0.15.3)
dragonfly ~ #

It seems that the developers have deleted the version on my machine
from portage:

dragonfly ~ # eix x11-libs/vte
[U] x11-libs/vte
Available versions:  0.16.8 0.16.13 (~)0.16.14 {debug doc opengl
python}
Installed versions:  0.16.12(08:52:33 02/24/08)(opengl python -debug
-doc)
Homepage:http://www.gnome.org/
Description: Gnome terminal widget

dragonfly ~ #

I tried building 0.6.14 and got a sandbox violation.

Ideas?

Thanks,
Mark



  

That may require a new thread.  I'm clueless on that one.  KDE nut here.  :/

Dale



Well, thanks for the help so far. python-updater stops with the
following message:

 * Adding to list: =dev-java/java-config-2.1.4
 * Adding to list: =dev-java/java-config-1.3.7
 * Adding to list: =media-tv/mythtv-0.21_p16867
 * Adding to list: =app-portage/layman-1.1.1
 * Adding to list: =games-board/pysol-sound-server-3.01
 * Adding to list: =dev-tcltk/snack-2.2.10

These are the packages that would be merged, in order:

Calculating dependencies \
!!! All ebuilds that could satisfy =x11-libs/vte-0.16.12 have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-libs/vte-0.16.12 (masked by: )

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.

dragonfly ~ #


Somehow the equery depends seems very unhappy. python-updater hasn't
run but equery is doing this:

dragonfly ~ # equery depends =dev-lang/python-2.3.6-r2
[ Searching for packages depending on =dev-lang/python-2.3.6-r2... ]
!!! Warning: No packages found matching =dev-lang/python-2.3.6-r2
dragonfly ~ #

I'm very confused at this point.

I wonder what I'd even call a different thread! :-)

- Mark
  


Have you tried to unmask x11-libs/vte-0.16.12 and see if that works?  
Just put the following in package.unmask:  =x11-libs/vte-0.16.12   See 
if that helps any.


It appears that you have not updated your system in a while.  It may 
take some time to sort all this out.  ;-)


Dale

:-) 



[gentoo-user] /usr/lib/perl5: file not recognized: Is a directory

2008-11-18 Thread Erik Hahn
Many packages (example: rxvt-unicode) fail like this:

---
i686-pc-linux-gnu-g++ -I.. -I. -I. -I./../libev -DHAVE_CONFIG_H 
-I/usr/include/freetype2   -O2 -march=athlon-xp -pipe -fomit-frame-pointer -w 
-DDEBUG_STRICT  -c ev_cpp.C
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -s -o rxvt 
rxvt.o background.o command.o rxvtfont.o init.o logging.o main.o misc.o 
ptytty.o proxy.o screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o 
scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o rxvttoolkit.o 
rxvtutil.o keyboard.o fdpass.o ev_cpp.o  -lm  -lsupc++ -lXft -lXrender 
-lfontconfig -lfreetype -lz -lX11 -lX11  /usr/lib/perl5
/usr/lib/perl5: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[1]: *** [rxvt] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/x11-terms/rxvt-unicode-9.05-r3/work/rxvt-unicode-9.05/src'
make: *** [all] Error 1
---

Remergin pgerl didn't help. I don't have anything special in my make.conf
(It's attached). Any ideas what goes wrong here? Google didn't help at
all.

-- 
v4sw5RUYhw2ln3pr5ck0ma2u7Lw3+2Xm0l6/7Gi2e2t3b6AKMen5+7a16s0Sr1p-8.12/-6.56g6OR
## Optimizing Flags

CFLAGS=-O2 -march=athlon-xp -pipe -fomit-frame-pointer
CXXFLAGS=${CFLAGS}
LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -s

## Overlays

## General configuration

CHOST=i686-pc-linux-gnu
ACCEPT_KEYWORDS=x86 ~x86

GENTOO_MIRRORS=ftp://pandemonium.tiscali.de/pub/gentoo/ \
ftp://de-mirror.org/distro/gentoo/ \
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ \
http://de-mirror.org/distro/gentoo/ \
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/;

SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage

FEATURES=parallel-fetch unmerge-orphans sandbox userpriv usersandbox
PORTAGE_NICENESS=15
MAKEOPTS=-j2

CCACHE_DIR=/var/tmp/ccache
CCACHE_SIZE=5G

DISTDIR=/var/paludis/distfiles/
PKGDIR=/var/paludis/packages/

## Use Flags

USE=-* 3dnow 3dnowext acpi a52 aac amr alsa bzip2 cairo cups curl divx  dvd 
ffmpeg flac gdbm hal inotify  jpeg kde4  logrotate matroska midi mmx mmxext mp3 
mpeg  mplayer musepack nptl nptlonly nsplugin offensive ogg samba gg opengl pam 
paludis pdf phonon png quicktime qt4 libcaca readline samba sdl speex sse ssl 
svg tetex theora tiff truetype unicode usb vcd vim-syntax vorbis win32codecs 
wmf wmp xulrunner xv xvid zlib zsh-completion dri xorg

LINGUAS=en
VIDEO_CARDS=fglrx vesa
INPUT_DEVICES=mouse keyboard joystick


Re: [gentoo-user] Re: Building and using binary packages with emerge/portage

2005-05-31 Thread Ow Mun Heng
On Tue, 2005-05-31 at 00:56 -0700, Zac Medico wrote:
 #!/usr/bin/python
 import sys
 if len(sys.argv)!=2:
 print usage: %s tbz2 file % sys.argv[0]
 sys.exit(1)
 sys.path = [/usr/lib/portage/pym]+sys.path
 import xpak
 mytbz2=xpak.tbz2(sys.argv[1])
 myuse=mytbz2.getelements(USE)
 myiuse=mytbz2.getelements(IUSE)
 for use in myiuse:
 operator=-
 if use in myuse:
 operator=+
 print operator + use +  

Cool. This works as expected. But a few more questions and this is more
towards how portage handles the Padded data in the tbz2.

Looking that the variables of IUSE and USE via 

print myuse
and
print myiuse

I get :

['x86', 'X', 'aac', 'aalib', 'acl', 'acpi', 'aim', 'alsa', 'apache2',
'avi', 'bash-completion', 'berkdb', 'bitmap-fonts', 'bonobo', 'bzlib', 
 SNIP ..
'kernel_linux', 'elibc_glibc']
['mozilla', 'gtkhtml', 'debug', 'debug']

So if I understand it correctly, what is being done is XPAK will take
the USE flags from the system which compiled the binary and then sort of
make a comparison with the USE flags for that particular package and
work from there? Am I right?


Doing a 
$strings /usr/portage/packages/All/liferea-0.9.1.tbz2
gets me
[snip]
...
XPAKPACK --- This marks the start of the XPAK padding
ASFLAGS
CATEGORY
CBUILD
CDEPEND
CFLAGS
CHOST
CTARGET
CXXFLAGS
DEPEND
EXTRA_ECONF
EXTRA_EINSTALL
EXTRA_EMAKE
FEATURES
INHERITED
IUSE
LDFLAGS
LIBCFLAGS
LIBCXXFLAGS
LICENSE
PDEPEND
PKGUSE
PROVIDE
RDEPEND
RESTRICT
SLOT
environment.bz2
liferea-0.9.1.ebuild
net-news
-O2 -march=pentium3 -fomit-frame-pointer -pipe -falign-functions=64
-mmmx -msse -msse2
i686-pc-linux-gnu
-O2 -march=pentium3 -fomit-frame-pointer -pipe -falign-functions=64
-mmmx -msse -msse2
=x11-libs/gtk+-2
=dev-libs/libxml2-2.5.10
mozilla? ( www-client/mozilla
gtkhtml? ( =gnome-extra/libgtkhtml-2* )
!mozilla? ( =gnome-extra/libgtkhtml-2* )
=gnome-base/gconf-2
dev-util/pkgconfig   =sys-apps/sed-4
autoaddcvs autoconfig buildpkg candy ccache distlocks sandbox sfperms
strict
libtool gnome.org debug fdo-mime gnome2 libtool gnome.org debug fdo-mime
gnome2 libtool gnome.org debug fdo-mi
me gnome2 libtool gnome.org debug fdo-mime gnome2
mozilla gtkhtml  debug debug   Package USE Flags
[SNIP]
x86 X aac aalib acl acpi aim alsa apache2 avi bash-completion berkdb 
 SNIP .
kernel_linux elibc_glibc




-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 16:20:55 up 18:22, 9 users, load average: 0.51, 0.74, 0.74 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Application for video cutting ?

2006-04-04 Thread Stephen Bartlett
On Wed, 2006-04-05 at 04:06 +0200, Meino Christian Cramer wrote:
 From: Daniel Pielmeier [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] OT: Application for video cutting ?
 Date: Mon, 3 Apr 2006 11:37:52 +0200
 
 Hi Daniel,
 
  thanks for your reply and thank you all other replies to my question!
  How can I manage to install qt-4 without cripple the rest of my
  system (qt-3 based) ?
 
  Is there a way of parallel installation/usage ? And if so -- how can
  I manage it gentoo-like ?

I had the same question a week ago, and Chris White pointed me toward
one way: use 'chroot'.  This approach costs disk space and some time to
set up, but you're guaranteed to not mess anything up in your system and
you have a complete new sandbox to play with (or as many as you want).

Basically, get enough disk space on a filesystem somewhere large enough
to hold your entire installation, and copy everything (from / except for
your mount points like /proc and /dev) to that place.  Use 'cp -rp ...'
to preserve ownership/perms.  Write a script that sets up the mount
points for that new place like this:

mount -t proc none /path/to/clone/proc
mount --bind /dev /path/to/clone/dev
mount --bind /sys /path/to/clone/sys
...and so on...

Once you have that clone set up, you use chroot to change root into that
clone:

chroot /path/to/clone /bin/bash
  (/ for this shell is now that clone's root dir)
env-update
source /etc/profile
export PS1=(chroot) $PS1

There you have it -- that shell is now pretending that /
is /path/to/clone.  emerge away and you're only affecting the clone.
You can even su to your usual user account, and run X and everything.
Just be sure to do the chroot when you're logged in as root at the
outmost term (not within X).

- Stephen
-- 
Stephen Bartlett
President, Bartlett Software, Inc.
http://www.bartlettsoftware.biz/ 

  Thank you very much for your help in advance ! :)
 
  Keep hacking!
  mcc
 
 
  Hi!
  
  If you just want to remove the adds from your recordings, i recommend
  ttcut at http://ttcut.tritime.org/ it is not in portage and depends on
  qt-4. Ttcut is able to cut frame accurately, so you can cut on I-, P-
  and B-Frames.
  I have written an ebuild, you will find it at
  http://bugs.gentoo.org/show_bug.cgi?id=122162.
  But you can also use the most recent version from svn under
  svn://svn.berlios.de/ttcut/trunk.
  Ttcut is in alpha state, so you may encounter problems too, but i
  think it is worth a try.
  
  HTH Daniel
  
  -- 
  gentoo-user@gentoo.org mailing list
  


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


[gentoo-user] KDE eating ram

2006-11-05 Thread Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!
I had a very noise problem since a month (when I changed graphic card 
from ati to nvidia), but never found the cause...
If I stay logged enough time, the X process uses all my ram and swap 
until killing all x-dependency process and locking keyboard (a reboot 
via graphical interface is not possible too).
Now, I used only KDE (3.5.2-3.5.5) until yesterday, and today I tried 
blackbox (to find what is the cause). After 24 h I saw to eating 
effect.
I think could be some problem with use flags in combination nvidia-kde. 
Could be?
My /etc/make.conf:

CFLAGS=-O3 -march=athlon64 -pipe -ftracer
CHOST=x86_64-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2
GENTOO_MIRRORS=ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/;
USE = 3dnow 3dnowex X a52 aac aalib acpi addbookmarks aim alias alsa 
arts audiofile autoreplace avi bash-completi
n -berkdb bmp browserplugin bzip2 bzlib cairo cdparanoia cdr 
connectionstatus contactnotes crypt cscope cups dbus 
ga dio directfb divx4linux dv dvb dvd dvdr dvdread emacs encode -esd 
exif fame fortran f77 fam fbcon fdftk -freetd
 ffmpeg fftw flac flash ftp gadu -gcj gif -gnome gtk gtk2 hal highlight 
history icq id3 ieee1394 imagemagick imlib
ipv6 irc jack java jikes jingle joystick jpeg justify kde kdeenablefinal 
kdehiddenvisibility kerberos kernel_linux
krb4 lame latex lcms -ldap lirc live lm_sensors lzo mad matroska mbox 
memlimit mime ming mjpeg mmx mng mono motif 
mozilla mp3 mpeg mpeg2 mp4live mplayer msn mssql mule multilib 
musicbrainz mysql mysqli ncurses netmeeting nls nom
c nowlistening nptlonly nsplugin nvidia objc on-the-fly-crypt ogg 
oggvorbis openal opengl oscar -oss pam pcre pdfl
b perl player png posix ppds python qt qt3 qt4 quicktime readline samba 
sametime sdl sensord sharedmem skey sndfil
 sox speex spell sse ssl statistics svg svga subtitles swat sysfs szip 
tcltk test tetex texteffect theora threads 
iff tk translator truetype unicode usb userlocales utf8 v4l v4l2 vcd 
videos vorbis webpresence winpopup wsconvert 
xwindows xanim xine xinerama xml2 xosd xpm xprint xscreensaver xv xvid 
x264 yahoo yv12 zlib zvbi
FEATURES=ccache sandbox
AUTOCLEAN=yes
CCACHE_SIZE=3G
LINGUAS=it en de bg pt_BR
PKGDIR=/usr/portage/packages
#PORTDIR_OVERLAY=/usr/local/portage
ALSA_CARDS=emu10k1 via82xx
ALSA_TOOLS=as10k1 via82xx
INPUT_DEVICES=keyboard mouse penmount joystick
VIDEO_CARDS=nvidia vesa v4l nv
LIRC_DEVICES=serial

Thanks,
Luigi
- -- 
Public key GPG(0x633F86B7) on hkp://keyserver.linux.it/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFTgRDHmkkjmM/hrcRAuREAJ9n5lclZUqS40+AnuxsqgwvqMTRtgCdFnwP
5qljtNcySRiy/WZ2uBkiluE=
=bvvo
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Enlightenment segfaults?

2005-07-26 Thread Willie Wong
On Tue, Jul 26, 2005 at 01:17:16PM -0400, Dave Nebinger wrote:
  So: what logs should I check and how should I find out what exactly
  is causing the problem?
 
 Did you try the revdep-rebuild -p to see if there are any broken
 dependencies?  Did your files in /etc/conf.d get updated?  Is your session
 stuff correct in /etc/rc.conf?  Any messages in the syslog or from dmesg?

Since this was a gargantuan update on my part, I, of course, ran
revdep-rebuild immediately after the emerge --update --deep world

Then I ran etc-update and checked all the files. 

I boot into console so there's hardly anything at all there in
/etc/rc.conf

no log in /var/log/everything/, nor in dmesg. Whatever it was it has
to be userland. All I know so far is from /var/log/Xorg.0.log which
tells me that X died on SEGV, and a line in the console where I
started X from that reads something like Enlightenment caused a
seg fault. 

Right now I am running X with 
$ xinit  Xerror 21 
to see if I can capture the entire stderr that was printed (some
floated off screen so the only thing I saw was effectively that
enlightenment was bad). 

Question: During the update, there were 2 or 3 packages that I wasn't
able to update due to sandbox violations. I've been intending to
check into that later on this week. Those were dependencies of
mplayer and were not, as far as I know, dependencies of enlightenment
or X. I am hoping that those aren't the packages.

W
-- 
I cannot go to school today  
Said little Peggy Ann McKay.
I have the measles and the mumps,   
A gash, a rash and purple bumps.
My mouth is wet, my throat is dry.
I'm going blind in my right eye.  
My tonsils are as big as rocks,
I've counted sixteen chicken pox
And there's one more-that's seventeen,
And don't you think my face looks green?
My leg is cut, my eyes are blue 
It might be instamatic flu.
I cough and sneeze and gasp and choke,
I'm sure that my left leg is broke
My hip hurts when I move my chin,
My belly button's caving in,
My back is wrenched, my ankle's sprained,
My 'pendix pains each time it rains.
My toes is cold, my toes are numb,
I have a sliver in my thumb.
My neck is stiff, my voice is weak,
I hardly whisper when I speak.
My tongue is filling up my mouth,
I think my hair is falling out.  
My elbow's bent, my spine ain't straight,
My temperature is one-o-eight.
My brain is shrunk, I cannot hear,
There's a hole inside my ear.  
I have a hangnail, and my heart is - What?
What's that? What's that you say?
You say today is ...Saturday?
Goodbye, I'm going out to play!
Sortir en Pantoufles: up 1 day, 20:30
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT: Any way to run files through procmail?

2006-06-27 Thread reader
Farhan Ahmed [EMAIL PROTECTED] writes:

 Jorge Almeida wrote:
 On Thu, 22 Jun 2006, Jamie wrote:
 The emails are sitting in individual files in a Maildir on the machine
 that should have processed them. Is there any way to run procmail over
 all of the messages in the Maildir so I don't have to manually forward
 each message back to myself so that procmail will process them when the
 come back in.
 
 procmail [-m /path/to/your/procmailrc]  /path/to/message
 
 This will deliver the message contained in the individual file
 /path/to/message. You'll have to iterate over all such files.

 Will this work for mbox format as well?

To answer your question... yes it should.

There is an example of how to process missed mail or reprocess
misprocessed mail in `man procmail' .  Look for the paragraph
that begins:

   Procmail can also be invoked to postprocess an already filled
   system mailbox.  This can be useful if you don't want to or
   can't use a $HOME/.forward file (in which case the following
   script could periodi- cally be called from within cron(1), or
   whenever you start reading mail):
[...]
   Nice example follows that para.

Depending on scale you may want to do a little more and setup a
sandbox for procmail experiments and runs of procmail outside the
normal setup.

Its pretty easy to do.  Then you can run test runs and see exactly
what will happen.  Once happy with results then run with your normal
.procmailrc.

Such a setup might look like:

mkdir -p  proc/spool

cd proc
create a procrc file that has this header:

cat ./procrc

- 8 snip ---
  PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
  SHELL=/bin/sh
  MAILDIR=/home/YOU/proc/spool
  LOGFILE=/home/YOU/proc/.prclog
  ORGMAIL=/home/YOU/proc/spool/$LOGNAME
  DEFAULT=$ORGMAIL
  VERBOSE=YES
  
  
  
  ### Test recipes below here 


- 8 snip ---

Add the rules from your working rc file.

What the above settings will do is:
   `MAILDIR=/home/YOU/proc/spool'
 sets the spool to be written to at the spool directory in your test
 area.  So a rule like:

   0:
   * ^To:[EMAIL PROTECTED]
   me

  Will write any mail with To: [EMAIL PROTECTED] to /home/YOU/proc/spool/me
  The point here is that you can now run test procmail runs without
  fear of writing to working mail spool.  Stuff will be deliverd to
   your test area instead.

 `ORGMAIL=/home/YOU/proc/spool/$LOGNAME'
 Would normally be set to /var/spool/mail/$LOGNAME (by default)
 But now is set to your practice area

  `DEFAULT=$ORGMAIL'
  Sets the default delivery point in case something doesn't match any
  rules it goes to $ORGMAIL

`VERBOSE=YES'
  Kind of speaks for itself... will put more usefull info in 
   /home/YOU/proc/.prclog

Now you can cd to the unprocessed mail directory and if it is one msg
per file you could just cat it all together int ./bigcat
(Assuming it has a leading `From .' line  and will compile like a
large mbox file.)

Or if alread in mbox format then you make test runs like this:

cat MailToProcess| formail -e -s procmail -m /home/YOU/proc/procrc

(formail -e is added to handle the case where messages do not have a
separating blank line.)

In the above command and with the posted procrc (with your rules) mail
will be processed like usual but deliverd to your test area instead of
to real working spool.

This way you can iron out any bugs before you make the real run
where you would just substitute the normal working rc file for
./procrc.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] make an -9999 ebuild compile only if necessary

2009-12-23 Thread Jesús Guerrero
On Tue, 22 Dec 2009 22:28:40 +0200, Alan McKinnon
alan.mckin...@gmail.com
wrote:
 On Tuesday 22 December 2009 19:21:21 Helmut Jarausch wrote:
 Hi,
 
 I have ebuilds fetching the source code directly from a repository
 (be it CVS,SVN,HG,GIT,...)
 I'd like to modify the .ebuild to enter compilation only if something
 has been updated.
 Is this possible, has somebody else tried to do so?
 
 You can't.
 
 The only things that trigger a recompile are the things you already know
 
 - version number change
 - USE flag change
 - mask change
 
 None of those things has occurred in your scenario, so a recompile will
 not 
 happen. This is by design and you should leave it this way.

I think that we are looking through the wrong lens. In this case version
numbers will be plainly irrelevant 99% of the times, after all, it's a 
ebuild which we are talking about. Most times, the only factor that
triggers the merge for a  ebuild is *the user*.  And nothing in the
ebuild will prevent that of course, at least until Gentoo can control our
minds, which will eventually happen :lol: What we should be looking at -in
my humble opinion- is towards interrupting the execution of the ebuild once
that we find that there's nothing new (like when you do 'emake || die').
That's certainly possible as long as the RCS tool used provides a
consistent way to check if there has been a commit that needs to be
downloaded.

Of course, we would need some kind of IGNORE_RCS_CHECKS boolean variable
to override this, for those cases where we truly need to force a
recompilation of the offending package, or a similar mechanism, which could
also be printed using ewarn, einfo or whatever applies for the situation
when the ebuild aborts.

As far as I can think, I see no fundamental showstopper, this could be
implemented at the corresponding eclass for the given RCS backend, I guess.
That would save the need to modify every single  ebuild (not that there
are a lot anyway). The only problem is that the fact that there's nothing
to download doesn't necessarily mean that your binary files are in sync
with your sources. For example, the source tree could have been updated on
a previous run of the build, but something might have stopped it before the
final objects are dumped into your real SO from the sandbox (electrical
outages, control+c's, build failures).

Also, I am no specialist in RCS's, and I have no idea if there's a truly
reliable way to get the needed info from them.

 It's best to just always recompile everything, which is what you do when
 you 
 work with CVS code manually.
 
 I also asked the same question in the past - about e17 - the above is my

 conclusions.

The real question is if it's worth all the effort to implement the
feature, I guess. In my case, when I am using development code for any
reason I am also subscribed to the corresponding commits mailing list or
tracker, that means that I get notified by email the following minute if
there's anything new on that repository, and I can decide if the commit
will do me any good or if I can wait for the next important one. So, in my
case, the feature is not worth to invest a single minute. Of course,
everyone is free to disagree. :)


-- 
Jesús Guerrero



Re: [gentoo-user] inaccessible virtual machine

2011-03-29 Thread Valmor de Almeida
On 03/29/2011 09:07 AM, Mark Knecht wrote:
 On Mon, Mar 28, 2011 at 9:51 PM, Valmor de Almeida val.gen...@gmail.com 
 wrote:

 Hello,

 I have been using a windows 7 virtual machine guest with a gentoo linux
 virtualbox host for a while. I was never able to get sound working on
 the guest but it works on the host. Recently I decided to re-emerge
 virtualbox with the USE flag pulseaudio to try to get sound working.
 After the emerge (list below) I also re-emerged the
 virtualbox-modules-3.2.12; logged out and rebooted.

 Now when I try to start virtualbox, it lists the guest machine as
 inaccessible; no other information is provided by the virtualbox startup
 window. I would appreciate inputs on how to fix this.

 Thanks,

 --
 Valmor


 
 A couple of questions:
 
 1) Is the machine on a RAID partition or some other form of storage
 which, for whatever reason, isn't mounted? I have that problem now and
 again on my compute server. The Linux kernel guys haven't made my
 drive D  E disk interfaces 100% reliable as of yet so in my case I
 might have to reboot once or twice to get the drives recognized.
 
 2) What kernel are you using. I saw a few messages this week on
 Virtualbox problems when running the 2.6.38 series kernel. I'm running
 2.6.38 and haven't seen them myself though.
 
 Good luck,
 Mark

I am running VB on a gentoo laptop; everything is mounted. I have not
had any problems for a long time. I sync'ed portage a couple of weeks
ago and the VB worked with my virtual win7 machine without problems.

I am using 2.6.36-gentoo-r5. I have been searching the web and the VB
forum pages but no luck yet. In the meantime I re-emerged VB without the
pulseaudio USE flag and copied a working backup of .VirtualBox/ to my
home directory; still get the same message (inaccessible). I will try an
older backup later.

Thanks,

--
Valmor



-  emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0,
2.6.36-gentoo-r5 x86_64)
=
System uname:
Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-_i7_CPU_L_640_@_2.13GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 19 Mar 2011 05:15:01 +
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r1, 3.1.2-r4
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS=amd64





Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-21 Thread justin
On 22/06/11 06:31, Matthew Finkel wrote:
 On 06/21/11 23:55, Dale wrote:
 I just did my updates and ran into this:

 * Maintainer: s...@gentoo.org
  * USE:amd64 consolekit elibc_glibc kernel_linux multilib
 policykit userland_GNU
  * FEATURES:   preserve-libs sandbox

  * Please install currently selected gcc version with USE=fortran.
  * If you intend to use a different compiler then gfortran, please
  * set FC variable accordingly and take care that the neccessary
  * fortran dialects are support.

  * ERROR: sci-libs/blas-reference-20070226 failed (setup phase):
  *   Currently no working fortran compiler is available
  *
  * Call stack:
  *  ebuild.sh, line   56:  Called pkg_setup
  *  ebuild.sh, line 1446:  Called fortran-2_pkg_setup
  *   fortran-2.eclass, line  134:  Called _die_msg
  *   fortran-2.eclass, line  120:  Called die
  * The specific snippet of code:
  *  die Currently no working fortran compiler is available
  *
  * If you need support, post the output of 'emerge --info
 =sci-libs/blas-reference-20070226',
  * the complete build log and the output of 'emerge -pqv
 =sci-libs/blas-reference-20070226'.
  * The complete build log is located at
 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'.
  * S:
 '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'

 Failed to emerge sci-libs/blas-reference-20070226, Log file:


 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log'
 root@fireball / #

 This is my gcc info:

 [ebuild   R] sys-devel/gcc-4.4.5  USE=gtk mudflap (multilib) nls
 nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran
 -gcj -graphite (-hardened) (-libffi) -multislot -nocxx -nopie -nossp
 -objc -objc++ -objc-gc -test -vanilla

 So, does everyone need to turn on the fortran USE flag so that they
 don't break anything?   May I also add, the USE flag description is
 worth about as much as a screen door on a submarine.

 fortran - Adds support for fortran (formerly f77)

 That doesn't tell me very much.

 Heads up for folks about to do their updates, check into the USE flag
 fortran to see if you need to add it to yours before updating a bunch
 of stuff.

 Dale

 :-)  :-)

 If I had to guess, I'd say =sci-libs/blas-reference-20070226 requires
 fortran (ebuild depends on it) and you don't have another fortran
 compiler installed.
 
 Could be wrong though.
 
 - Matt
 

That's right,

blas-reference is written in fortran.

We restructured the dependency chain for fortran support, which includes
a compile test now. The failure can be seen above.

The Problem was in short, USE=fortran was enabled by default for linux
arches, but people tend to disable it. Depending on gcc[fortran] doesn't
work completely as gcc:4.4[fortran] and gcc:4.5[-fortran] with gcc-4.5
select can be installed, which would full fill the dependency but
nevertheless doesn't give a working compiler.

So now packages depend on virtual/fortran and use an eclass to check for
a working compiler. So if you see this message, this means you somehow
worked around gcc[fortran].


justin



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-21 Thread justin
On 22/06/11 07:25, justin wrote:
 On 22/06/11 06:31, Matthew Finkel wrote:
 On 06/21/11 23:55, Dale wrote:
 I just did my updates and ran into this:

 * Maintainer: s...@gentoo.org
  * USE:amd64 consolekit elibc_glibc kernel_linux multilib
 policykit userland_GNU
  * FEATURES:   preserve-libs sandbox

  * Please install currently selected gcc version with USE=fortran.
  * If you intend to use a different compiler then gfortran, please
  * set FC variable accordingly and take care that the neccessary
  * fortran dialects are support.

  * ERROR: sci-libs/blas-reference-20070226 failed (setup phase):
  *   Currently no working fortran compiler is available
  *
  * Call stack:
  *  ebuild.sh, line   56:  Called pkg_setup
  *  ebuild.sh, line 1446:  Called fortran-2_pkg_setup
  *   fortran-2.eclass, line  134:  Called _die_msg
  *   fortran-2.eclass, line  120:  Called die
  * The specific snippet of code:
  *  die Currently no working fortran compiler is available
  *
  * If you need support, post the output of 'emerge --info
 =sci-libs/blas-reference-20070226',
  * the complete build log and the output of 'emerge -pqv
 =sci-libs/blas-reference-20070226'.
  * The complete build log is located at
 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'.
  * S:
 '/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'

 Failed to emerge sci-libs/blas-reference-20070226, Log file:


 '/var/log/portage/sci-libs:blas-reference-20070226:20110622-034357.log'
 root@fireball / #

 This is my gcc info:

 [ebuild   R] sys-devel/gcc-4.4.5  USE=gtk mudflap (multilib) nls
 nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran
 -gcj -graphite (-hardened) (-libffi) -multislot -nocxx -nopie -nossp
 -objc -objc++ -objc-gc -test -vanilla

 So, does everyone need to turn on the fortran USE flag so that they
 don't break anything?   May I also add, the USE flag description is
 worth about as much as a screen door on a submarine.

 fortran - Adds support for fortran (formerly f77)

 That doesn't tell me very much.

 Heads up for folks about to do their updates, check into the USE flag
 fortran to see if you need to add it to yours before updating a bunch
 of stuff.

 Dale

 :-)  :-)

 If I had to guess, I'd say =sci-libs/blas-reference-20070226 requires
 fortran (ebuild depends on it) and you don't have another fortran
 compiler installed.

 Could be wrong though.

 - Matt

 
 That's right,
 
 blas-reference is written in fortran.
 
 We restructured the dependency chain for fortran support, which includes
 a compile test now. The failure can be seen above.
 
 The Problem was in short, USE=fortran was enabled by default for linux
 arches, but people tend to disable it. Depending on gcc[fortran] doesn't
 work completely as gcc:4.4[fortran] and gcc:4.5[-fortran] with gcc-4.5
 select can be installed, which would full fill the dependency but
 nevertheless doesn't give a working compiler.
 
 So now packages depend on virtual/fortran and use an eclass to check for
 a working compiler. So if you see this message, this means you somehow
 worked around gcc[fortran].
 
 
 justin
 

One little note,

if portage requests that you should install dev-lang/ifc instead of
gcc[fortran], you most probably have an entry

sys-devel/gcc -fortran

in

your /etc/portage/package.use

Just remove that.

justin



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Do we have to build gcc with fortran now?

2011-06-22 Thread Dale

Nikos Chantziaras wrote:

On 06/22/2011 02:18 PM, Dale wrote:

Nikos Chantziaras wrote:

On 06/22/2011 06:55 AM, Dale wrote:

I just did my updates and ran into this:

* Maintainer: s...@gentoo.org
* USE: amd64 consolekit elibc_glibc kernel_linux multilib policykit
userland_GNU
* FEATURES: preserve-libs sandbox

* Please install currently selected gcc version with USE=fortran.
* If you intend to use a different compiler then gfortran, please
* set FC variable accordingly and take care that the neccessary
* fortran dialects are support.
[...]

Heads up for folks about to do their updates, check into the USE flag
fortran to see if you need to add it to yours before updating a 
bunch of

stuff.


Uninstall sci-libs/blas-reference I guess. And probably whatever
depends on it. Please do an emerge -pv --depclean blas-reference and
post the output so we can see what's pulling it as a dep on your 
system.




Here is the output:

root@fireball / # emerge -pv --depclean blas-reference

Calculating dependencies... done!
sci-libs/blas-reference-20070226 pulled in by:
virtual/blas-1.0


OK, that didn't help.  Try: emerge -pv --depclean virtual/blas




Here you go:

root@fireball / # emerge -pv --depclean virtual/blas

Calculating dependencies... done!
  virtual/blas-1.0 pulled in by:
dev-lang/R-2.10.1

 No packages selected for removal by depclean
Packages installed:   989
Packages in world:119
Packages in system:   51
Required packages:989
Number to remove: 0
root@fireball / #



Two things. I read about this on -dev but didn't realize it was going to
affect me until I saw the message. After I added fortran to my USE line
in make.conf, it only rebuilt gcc then revdep-rebuild rebuilt
dev-lang/ifc-10.0.026-r1. Everything appears to be clean now.

To think people wonder why my USE line is so big. I keep having to add
stuff when portage pukes but portage never tells me when one has fell
off the reservation and needs to be removed.  sighs  Over the years,
it adds up.


That is no solution.  I highly doubt you need a Fortran compiler :-/  
By adding more stuff to your make.conf as a work-around for problems 
like this, you add more and more stuff to your Gentoo install; stuff 
you actually have zero use for.  By that logic, you could enable every 
possible USE flag that exists so that you always have everything, just 
in case.  But then you should probably be using openSUSE or something :-P




Well, it appeared to only affect gcc here.  We all know I have to have 
that.  lol  Do you really want me to send you my USE line in make.conf?  
I copied it from my old install on another rig and it has been added to 
ever since oh about 2003.  It has some size to it.  Keep in mind, they 
didn't have package.use for a long time too.


I really need to clean out some stuff but want to have time to finish it 
when I start.  I don't have that sort of time during garden season.  I 
need food more than I need a puter.  ;-)


Dale

:-)  :-)



Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-22 Thread Dale

Mark Knecht wrote:

On Wed, Jun 22, 2011 at 8:50 AM, Dalerdalek1...@gmail.com  wrote:
   

Mark Knecht wrote:
 

I guess I can stop playing scaredicat and remove it. :-)

- Mark



   

I think the dev added it back.  So, if you really don't need it, put the
minus sign in front.

If you use KDE like me, be prepared to put the thing back tho.  Some KDE
packages depend on things that seem to need it enabled.

I just love running in circles.

Dale
 

Actually, for me it's a non-issue. I've had it in all along. Even when
I remove it from make.conf and package.use it still shows up in gcc:

c2stable ~ # emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] sys-devel/gcc-4.4.5  USE=fortran gtk mudflap
(multilib) nls nptl openmp (-altivec) -bootstrap -build -doc
(-fixed-point) -gcj -graphite (-hardened) (-libffi) -multislot -nocxx
-nopie -nossp -objc -objc++ -objc-gc -test -vanilla (-n32%) (-n64%)
61,647 kB

Total: 1 package (1 reinstall), Size of downloads: 61,647 kB
c2stable ~ #

so nothing is getting rebuilt on my system by removing it. As not
every system here uses the KDE profile I'll investigate removing it
later, or just leave it in case they start using KDE.

Cheers,
Mark

   


I put -fortran in make.conf.  I ran emerge -uvDNa world and let it 
rebuild a few packages.  Then I get this:


 Emerging (1 of 2) sci-libs/blas-reference-20070226
 * lapack-lite-3.1.1.tgz RMD160 SHA1 SHA256 size ;-) 
...
[ ok ]

 * Package:sci-libs/blas-reference-20070226
 * Repository: gentoo
 * Maintainer: s...@gentoo.org
 * USE:amd64 consolekit elibc_glibc kernel_linux multilib 
policykit userland_GNU

 * FEATURES:   preserve-libs sandbox

 * Please install currently selected gcc version with USE=fortran.
 * If you intend to use a different compiler then gfortran, please
 * set FC variable accordingly and take care that the neccessary
 * fortran dialects are support.

 * ERROR: sci-libs/blas-reference-20070226 failed (setup phase):
 *   Currently no working fortran compiler is available
 *
 * Call stack:
 *  ebuild.sh, line   56:  Called pkg_setup
 *  ebuild.sh, line 1446:  Called fortran-2_pkg_setup
 *   fortran-2.eclass, line  134:  Called _die_msg
 *   fortran-2.eclass, line  120:  Called die
 * The specific snippet of code:
 *  die Currently no working fortran compiler is available
 *
 * If you need support, post the output of 'emerge --info 
=sci-libs/blas-reference-20070226',
 * the complete build log and the output of 'emerge -pqv 
=sci-libs/blas-reference-20070226'.
 * The complete build log is located at 
'/var/log/portage/sci-libs:blas-reference-20070226:20110622-180601.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'.
 * S: 
'/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'


 Failed to emerge sci-libs/blas-reference-20070226, Log file:

  
'/var/log/portage/sci-libs:blas-reference-20070226:20110622-180601.log'

root@fireball / #

Am I going in circles again?  I don't drink because I don't like being 
drunk.  I also don't spin around in my chair for the same reason.  One 
of those may be needed to reverse the problem here.


Now to go see how to fix this mess once and for all.

Dale

:-)  :-)



Re: [gentoo-user] Do we have to build gcc with fortran now?

2011-06-22 Thread Dale

Matthew Finkel wrote:

On 06/22/11 14:10, Dale wrote:
   

I put -fortran in make.conf.  I ran emerge -uvDNa world and let it
rebuild a few packages.  Then I get this:

 

Emerging (1 of 2) sci-libs/blas-reference-20070226
   

  * lapack-lite-3.1.1.tgz RMD160 SHA1 SHA256 size ;-)
...
[ ok ]
  * Package:sci-libs/blas-reference-20070226
  * Repository: gentoo
  * Maintainer: s...@gentoo.org
  * USE:amd64 consolekit elibc_glibc kernel_linux multilib
policykit userland_GNU
  * FEATURES:   preserve-libs sandbox

  * Please install currently selected gcc version with USE=fortran.
  * If you intend to use a different compiler then gfortran, please
  * set FC variable accordingly and take care that the neccessary
  * fortran dialects are support.

  * ERROR: sci-libs/blas-reference-20070226 failed (setup phase):
  *   Currently no working fortran compiler is available
  *
  * Call stack:
  *  ebuild.sh, line   56:  Called pkg_setup
  *  ebuild.sh, line 1446:  Called fortran-2_pkg_setup
  *   fortran-2.eclass, line  134:  Called _die_msg
  *   fortran-2.eclass, line  120:  Called die
  * The specific snippet of code:
  *  die Currently no working fortran compiler is available
  *
  * If you need support, post the output of 'emerge --info
=sci-libs/blas-reference-20070226',
  * the complete build log and the output of 'emerge -pqv
=sci-libs/blas-reference-20070226'.
  * The complete build log is located at
'/var/log/portage/sci-libs:blas-reference-20070226:20110622-180601.log'.
  * The ebuild environment file is located at
'/var/tmp/portage/sci-libs/blas-reference-20070226/temp/die.env'.
  * S:
'/var/tmp/portage/sci-libs/blas-reference-20070226/work/lapack-lite-3.1.1'

 

Failed to emerge sci-libs/blas-reference-20070226, Log file:
   
 
   

'/var/log/portage/sci-libs:blas-reference-20070226:20110622-180601.log'
root@fireball / #

Am I going in circles again?  I don't drink because I don't like being
drunk.  I also don't spin around in my chair for the same reason.  One
of those may be needed to reverse the problem here.

Now to go see how to fix this mess once and for all.

Dale

:-)  :-)

 

Do correct me if I'm wrong, but wasn't blas-reference pulled in by
merging gcc with USE=fortran? Or did you install blas-reference for
another reason?



   



No clue.  I just -c'd some stuff and kept running revdep-rebuild and 
emerge -uvDNa world until it all got sorted.  It took a few times but I 
finally got a clean result.


The funny thing is this.  I removed about 3 packages but had to install 
close to a dozen to satisfy what was missing.  Cantore, or something 
like that, was left with no backend when I removed R.


So, removed some bloat then installed some more bloat.  Ain't that a peach?

Dale

:-)  :-)



[gentoo-user] dev-python/PyQt4-4.9.2 requires SIP v4.13.3 or later

2012-06-22 Thread Dale
Howdy,

I'm doing my KDE4 upgrades and ran into this:

root@fireball / # cat
/var/tmp/portage/dev-python/PyQt4-4.9.2/temp/build.log
 * Package:dev-python/PyQt4-4.9.2
 * Repository: gentoo
 * Maintainer: q...@gentoo.org pyt...@gentoo.org
 * Upstream:   p...@riverbankcomputing.com p...@riverbankcomputing.com
 * USE:X amd64 consolekit dbus declarative elibc_glibc kde
kernel_linux multilib opengl phonon policykit sql svg userland_GNU webkit
 * FEATURES:   preserve-libs sandbox
 Unpacking source...
 Unpacking PyQt-x11-gpl-4.9.2.tar.gz to
/var/tmp/portage/dev-python/PyQt4-4.9.2/work
 Source unpacked in /var/tmp/portage/dev-python/PyQt4-4.9.2/work
 Preparing source in
/var/tmp/portage/dev-python/PyQt4-4.9.2/work/PyQt-x11-gpl-4.9.2 ...
 * Applying PyQt4-4.7.2-configure.py.patch ...
 [ ok ]
 * Preparation of dev-python/PyQt4-4.9.2 with CPython 2.7...
 * Preparation of dev-python/PyQt4-4.9.2 with CPython 3.2...
 Source prepared.
 Configuring source in
/var/tmp/portage/dev-python/PyQt4-4.9.2/work/PyQt-x11-gpl-4.9.2 ...
 * Configuration of dev-python/PyQt4-4.9.2 with CPython 2.7...
python2.7 configure.py --confirm-license --bindir=/usr/bin
--destdir=/usr/lib64/python2.7/site-packages --sipdir=/usr/share/sip
--assume-shared --no-timestamp --qsci-api --enable=QtCore
--enable=QtNetwork --enable=QtScript --enable=QtXml --enable=QtGui
--enable=QtDesigner --enable=QtScriptTools --enable=QtTest
--enable=QtDBus --enable=QtDeclarative --enable=QtOpenGL --enable=phonon
--enable=QtSql --enable=QtSvg --enable=QtWebKit
CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++
LINK=x86_64-pc-linux-gnu-g++ LINK_SHLIB=x86_64-pc-linux-gnu-g++
CFLAGS=-march=native -O2 -pipe CXXFLAGS=-march=native -O2 -pipe
LFLAGS=-Wl,-O1 -Wl,--as-needed
Error: This version of PyQt requires SIP v4.13.3 or later
 * ERROR: dev-python/PyQt4-4.9.2 failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 * ebuild.sh, line   85:  Called src_configure
 *   environment, line 4969:  Called python_execute_function '-s'
'configuration'
 *   environment, line 3264:  Called configuration
 *   environment, line 4954:  Called die
 * The specific snippet of code:
 *   ${myconf[@]} || die;
 *
 * If you need support, post the output of `emerge --info
'=dev-python/PyQt4-4.9.2'`,
 * the complete build log and the output of `emerge -pqv
'=dev-python/PyQt4-4.9.2'`.
 * The complete build log is located at
'/var/tmp/portage/dev-python/PyQt4-4.9.2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-python/PyQt4-4.9.2/temp/environment'.
 * Working directory:
'/var/tmp/portage/dev-python/PyQt4-4.9.2/work/PyQt-x11-gpl-4.9.2-2.7'
 * S: '/var/tmp/portage/dev-python/PyQt4-4.9.2/work/PyQt-x11-gpl-4.9.2'
root@fireball / #


I notice tho that portage seems to have failed to notice this was
needed.  Should I file a bug report or is this just me? 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




Re: [gentoo-user] Re: 32bit or 64bit

2012-07-19 Thread Alan McKinnon
On Thu, 19 Jul 2012 10:06:18 -0400
Michael Mol mike...@gmail.com wrote:

 On Thu, Jul 19, 2012 at 9:43 AM, Alan McKinnon
 alan.mckin...@gmail.com wrote:
  On Thu, 19 Jul 2012 16:31:42 +0300
  Nikos Chantziaras rea...@gmail.com wrote:
 
  On 19/07/12 16:03, Michael Mol wrote:
   On Thu, Jul 19, 2012 at 8:55 AM, Nikos Chantziaras
   rea...@gmail.com wrote:
   Interesting that Wine aims to do the WOW64 thing.  That's
   certainly news to me :-)
  
   Not really surprising. There's an IsWow64Process() in the Windows
   API to allow processes to detect the nature of the environment
   they're running on, since sometimes that's something you need to
   know. :)
 
  WOW64 relies on 32-bit libraries to do it's job though.  It's well
  known that 32-bit code cannot link against 64-bit libraries.  If
  building a 64-bit only version of Wine (since you cannot build any
  32-bit code on non-multilib Gentoo), the question arises on how
  Wine is doing it.
 
 
 
  Stupid question incoming:
 
  What's the WOW in WOW64?
 
  The more I read it as World of Warcraft the more I see that it
  doesn't actually fit :-)
 
 WOW64 is Windows On Windows 64-bit. It's how 32-bit Windows
 applications run on 64-bit Windows.
 
 By and large, the way 32-bit and 64-bit applications and libraries can
 communicate with each other are very limited. 64-bit programs can't
 load 32-bit libraries, and vice versa. Some environment variables
 containing path information are switched out depending on if the
 program is 32-bit or 64-bit. Accesses to some registry paths are
 shunted to one place or another, depending on if the program is 32-bit
 or 64-bit.
 For system libraries, 64-bit windows provides both 32-bit and 64-bit
 versions of supported libraries, rather like multilib environments on
 Linux.
 
 In essence, if you get 64-bit Windows, you're getting two copies of
 Windows, a 64-bit version and a 32-bit version, and the kernel shunts
 32-bit programs into the 32-bit version while maintaining a reasonably
 high degree of interoperability; it's not a complete sandbox.
 
 32-bit and 64-bit processes can still communicate with each other.
 mmap()'d files still work the same way, as the filesystem paths don't
 change. Named objects such as pipes, events, mutexes...all of those
 are handled by the kernel, which has mapping code to allow 32-bit and
 64-bit processes to independently gain handles on the same named
 objects. (Subject to security attributes and restrictions, of course.)
 
 But, yeah. That's Windows, on Windows 64-bit, or WOW64.

thanks, that makes sense

 
 (P.S. For the Horde!)

:-)

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user][SOLVED]emerge dev-python/python-dateutil-2.1 failed (compile phase)

2012-08-14 Thread Cinder
Thank you kindly Alex, running python-updater did the trick.

--- i.am.the.mem...@gmail.com wrote:

From: Alex i.am.the.mem...@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge dev-python/python-dateutil-2.1 failed 
(compile phase)
Date: Tue, 14 Aug 2012 03:22:40 -0400

On 08/14/2012 02:49 AM, Cinder wrote:
 I'm at a loss, as to how to solve this problem. Any advice would be 
 greatly appreciated

 # emerge --info '=dev-python/python-dateutil-2.1' 
 Portage 2.1.10.65 (default/linux/amd64/10.0/desktop, gcc-4.5.3, 
 glibc-2.14.1-r3, 3.3.8-gentoo x86_64)
 =
  System Settings
 =
 System uname: 
 Linux-3.3.8-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.1
 Timestamp of tree: Fri, 20 Jul 2012 16:15:01 +
 app-shells/bash:  4.2_p20
 dev-java/java-config: 2.1.11-r3
 dev-lang/python:  2.7.3-r2, 3.2.3
 dev-util/cmake:   2.8.7-r5
 dev-util/pkgconfig:   0.26
 sys-apps/baselayout:  2.1-r1
 sys-apps/openrc:  0.9.8.4
 sys-apps/sandbox: 2.5
 sys-devel/autoconf:   2.13, 2.68
 sys-devel/automake:   1.11.1
 sys-devel/binutils:   2.21.1-r1
 sys-devel/gcc:4.5.3-r2
 sys-devel/gcc-config: 1.6
 sys-devel/libtool:2.4-r1
 sys-devel/make:   3.82-r1
 sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
 sys-libs/glibc:   2.14.1-r3
 Repositories: gentoo
 ACCEPT_KEYWORDS=amd64
 ACCEPT_LICENSE=* -@EULA
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=core2 -O2 -pipe -msse4.1
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/share/gnupg/qualified.txt
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
 /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d 
 /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c
 CXXFLAGS=-march=core2 -O2 -pipe -msse4.1
 DISTDIR=/usr/portage/distfiles
 FCFLAGS=-O2 -pipe
 FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks 
 ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head 
 protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
 unmerge-orphans userfetch userpriv
 FFLAGS=-O2 -pipe
 GENTOO_MIRRORS=http://ftp.swin.edu.au/gentoo http://gentoo.channelx.biz/ 
 http://gentoo.gg3.net/ http://ftp.iij.ad.jp/pub/linux/gentoo/ 
 http://ftp.jaist.ac.jp/pub/Linux/Gentoo/;
 LANG=en_US.UTF-8
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 LINGUAS=en
 MAKEOPTS=-j3
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
 --compress --force --whole-file --delete --stats --human-readable 
 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=
 SYNC=rsync://rsync.au.gentoo.org/gentoo-portage
 USE=X a52 aac acl acpi alsa amd64 audiofile berkdb bluetooth branding bzip2 
 cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus dga 
 directfb djvu dri dts dvd dvdr emboss encode enscript exif fam fbcon ffmpeg 
 fftw firefox flac fortran gdbm gif gpm gtk hddtemp iconv ipv6 jack joystick 
 jpeg ladspa lame lash lcms ldap libnotify libsamplerate lm_sensors mad 
 matroska mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musicbrainz 
 ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png 
 policykit ppds pppd qt3support qt4 readline sasl scanner sdl session smp 
 sound spell sse sse2 sse3 ssl startup-notification svg tcpd theora tiff 
 truetype udev udisks unicode upower usb v4l vim vorbis wifi wxwidgets x264 
 xcb xcomposite xml xorg xscreensaver xv xvid xvmc zlib 
 ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare 
 dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 
 mmap_emul mulaw multi null plug rate route share shm softvol 
 APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm 
 authn_default authn_file authz_dbm authz_default authz_groupfile authz_host 
 authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate 
 dir disk_cache env expires ext_filter file_cache filter headers include info 
 log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
 speling status unique_id userdir usertrack vhost_alias 
 CALLIGRA_FEATURES=kexi words flow plan sheets stage tables krita karbon 
 braindump CAMERAS=ptp2 COLLECTD_PLUGINS=df interface irq load memory 
 rrdtool swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm earthmate 
 evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom 
 oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip 
 tripmate tnt ubx GRUB_PLATFORMS=efi-64 INPUT_DEVICES=keyboard mouse 
 synaptics evdev KERNEL=linux LCD_DEVICES=bayrad

Re: [gentoo-user] Serious problem with linode vm

2013-04-15 Thread Michael Mol
On 04/15/2013 01:46 PM, Tanstaafl wrote:
 On 2013-04-15 11:42 AM, Michael Mol mike...@gmail.com wrote:
 On 04/15/2013 11:37 AM, Tanstaafl wrote:
 Hi all,

 Help! :(

 [snip]


 I've tried recompiling both (both compile/install ok), but when I try to
 start SSHD I get:

   # /etc/init.d/sshd start
 /etc/init.d/sshd: line 18: 2079 Illegal instruction ${SSHD_BINARY} -t
 ${SSHD_OPTS}
 * ERROR: sshd failed to start

 ^^ That screams 'CFLAGS' issue. Verify that the CFLAGS for your prod
 server are the same (or close enough) to that of your dev server.

 Guessing the new host has different CPU capabilities exposed to the
 guest, either because of a differing hypervisor configuraiton, or
 because of the different underlying hardware.
 
 Ok, as I said, I got SSH working now and am making progress, updating
 @system a little at a time...
 
 Before I started updating everything in @system though, I tried ncurses
 again (one of the first ones that failed on me), and it still dies with
 this:
 
 INFO: setup
 Package:sys-libs/ncurses-5.9-r2
 Repository: gentoo
 Maintainer: base-sys...@gentoo.org
 USE:abi_x86_32 cxx elibc_glibc gpm kernel_linux unicode
 userland_GNU x86
 FEATURES:   sandbox
 INFO: unpack
 Applying ncurses-5.8-gfbsd.patch ...
 Applying ncurses-5.7-nongnu.patch ...
 Applying ncurses-5.9-rxvt-unicode-9.15.patch ...
 Applying ncurses-5.9-fix-clang-build.patch ...
 ERROR: compile
 ERROR: sys-libs/ncurses-5.9-r2 failed (compile phase):
   (no error message)
 
 Call stack:
 ebuild.sh, line   93:  Called src_compile
   environment, line 2340:  Called do_compile 'narrowc'
   environment, line  467:  Called die
 The specific snippet of code:
   emake ${make_flags} || die
 
 If you need support, post the output of `emerge --info
 '=sys-libs/ncurses-5.9-r2'`,
 the complete build log and the output of `emerge -pqv
 '=sys-libs/ncurses-5.9-r2'`.
 The complete build log is located at
 '/var/tmp/portage/sys-libs/ncurses-5.9-r2/temp/build.log'.
 The ebuild environment file is located at
 '/var/tmp/portage/sys-libs/ncurses-5.9-r2/temp/environment'.
 Working directory: '/var/tmp/portage/sys-libs/ncurses-5.9-r2/work/narrowc'
 S: '/var/tmp/portage/sys-libs/ncurses-5.9-r2/work/ncurses-5.9'
 
 Ideas?

I'd guess that something used as part of ncurses's build process is failing.

Were this one of my systems (none of which is in a prod scenario, so
take it with a grain of salt), I'd emerge -e --keep-going @system, and
then emerge --resume a few times. You're stuck in something not unlike a
bootstrap scenario.

 




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Managing multiple systems with identical hardware

2013-09-30 Thread Alan McKinnon
On 30/09/2013 19:31, Grant wrote:
 Keeping all of the laptops 100% identical as far as hardware is
 central to this plan.  I know I'm setting myself up for big problems
 otherwise.

 I'm hoping I can emerge every package on my laptop that every other
 laptop needs.  That way I can fix any build problems and update any
 config files right on my own system.  Then I would push config file
 differences to all of the other laptops.  Then each laptop could
 emerge its own stuff unattended.

 I see what you desire now - essentially you want to clone your laptop
 (or big chunks of it) over to your other workstations.
 
 That sounds about right.
 
 To get a feel for how it works, visit puppet's web site and download
 some of the test appliances they have there and run them in vm software.
 Set up a server and a few clients, and start experimenting in that
 sandbox. You'll quickly get a feel for how it all hangs together (it's
 hard to describe in text how puppet gets the job done, so much easier to
 do it for real and watch the results)
 
 Puppet seems like overkill for what I need.  I think all I really need
 is something to manage config file differences and user accounts.  At
 this point I'm thinking I shouldn't push packages themselves, but
 portage config files and then let each laptop emerge unattended based
 on those portage configs.  I'm going to bring this to the 'salt'
 mailing list to see if it might be a good fit.  It seems like a much
 lighter weight application.

Two general points I can add:

1. Sharing config files turns out to be really hard. By far the easiest
way is to just share /etc but that is an all or nothing approach, and
you just need one file to be different to break it. Like /etc/hostname

You *could* create a share directory inside /etc and symlink common
files in there, but that gets very tedious quickly.

Rather go for a centralized repo solution that pushes configs out, you
must just find the one that's right for you.

2. Binary packages are almost perfect for your needs IMHO, running
emerge gets very tedious quickly, and your spec is that all workstations
have the same USE. You'd be amazed how much time you save by doing this:

emerge -b on your laptop and share your /var/packages
emerge -K on the workstations when your laptop is on the network

step 2 goes amazingly quickly - eyeball the list to be emerged, they
should all be purple, press enter. About a minute or two per
workstation, as opposed to however many hours the build took.

3. (OK, three points). Share your portage tree over the network. No
point in syncing multiple times when you actually just need to do it once.


 
 I'm soaking up a lot of your time (again).  I'll return with any real
 Gentoo questions I run into and to run down the final plan before I
 execute it.  Thanks so much for your help.  Not sure what I'd do
 without you. :)

I'm sure Neil would step in if I'm hit by a bus
He'd say the same things, and use about 1/4 of the words it takes me ;-)


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Managing multiple systems with identical hardware

2013-10-01 Thread Grant
 Keeping all of the laptops 100% identical as far as hardware is
 central to this plan.  I know I'm setting myself up for big problems
 otherwise.

 I'm hoping I can emerge every package on my laptop that every other
 laptop needs.  That way I can fix any build problems and update any
 config files right on my own system.  Then I would push config file
 differences to all of the other laptops.  Then each laptop could
 emerge its own stuff unattended.

 I see what you desire now - essentially you want to clone your laptop
 (or big chunks of it) over to your other workstations.

 That sounds about right.

 To get a feel for how it works, visit puppet's web site and download
 some of the test appliances they have there and run them in vm software.
 Set up a server and a few clients, and start experimenting in that
 sandbox. You'll quickly get a feel for how it all hangs together (it's
 hard to describe in text how puppet gets the job done, so much easier to
 do it for real and watch the results)

 Puppet seems like overkill for what I need.  I think all I really need
 is something to manage config file differences and user accounts.  At
 this point I'm thinking I shouldn't push packages themselves, but
 portage config files and then let each laptop emerge unattended based
 on those portage configs.  I'm going to bring this to the 'salt'
 mailing list to see if it might be a good fit.  It seems like a much
 lighter weight application.

 Two general points I can add:

 1. Sharing config files turns out to be really hard. By far the easiest
 way is to just share /etc but that is an all or nothing approach, and
 you just need one file to be different to break it. Like /etc/hostname

 You *could* create a share directory inside /etc and symlink common
 files in there, but that gets very tedious quickly.

 Rather go for a centralized repo solution that pushes configs out, you
 must just find the one that's right for you.

Does using puppet or salt to push configs from my laptop qualify as a
centralized repo solution?

 2. Binary packages are almost perfect for your needs IMHO, running
 emerge gets very tedious quickly, and your spec is that all workstations
 have the same USE. You'd be amazed how much time you save by doing this:

 emerge -b on your laptop and share your /var/packages
 emerge -K on the workstations when your laptop is on the network

 step 2 goes amazingly quickly - eyeball the list to be emerged, they
 should all be purple, press enter. About a minute or two per
 workstation, as opposed to however many hours the build took.

The thing is my laptop goes with me all over the place and is very
rarely on the same network as the bulk of the laptop clients.  Most of
the time I'm on a tethered and metered cell phone connection
somewhere.  Build time itself really isn't a big deal.  I can have the
clients update overnight.  Whether the clients emerge or emerge -K is
the same amount of admnistrative work I would think.

 3. (OK, three points). Share your portage tree over the network. No
 point in syncing multiple times when you actually just need to do it once.

Yep, I figure each physical location should designate one system to
host the portage tree and distfiles.

- Grant



[gentoo-user] sci-mathematics/glpk-4.45 patch fails

2014-04-09 Thread the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hello. When I try to merge sci-mathematics/glpk-4.45:

[ebuild   R] sci-mathematics/glpk-4.45  USE=-doc -examples -gmp
- -mysql -odbc -static-libs 0 kB

I get the following error:

* Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/sci-mathematics/glpk/files/glpk-4.52.1-mariadb-5.5.patch
 *   ( glpk-4.52.1-mariadb-5.5.patch )

Other stuff is attached.
I have synced just before retrying. Note that it's installed but fails
to rebuild. I guess something is wrong with the ebuild or my build
system (patching software). I though I ought to ask for help here before
assuming it's a gentoo bug. Please help me find Wally!

Have a nice day.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJTRSFVAAoJEK64IL1uI2hatfQH/ixj/HxPlvJiPPRjd8qTslds
8SSik2CcLrP/2XYZID8X21JhZyyU7l02XvvsnuMFana8KVB6a47L2uOqWVnToqm1
886RajzPBSIdsSWkkaoUVEPT9HSNlxVcMnb+zt19iXxTl5sDOww007F0/D3b+EI6
dJ1anvLu0jwZBOmnjatl6jraGwXUssXBsB4mX/+qySqPaNEATykQJ6oYFjfzsrjD
/gr9in1pxvF8ZMrCMoEhaKZh+jbZMYW1glOtPvXSvT91M234kEf/dS0N2LwSNXzW
6ksvUTNxvKGekvPnvuWkz3+kYPN3cGL8PyPWk85997c78DR8UUsSpofojiVPgUM=
=Gq2C
-END PGP SIGNATURE-
 * Package:sci-mathematics/glpk-4.45
 * Repository: gentoo
 * Maintainer: robb...@gentoo.org sci-mathemat...@gentoo.org
 * USE:abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 Unpacking source...
 Unpacking glpk-4.45.tar.gz to /var/tmp/portage/sci-mathematics/glpk-4.45/work
 Source unpacked in /var/tmp/portage/sci-mathematics/glpk-4.45/work
 Preparing source in /var/tmp/portage/sci-mathematics/glpk-4.45/work/glpk-4.45 ...

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/sci-mathematics/glpk/files/glpk-4.52.1-mariadb-5.5.patch
 *   ( glpk-4.52.1-mariadb-5.5.patch )

 * ERROR: sci-mathematics/glpk-4.45::gentoo failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!
 * 
 * Call stack:
 * ebuild.sh, line   93:  Called src_prepare
 *   environment, line :  Called epatch '/usr/portage/sci-mathematics/glpk/files/glpk-4.52.1-mariadb-5.5.patch'
 *   environment, line  669:  Called die
 * The specific snippet of code:
 *   die Cannot find \$EPATCH_SOURCE!;
 * 
 * If you need support, post the output of `emerge --info '=sci-mathematics/glpk-4.45::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/glpk-4.45::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-mathematics/glpk-4.45/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/glpk-4.45/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-mathematics/glpk-4.45/work/glpk-4.45'
 * S: '/var/tmp/portage/sci-mathematics/glpk-4.45/work/glpk-4.45'


glpk.emerge.info
Description: application/info


[gentoo-user] unable to compile kdelibs in arm chroot

2015-03-19 Thread Michael Mair-Keimberger
Hi List,

For the last few weeks i was playing around with my newly acquired
raspberry pi 2. While it was pretty easy to setup a working gentoo
stage3 system i failed installing anything below the basic packages.
Generally my idea was building the arm packages on any system and
provide them as binary packages for other raspberry pi's (yeah, i
already bought my second rpi :D)

At first, my idea was to build all the packages directly on the rpi. (with
/var/tmp  /usr/portage on a external harddisk). However, the compile
times are worse than i expected so i abandoned the idea.

Next i've played around with crossdev. It sort of worked, but i never
could finish compiling xorg-server. (or basic system packages) Even
though i've started over and over with different settings, there were
always packages which failed to compile thus doesn't let me finish
xorg-server. I might look into it some other day but now i just wanted
something working.

Now i'm playing with using qemu-arm [1][2] in order to compile the
packages inside a chroot. This is - so far - the most promising method
building packages, even though the compile times are worse than with
crossdev, but still better than directly on the rpi.

So far i finally could compile xorg-server and also updated the whole
system, which, at this point, wasn't much anyway. My next goal was kde.
I've compiled about half of all packages which are required for
kdebase-meta, but now i'm stuck at kdelibs and i have no idea what's
wrong.

The problem:

The problem is, the compile doesn't fail - it just hangs/stops. At some
point (which seems to be random - it can stop anywhere between 1% and
100% of the compile) the compile stops and does nothing. I've waited
hours, but nothing happened.
So far i tried lots of things, for example:
* MAKEOPTS=-j1 and/or FEATURES=-sandbox
* also tried without building binary packages (-buildpkg)
* /var/tmp on tmpfs
* using: ebuild /usr/portage/kde-base//kdelibsebuild compile
* using python3.3 instead of default 2.7
* moved it on a different system and tried building it there (again with
many different settings)

Nothing worked, even though the build moved until 100% two times (-_-)

I have no idea what the problem is. Even qtwebkit, which took way longer
to compile (about 3 hours) compiled on the first try. (which should
exclude temperate and/or resource problems)
I also don't think it's a problem with a use flag as the build stops
anywhere - i couldn't find a pattern. It seems to be completely random.

Any ideas whats wrong or how to fix this? Any help would be much
appreciated as i'm out of ideas :(

Thx

[1] https://www.gentoo.org/proj/en/base/embedded/handbook/?part=1chap=5
[2] http://wiki.gentoo.org/wiki/Crossdev_qemu-static-user-chroot

-- 
greetings
Michael


signature.asc
Description: Digital signature


Re: [gentoo-user] unable to compile kdelibs in arm chroot

2015-03-19 Thread Fernando Rodriguez
On Thursday, March 19, 2015 9:11:02 PM Michael Mair-Keimberger wrote:
 Hi List,
 
 For the last few weeks i was playing around with my newly acquired
 raspberry pi 2. While it was pretty easy to setup a working gentoo
 stage3 system i failed installing anything below the basic packages.
 Generally my idea was building the arm packages on any system and
 provide them as binary packages for other raspberry pi's (yeah, i
 already bought my second rpi :D)
 
 At first, my idea was to build all the packages directly on the rpi. (with
 /var/tmp  /usr/portage on a external harddisk). However, the compile
 times are worse than i expected so i abandoned the idea.
 
 Next i've played around with crossdev. It sort of worked, but i never
 could finish compiling xorg-server. (or basic system packages) Even
 though i've started over and over with different settings, there were
 always packages which failed to compile thus doesn't let me finish
 xorg-server. I might look into it some other day but now i just wanted
 something working.
 
 Now i'm playing with using qemu-arm [1][2] in order to compile the
 packages inside a chroot. This is - so far - the most promising method
 building packages, even though the compile times are worse than with
 crossdev, but still better than directly on the rpi.
 
 So far i finally could compile xorg-server and also updated the whole
 system, which, at this point, wasn't much anyway. My next goal was kde.
 I've compiled about half of all packages which are required for
 kdebase-meta, but now i'm stuck at kdelibs and i have no idea what's
 wrong.
 
 The problem:
 
 The problem is, the compile doesn't fail - it just hangs/stops. At some
 point (which seems to be random - it can stop anywhere between 1% and
 100% of the compile) the compile stops and does nothing. I've waited
 hours, but nothing happened.
 So far i tried lots of things, for example:
 * MAKEOPTS=-j1 and/or FEATURES=-sandbox
 * also tried without building binary packages (-buildpkg)
 * /var/tmp on tmpfs
 * using: ebuild /usr/portage/kde-base//kdelibsebuild compile
 * using python3.3 instead of default 2.7
 * moved it on a different system and tried building it there (again with
 many different settings)
 
 Nothing worked, even though the build moved until 100% two times (-_-)
 
 I have no idea what the problem is. Even qtwebkit, which took way longer
 to compile (about 3 hours) compiled on the first try. (which should
 exclude temperate and/or resource problems)
 I also don't think it's a problem with a use flag as the build stops
 anywhere - i couldn't find a pattern. It seems to be completely random.
 
 Any ideas whats wrong or how to fix this? Any help would be much
 appreciated as i'm out of ideas :(
 
 Thx
 
 [1] https://www.gentoo.org/proj/en/base/embedded/handbook/?part=1chap=5
 [2] http://wiki.gentoo.org/wiki/Crossdev_qemu-static-user-chroot

One possibility is swap trashing (running so low in RAM that every instruction 
takes several swaps to execute), especially with /var/tmp on tmpfs! This can 
happen even if you don't have a swap partition. Try with either more RAM or 
/var/tmp on a physical filesystem.


-- 
Fernando Rodriguez



<    4   5   6   7   8   9   10   11   12   13   >