Re: [gentoo-user] Moving from old udev to eudev

2013-08-10 Thread Samuli Suominen

On 05/08/13 23:18, Neil Bothwick wrote:

On Mon, 05 Aug 2013 10:24:27 -0400, Tanstaafl wrote:


But there's not a lot of point as eudev isn't that different to udev
now, AFAICT, and a recent update forced me to switch back to udev
because eudev hadn't been updated (on ~amd64).


Can you elaborate on what this update was that forced you to go back to
regular udev?


I can't remember what it was now, and it may have been avoidable by
making virtual/udev-206 (or whichever version it was that needed a higher
udev version than eudev could provide). It's moot now as eudev has been
updated and portage is happy again, but it would be a concern if this
happened regularly.


I expect it to happen around every new udev release that causes slight 
incompability; the default of the virtual/udev, sys-fs/udev, doesn't 
have to wait for the alternative providers.


- Samuli



Re: [gentoo-user] Is it possible to use the x32 abi gcc version to build a amd64 system?

2013-08-10 Thread Mick
On Wednesday 07 Aug 2013 16:47:11 东方巽雷 wrote:
 x32 abi is a new abi which is different from x86_64 and x86.Some softwares
 cannot compile on x32 system,but glibc,gcc,binutils,works well on x32 abi
  with faster speed than x86_64.So I would to make such a gcc version,its
 abi is x32,but its default target is x86_64,similar to cross compiler.Then
 I can build a x86_64 system with faster speed.The question is how to make
 such a gcc version?

You need to set the right flags for it.  I think this was explained in the dev 
mailing list.  But ... I am not sure if the small difference in speed is worth 
potential breakage?  Will all packages in portage build without problems?

-- 
Regards,
Mick


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


Re: [gentoo-user] Moving from old udev to eudev

2013-08-10 Thread Tanstaafl

On 2013-08-10 2:57 AM, Samuli Suominen ssuomi...@gentoo.org wrote:

On 05/08/13 23:18, Neil Bothwick wrote:

On Mon, 05 Aug 2013 10:24:27 -0400, Tanstaafl wrote:

But there's not a lot of point as eudev isn't that different to udev
now, AFAICT, and a recent update forced me to switch back to udev
because eudev hadn't been updated (on ~amd64).


Can you elaborate on what this update was that forced you to go back to
regular udev?


I can't remember what it was now, and it may have been avoidable by
making virtual/udev-206 (or whichever version it was that needed a higher
udev version than eudev could provide). It's moot now as eudev has been
updated and portage is happy again, but it would be a concern if this
happened regularly.


I expect it to happen around every new udev release that causes slight
incompability; the default of the virtual/udev, sys-fs/udev, doesn't
have to wait for the alternative providers.


And thanks for the heads up Samuli.

I always emerge -pvuDN world and look very carefully at the results, and 
I also wait at least 2 or 3 days before installing any system critical 
updates (has saved me headaches more than once).


Ok, here goes... ;)



[gentoo-user] x11-misc/bbpager dependency on x11-wm/blackbox

2013-08-10 Thread José Romildo Malaquias
Hello.

I want to use bbpager with the openbox window manager. To my surprising,
bbpager has a runtime dependency on blackbox. It does not seem correct
to me. I suppose the blackbox window manager is not needed to use
bbpager with the openbox window manager.

Is that a bug in the bbpager ebuild?

Romildo



Re: [gentoo-user] Moving from old udev to eudev - Reboot Necessary?

2013-08-10 Thread Tanstaafl

On 2013-08-09 7:12 AM, Tanstaafl tansta...@libertytrek.org wrote:

Last - is simply restarting udev good enough, or should I go ahead and
reboot anyway before continuing with other updates?


Never got a response to this...

I'd prefer to not reboot if I don't have to, but it isn't *that* big a 
deal if it is 'recommended'...




Re: [gentoo-user] Moving from old udev to eudev - Reboot Necessary?

