Re: [gentoo-user] system uptime

2015-08-30 Thread Walter Dnes
On Sun, Aug 30, 2015 at 12:04:43AM -0400, Philip Webb wrote
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?
 
 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.  However
 recently, I've run into delays getting my router (only  1  device
 attached) to shake hands successfully with my ISP's server, which have
 been requiring several power off/on's before it works.

  I'm on Teksavvy, and I run into that on occasion.

 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --  not
 powering off at all ; the monitor + Xscreensaver are off whenever I'm
 away from the machine for  = 1 hr  (approx).
 
 Are there any pro's/con's I sb aware of ?

[d531][waltdnes][~] uptime
 02:14:01 up 39 days,  5:31, 22 users,  load average: 0.16, 0.22, 0.48

  No, my machine has not been on for over 900 consecutive hours.  It's
that long since my most recent full boot.  sys-power/hibernate-script
in suspend-to-disc mode totally shuts down the machine.  It has to read
the BIOS on start-up, but it restores all workspaces, and program state
with multiple browsers/spreadsheets/etc open, from swap.  I have
multiple browser profiles, allowing me to dedicate separate instances to
each forum.  Plus I have ongong personal projects that have spreadsheets
or vim open.  It's an absolute pain to re-open all the
browsers/spreadsheets/etc in each workspace when I do a real reboot
for a new kernel.

  I currently have the display, speakers, modem, router, etc plugged
into power bars that are plugged into a slave jack on my UPS.  The
desktop PC is plugged into the master jack.  When the master is
drawing power, the slave jack provides power to the power bars.  When
I hibernate the PC, and it powers down, the slave jack cuts off power
to the power bars.  So shutting down or hibernating my PC shuts down
display, speakers, modem, router, etc.  Turning the PC back on powers
them up again.  If I had your problem, I would move my router/modem to a
filtered plug on the UPS.  So hibernation would shut down everything
except the router/modem.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



[gentoo-user] emerge fails with `Suspicious PERL5LIB setting's

2015-08-30 Thread Harry Putnam
Setup: running gentoo inside vbox on Solaris (x86)
Very new install

Running `emerge -v dev-vcs/git' when it comes to installing several dev-perl
pkgs begining with dev-perl/Digest-HMAC-1.30.0-r1::gentooi, it fails with a
brief explanation:

   Configuring source in 
/var/tmp/portage/dev-perl/Digest-HMAC-1.30.0-r1/work/Digest-HMAC-1.03 ...
   * perl-module.eclass: Suspicious environment values found.
   * 
PERL5LIB=/usr/local/cpan-perl:/usr/local/cpan-perl/lib:/usr/local/cpan-perl/lib/perl5
   * Your environment settings may lead to undefined behavior and/or build 
failures.
   * ERROR: dev-perl/Digest-HMAC-1.30.0-r1::gentoo failed (configure phase):
   *   Please fix your environment ( ~/.bashrc, package.env, ... ), see above 
for details.
   * 

I've been building cpan packages and have them installed at the locations
mentioned above.  Then, to get perl to include them in `@INC', I've utilized
the PERL5LIB variable in one of my login scripts, just as it appears in the
error.

Its not clear to me why setting these directories with PERL5LIB is
`Suspicious', or how to proceed from here. 




Re: [gentoo-user] system uptime

2015-08-30 Thread Alan McKinnon
On 30/08/2015 06:04, Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?
 
 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.
 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).
 
 Are there any pro's/con's I sb aware of ?
 


Mine depends. I typically do a deliberate reboot only when wanting a new
kernel running. Sometimes it's a few days, often up to a month or more.

Overnight I usually suspend the machine. This works for me because I
usually have a standard array of apps spread over 6 virtual desktops and
I forget how everything was set up (advancing age...)

It's very seldom that an emerge world needs a reboot so that isn't
included in the above. checkrestart and sometimes a log out/log in takes
care of getting updated software to run.

This is Gentoo not windows, so I see no benefit to frequent daily
reboots. Monthly or so, or when new kernels are advised, suits my needs.

An aside: I've also proudly played the uptime game, and had remote DNS
servers with 1600 days uptime. It looks impressive, but all it really
proves is I'm a short-sighted idiot who doesn't do kernel updates :-)

So I don't do that extreme anymore.

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




Re: [gentoo-user] Re: ncurses: reductio ad absurdum

2015-08-30 Thread Neil Bothwick
On Sat, 29 Aug 2015 17:17:29 -0400, Fernando Rodriguez wrote:

  $ sudo emerge -lp portage
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild   R] sys-apps/portage-2.2.20.1 
  
  
  What am I doing wrong?   
 
 I guess because it's a rebuild and it only shows relevant changes?

Yes, it shows changelog entries since the installed version. I have a
cron script that syncs, does emerge -f @world and then emails me the
output from emerge -luDp @world.


-- 
Neil Bothwick

Sure, we just route the main sensor through Data's cat.


pgpaMJt29TGlK.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] system uptime

2015-08-30 Thread Dale
cov...@ccs.covici.com wrote:
 Dale rdalek1...@gmail.com wrote:


 The biggest reason I shutdown, power failure.  I use checkrestart to see
 if/when I need to restart something after doing updates.  If for example
 I update something in the @system area, then I just logout of the GUI,
 go to boot runlevel, run checkrestart again to see if that did it and
 then go back to default runlevel.  Sometimes, I have to restart
 something by hand instead of rebooting but not to often.  Generally just
 going to boot runlevel gets the job done.

 One thing about not rebooting a lot, you use cache a lot which can speed
 some things up a bit.  I have 16GBs here and most of the time, it is
 almost all used.  How much that helps, I dunno but if it didn't help,
 they wouldn't have it doing it.  Another good side, run updates while
 you sleep. 

 The only bad side, more wear on things like fans and some extra dust.  I
 try to clean my rig at least twice a year or whenever I notice the temps
 a little higher than they should be.  Oh, pulls power all the time which
 may not matter much depending on your electricity rates. 

 Of course, fixing that connection issue may be a good idea too.  ;-)

 hmmm, if you go to boot run level what is the difference between that
 and rebooting?  After a major update there are so many things to restart
 that I usually give up and reboot the system, is actually quicker.



H, this quoting thing didn't work right again. 

For me, it is faster.  Also, rebooting can uncover a problem that I
might not know about.  I've had a few times where I couldn't reboot for
some unknown reason.  Plus, all the common stuff remains in cache.  Most
of the time tho, just logging out of a GUI, KDE for me, is enough. 
Using checkrestart should tell me exactly what needs to be restarted and
most of the time how.  About the only thing I have to restart manually,
udev.  It's one thing that has a regular update that doesn't restart
since it is already started before getting to the boot runlevel. 

To each his own tho.  All of us has our own way of doing things of this
nature and for varying reasons.  Some shutdown because electricity is
expensive.  For some, that doesn't matter.  Some do it to just reduce
noise from the fans etc.  One reason I leave mine on all the time is
that I almost always have mine doing something.  I have tons of TV shows
and such on here.  If I'm not doing something myself, I have it doing
something. 

Dale

:-)  :-) 




[gentoo-user] Re: emerge fails with `Suspicious PERL5LIB setting's

2015-08-30 Thread Harry Putnam
Stroller strol...@stellar.eclipse.co.uk writes:

 On Sun, 30 August 2015, at 7:37 am, Harry Putnam rea...@newsguy.com wrote:
 ...
 I've been building cpan packages and have them installed at the locations
 mentioned above.  Then, to get perl to include them in `@INC', I've utilized
 the PERL5LIB variable in one of my login scripts, just as it appears in the
 error.

 If you want to install Perl packages which aren't in Portage, then the 
 supported method is using app-portage/g-cpan.

 Stroller.

Thanks! Got that going now.




[gentoo-user] Re: Advantages or disadvantages of use package.use as directory

2015-08-30 Thread Harry Putnam
Alan McKinnon alan.mckin...@gmail.com writes:

[...]

 I tried the later like so:
/etc/portage/package.use/app-editors/emacs-vcs
 where emacs-vcs contains:
 
emacs-vcs Xaw3d athena gnutls imagemagick toolkit-scroll-bars
 
 and this way:
 
=app-editors/emacs-vcs-25.0.50_pre20150731 Xaw3d athena gnutls 
 imagemagick toolkit-scroll-bars
 
 But when I attempt emerging... the USE flags do not reflect those
 choices and shows and error:
 
 --- Invalid atom in /etc/portage/package.use/app-editors/emacs-vcs:
 =app-editors/emacs-vcs
 
 So what is the correct format?


 Both your above are completely wrong. The docs clearly and unambiguously
 say the exact format inside the file is identical whether you use a
 package.use file, or any old arb filename you want inside a package.use/
 directory

 You have not done this, you have let your confused brain override what
 your eyes can clearly see, and have invented something new to do that is
 not in the docs. Tut, tut.

 Read the docs again and do what they say.

Yes indeed... thanks


wraeth wra...@wraeth.id.au writes:

 I'd already typed up this response when I saw the one from Alan come
 in; figured I'd send it anyway - two responses that essentially agree
 are better than one, right?

[...]

 Create a file within the package.use directory, named whatever seems
 reasonable to you, and put the contents:

 app-editors/emacs-vcs Xaw3d athena gnutls imagemagick toolkit-scroll-bars

 Enter a single package atom followed by any use flag changes - flag
 name to enable, minus flag name to disable. In case the above example
 wrapped, keep the package atom and the flags on a single line.

 As far as I'm aware, you can't nest files within subdirectories of
 package.use, and the man page doesn't mention version ranges - it's
 example is an exact atom (=) and wildcards (see portage(5) man page).

Very helpful... thank you.  I've got it going now.




[gentoo-user] Re: CD ripper that generates song titles?

2015-08-30 Thread James
Neil Bothwick neil at digimed.co.uk writes:


 It does raise the question of what is the point of the Performer field if
 it's always the same as the Albumperformer.

Dubbing? :: as in voice over, professionally, extra comments on the
sound track, karaoke  and such?

Your dubs over a Grand Funk Railroad  ( or Adele?) master, might be quite
interesting?

;-) 
James




Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-30 Thread Fernando Rodriguez
On Tuesday, August 25, 2015 6:40:01 PM Peter Weilbacher wrote:
 Hi Alexander,
 
 On Sun, 23 Aug 2015, Alexander Kapshuk wrote:
 
  On Sun, Aug 23, 2015 at 4:08 PM, Peter Weilbacher 