2013-08-10 Thread Tanstaafl

On 2013-08-10 10:25 AM, Tanstaafl tansta...@libertytrek.org wrote:

On 2013-08-09 7:12 AM, Tanstaafl tansta...@libertytrek.org wrote:

Last - is simply restarting udev good enough, or should I go ahead and
reboot anyway before continuing with other updates?


Never got a response to this...

I'd prefer to not reboot if I don't have to, but it isn't *that* big a
deal if it is 'recommended'...


Two other related questions...

1. Would it be correct to say that if you don't get an error when 
restarting udev, you *shouldn't* (I know there are never any guarantees) 
get an error when rebooting?


and

2. What happens if I

/etc/init.d/udev restart

and there is an error of some kind?

Will it cause my mail server to come crashing down? Or will it keep 
running until I can determine the error and fix it?


Keep in mind - this is a server, and just runs 
postfix/dovecot/apache/mysql...




[gentoo-user] Swap is manually 'swapon-able' but not via fstab...?

2013-08-10 Thread meino . cramer
 Hi,

 When I do a 
 
beagleboneblack:/rootswapon /dev/sda2  
beagleboneblack:/rootfree
total   used   free sharedbuffers cached
Mem:507476  50812 456664  0  13108  17244
-/+ buffers/cache:  20460 487016
Swap:  5242876  05242876


swap is added to the system.

If I add

/dev/sda2   none swap  sw0 0

swapspace will not be used after a reboot.

dmesg has nothing specific...

What did I wrong here? Why get swap not used via fstab?

Thank you very much for any help in advance!

Best regards,
mcc







Re: [gentoo-user] Moving from old udev to eudev

2013-08-10 Thread Tanstaafl

Hmmm...

Do I need (I don't think so) the kmod USE flag set for eudev and 
virtual/udev?


I have kernel modules disabled on this system.



[gentoo-user] I don't want portage to update Libreoffice......

2013-08-10 Thread Andrew Lowe

Hi all,
	As per usual an update of Libre Office is failing and causing all sorts 
of build troubles. I have an install, the previous version,  of Libre 
Office working so how do I stop portage from trying to update to the latest.


Emerge --search libreoffice

reports

Latest version installed: 4.1.0.1.

In turn my /etc/portage/package.mask contains the line

app-office/libreoffice-4.1.0.1

or

=app-office/libreoffice-4.1.0.1

This results in portage wanting to downgrade libreoffice

[ebuild UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]

What do I have to fiddle so that portage won't want to upgrade 
libreoffice? This is stopping my -NuD world from completing so I need 
to suppress libreoffice for the time being and come back to it later.


Any thoughts, greatly appreciated,

Andrew



Re: [gentoo-user] I don't want portage to update Libreoffice......

2013-08-10 Thread András Csányi
On 10 August 2013 18:27, Andrew Lowe a...@wht.com.au wrote:
 Hi all,
 As per usual an update of Libre Office is failing and causing all
 sorts of build troubles. I have an install, the previous version,  of Libre
 Office working so how do I stop portage from trying to update to the latest.

Hi Andrew,

put the latest version into package.mask something like this:
=app-office/libreoffice-latest-version

On the other hand, as you described you have version 4.1.0.1, but I
cannot see it in my portage tree, find it below. You would like to
keep this, I mean 4.1.0.1 version?

[I] app-office/libreoffice
 Available versions:  4.0.4.2 **4.0. (~)4.1.0.4{tbz2}
**4.1. **-r2


-- 
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  Trust in God and keep your gunpowder dry! - Cromwell



Re: [gentoo-user] Moving from old udev to eudev - Reboot Necessary?

2013-08-10 Thread Neil Bothwick
On Sat, 10 Aug 2013 10:33:48 -0400, Tanstaafl wrote:

  On 2013-08-09 7:12 AM, Tanstaafl tansta...@libertytrek.org wrote:  
  Last - is simply restarting udev good enough, or should I go ahead
  and reboot anyway before continuing with other updates?  

Restarting worked for me on a server. On my laptop I switched over at the
same tome as a kernel update, so I had to reboot anyway.

  Never got a response to this...
 
  I'd prefer to not reboot if I don't have to, but it isn't *that* big a
  deal if it is 'recommended'...  
 
 Two other related questions...
 
 1. Would it be correct to say that if you don't get an error when 
 restarting udev, you *shouldn't* (I know there are never any
 guarantees) get an error when rebooting?