newss...@weilbacher.org wrote:
  
   after successfully using kernel 4.0.5 (vanilla-sources) for a while, I
   upgraded to 4.1.5 last week and 4.1.6 today. I cannot boot either of
   them. On the screen I see
  
  Decompressing Linux... Parsing ELF... done.
  Booting the kernel.
  
   as the last thing, then it just sits there.
 
  I am running vanilla-sources 4.1.6, and so far I have not had any
  trouble booting it.
 
  Are you able to boot some of your previous kernels? If so, what does
  your '/boot/grub/grub.cfg' look like?
  What is the output of 'cat /etc/fstab' and 'ls -1 /boot'?
 
 I can still boot 4.0.5 fine, with the same setup. I use lilo, and I
 checked that I changed the two/four digits correctly in /etc/lilo.conf.
 
 By chance I left the boot sit there for more than the typical minute,
 and got multiple messages like
 
   INFO: rcu_sched self-detected stall on CPU { 3}  (t=6 jiffies g=-256 
c=-257 q=193)
   rcu_sched kthread starved for 50027 jiffies!
 
 right after the above Booting the kernel. line.
 
 Do I need to activate a different kind of clocking or a CPU feature in
 4.1.x?
 
Peter.
 

Here's how I would go about it:

1. Add loglevel=7 to your kernel parameters and see what it prints before it 
hangs. 

2. Change your scheduler settings (ie. if you're using the preemptive 
scheduler or voluntary premption scheduler switch to the regular one) and try 
again.

3. From your kernel parameters I assume you're using the radeon free driver 
right? If that's the case disable it (don't compile it in or just delete the 
module) and try to boot wiith a framebuffer. If you're using the proprietary 
driver it has problem with preemptive kernels, with the 3.18.x series it 
started logging a lot of errors which I assume where warnings of some change 
yet to come.

4. If all else fails clone the kernel repo (be prepared to download a 2GB 
repo) and do a git bisect (google it) between the last kernel that worked and 
the first that didn't. That will eventually give you the exact commit that 
broke it. From there you can post on the mailing list for the relevant 
subsystem or you could try emailing the dev that commited it.

-- 
Fernando Rodriguez



[gentoo-user] Re: Problems booting vanilla kernel 4.1.x

2015-08-30 Thread James
Peter Weilbacher newsspam at Weilbacher.org writes:


  1. Add loglevel=7 to your kernel parameters and see what it prints 
  before it hangs.

 Any more suggestions?
Peter.

Hello Peter,

Here is a great boot debugging resource that may help [1] 
It's an Arch doc, but there is plenty of information therein
that is generic in nature. Also there is the gentoo crash dump
doc that may help [2], but it is for system that are already running;
included in case you get that far and still have problems.

[1] https://wiki.archlinux.org/index.php/Boot_debugging#netconsole

[2] https://wiki.gentoo.org/wiki/Kernel_Crash_Dumps


hth,
James






Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-30 Thread Peter Weilbacher
On Sat, 29 Aug 2015, Alexander Kapshuk wrote:

 You probably did look into this yourself, but did you double-check
 your /etc/lilo.conf? Is everything fine there?

At least it's identical between 4.0.5 and 4.1.6:

image=/boot/kernel-genkernel-x86_64-4.0.5
   label=Linux405
   read-only # read-only for checking
   root=/dev/ram0
   append=init=/linuxrc keymap=de ramdisk=8192 real_root=/dev/sda6
   splash=verbose,theme:default console=tty1 quiet
   radeon.modeset=1 video=radeon:mtrr:3,ywrap,1680x1050-32@60
   ahci.marvell_enable=0
   initrd=/boot/initramfs-genkernel-x86_64-4.0.5

Don't ask me where all those options came from, they grew with time...

 Here are my RCU kernel config options. What do yours look like?
 % uname -r
 4.1.6-vanilla
 % grep RCU .config
 # RCU Subsystem
 CONFIG_TREE_RCU=y
 CONFIG_SRCU=y
 # CONFIG_TASKS_RCU is not set
 CONFIG_RCU_STALL_COMMON=y
 CONFIG_RCU_FANOUT=32
 CONFIG_RCU_FANOUT_LEAF=16
 # CONFIG_RCU_FANOUT_EXACT is not set
 # CONFIG_RCU_FAST_NO_HZ is not set
 # CONFIG_TREE_RCU_TRACE is not set
 CONFIG_RCU_KTHREAD_PRIO=0
 # CONFIG_RCU_NOCB_CPU is not set
 # CONFIG_RCU_EXPEDITE_BOOT is not set
 # RCU Debugging
 # CONFIG_PROVE_RCU is not set
 # CONFIG_SPARSE_RCU_POINTER is not set
 # CONFIG_RCU_TORTURE_TEST is not set
 CONFIG_RCU_CPU_STALL_TIMEOUT=21
 # CONFIG_RCU_CPU_STALL_INFO is not set
 # CONFIG_RCU_TRACE is not set

Thanks. The only difference to my config there is that I have
CONFIG_RCU_FANOUT=64 and CONFIG_RCU_CPU_STALL_TIMEOUT=60 (don't ask me
where the values come from, I don't remember ever setting them different
from the default). But since that is all the same between 4.0.5 and
4.1.6, I don't think it has anything to do with my problem. Could the
RCU message just be telling me that since the machine doesn't properly
boot, it doesn't have anything to do?

Cheers,
   Peter.



Re: [gentoo-user] CD ripper that generates song titles?

2015-08-30 Thread Neil Bothwick
On Sat, 29 Aug 2015 20:20:45 -0400, Walter Dnes wrote:

  How do you handle compilation/multi-artist CDs?  
 
   Please re-read the message you're replying to. An example .inf file is
 attached.

That's what I was missing...

 There are 3 fields that my algorithm looks at...
 
 Albumperformer= 'Various Artists'
 Performer=  'Various Artists'
 Tracktitle= 'Johnny Cash / I Walk The Line'

So it handles things properly, as long as the .inf files are correct.
abcde asks for confirmation if it thinks this is a multi-artist CD
(there's probably an option to automate that).
 
   Given that there is a separate .inf file for each track, I figure the
 way it *SHOULD* be done is to have the track title in the Tracktitle
 field, and the artist in the Performer field.  But, no, that's too
 logical.

It does raise the question of what is the point of the Performer field if
it's always the same as the Albumperformer.


-- 
Neil Bothwick

Top Oxymorons Number 13: Computer jock


pgpqzZsqddiLH.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] system uptime

2015-08-30 Thread Rich Freeman
On Sun, Aug 30, 2015 at 5:41 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On 30/08/2015 06:04, Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?


 Mine depends. I typically do a deliberate reboot only when wanting a new
 kernel running. Sometimes it's a few days, often up to a month or more.


++

Typically I reboot every week or two.  I try to keep up with stable
kernel releases on the latest longterm branch (currently 3.18.20).
I'm currently at 19 days, which is a bit on the high side for me, but
it seems like 3.18 hasn't had as many updates as some of the other
stable series.

If you keep a closer eye on security issues and care to track which
kernel fixes you do or don't accept, or want to mess with kernel live
patching, then you could go longer.  I also like to reboot at some
frequency just so that if for whatever reason it doesn't reboot I only
have a few week's worth of system updates to look at to figure out
what changed.  I have Gentoo hosts that I don't stay on top of as
often and when 5 things break at once I'm playing guessing games
(those hosts are all easy to snapshot).

-- 
Rich



[gentoo-user] Fwd: [gentoo-dev] Better way to direct upstream bugs upstream?

2015-08-30 Thread Rich Freeman
On Sun, Aug 30, 2015 at 3:54 AM, Kent Fredric kentfred...@gmail.com wrote:
 We've had to accept that upstream were being unreasonable, and fork
 the problem and manage it ourselves.

 And now we have eudev.

 This is a very good example of Gentoo standing in between upstream
 and our users to protect our users from upstream.

 That's our job. To keep upstream accountable, and shield users from
 their mistakes.


That's a pretty extreme example though.  I can't think of a single
other package where this was done.

More typically Gentoo tends to follow upstream.  If a small patch will
allow broader compatibility/configurability we tend to deal with it,
but if upstream goes in a different direction we tend to support it
for the most part.

Maintainers aren't required to maintain separate patch sets in
general, beyond any fixes needed to comply with QA standards.

The thing to keep in mind that in some cases this may be a matter of
whether the package gets maintained at all.  If a dev doesn't have
time to deal with a messy upstream and we try to force them to do so,
they will probably just make it maintainer-wanted and we'll see it
treecleaned.  So, there has to be a balance.  In the case where a dev
wants to upstream an issue the concern over managing this process is a
valid one.

I'd say that tracking the bug locally is recommended, but I'd hesitate
to make it absolutely mandatory.

-- 
Rich



Re: [gentoo-user] system uptime

2015-08-30 Thread Dale
Mick wrote:
 On Sunday 30 Aug 2015 18:05:13 Alan McKinnon wrote:
 On 30/08/2015 19:00, Dale wrote:

 Don't forget the clothes dryer to, if you have one.  Mine is electric
 and it pulls as much as my water heater does.  I just don't use it as
 much is all.
 I forgot about that :-)

 Add in almost all laundry appliances and kitchen power tools too...
 Modern appliances with Green stickers on them (whatever they're called) are 
 more efficient by design.  To some extent this is also true with PCs.  I 
 still 
 have an old Pentium 4 32bit running a couple of test environments and back up 
 storage.  I can assure you that the room gets hot after it has been running 
 for a couple of hours!  :-)


True.  My old puter, AMD 2500+ with 3GBs of memory, pulled at least
double if not more than my current 4 core AMD with 16GBs of ram.  I'm
not sure this new one has anything green on it but it is less power
hungry.  My old also helped heat my old room.  It had to be pretty cold
outside for me to turn the heat on.

My dryer tho, it's about 25 years old.  I think it pulls around 4500
watts normally.  Considering I have retired the heating element at least
5 or 6 times, it may pull a little more than that now.  I might add, it
takes longer to dry clothes tho.  I fear the day I can't tie that
element back together.  I doubt I will ever find a element for that old
thing.  I may have to get some new line for my old fashioned clothes
dryer.  You know, two trees with a wire between them.  A tree limb broke
my old one. 

Dale

:-)  :-) 




Re: [gentoo-user] Advantages or disadvantages of use package.use as directory

2015-08-30 Thread Michel Catudal

Le 2015-08-30 12:41, wraeth a écrit :

I wonder if there is some advantage to leaving things as my
installation has created them or should I revert to the old way
where package.use is file... not a directory.

There's no specific advantage to using separate files within a
directory to using a single monolithic file other than manageability
and some utilities, as far as I'm aware.


I think that having separate directories makes things much easier to manage 
when your system divert in major ways from the official ones.

For example in my ARM (and soon MIPS on the Creator) linux I want the mate desktop but not all packages have been tested and approved so I need a lot of entries to get them to compile. I do not want an entirely unstable system so I start with the stable 
one and customize, only using package that I consider stable enough for my use. Having multiple files makes my life easier.


Even if you do not need this kind of stuff it can still be usefull, why cram 
everything in one file!

Michel

--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] system uptime

2015-08-30 Thread Mick
On Sunday 30 Aug 2015 18:05:13 Alan McKinnon wrote:
 On 30/08/2015 19:00, Dale wrote:
  Alan McKinnon wrote:
  On 30/08/2015 17:56, Peter Humphrey wrote:
  On Sunday 30 August 2015 00:04:43 Philip Webb wrote:
  How long do desktop users typically leave their systems between
  reboots ? How long between power off/on's ?
  
  I've long been in the habit of switching everything off while I sleep,
  then restarting after I've woken  got going again myself.
  However recently, I've run into delays getting my router
  (only  1  device attached) to shake hands successfully with my ISP's
  server, which have been requiring several power off/on's before it
  works. As a result, I've started rebooting only after my weekly
  system update -- it means I get to use the new versions of everything
  --
   not powering off at all ; the monitor + Xscreensaver are off
  whenever I'm away from the machine for  = 1 hr  (approx).
  
  Are there any pro's/con's I sb aware of ?
  
  No-one has yet mentioned taking backups. I'm still using a brute-force
  approach, in which I shut down each of my two machines once a week to
  make a backup to external disk. Otherwise they're on 24 hours a day
  running BOINC projects. On the desktop PC kmail makes a daily archive
  of messages, and once a day a cron job copies my user directory to
  /home/me.bu/ .
  
  I know it burns energy but I'm prepared to make my small contribution
  to what I think is a good cause.
  
  A desktop or laptop will typically draw far less power than a single 60W
  incandescent bulb. I bet you have quite a lot of those. Even if not, the
  CFLs you'll have to give you light at night still draw much much more
  than a computer.
  
  If saving energy is your personal driver, then you should be looking at
  water heaters, central heaters, aircon and stove as the main culprits.
  Everything else, whilst measurable, is a small drop in the bucket and
  probably not worth worrying about.
  
  Assuming of course that your computer is a desktop/laptop, and not a 42U
  cabinet jam packed full of Dell 2950s
  
  Don't forget the clothes dryer to, if you have one.  Mine is electric
  and it pulls as much as my water heater does.  I just don't use it as
  much is all.
 
 I forgot about that :-)
 
 Add in almost all laundry appliances and kitchen power tools too...

Modern appliances with Green stickers on them (whatever they're called) are 
more efficient by design.  To some extent this is also true with PCs.  I still 
have an old Pentium 4 32bit running a couple of test environments and back up 
storage.  I can assure you that the room gets hot after it has been running 
for a couple of hours!  :-)
-- 
Regards,
Mick


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


Re: [gentoo-user] system uptime

2015-08-30 Thread Terry Z.
I personally find it beneficial to backup to an online source locally or in
an online storage service (as long as encryption incurs etc).

DVD are indeed limited in life.  You are still better off with other
offline storage mediums such as an external hdd or tape indeed.

I've found crashplans unlimited storage 10 machine online backup solution
to be an excellent solution for desktop machines where connectivity is not
guaranteed for cronnd rsyncs etc. Of course it relies on running a fat jar
, but it works.

As to uptime, I keep my windows desktops machine online more than my linux
desktops just due to how frequent kernel updates occur.
On Aug 30, 2015 7:11 PM, Michel Catudal mcatu...@comcast.net wrote:

 Le 2015-08-30 11:56, Peter Humphrey a écrit :

 On Sunday 30 August 2015 00:04:43 Philip Webb wrote:

 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's
 server,
 which have been requiring several power off/on's before it works.
 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).

 Are there any pro's/con's I sb aware of ?

 No-one has yet mentioned taking backups. I'm still using a brute-force
 approach, in which I shut down each of my two machines once a week to
 make a
 backup to external disk. Otherwise they're on 24 hours a day running BOINC
 projects. On the desktop PC kmail makes a daily archive of messages, and
 once
 a day a cron job copies my user directory to /home/me.bu/ .

 I know it burns energy but I'm prepared to make my small contribution to
 what
 I think is a good cause.

 Backups are vital for a server in company. At work we do a backup every
 day. At home, it depends how important your stuff is. For pictures you
 should always copy them on DVD. I regularly backup pictures for people who
 have ususable windows systems, for them the pictures are the most important
 stuff but they do not back them up.

 Personally I don't like to do regular backups because that involves too
 many DVDs. I probably should do my backups more often.
 I do have 3 2TB hard disks with important data copied on each for
 redudancy. I also have some backups on a 500G driver which is not powered
 usually. I also make some backup on DVDs sometimes.
 Anything that is of extreme importance I have in several DVDs which I make
 copies of every few months. I remembered that in the early days of CD that
 their life was rather limited and am not taking chances on DVD even though
 I think the technology is a lot better.

 --
 For Linux Software visit
 http://home.comcast.net/~mcatudal
 http://sourceforge.net/projects/suzielinux/





Re: [gentoo-user] Re: ncurses: reductio ad absurdum

2015-08-30 Thread Fernando Rodriguez
On Saturday, August 29, 2015 6:13:30 PM Dale wrote:
 Fernando Rodriguez wrote:
  On Saturday, August 29, 2015 10:48:16 AM Dale wrote:
  Todd Goodman wrote:
  * Philip Webb purs...@ca.inter.net [150828 18:35]:
  150828 Rich Freeman wrote:
  To really appreciate git you should understand git objects
  and their references, what a commit, tree, and blob are.
  Also, the whole copy-on-write concept and content-hashing concept.
  I used to think git looked really complicated until I sat
  through a  1 hr talk that focused mostly on the data model.
  Once you understand the data model, you understand everything.
  That doesn't take a lot of time.  It does take a moderate amount of 
time
  learning the right things.  They're not found in the manpages.
  Like I said, beautiful design, horrible interface.
  So is there a Gentoo doc -- Wiki, presumably --
  explaining to users -- users, not dev's or Git addicts --
  the essentials of Git, so that they can readily update using it ?
  If so, I'm willing to see if I can use it ;
  if not, I would suggest it sb a top priority for dev's to write.
  You don't *need* to know anything about git to update using it.
 
  Just change your /etc/portage/repos.conf/gentoo.conf as Rich outlined
  (and move away your rsync'd /usr/portage or wherever your portage tree
  goes.)
 
  Then when you emerge --sync (or emaint -A sync, etc.) it will sync via
  git and emerge will work as always.
 
  Now if you want to do more or just want to learn more about git then
  that's different.
 
  Todd
 
 
 
 
  I think what we are talking about is viewing things like the changelogs
  and such, which are currently not synced with the tree.  Or did we
  change to some other topic and I missed it?  I tracked back to Alan
  Mackenzie's split of this thread
  .
  Dale
 
  :-)  :-) 
 
  It's probably easier to do this:
 
  # cd /usr/portage
  # rm -r *
  # git clone repo-uri .
 
  Then do the repos.conf changes. That way you don't have to worry about 
portage 
  doing a shallow clone. If you already did it then just unshallow it as 
Rich 
  pointed. Then to view the logs just:
 
  #cd /usr/portage/cat/pkg
  #git log .
 
  Then 'git show first few digits of commit hash' to view a commit diff. 
  You 
can 
  use git use dev-vcs/tig if you find it easier though I thought it was 
pretty 
  useless so it only lasted about 10 secs. in my system.
 
  So basicly the only change is that instead of:
 
  # less ChangeLog (or whatever you use to read logs)
 
  You'll do:
 
  # git log .
 
 
 
 
 Actually, I use eix-sync to sync my tree.  However I do it, I want it
 done within the usual setup and commands.  Given the bumps we've already
 seen, I'm not wanting to change that just yet.  Let the devs work out
 some of the kinks first. 

I use eix-sync too, it just calls emerge --sync so it's the same. I'm not in a 
hurry to switch the main tree to git either. If they bring change logs to 
rsync I'll stick with it as long as it's supported. Git will just be more 
wasteful of disk space and has other potential problems that rsync doesn't. I 
think it's great of version control but not so much for this.

 Oh, I use Kwrite to read the changelogs.  If I'm stuck in a console,
 nano, head or cat works.  Well, it did in the past anyway.  May not now tho.

 Dale
 
 :-)  :-) 
 

-- 
Fernando Rodriguez



Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-30 Thread Peter Weilbacher
Hi Fernando,

On Sun, 30 Aug 2015, Fernando Rodriguez wrote:

 1. Add loglevel=7 to your kernel parameters and see what it prints before it
 hangs.

That helped, it showed me something about drm, so...

 3. From your kernel parameters I assume you're using the radeon free driver
 right? If that's the case disable it (don't compile it in or just delete the
 module) and try to boot wiith a framebuffer.

... this was a good suggestion. Switching off DRM/Radeon gets me a
kernel that boots. However, with that config I cannot run X (which then
complains about missing kernel mode switching). If I follow
wiki.gentoo.org/wiki/Xorg/Guide#Kernel_modesetting I again arrive at the
kernel settings that I previously had and which didn't work with 4.1.x.

Any more suggestions?
   Peter.



Re: [gentoo-user] system uptime

2015-08-30 Thread Michel Catudal

Le 2015-08-30 00:04, Philip Webb a écrit :

How long do desktop users typically leave their systems between reboots ?
How long between power off/on's ?

I've long been in the habit of switching everything off while I sleep,
then restarting after I've woken  got going again myself.
However recently, I've run into delays getting my router
(only  1  device attached) to shake hands successfully with my ISP's server,
which have been requiring several power off/on's before it works.
As a result, I've started rebooting only after my weekly system update
-- it means I get to use the new versions of everything --
 not powering off at all ; the monitor + Xscreensaver are off