That sounds reasonable. I find checkrestart to be useful in these
situations. If it reports everything OK, you will be fine.

 and
 
 2. What happens if I
 
 /etc/init.d/udev restart
 
 and there is an error of some kind?

Find someone to blame, but not me ;-)
 
 Will it cause my mail server to come crashing down? Or will it keep 
 running until I can determine the error and fix it?
 
 Keep in mind - this is a server, and just runs 
 postfix/dovecot/apache/mysql...

I don't see it being a problem, but in that case, a reboot should clear
things. Just make sure you have a package of udev available in case
things do go TU.


-- 
Neil Bothwick

COMMAND: A suggestion made to a computer.


signature.asc
Description: PGP signature


Re: [gentoo-user] I don't want portage to update Libreoffice......

2013-08-10 Thread Neil Bothwick
On Sun, 11 Aug 2013 00:27:56 +0800, Andrew Lowe wrote:

   In turn my /etc/portage/package.mask contains the line
 
  app-office/libreoffice-4.1.0.1  
 
   or
 
  =app-office/libreoffice-4.1.0.1  
 
   This results in portage wanting to downgrade libreoffice
 
 [ebuild UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]
 
 What do I have to fiddle so that portage won't want to upgrade 
 libreoffice? This is stopping my -NuD world from completing so I need 
 to suppress libreoffice for the time being and come back to it later.

4.1.0.1 is no longer in the portage tree, so 4.0.4.2 is the highest
version that fulfils your settings. The solution is to copy the ebuild
from /var/db/pkg into your local overlay (you will have to set one up if
not already done so) which will keep portage happy.


-- 
Neil Bothwick

Daddy, what does formatting drive 'C' mean?


signature.asc
Description: PGP signature


Re: [gentoo-user] x11-misc/bbpager dependency on x11-wm/blackbox

2013-08-10 Thread Philip Webb
130810 José Romildo Malaquias wrote:
 I want to use bbpager with the Openbox window manager.
 To my surprise, bbpager has a runtime dependency on blackbox.

Try  x11-misc/fbpager , which I've been using with Fluxbox for a long time.
Occasionally, it disappears mysteriously, but it's easy to restart.

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




Re: [gentoo-user] I don't want portage to update Libreoffice......

2013-08-10 Thread Daniel Frey
On 08/10/2013 09:27 AM, Andrew Lowe wrote:
 Hi all,
 As per usual an update of Libre Office is failing and causing all
 sorts of build troubles. I have an install, the previous version,  of
 Libre Office working so how do I stop portage from trying to update to
 the latest.
 
 
 [ebuild UD ] app-office/libreoffice-4.0.4.2 [4.1.0.1]
 
 What do I have to fiddle so that portage won't want to upgrade
 libreoffice? This is stopping my -NuD world from completing so I need
 to suppress libreoffice for the time being and come back to it later.
 
 Any thoughts, greatly appreciated,
 
 Andrew
 

You can use the --exclude parameter (I think?) and it will ignore it for
the one command, then after everything is updated you can solve it
further. Try:

emerge --exclude app-office/libreoffice -NuD world

This is not a permanent change but it will allow you to complete your
update, then you can set the masking afterwards.

Dan



SOLVED: Re: [gentoo-user] Moving from old udev to eudev

2013-08-10 Thread Tanstaafl

On 2013-08-10 8:11 AM, Tanstaafl tansta...@libertytrek.org wrote:

I always emerge -pvuDN world and look very carefully at the results, and
I also wait at least 2 or 3 days before installing any system critical
updates (has saved me headaches more than once).

Ok, here goes... ;)


Well, that was about as uneventful as it gets.

emerge -C udev

emerge -1 eudev

etc-update, accepted changes

/etc/init.d/udev restart

Done...

Thanks very much to all who replied to ease my worried mind (especially 
Neil). :)


I added a forum thread about this, just for closure:

http://forums.gentoo.org/viewtopic-p-7369696.html#7369696



Re: SOLVED: Re: [gentoo-user] Moving from old udev to eudev

2013-08-10 Thread Dale
Tanstaafl wrote:
 On 2013-08-10 8:11 AM, Tanstaafl tansta...@libertytrek.org wrote:
 I always emerge -pvuDN world and look very carefully at the results, and
 I also wait at least 2 or 3 days before installing any system critical
 updates (has saved me headaches more than once).

 Ok, here goes... ;)

 Well, that was about as uneventful as it gets.

 emerge -C udev

 emerge -1 eudev

 etc-update, accepted changes

 /etc/init.d/udev restart

 Done...

 Thanks very much to all who replied to ease my worried mind
 (especially Neil). :)

 I added a forum thread about this, just for closure:

 http://forums.gentoo.org/viewtopic-p-7369696.html#7369696



Glad it went well.  If you hadn't asked, it could have been a disaster. 
Murphy's law you know.  ;-)

Dale

:-)  :-) 

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




Re: SOLVED: Re: [gentoo-user] Moving from old udev to eudev

2013-08-10 Thread Tanstaafl

On 2013-08-10 2:47 PM, Dale rdalek1...@gmail.com wrote:

Tanstaafl wrote:

Well, that was about as uneventful as it gets.

emerge -C udev

emerge -1 eudev

etc-update, accepted changes

/etc/init.d/udev restart

Done...

Thanks very much to all who replied to ease my worried mind
(especially Neil). :)

I added a forum thread about this, just for closure:

http://forums.gentoo.org/viewtopic-p-7369696.html#7369696



Glad it went well.  If you hadn't asked, it could have been a disaster.
Murphy's law you know.  ;-)


Exactly... ;)

Also, to correct the above - I did do one other thing, but didn't see it 
until I went to emerge something else...


When I emerged another app after updating udev, after the successful 
emerge there was a warning about some preserved libs fro the old udev, 
and it told me to (and so I did):


emerge @preserved-rebuild

to rebuild lvm2...

Thanks again... :) I'm just about done updating everything else that had 
gotten backed up by my holding off on doing anything about udev...




[gentoo-user] Strange segfaults during PHP emerge - during .configure phase I believe...

2013-08-10 Thread Tanstaafl

Anyone ever seen/can explain these?

I had 3 of them, again, apparently during the .configure phase:


2013-08-10T15:08:36-04:00 myhost kernel: conftest[12233]: segfault at 1 ip 
7f1fc65e8e47 sp 7690d6e0 error 4 in 
libc-client.so.1.0.0[7f1fc65a8000+102000]
2013-08-10T15:10:04-04:00 myhost kernel: conftest[23852]: segfault at 1 ip 
7fb1e5887e47 sp 7fff7f03f4a0 error 4 in 
libc-client.so.1.0.0[7fb1e5847000+102000]
2013-08-10T15:11:32-04:00 myhost kernel: conftest[3249]: segfault at 1 ip 
7f0077cd6e47 sp 7fff70306050 error 4 in 
libc-client.so.1.0.0[7f0077c96000+102000]


Everything seems ok now after the update...

Weird...



Re: [gentoo-user] Swap is manually 'swapon-able' but not via fstab...?

2013-08-10 Thread Samuli Suominen

On 10/08/13 17:36, meino.cra...@gmx.de wrote:

  Hi,

  When I do a

 beagleboneblack:/rootswapon /dev/sda2
 beagleboneblack:/rootfree
 total   used   free sharedbuffers cached
 Mem:507476  50812 456664  0  13108  17244
 -/+ buffers/cache:  20460 487016
 Swap:  5242876  05242876


swap is added to the system.

If I add

 /dev/sda2  none swap  sw0 0

swapspace will not be used after a reboot.

dmesg has nothing specific...

What did I wrong here? Why get swap not used via fstab?


That fstab line looks correct, only things coming to mind are wrong 
filesystem type for the partition or missing localmount from the boot 
runlevel. You can check by,


# fdisk -l /dev/sda

Look at the Id line, it should be 82 if I remember correctly out 
from memory.


And,

# rc-update show |grep localmount

You should see:

localmount | boot

I don't think this will help, but I hope it does :P



Re: [gentoo-user] Moving from old udev to eudev

2013-08-10 Thread Walter Dnes
On Sat, Aug 10, 2013 at 09:57:52AM +0300, Samuli Suominen wrote

 I expect it to happen around every new udev release that causes slight 
 incompability; the default of the virtual/udev, sys-fs/udev, doesn't 
 have to wait for the alternative providers.

  The elegant solution is outlined in my post...
http://www.gossamer-threads.com/lists/gentoo/user/275977#275977

I.e. *UNTIL SUCH TIME AS EUDEV HITS STABLE* (on whatever arch you're
using), add the entry

sys-fs/eudev- ~amd64

to package.keywords (replace amd64 with your arch if necessary).
Basically, if you keyword a specific version, and the ebuild gets
removed by emerge --sync, there are no eudev ebuilds to satisfy
virtual/udev.  So portage falls back to udev.  My solution isn't
hard-coded to any one version, and is immune to to version bumps and
removals.

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



Re: [gentoo-user] Swap is manually 'swapon-able' but not via fstab...?

2013-08-10 Thread Gregory Shearman
In linux.gentoo.user, you wrote:
  Hi,

  When I do a 
  
 beagleboneblack:/rootswapon /dev/sda2  
 beagleboneblack:/rootfree
 total   used   free sharedbuffers cached
 Mem:507476  50812 456664  0  13108  17244
 -/+ buffers/cache:  20460 487016
 Swap:  5242876  05242876
 

 swap is added to the system.

 If I add

 /dev/sda2 none swap  sw0 0

 swapspace will not be used after a reboot.

 dmesg has nothing specific...

 What did I wrong here? Why get swap not used via fstab?

Do you have swap added to the boot runlevel?

# rc-update add swap boot

-- 
Regards,
Gregory.
Gentoo Linux - Penguin Power

-- 
Regards,
Gregory.
Gentoo Linux - Penguin Power



Re: [gentoo-user] Moving from old udev to eudev

2013-08-10 Thread Samuli Suominen

On 11/08/13 08:36, Walter Dnes wrote:

On Sat, Aug 10, 2013 at 09:57:52AM +0300, Samuli Suominen wrote


I expect it to happen around every new udev release that causes slight
incompability; the default of the virtual/udev, sys-fs/udev, doesn't
have to wait for the alternative providers.


   The elegant solution is outlined in my post...
http://www.gossamer-threads.com/lists/gentoo/user/275977#275977

I.e. *UNTIL SUCH TIME AS EUDEV HITS STABLE* (on whatever arch you're
using), add the entry

sys-fs/eudev- ~amd64

to package.keywords (replace amd64 with your arch if necessary).
Basically, if you keyword a specific version, and the ebuild gets
removed by emerge --sync, there are no eudev ebuilds to satisfy
virtual/udev.  So portage falls back to udev.  My solution isn't
hard-coded to any one version, and is immune to to version bumps and
removals.



bad idea to unmask the new multilib eudev on stable, regarding 
blockers it has like 
!=app-emulation/emul-linux-x86-baselibs-20130224-r7 on amd64 multilib 
when ABI_X86=32 is enabled


as in, unresolvable dependencies