whenever I'm away from the machine for  = 1 hr  (approx).

Are there any pro's/con's I sb aware of ?


For reboots many users may choose to reboot when they do changes, perhaps habit 
from windows or OS/2. It is usually not necessary unless you change your kernel 
or bootloader.

As for shutdowns there are several arguments for and against. What often kills 
electronic is the shock between hot and cold so there is an argument about 
keeping the system on.
Whether it is always safe to keep the computer on all the time remains to be proven. My son always leaves his computer on and I had to recently replace it, the mother board was gone. Mine which was purchased around the same time has had no issues, I 
shutdown every night unless I need to do some updates. An argument against it would be wasting energy. Computers are cheap, so are hard disk. Unless you run a server that has to be on all the time there is no logic in keeping the computer on unless you can 
get it to go sleep.


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] system uptime

2015-08-30 Thread Alan Mackenzie
Hello, Philip.

On Sun, Aug 30, 2015 at 12:04:43AM -0400, Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

I switch my PC on in the morning when I want to start using it.  I
switch it off before going to bed, or going out shopping, or things like
that.  I don't like wasting electricity.

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.

Unfortunately, I need to leave my router permanently powered up, which I
resent.  German telephone companies have been offering only VOIP
telephone connections for some while, now, which basically means that
instead of the companies converting IP packets into a telephone signal,
every subscriber's got to do it himself.  So where people could
previously simply buy a telephone handset and plug it into the wall,
they've now potentially got to spend extra on a router and somehow
manage to configure that router.  And of course, the router contuously
wastes electricity, waiting for that occasional incoming call, whereas
previously the handset was only powered up, from the exchange, when a
call was in progress.  Progress this is not.

 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).

 Are there any pro's/con's I sb aware of ?

 -- 
 ,,
 SUPPORT ___//___,   Philip Webb
 ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
 TRANSIT`-O--O---'   purslowatchassdotutorontodotca

-- 
Alan Mackenzie (Nuremberg, Germany).



Re:[gentoo-user][SOLVED] emerge --oneshot portage - conflict

2015-08-30 Thread thelma
All it was needed was in portage.use

# required by app-portage/gentoolkit-0.3.0.9-r2
# required by app-portage/gentoolkit (argument)
=sys-apps/portage-2.2.20.1 python_targets_python3_3

Thelma

On 08/30/2015 08:43 AM, Mick wrote:
 On Saturday 29 Aug 2015 20:36:04 neu pat wrote:
 I emerge python3.4 set as active:
 eselect python list
 Available Python interpreters:
   [1]   python2.7
   [2]   python3.3
   [3]   python3.4 *
 but it still complain about Multiple package instances

 [ebuild U  ] sys-apps/portage-2.2.20.1 [2.2.14]
 PYTHON_TARGETS=python3_4* -python3_3*

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

 sys-apps/portage:0

   (sys-apps/portage-2.2.20.1:0/0::gentoo, ebuild scheduled for merge)
 pulled in by
 sys-apps/portage (Argument)

   (sys-apps/portage-2.2.14:0/0::gentoo, installed) pulled in by

 sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
 -python_single_target_python2_7(-),-python_single_target_python3_3(-)]
 required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)



 sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
 python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_
 python2_7(-),-python_single_target_python3_3(-),-python_single_target_pytho
 n3_4(-),-python_single_target_pypy(-)] required by
 (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)

 How to fix it?

 #joseph
 
 Try the --newuse flag, after you remove any 'python_targets_python3_3' 
 entries 
 you have inadvertently left in your /etc/portage/package.use
 



Re: [gentoo-user] system uptime

2015-08-30 Thread Rich Freeman
On Sun, Aug 30, 2015 at 11:56 AM, Peter Humphrey pe...@prh.myzen.co.uk wrote:
 No-one has yet mentioned taking backups. I'm still using a brute-force
 approach, in which I shut down each of my two machines once a week to make a
 backup to external disk.

I have a multi-tier strategy.  Anything I'm going to complain about
losing is backed up daily to S3 with duplicity, end of story.  Stuff
like MythTV recordings and such which would be an inconvenience to
lose gets backed up daily to ext4 just in case btrfs gives out on me.
Otherwise I trust mirroring enough for that sort of thing.

If it isn't automatic, daily, and offsite, it isn't backed up as far
as I'm concerned.

-- 
Rich



Re: [gentoo-user] Advantages or disadvantages of use package.use as directory

2015-08-30 Thread wraeth
I'd already typed up this response when I saw the one from Alan come
in; figured I'd send it anyway - two responses that essentially agree
are better than one, right?

On 08/31/2015 02:15 AM, Harry Putnam wrote:
 I see there have been a change in how we list our specific use
 flags.
 
 I'm seeing /etc/portage/package.use/ pkg1 pkg2 ... etc rather than 
 package.use as a file that contains the specific pkgs and use
 flags.

I'm not certain when it was introduced, but this has been around for a
few years now.

 I wonder if there is some advantage to leaving things as my 
 installation has created them or should I revert to the old way
 where package.use is file... not a directory.

There's no specific advantage to using separate files within a
directory to using a single monolithic file other than manageability
and some utilities, as far as I'm aware.

 If directory is better then how would I list USE flags for
 emacs-vcs? snip So what is the correct format?

Create a file within the package.use directory, named whatever seems
reasonable to you, and put the contents:

app-editors/emacs-vcs Xaw3d athena gnutls imagemagick toolkit-scroll-bars

Enter a single package atom followed by any use flag changes - flag
name to enable, minus flag name to disable. In case the above example
wrapped, keep the package atom and the flags on a single line.

As far as I'm aware, you can't nest files within subdirectories of
package.use, and the man page doesn't mention version ranges - it's
example is an exact atom (=) and wildcards (see portage(5) man page).

--
wraeth wra...@wraeth.id.au
GnuPG Key: B2D9F759



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] system uptime

2015-08-30 Thread Dale
Alan McKinnon wrote:
 On 30/08/2015 17:56, Peter Humphrey wrote:
 On Sunday 30 August 2015 00:04:43 Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.
 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).

 Are there any pro's/con's I sb aware of ?
 No-one has yet mentioned taking backups. I'm still using a brute-force 
 approach, in which I shut down each of my two machines once a week to make a 
 backup to external disk. Otherwise they're on 24 hours a day running BOINC 
 projects. On the desktop PC kmail makes a daily archive of messages, and 
 once 
 a day a cron job copies my user directory to /home/me.bu/ .

 I know it burns energy but I'm prepared to make my small contribution to 
 what 
 I think is a good cause.


 A desktop or laptop will typically draw far less power than a single 60W
 incandescent bulb. I bet you have quite a lot of those. Even if not, the
 CFLs you'll have to give you light at night still draw much much more
 than a computer.

 If saving energy is your personal driver, then you should be looking at
 water heaters, central heaters, aircon and stove as the main culprits.
 Everything else, whilst measurable, is a small drop in the bucket and
 probably not worth worrying about.

 Assuming of course that your computer is a desktop/laptop, and not a 42U
 cabinet jam packed full of Dell 2950s



Don't forget the clothes dryer to, if you have one.  Mine is electric
and it pulls as much as my water heater does.  I just don't use it as
much is all. 

Dale

:-)  :-) 



Re: [gentoo-user] system uptime

2015-08-30 Thread Michel Catudal

Le 2015-08-30 11:56, Peter Humphrey a écrit :

On Sunday 30 August 2015 00:04:43 Philip Webb wrote:

How long do desktop users typically leave their systems between reboots ?
How long between power off/on's ?

I've long been in the habit of switching everything off while I sleep,
then restarting after I've woken  got going again myself.
However recently, I've run into delays getting my router
(only  1  device attached) to shake hands successfully with my ISP's server,
which have been requiring several power off/on's before it works.
As a result, I've started rebooting only after my weekly system update
-- it means I get to use the new versions of everything --
 not powering off at all ; the monitor + Xscreensaver are off
whenever I'm away from the machine for  = 1 hr  (approx).

Are there any pro's/con's I sb aware of ?

No-one has yet mentioned taking backups. I'm still using a brute-force
approach, in which I shut down each of my two machines once a week to make a
backup to external disk. Otherwise they're on 24 hours a day running BOINC
projects. On the desktop PC kmail makes a daily archive of messages, and once
a day a cron job copies my user directory to /home/me.bu/ .

I know it burns energy but I'm prepared to make my small contribution to what
I think is a good cause.

Backups are vital for a server in company. At work we do a backup every day. At home, it depends how important your stuff is. For pictures you should always copy them on DVD. I regularly backup pictures for people who have ususable windows systems, for 
them the pictures are the most important stuff but they do not back them up.


Personally I don't like to do regular backups because that involves too many 
DVDs. I probably should do my backups more often.
I do have 3 2TB hard disks with important data copied on each for redudancy. I 
also have some backups on a 500G driver which is not powered usually. I also 
make some backup on DVDs sometimes.
Anything that is of extreme importance I have in several DVDs which I make copies of every few months. I remembered that in the early days of CD that their life was rather limited and am not taking chances on DVD even though I think the technology is a lot 
better.


--
For Linux Software visit
http://home.comcast.net/~mcatudal
http://sourceforge.net/projects/suzielinux/




Re: [gentoo-user] system uptime

2015-08-30 Thread Dale
Mick wrote:
 On Sunday 30 Aug 2015 08:54:16 Dale wrote:
 cov...@ccs.covici.com wrote:
 Dale rdalek1...@gmail.com wrote:


 The biggest reason I shutdown, power failure.  I use checkrestart to see
 if/when I need to restart something after doing updates.  If for example
 I update something in the @system area, then I just logout of the GUI,
 go to boot runlevel, run checkrestart again to see if that did it and
 then go back to default runlevel.  Sometimes, I have to restart
 something by hand instead of rebooting but not to often.  Generally just
 going to boot runlevel gets the job done.

 One thing about not rebooting a lot, you use cache a lot which can speed
 some things up a bit.  I have 16GBs here and most of the time, it is
 almost all used.  How much that helps, I dunno but if it didn't help,
 they wouldn't have it doing it.  Another good side, run updates while
 you sleep.

 The only bad side, more wear on things like fans and some extra dust.  I
 try to clean my rig at least twice a year or whenever I notice the temps
 a little higher than they should be.  Oh, pulls power all the time which
 may not matter much depending on your electricity rates.

 Of course, fixing that connection issue may be a good idea too.  ;-)

 hmmm, if you go to boot run level what is the difference between that
 and rebooting?  After a major update there are so many things to restart
 that I usually give up and reboot the system, is actually quicker.
 H, this quoting thing didn't work right again.

 For me, it is faster.  Also, rebooting can uncover a problem that I
 might not know about.  I've had a few times where I couldn't reboot for
 some unknown reason.  Plus, all the common stuff remains in cache.  Most
 of the time tho, just logging out of a GUI, KDE for me, is enough.
 Using checkrestart should tell me exactly what needs to be restarted and
 most of the time how.  About the only thing I have to restart manually,
 udev.  It's one thing that has a regular update that doesn't restart
 since it is already started before getting to the boot runlevel.

 To each his own tho.  All of us has our own way of doing things of this
 nature and for varying reasons.  Some shutdown because electricity is
 expensive.  For some, that doesn't matter.  Some do it to just reduce
 noise from the fans etc.  One reason I leave mine on all the time is
 that I almost always have mine doing something.  I have tons of TV shows
 and such on here.  If I'm not doing something myself, I have it doing
 something.

 Dale

 :-)  :-)
 What do you do if you install a new kernel?  You have to reboot then, yes?



Of course.  Don't you?  I just don't have a huge need to update the
kernel that often.  I'm not running some server that has to worry about
getting hacked 10,000 times a day.  I just update it when I can. 

I might add, I'm stuck on the current kernel because NONE of the newer
ones will boot.  There's another thread on that where someone else has
the issue.  So, until that is fixed and I CAN update, no need worrying
about a new kernel needing to be loaded.  That just leaves me with power
failures and such. 

Dale

:-)  :-) 



Re: [gentoo-user] system uptime

2015-08-30 Thread Volker Armin Hemmann
Am 30.08.2015 um 06:04 schrieb Philip Webb:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.
 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).

 Are there any pro's/con's I sb aware of ?


suspend to ram.

Only reboot when there is a kernel update I actually install.



Re: [gentoo-user] system uptime

2015-08-30 Thread Volker Armin Hemmann
Am 30.08.2015 um 15:26 schrieb Alan Mackenzie:
 Hello, Philip.

 On Sun, Aug 30, 2015 at 12:04:43AM -0400, Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?
 I switch my PC on in the morning when I want to start using it.  I
 switch it off before going to bed, or going out shopping, or things like
 that.  I don't like wasting electricity.

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.
 Unfortunately, I need to leave my router permanently powered up, which I
 resent. 
yeah, a fritzbox needs so much power



Re: [gentoo-user] Advantages or disadvantages of use package.use as directory

2015-08-30 Thread Alan McKinnon
On 30/08/2015 18:15, Harry Putnam wrote:
 I see there have been a change in how we list our specific use flags.

It's been around for 5+ years or so

 I'm seeing /etc/portage/package.use/ pkg1 pkg2 ... etc rather than
 package.use as a file that contains the specific pkgs and use flags.
 
 I wonder if there is some advantage to leaving things as my
 installation has created them or should I revert to the old way where
 package.use is file... not a directory.

It's the same advantage as having /etc/*.d directories:

- package managers can add/remove/change single files without having to
grep/sed/awk everything in one file (unreliably)
- tools like autounmask will work, whereas before they were hit and go
- if you name the files after specific packages or categories you can
see at a glance where you've made changes

 If directory is better then how would I list USE flags for emacs-vcs?

/etc/portage/package.use/and-valid-filename-you-feel-like-using

 
 Just create a file `/etc/portage/package.use/emacs-vcs' with USE flags

yes

 Or do I need to create another direrctorry within like:
/etc/portage/package.use/app-editors/emacs-vcs?

no

 
 I tried the later like so:
/etc/portage/package.use/app-editors/emacs-vcs
 where emacs-vcs contains:
 
emacs-vcs Xaw3d athena gnutls imagemagick toolkit-scroll-bars
 
 and this way:
 
=app-editors/emacs-vcs-25.0.50_pre20150731 Xaw3d athena gnutls 
 imagemagick toolkit-scroll-bars
 
 But when I attempt emerging... the USE flags do not reflect those
 choices and shows and error:
 
 --- Invalid atom in /etc/portage/package.use/app-editors/emacs-vcs:
 =app-editors/emacs-vcs
 
 So what is the correct format?


Both your above are completely wrong. The docs clearly and unambiguously
say the exact format inside the file is identical whether you use a
package.use file, or any old arb filename you want inside a package.use/
directory

You have not done this, you have let your confused brain override what
your eyes can clearly see, and have invented something new to do that is
not in the docs. Tut, tut.

Read the docs again and do what they say.


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




Re: [gentoo-user] system uptime

2015-08-30 Thread Alan McKinnon
On 30/08/2015 17:24, Daniel Frey wrote:
 On 08/30/2015 06:24 AM, Michel Catudal wrote:

 As for shutdowns there are several arguments for and against. What often
 kills electronic is the shock between hot and cold so there is an
 argument about keeping the system on.
 Whether it is always safe to keep the computer on all the time remains
 to be proven. 
 
 Recently I've had to help someone migrate off of a failed computer. This
 computer was old (I had to find an IDE adapter to recover some files)
 from late 90s/early 00s.
 
 Some time ago I told him to have it running all the time, mostly because
 of age. So he kept it running nonstop and literally a week or two ago
 shut it down as he was getting new flooring installed. He called me
 after hooking it back up again as it wouldn't start. I went over to
 check and the motherboard finally failed. He hadn't powered it off in
 4-5 years.
 
 For myself I use a smart power bar and suspend my PC when not in use.
 This caused me all sorts of grief with systemd hanging on shutdown after
 a suspend, ultimately causing my RAID array to be rebuilt on every
 reboot/shutdown and so I've finally abandoned it and am running openrc
 again.
 
 The only thing about using suspend is that if the PC is in a sleep state
 it won't wake up and shut down when the power goes out. This just
 happened to me yesterday (big wind storm here.)



One of the reasons sysadmins have old servers out there that still have
huge uptimes, is that we dare not switch them off. We don't know if the
drives will spin up again from cold!

Technically, we should do a power down test every 6 months or so, but
that turns out not to be a yes/no test in real life; it's a yes/destroy
test and no-one wants to make a decision either way. So we all sit in
limbo and wait for some exterior event to decide for us (like black-outs)

Sad, init?


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




Re: [gentoo-user] system uptime

2015-08-30 Thread Alan McKinnon
On 30/08/2015 17:56, Peter Humphrey wrote:
 On Sunday 30 August 2015 00:04:43 Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.
 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).

 Are there any pro's/con's I sb aware of ?
 
 No-one has yet mentioned taking backups. I'm still using a brute-force 
 approach, in which I shut down each of my two machines once a week to make a 
 backup to external disk. Otherwise they're on 24 hours a day running BOINC 
 projects. On the desktop PC kmail makes a daily archive of messages, and once 
 a day a cron job copies my user directory to /home/me.bu/ .
 
 I know it burns energy but I'm prepared to make my small contribution to what 
 I think is a good cause.
 


A desktop or laptop will typically draw far less power than a single 60W
incandescent bulb. I bet you have quite a lot of those. Even if not, the
CFLs you'll have to give you light at night still draw much much more
than a computer.

If saving energy is your personal driver, then you should be looking at
water heaters, central heaters, aircon and stove as the main culprits.
Everything else, whilst measurable, is a small drop in the bucket and
probably not worth worrying about.

Assuming of course that your computer is a desktop/laptop, and not a 42U
cabinet jam packed full of Dell 2950s

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




Re: [gentoo-user] emerge --oneshot portage - conflict

2015-08-30 Thread Mick
On Saturday 29 Aug 2015 20:36:04 neu pat wrote:
 I emerge python3.4 set as active:
 eselect python list
 Available Python interpreters:
   [1]   python2.7
   [2]   python3.3
   [3]   python3.4 *
 but it still complain about Multiple package instances
 
 [ebuild U  ] sys-apps/portage-2.2.20.1 [2.2.14]
 PYTHON_TARGETS=python3_4* -python3_3*
 
 !!! Multiple package instances within a single package slot have been
 pulled !!! into the dependency graph, resulting in a slot conflict:
 
 sys-apps/portage:0
 
   (sys-apps/portage-2.2.20.1:0/0::gentoo, ebuild scheduled for merge)
 pulled in by
 sys-apps/portage (Argument)
 
   (sys-apps/portage-2.2.14:0/0::gentoo, installed) pulled in by
 
 sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
 -python_single_target_python2_7(-),-python_single_target_python3_3(-)]
 required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)
 
 
 
 sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
 python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_
 python2_7(-),-python_single_target_python3_3(-),-python_single_target_pytho
 n3_4(-),-python_single_target_pypy(-)] required by
 (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)
 
 How to fix it?
 
 #joseph

Try the --newuse flag, after you remove any 'python_targets_python3_3' entries 
you have inadvertently left in your /etc/portage/package.use
-- 
Regards,
Mick


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


Re: [gentoo-user] system uptime

2015-08-30 Thread Rich Freeman
On Sun, Aug 30, 2015 at 11:54 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Technically, we should do a power down test every 6 months or so, but
 that turns out not to be a yes/no test in real life; it's a yes/destroy
 test and no-one wants to make a decision either way. So we all sit in
 limbo and wait for some exterior event to decide for us (like black-outs)


Half the time these are ancient services that have long been replaced
but nobody can bring themselves to make the call to get rid of the old
servers.  Maybe there were 10M records in the database and 9.998M of
them were migrated to a new database, but due to some issue the rest
couldn't be, so the old server stays up just in case anybody ever
needs the old data, and so on.

Typically these would just stick around until finally some hardware
component fails, and then it gets written off.

Sadly, this course of forcing hands seems to be going away.  At work
somebody tried to hand me an ancient system to look after in my spare
time.  Apparently they just finished virtualizing it.  Go figure -
they have VAX VMs available for Linux these days.  The problem is that
KT and maintaining documentation and not being the person who gets the
finger pointed at when something goes wrong costs the company time and
money, and in this case for almost zero value.

Usually the problems with technology aren't technical in nature...

-- 
Rich



Re: [gentoo-user] emerge fails with `Suspicious PERL5LIB setting's

2015-08-30 Thread Stroller

On Sun, 30 August 2015, at 7:37 am, Harry Putnam rea...@newsguy.com wrote:
 ...
 I've been building cpan packages and have them installed at the locations
 mentioned above.  Then, to get perl to include them in `@INC', I've utilized
 the PERL5LIB variable in one of my login scripts, just as it appears in the
 error.

If you want to install Perl packages which aren't in Portage, then the 
supported method is using app-portage/g-cpan.

Stroller.




Re: [gentoo-user] system uptime

2015-08-30 Thread Alan McKinnon
On 30/08/2015 19:00, Dale wrote:
 Alan McKinnon wrote:
 On 30/08/2015 17:56, Peter Humphrey wrote:
 On Sunday 30 August 2015 00:04:43 Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's 
 server,
 which have been requiring several power off/on's before it works.
 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).

 Are there any pro's/con's I sb aware of ?
 No-one has yet mentioned taking backups. I'm still using a brute-force 
 approach, in which I shut down each of my two machines once a week to make 
 a 
 backup to external disk. Otherwise they're on 24 hours a day running BOINC 
 projects. On the desktop PC kmail makes a daily archive of messages, and 
 once 
 a day a cron job copies my user directory to /home/me.bu/ .

 I know it burns energy but I'm prepared to make my small contribution to 
 what 
 I think is a good cause.


 A desktop or laptop will typically draw far less power than a single 60W
 incandescent bulb. I bet you have quite a lot of those. Even if not, the
 CFLs you'll have to give you light at night still draw much much more
 than a computer.

 If saving energy is your personal driver, then you should be looking at
 water heaters, central heaters, aircon and stove as the main culprits.
 Everything else, whilst measurable, is a small drop in the bucket and
 probably not worth worrying about.

 Assuming of course that your computer is a desktop/laptop, and not a 42U
 cabinet jam packed full of Dell 2950s

 
 
 Don't forget the clothes dryer to, if you have one.  Mine is electric
 and it pulls as much as my water heater does.  I just don't use it as
 much is all. 

I forgot about that :-)

Add in almost all laundry appliances and kitchen power tools too...


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




Re: [gentoo-user] system uptime

2015-08-30 Thread Rich Freeman
On Sun, Aug 30, 2015 at 9:26 AM, Alan Mackenzie a...@muc.de wrote:

 On Sun, Aug 30, 2015 at 12:04:43AM -0400, Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

 I switch my PC on in the morning when I want to start using it.  I
 switch it off before going to bed, or going out shopping, or things like
 that.  I don't like wasting electricity.


Most discussions I've read on this matter tend to end up around here,
both for economy and wear.  Turn on the computer when you are going to
need it, and turn it off at the end of the day, or similar.  It
probably isn't worth powering it off for lunch (though I do put it to
sleep).  For my server it runs 24x7.  I'm always amused when I look at
the SMART stats on failed drives.  They usually have thousands of
hours of power-on time, and maybe a dozen spin-ups.  Then again, that
one batch of Seagate 1TB drives seemed to die barely broken in
(suffice it to say I've gotten very proficient at their RMA process,
which is decent).

-- 
Rich



Re: [gentoo-user] system uptime

2015-08-30 Thread Mick
On Sunday 30 Aug 2015 14:26:36 Alan Mackenzie wrote:
 Hello, Philip.
 
 On Sun, Aug 30, 2015 at 12:04:43AM -0400, Philip Webb wrote:
  How long do desktop users typically leave their systems between reboots ?
  How long between power off/on's ?
 
 I switch my PC on in the morning when I want to start using it.  I
 switch it off before going to bed, or going out shopping, or things like
 that.  I don't like wasting electricity.

Same here.  Unless I am somewhere near the desk the laptop is on sleep.  
Overnight it is shut down.


  I've long been in the habit of switching everything off while I sleep,
  then restarting after I've woken  got going again myself.
  However recently, I've run into delays getting my router
  (only  1  device attached) to shake hands successfully with my ISP's
  server, which have been requiring several power off/on's before it
  works.

I think that it may be better troubleshooting your ISP PPPoE negotiation (or 
whatever protocol they are using) than changing your usage habits.  Well, I 
would be doing this anyway, out of curiosity.  :-)


 Unfortunately, I need to leave my router permanently powered up, which I
 resent.  German telephone companies have been offering only VOIP
 telephone connections for some while, now, which basically means that
 instead of the companies converting IP packets into a telephone signal,
 every subscriber's got to do it himself.  So where people could
 previously simply buy a telephone handset and plug it into the wall,
 they've now potentially got to spend extra on a router and somehow
 manage to configure that router.  And of course, the router contuously
 wastes electricity, waiting for that occasional incoming call, whereas
 previously the handset was only powered up, from the exchange, when a
 call was in progress.  Progress this is not.

I Power cuts can cause re-syncs and a lower sync rate for my connection, so I 
leave the router powered up 24-7 and connected to a UPS.  The waste of 
electricity is tiny.


  As a result, I've started rebooting only after my weekly system update
  -- it means I get to use the new versions of everything --
   not powering off at all ; the monitor + Xscreensaver are off
  whenever I'm away from the machine for  = 1 hr  (approx).
  
  Are there any pro's/con's I sb aware of ?

As others have mentioned consider hibernation for overnight purposes (S4) and 
sleep (S3) for when you are away from your desk for longer periods of time. 
However, I would be intrigued as to what might be wrong with the ISP network 
authentication.  ;-)

-- 
Regards,
Mick


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


Re: [gentoo-user] system uptime

2015-08-30 Thread Peter Humphrey
On Sunday 30 August 2015 00:04:43 Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?
 
 I've long been in the habit of switching everything off while I sleep,
 then restarting after I've woken  got going again myself.
 However recently, I've run into delays getting my router
 (only  1  device attached) to shake hands successfully with my ISP's server,
 which have been requiring several power off/on's before it works.
 As a result, I've started rebooting only after my weekly system update
 -- it means I get to use the new versions of everything --
  not powering off at all ; the monitor + Xscreensaver are off
 whenever I'm away from the machine for  = 1 hr  (approx).
 
 Are there any pro's/con's I sb aware of ?

No-one has yet mentioned taking backups. I'm still using a brute-force 
approach, in which I shut down each of my two machines once a week to make a 
backup to external disk. Otherwise they're on 24 hours a day running BOINC 
projects. On the desktop PC kmail makes a daily archive of messages, and once 
a day a cron job copies my user directory to /home/me.bu/ .

I know it burns energy but I'm prepared to make my small contribution to what 
I think is a good cause.

-- 
Rgds
Peter




[gentoo-user] Advantages or disadvantages of use package.use as directory

2015-08-30 Thread Harry Putnam
I see there have been a change in how we list our specific use flags.

I'm seeing /etc/portage/package.use/ pkg1 pkg2 ... etc rather than
package.use as a file that contains the specific pkgs and use flags.

I wonder if there is some advantage to leaving things as my
installation has created them or should I revert to the old way where
package.use is file... not a directory.

If directory is better then how would I list USE flags for emacs-vcs?

Just create a file `/etc/portage/package.use/emacs-vcs' with USE flags
Or do I need to create another direrctorry within like:
   /etc/portage/package.use/app-editors/emacs-vcs?

I tried the later like so:
   /etc/portage/package.use/app-editors/emacs-vcs
where emacs-vcs contains:

   emacs-vcs Xaw3d athena gnutls imagemagick toolkit-scroll-bars

and this way:

   =app-editors/emacs-vcs-25.0.50_pre20150731 Xaw3d athena gnutls imagemagick 
toolkit-scroll-bars

But when I attempt emerging... the USE flags do not reflect those
choices and shows and error:

--- Invalid atom in /etc/portage/package.use/app-editors/emacs-vcs:
=app-editors/emacs-vcs

So what is the correct format?




Re: [gentoo-user] system uptime

2015-08-30 Thread Mick
On Sunday 30 Aug 2015 08:54:16 Dale wrote:
 cov...@ccs.covici.com wrote:
  Dale rdalek1...@gmail.com wrote:
  
  
  The biggest reason I shutdown, power failure.  I use checkrestart to see
  if/when I need to restart something after doing updates.  If for example
  I update something in the @system area, then I just logout of the GUI,
  go to boot runlevel, run checkrestart again to see if that did it and
  then go back to default runlevel.  Sometimes, I have to restart
  something by hand instead of rebooting but not to often.  Generally just
  going to boot runlevel gets the job done.
  
  One thing about not rebooting a lot, you use cache a lot which can speed
  some things up a bit.  I have 16GBs here and most of the time, it is
  almost all used.  How much that helps, I dunno but if it didn't help,
  they wouldn't have it doing it.  Another good side, run updates while
  you sleep.
  
  The only bad side, more wear on things like fans and some extra dust.  I
  try to clean my rig at least twice a year or whenever I notice the temps
  a little higher than they should be.  Oh, pulls power all the time which
  may not matter much depending on your electricity rates.
  
  Of course, fixing that connection issue may be a good idea too.  ;-)
  
  hmmm, if you go to boot run level what is the difference between that
  and rebooting?  After a major update there are so many things to restart
  that I usually give up and reboot the system, is actually quicker.
 
 H, this quoting thing didn't work right again.
 
 For me, it is faster.  Also, rebooting can uncover a problem that I
 might not know about.  I've had a few times where I couldn't reboot for
 some unknown reason.  Plus, all the common stuff remains in cache.  Most
 of the time tho, just logging out of a GUI, KDE for me, is enough.
 Using checkrestart should tell me exactly what needs to be restarted and
 most of the time how.  About the only thing I have to restart manually,
 udev.  It's one thing that has a regular update that doesn't restart
 since it is already started before getting to the boot runlevel.
 
 To each his own tho.  All of us has our own way of doing things of this
 nature and for varying reasons.  Some shutdown because electricity is
 expensive.  For some, that doesn't matter.  Some do it to just reduce
 noise from the fans etc.  One reason I leave mine on all the time is
 that I almost always have mine doing something.  I have tons of TV shows
 and such on here.  If I'm not doing something myself, I have it doing
 something.
 
 Dale
 
 :-)  :-)

What do you do if you install a new kernel?  You have to reboot then, yes?

-- 
Regards,
Mick


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


Re: [gentoo-user] system uptime

2015-08-30 Thread Alec Ten Harmsel
On Sun, Aug 30, 2015 at 12:04:43AM -0400, Philip Webb wrote:
 How long do desktop users typically leave their systems between reboots ?
 How long between power off/on's ?

I generally power off whenever I won't be using my desktop for more than
7-8 hours, since it has a big CPU, lots of RAM, decent GPU, etc. and
hence draws a lot of idle power. So usually the most uptime I get on it
is around 2 or 3 days.

Alec



Re: [gentoo-user] system uptime

2015-08-30 Thread Daniel Frey
On 08/30/2015 06:24 AM, Michel Catudal wrote:
 
 As for shutdowns there are several arguments for and against. What often
 kills electronic is the shock between hot and cold so there is an
 argument about keeping the system on.
 Whether it is always safe to keep the computer on all the time remains
 to be proven. 

Recently I've had to help someone migrate off of a failed computer. This
computer was old (I had to find an IDE adapter to recover some files)
from late 90s/early 00s.

Some time ago I told him to have it running all the time, mostly because
of age. So he kept it running nonstop and literally a week or two ago
shut it down as he was getting new flooring installed. He called me
after hooking it back up again as it wouldn't start. I went over to
check and the motherboard finally failed. He hadn't powered it off in
4-5 years.

For myself I use a smart power bar and suspend my PC when not in use.
This caused me all sorts of grief with systemd hanging on shutdown after
a suspend, ultimately causing my RAID array to be rebuilt on every
reboot/shutdown and so I've finally abandoned it and am running openrc
again.

The only thing about using suspend is that if the PC is in a sleep state
it won't wake up and shut down when the power goes out. This just
happened to me yesterday (big wind storm here.)

Dan




Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-30 Thread Fernando Rodriguez
On Sunday, August 30, 2015 6:11:00 PM Fernando Rodriguez wrote:
 On Sunday, August 30, 2015 10:51:57 PM Peter Weilbacher wrote:
  Hi Fernando,
  
  On Sun, 30 Aug 2015, Fernando Rodriguez wrote:
  
   1. Add loglevel=7 to your kernel parameters and see what it prints 
before 
 it
   hangs.
  
  That helped, it showed me something about drm, so...
  
   3. From your kernel parameters I assume you're using the radeon free 
 driver
   right? If that's the case disable it (don't compile it in or just delete 
 the
   module) and try to boot wiith a framebuffer.
  
  ... this was a good suggestion. Switching off DRM/Radeon gets me a
  kernel that boots. However, with that config I cannot run X (which then
  complains about missing kernel mode switching). If I follow
  wiki.gentoo.org/wiki/Xorg/Guide#Kernel_modesetting I again arrive at the
  kernel settings that I previously had and which didn't work with 4.1.x.
  
  Any more suggestions?
 Peter.
  
 
 At least you norrowed down, that was the idea.
 I would suspect a new bug, so post to the radeon mailing list. Doing the git 
 bisect first will make it easier for them so they'll be more willing to help. 
I 
 would try booting without those radeon paremeters first.
 
 You could try the proprietary driver but the one in the portage tree will 
not 
 build with a kernel 3.18.19 but if you search b.g.o there are patches to 
make 
 it build. Or you could try my ebuild but I'm not sure that it will build 
 either since I'm using 3.18.20 now:
 
 https://github.com/fernando-rodriguez/portage-overlay/tree/master/x11-drivers/ati-drivers

And you should still try suggestion #2 because it's very likely to only affect 
one specific configuration.

-- 
Fernando Rodriguez



Re: [gentoo-user][SOLVED] emerge --oneshot portage - conflict

2015-08-30 Thread Fernando Rodriguez
On Sunday, August 30, 2015 9:41:04 AM the...@sys-concept.com wrote:
 All it was needed was in portage.use
 
 # required by app-portage/gentoolkit-0.3.0.9-r2
 # required by app-portage/gentoolkit (argument)
 =sys-apps/portage-2.2.20.1 python_targets_python3_3
 
 Thelma

Now you'll probably run into similar errors when you do run an update with the 
--newuse (ideally you should use it for every update -- it's the same as the N 
flag on my original reply) or when one of those packages is updated.


 On 08/30/2015 08:43 AM, Mick wrote:
  On Saturday 29 Aug 2015 20:36:04 neu pat wrote:
  I emerge python3.4 set as active:
  eselect python list
  Available Python interpreters:
[1]   python2.7
[2]   python3.3
[3]   python3.4 *
  but it still complain about Multiple package instances
 
  [ebuild U  ] sys-apps/portage-2.2.20.1 [2.2.14]
  PYTHON_TARGETS=python3_4* -python3_3*
 
  !!! Multiple package instances within a single package slot have been
  pulled !!! into the dependency graph, resulting in a slot conflict:
 
  sys-apps/portage:0
 
(sys-apps/portage-2.2.20.1:0/0::gentoo, ebuild scheduled for merge)
  pulled in by
  sys-apps/portage (Argument)
 
(sys-apps/portage-2.2.14:0/0::gentoo, installed) pulled in by
 
  sys-
apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
  -python_single_target_python2_7(-),-python_single_target_python3_3(-)]
  required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)
 
 
 
  sys-
apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
  python_targets_python3_4(-)?,python_targets_pypy(-)?,-
python_single_target_
  python2_7(-),-python_single_target_python3_3(-),-
python_single_target_pytho
  n3_4(-),-python_single_target_pypy(-)] required by
  (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)
 
  How to fix it?
 
  #joseph
  
  Try the --newuse flag, after you remove any 'python_targets_python3_3' 
entries 
  you have inadvertently left in your /etc/portage/package.use
  
 

-- 
Fernando Rodriguez



Re: [gentoo-user] Problems booting vanilla kernel 4.1.x

2015-08-30 Thread Fernando Rodriguez
On Sunday, August 30, 2015 10:51:57 PM Peter Weilbacher wrote:
 Hi Fernando,
 
 On Sun, 30 Aug 2015, Fernando Rodriguez wrote:
 
  1. Add loglevel=7 to your kernel parameters and see what it prints before 
it
  hangs.
 
 That helped, it showed me something about drm, so...
 
  3. From your kernel parameters I assume you're using the radeon free 
driver
  right? If that's the case disable it (don't compile it in or just delete 
the
  module) and try to boot wiith a framebuffer.
 
 ... this was a good suggestion. Switching off DRM/Radeon gets me a
 kernel that boots. However, with that config I cannot run X (which then
 complains about missing kernel mode switching). If I follow
 wiki.gentoo.org/wiki/Xorg/Guide#Kernel_modesetting I again arrive at the
 kernel settings that I previously had and which didn't work with 4.1.x.
 
 Any more suggestions?
Peter.
 

At least you norrowed down, that was the idea.
I would suspect a new bug, so post to the radeon mailing list. Doing the git 
bisect first will make it easier for them so they'll be more willing to help. I 
would try booting without those radeon paremeters first.

You could try the proprietary driver but the one in the portage tree will not 
build with a kernel 3.18.19 but if you search b.g.o there are patches to make 
it build. Or you could try my ebuild but I'm not sure that it will build 
either since I'm using 3.18.20 now:

https://github.com/fernando-rodriguez/portage-overlay/tree/master/x11-drivers/ati-drivers


-- 
Fernando Rodriguez



Re: [gentoo-user] ncurses: reductio ad absurdum

2015-08-30 Thread Thomas Mueller

 * Fernando Rodriguez frodriguez.develo...@outlook.com [150829 12:59]:
 On Friday, August 28, 2015 2:24:37 PM Rich Freeman wrote:
  Those who wish to use git can do so, and I'd encourage people to try.
  It really does have a lot of advantages.  Oh, and it makes it really
  easy to contribute patches/etc (just edit whatever you want in
  /usr/portage and type git diff).

 I wouldn't advise that on the portage tree because if you edit any files under
 version control git will refuse to pull new changes until you either commit
 the changes or undo them by checking out the file.

It will still pull but you'll potentially have conflicts to resolve.

A bad idea in any case.

Todd

Now many repositories use git, and I need to know how to make changes to some 
files, hopefully a small number, but still be able to update with git.

I keep the modifications somewhere for safekeeping, as well as the originals, 
but would want to see the updated files straight before remaking my 
modifications.

I looked through man pages, git pull --rebase didn't work; I got error 
messages.  Should I do git reset or should I git checkout each modified 
file one-by-one before git pull?

There is a lot in git, learning git all the way through looks like a tall order.

Tom




Re: [gentoo-user][SOLVED] emerge --oneshot portage - conflict

2015-08-30 Thread thelma
I always do emerge -uDNavq world
I think it should be OK

Thelma

On 08/30/2015 05:58 PM, Fernando Rodriguez wrote:
 On Sunday, August 30, 2015 9:41:04 AM the...@sys-concept.com wrote:
 All it was needed was in portage.use

 # required by app-portage/gentoolkit-0.3.0.9-r2
 # required by app-portage/gentoolkit (argument)
 =sys-apps/portage-2.2.20.1 python_targets_python3_3

 Thelma
 
 Now you'll probably run into similar errors when you do run an update with 
 the 
 --newuse (ideally you should use it for every update -- it's the same as the 
 N 
 flag on my original reply) or when one of those packages is updated.
 
 
 On 08/30/2015 08:43 AM, Mick wrote:
 On Saturday 29 Aug 2015 20:36:04 neu pat wrote:
 I emerge python3.4 set as active:
 eselect python list
 Available Python interpreters:
   [1]   python2.7
   [2]   python3.3
   [3]   python3.4 *
 but it still complain about Multiple package instances

 [ebuild U  ] sys-apps/portage-2.2.20.1 [2.2.14]
 PYTHON_TARGETS=python3_4* -python3_3*

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

 sys-apps/portage:0

   (sys-apps/portage-2.2.20.1:0/0::gentoo, ebuild scheduled for merge)
 pulled in by
 sys-apps/portage (Argument)

   (sys-apps/portage-2.2.14:0/0::gentoo, installed) pulled in by

 sys-
 apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
 -python_single_target_python2_7(-),-python_single_target_python3_3(-)]
 required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)



 sys-
 apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,
 python_targets_python3_4(-)?,python_targets_pypy(-)?,-
 python_single_target_
 python2_7(-),-python_single_target_python3_3(-),-
 python_single_target_pytho
 n3_4(-),-python_single_target_pypy(-)] required by
 (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)

 How to fix it?

 #joseph

 Try the --newuse flag, after you remove any 'python_targets_python3_3' 
 entries 
 you have inadvertently left in your /etc/portage/package.use


 



Re: [gentoo-user] LXQT (~0.9.0-r2)

2015-08-30 Thread Fernando Rodriguez
On Thursday, August 27, 2015 3:28:28 PM James wrote:
 Hello,
 
 So on a recently upgraded system, I removed KDE and I'm attempting to
 install LX!T-meta-0.9.0-r2. Any advise on that is most welcome. The system
 had not been upgraded for several years (an old laptop) but all
 seems fine now with portage, compilers, @system and @world all current.
 
 Last sync :: Timestamp of repository gentoo: Wed, 26 Aug 2015 22:30:02 +
 
 
 I removed all of the kde*meta packages and have been slowly cleaning
 out the residual kde kruft via this resource's suggestions [1]. 
 
 
 So far ncurses* and libcaca seem to be the only packages motivating
 extreme creativity on installation. Right now I have ncurses-6.0 
 installed and I'm working on finding a compatible version of libcaca.
 (I did not want to post to the current ncurses post but surely
 ncurses  issues are part of this compatibility issue.
 
 Any tidbits, suggestions or package flag/tricks are most welcome
 on the latest version of LXQT-meta.
 
 
 Ok and libcaca just failed (again)::
  
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-
gnu/bin/ld:
 cannot find -lGLU 
 
 collect2: error: ld returned 1 exit status
 distcc[1382] ERROR: compile (null) on localhost failed
 Makefile:689: recipe for target 'libcaca.la' failed
 make[2]: *** [libcaca.la] Error 1   
 
 
 I'm using distcc. I have turned distcc off (/etc/init.d/distcc stop)
 on both the host and the other (8 core) system;  and also used 
  MAKEOPTS=-j1 USE=qt5 .  Distcc has not had any other issues
 on this setup (same arch, compiler and key packages) for hundreds 
 of other compiles. So I'm  a bit stumped.
 
 
 What would be keen is the for somebody running the latest version 
 of lxqt-meta to list the files and flags they use. Hunches also
 warmly received.  Lafilefixer? (I thought all those tricks were
 integrated into portage PM now?
 
 [1] https://wiki.gentoo.org/wiki/KDE/Removal
 
 

libGLU is provided by media-libs/glu. It should be pulled as a dependency with 
the opengl flag.

-- 
Fernando Rodriguez



[gentoo-user] python tool:: turbogears-2.3.6 ?

2015-08-30 Thread James
Hello,

Well is looks like Gentoo supported turbogears on the past, at least
as an overlay (2.0.3). I'm posting to see if anybody knows of an
overlay I'm just not finding on the the net. Any recent version 
would be keen. 


TIA,
James

http://www.turbogears.org/current-status.html




Re: [gentoo-user] ncurses: reductio ad absurdum

2015-08-30 Thread Fernando Rodriguez
On Monday, August 31, 2015 12:50:04 AM Thomas Mueller wrote:
 
  * Fernando Rodriguez frodriguez.develo...@outlook.com [150829 12:59]:
  On Friday, August 28, 2015 2:24:37 PM Rich Freeman wrote:
   Those who wish to use git can do so, and I'd encourage people to try.
   It really does have a lot of advantages.  Oh, and it makes it really
   easy to contribute patches/etc (just edit whatever you want in
   /usr/portage and type git diff).
 
  I wouldn't advise that on the portage tree because if you edit any files 
under
  version control git will refuse to pull new changes until you either 
commit
  the changes or undo them by checking out the file.
 
 It will still pull but you'll potentially have conflicts to resolve.
 
 A bad idea in any case.
 
 Todd
 
 Now many repositories use git, and I need to know how to make changes to 
some files, hopefully a small number, but still be able to update with git.

The best way is to create a branch for your changes, just run:

# git checkout -b new-feature

And now you're on a branch named new-feature, do your changes, commit them, 
then checkout the master branch, do git pull and then merge your branch.


 I keep the modifications somewhere for safekeeping, as well as the originals, 
but would want to see the updated files straight before remaking my 
modifications.
 
 I looked through man pages, git pull --rebase didn't work; I got error 
messages.  Should I do git reset or should I git checkout each modified 
file 
one-by-one before git pull?

If you commit your changes before doing the pull it will work in most cases. 
Without commiting them it will never work (unless the files have not been 
updated on the remote repo).

You can also stash them away with git stash, then pull, and then finally apply 
your changes with git stash apply. See git-stash(1). If you do git checkout 
you will loose your changes, that's why it requires to do it individually for 
each file. With a branch you can also use git checkout --patch branch file 
to apply the changes individually for each file so it comes in handy when 
there's merge conflicts.

 There is a lot in git, learning git all the way through looks like a tall 
order.

That's an understatement I think.

 Tom
 
 

-- 
Fernando Rodriguez



[gentoo-user] a few blockers I can't figure out

2015-08-30 Thread covici
Hi.  On my latest update of world, I have a few blockers which I am
unable to figure out how to solve -- I will put the related output below
with inserted comments.  I am using unstable gentooand I have masked
ncurses-6 for the time being.  Portage also wants to downgrade my
systemd from 221(0/2) to 219_p112(0/2).

[blocks B  ] sys-apps/systemd[gudev(-)] (sys-apps/systemd[gudev(-)] is 
blocking dev-libs/libgudev-230)
[blocks B  ] sys-apps/sysvinit (sys-apps/sysvinit is blocking 
sys-apps/systemd-219_p112)
[blocks B  ] dev-libs/libgudev (dev-libs/libgudev is blocking 
sys-apps/systemd-219_p112)

Total: 75 packages (64 upgrades, 1 downgrade, 7 new, 2 in new slots, 1 
reinstall), Size of downloads: 273,248 KiB
Conflict: 3 blocks (3 unsatisfied)

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

media-libs/x264:0

  (media-libs/x264-0.0.20150820:0/148::gentoo, ebuild scheduled for merge) 
pulled in by
(no parents that aren't satisfied by other packages in this slot)

If I mask this off, this one goes away, but why is it trying to pull it?

  (media-libs/x264-0.0.20140308:0/142::gentoo, installed) pulled in by
=media-libs/x264-0.0.20090923:0/142= required by 
(media-video/vlc-2.2.1:0/5-8::gentoo, installed)
  ^^^   
   
(and 3 more with the same problem)

net-firewall/iptables:0

  (net-firewall/iptables-1.4.21-r3:0/10::gentoo, ebuild scheduled for merge) 
pulled in by
(no parents that aren't satisfied by other packages in this slot)

And same for this one.


  (net-firewall/iptables-1.4.21-r1:0/0::gentoo, installed) pulled in by
=net-firewall/iptables-1.4.20:0/0= required by 
(sys-apps/iproute2-4.1.1:0/0::gentoo, installed)
  ^ 
 


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

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


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

  (sys-apps/sysvinit-2.88-r7:0/0::gentoo, installed) pulled in by
=sys-apps/sysvinit-2.86-r6 required by (sys-apps/openrc-0.17:0/0::gentoo, 
installed)
=sys-apps/sysvinit-2.87-r3 required by 
(sys-kernel/dracut-043-r2:0/0::gentoo, installed)

  (sys-apps/systemd-219_p112:0/2::gentoo, ebuild scheduled for merge) pulled in 
by
sys-apps/systemd required by (media-sound/mpd-0.19.9-r1:0/0::gentoo, 
installed)
=sys-apps/systemd-204[pam] required by 
(sys-auth/pambase-20150213:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (net-fs/samba-4.1.19:0/0::gentoo, 
installed)
=sys-apps/systemd-44:0= required by (x11-misc/colord-1.2.11:0/2::gentoo, 
installed)
sys-apps/systemd required by (sys-apps/util-linux-2.26.2:0/0::gentoo, 
installed)
=sys-apps/systemd-209 required by 
(sys-process/procps-3.3.10-r1:0/0::gentoo, installed)
sys-apps/systemd:0/2= required by (net-nds/rpcbind-0.2.3:0/0::gentoo, 
installed)
sys-apps/systemd required by (app-admin/syslog-ng-3.7.1:0/0::gentoo, ebuild 
scheduled for merge)
=sys-apps/systemd-44:0/2= required by (x11-misc/colord-1.2.11:0/2::gentoo, 
installed)
sys-apps/systemd:= required by (net-nds/rpcbind-0.2.3:0/0::gentoo, 
installed)
sys-apps/systemd required by 
(gnome-base/gnome-settings-daemon-3.16.3:0/0::gentoo, ebuild scheduled for 
merge)
sys-apps/systemd required by (sys-fs/udisks-2.1.6:2/2::gentoo, installed)
sys-apps/systemd required by (net-wireless/bluez-5.33:0/3::gentoo, 
installed)
sys-apps/systemd:0= required by (gnome-base/gvfs-1.24.2:0/0::gentoo, ebuild 
scheduled for merge)
sys-apps/systemd:0= required by (net-fs/samba-4.1.19:0/0::gentoo, installed)

=sys-apps/systemd-212-r5:0/2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
 (=sys-apps/systemd-212-r5:0/2[abi_x86_32(-),abi_x86_64(-)]) required by 
(virtual/libudev-215-r1:0/1::gentoo, installed)
sys-apps/systemd:0= required by (sys-auth/polkit-0.113:0/0::gentoo, 
installed)
=sys-apps/systemd-197 required by 
(app-admin/openrc-settingsd-1.0.1:0/0::gentoo, installed)
sys-apps/systemd required by @selected


Re: [gentoo-user] Re: make.conf bindist

2015-08-30 Thread Matthew Marchese

Rich,

This is an excellent explanation of the flag. Will you give me 
permission to use it or re-word it for a wiki page concerning bindist?


I see lot blockers where either openssl or openssh need it, when the 
other does not...


Matthew
On 8/5/2015 5:29 PM, James wrote:

Rich Freeman rich0 at gentoo.org writes:



So, set it per your preference.  Since the stage3 was built with
USE=bindist it sets it by default, and that is the safer preference in
any case.  License-purists might prefer to leave it this way and that
gives you an experience similar to debian main repository, etc.


All good
to know.

thx,
James