Re: [gentoo-user] freeSwitch

2016-04-27 Thread covici
J. Roeleveld  wrote:

> On April 28, 2016 12:48:36 AM GMT+02:00, "Max R.D. Parmer"  
> wrote:
> >On Wed, Apr 27, 2016, at 15:17, Stroller wrote:
> >> 
> >> > On Wed, 27 April 2016, at 3:21 pm, Michael Mol 
> >wrote:
> >> > ...
> >> > I have a Freeswitch install on a (non-Gentoo) box at a client. That
> >client has 
> >> > recently moved to a different PBX product. I will not willingly
> >install another 
> >> > Freeswitch setup, and my full rant as to why would be a multi-part
> >blog post.
> >> 
> >> I really want to read this.
> >> 
> >> Stroller.
> >> 
> >> 
> >
> >I would also be interested (if it helps to know you'd have an
> >audience).
> >
> >I've been looking at freeswitch and asterisk for an OSTN
> >implementation.
> >At a glance, freeswitch seemed like it might be the better design (but
> >surely experience tells the real story). I'll give kamailio a look now
> >too.
> >
> >--
> >0x7D964D3361142ACF
> 
> Same here. Would love to read this.
> 
> I ended up getting an appliance, rather than building it myself due to time 
> and cost constraints.
> 
> But for a different location I am thinking of doing it myself. And from the 
> description, Freeswitch sounds nice.

I use freeswitch here all the time as my home pbx and it does things
asterisk either cannot do, or only with great difficulty.  I can even
put c# code in it using mono and a lot of times the xml is insufficient
and this is where this comes in handy.  There is a mailing list, so you
can ask questions as well.  Its one strength and also weakness is there
are a lot of variables, some of which are poorly documented, and some
not documented at all.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] freeSwitch

2016-04-27 Thread J. Roeleveld
On April 28, 2016 12:48:36 AM GMT+02:00, "Max R.D. Parmer"  
wrote:
>On Wed, Apr 27, 2016, at 15:17, Stroller wrote:
>> 
>> > On Wed, 27 April 2016, at 3:21 pm, Michael Mol 
>wrote:
>> > ...
>> > I have a Freeswitch install on a (non-Gentoo) box at a client. That
>client has 
>> > recently moved to a different PBX product. I will not willingly
>install another 
>> > Freeswitch setup, and my full rant as to why would be a multi-part
>blog post.
>> 
>> I really want to read this.
>> 
>> Stroller.
>> 
>> 
>
>I would also be interested (if it helps to know you'd have an
>audience).
>
>I've been looking at freeswitch and asterisk for an OSTN
>implementation.
>At a glance, freeswitch seemed like it might be the better design (but
>surely experience tells the real story). I'll give kamailio a look now
>too.
>
>--
>0x7D964D3361142ACF

Same here. Would love to read this.

I ended up getting an appliance, rather than building it myself due to time and 
cost constraints.

But for a different location I am thinking of doing it myself. And from the 
description, Freeswitch sounds nice.

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



Re: [gentoo-user] Anybody got a Gentoo system working under uclibc?

2016-04-27 Thread waltdnes
On Wed, Apr 27, 2016 at 07:30:12PM -0500, Corbin wrote
> 
> 
> 
> Your Welcome.
> 
> Link for "evdev" : https://en.wikipedia.org/wiki/Evdev
> 
> The default kernel config has "evdev" built into the kernel.
> 
> On my desktop, Nvidia drivers do look for and use "evdev" without 
> Wayland support in Xorg. ( XFCE )
> 
> This might be pedantic ...
> ... add "sse sse2 sse3 ssse3 mmx acpi -mmxext" to your USE flags in 
> "make.conf" ( if not already present. ) Some packages look for those 
> flags in strange ways.
> 
> Using a one-problem-at-a-time approach ...
> 
> < Proposed Test / Xorg Fix >
> ... adding "libinput" to the USE flags in your "make.conf".
> ... setting INPUT_DEVICES="evdev" in "make.conf".
> 
> Desktops that should work with "libinput/evdev" ONLY are QT4, QT5, XFCE.
> XFCE provides its own keyboard library and config applets/plugins. Don't 
> know about QT4 / QT5.
> 
> If you have not already done this ... might want to set 
> VIDEO_CARDS="fbdev vesa" or just "fbdev" to save compile time.
> 
> This is getting very interesting.
> Please let us know how this works out :)

  It's not the cpu flags.  I have an identical glibc-based VM where the
drivers build just fine.  Also, this is a code problem... both with and
without "evdev"...

> libtool: compile:  i686-gentoo-linux-uclibc-gcc -std=gnu99 -DHAVE_CONFIG_H -I.
> -I/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src
> -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1
> -I/usr/include/X11/dri -I/usr/include/libdrm -Wall -Wpointer-arith
> -Wmissing-declarations -Wformat=2 -Wstrict-prototypes
> -Wmissing-prototypes -Wnested-externs -Wbad-function-cast
> -Wold-style-definition -Wdeclaration-after-statement -Wunused
> -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute
> -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull
> -Werror=init-self -Werror=main -Werror=missing-braces
> -Werror=sequence-point -Werror=return-type -Werror=trigraphs
> -Werror=array-bounds -Werror=write-strings -Werror=address
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
> -fno-strict-aliasing -O2 -march=native -mfpmath=sse -fomit-frame-pointer
> -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables -c
> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/at_scancode.c
> -fPIC -DPIC -o .libs/at_scancode.o
> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:
> In function 'OpenKeyboard':
> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:194:8:
> error: implicit declaration of function 'getpgid'
> [-Werror=implicit-function-declaration]
> rc = tcsetpgrp(pInfo->fd, getpgid(0));
> ^
> /var/tmp/portage/x11-drivers/xf86-input-keyboard-1.8.1/work/xf86-input-keyboard-1.8.1/src/lnx_kbd.c:194:8:
> warning: nested extern declaration of 'getpgid' [-Wnested-externs]

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Anybody got a Gentoo system working under uclibc?

2016-04-27 Thread Corbin



On 04/27/2016 04:31 PM, waltd...@waltdnes.org wrote:

On Wed, Apr 27, 2016 at 12:25:41PM -0500, Corbin wrote


On 04/27/2016 09:12 AM, waltd...@waltdnes.org wrote:

I'm testing uclibc in a 32-bit QEMU Gentoo VM.  I want to eventually
install on my ancient 32-bit-only netbook.  I'm running into problems.
See https://forums.gentoo.org/viewtopic-p-7912494.html

To summarize...
* static IP works for eth0, but dhcpcd fails, which is bad news for a
  laptop or netbook
* when building x-rg-server, the builds for xf86-input-keyboard and
  xf86-video-intel fail to compile
* www-client/w3m fails to build, so I can't even get decent textmode
  web browsing



You already found my test load :)
Glad it helped someone.

Did you have/add "evdev" in "make.conf" for INPUT_DEVICES?
"evdev" is built-into-the-kernel or a kernel module. The newer input
function, augmenting/replacing the AT keyboard and /dev/psaux.
( Seems "evdev" is almost replacing the functions of "xf86-input"
libraries for Xorg.)


   No.  Do I have to set something in the kernel?  Will the keyboard work
with evdev and without xf86-input-keyboard?  My netbook uses framebuffer
video driver, so I might try using that in the uclibc VM.


What CPU flags did you set/unset for the build?

My reason for asking ... a lot of software has an unmarked dependency on
"sse/sse2". If the info on the Atom CPU I found was correct ... it
doesn't have sse/sse2 instruction sets.


   My Atom netbook has them, according to /proc/cpuinfo

flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl
vmx est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm tpr_shadow vnmi
flexpriority

   Note also the "movbe" flag.  *I CANNOT TEST RUN MY NETBOOK-OPTIMIZED
CODE I BUILD IN THE QEMU VM*.  QEMU claims to emulate "Atom" CPUs.
There are over 100 different atoms in the periodic table known to
physicists, and Intel is just as bad, with all their "Atom" variants.
QEMU's "Atom" emulation does not support the "movbe" flag.  So I simply
run with the host CPU in a 32-bit VM, and set "-march=native".  When
building for the netbook, I build with "-march=bonnell".  Important
distinction...

different "-march" values != crossdev

   As long as the "CHOST" variable is identical, you can build for
different "-march" variants, even those that won't run in the build
environment.


Useful Info : https://wiki.gentoo.org/wiki/Safe_CFLAGS


See also http://gentoo-en.vfose.ru/wiki/Safe_Cflags#-march.3Dnative

gcc -march=native -E -v - &1 | grep cc1

   Ignore all the fancy flags.  Both of those pages come up with output
that shows "-march=bonnell" on my Atom
https://en.wikipedia.org/wiki/Bonnell_%28microarchitecture%29

   I have a standard glibc 32-bit VM which I use for Gentoo distcc for
the Atom, as well as manually building Pale Moon web browser.  I use the
following settings for both...

CFLAGS="-O2 -march=bonnell -mfpmath=sse -pipe -fomit-frame-pointer \
-fno-unwind-tables -fno-asynchronous-unwind-tables"

CCFLAGS="${CFLAGS}"

   "-march=bonnell" implies all the other flags, so no need to enter them
into the CFLAGS variable.

   Thanks for that initial post.  I had almost given up on even a minimal
install, before I found it.



Your Welcome.

Link for "evdev" : https://en.wikipedia.org/wiki/Evdev

The default kernel config has "evdev" built into the kernel.

On my desktop, Nvidia drivers do look for and use "evdev" without 
Wayland support in Xorg. ( XFCE )


This might be pedantic ...
... add "sse sse2 sse3 ssse3 mmx acpi -mmxext" to your USE flags in 
"make.conf" ( if not already present. ) Some packages look for those 
flags in strange ways.


Using a one-problem-at-a-time approach ...

< Proposed Test / Xorg Fix >
... adding "libinput" to the USE flags in your "make.conf".
... setting INPUT_DEVICES="evdev" in "make.conf".

Desktops that should work with "libinput/evdev" ONLY are QT4, QT5, XFCE.
XFCE provides its own keyboard library and config applets/plugins. Don't 
know about QT4 / QT5.


If you have not already done this ... might want to set 
VIDEO_CARDS="fbdev vesa" or just "fbdev" to save compile time.


This is getting very interesting.
Please let us know how this works out :)



Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Dale
Bill Kenworthy wrote:
> On 28/04/16 01:33, Dale wrote:
>> Michael Mol wrote:
>>> I have my system automatically update nightly, and check the build results 
>>> in 
>>> the morning. If there's a persistent build error for a couple days, I file 
>>> a 
>>> bug report. That's my threshold, anyway.
>>>
>>
>> This started on Sunday.  So it has met that part anyway.  Since I run a
>> mix of stable and unstable, it has been known to cause issues that are
>> weird.  I just don't want to file a bug report and take up a devs time
>> if it is some weird one off thing that affects no one else.  It's not
>> like they don't have enough stuff to deal with already.  Then again,
>> they do want info on failures so that it doesn't affect others.  Where's
>> my coin to flip?  lol 
>>
>> I plan to sync again and if it persists, Raid comes out.  :/
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-)
>>
> I have a couple of background "things" happening at the moment:
>
> prelink and glibc: odd failures that make no sense - unprelink the
> system and everything works fine (at some point you get a failure to
> fork.)  I hit it when trying to build multiple lxc instances ... it
> builds two and then the server becomes "toast" :(  There is a bug on bgo ...
>
> btrfs and kernels 4.4.6 and 4.4.7: fails to convert/balance a raid 10
> (system hard lock, no errors) and maybe some file system related build
> errors (which might also be glibc related, though it might not ...)
> 4.4.8 works fine (includes a number of btrfs fixes)
>
> Either of those fit?
>
> BillK
>
>
>


Oddly, I had some google hits to that effect.  I can't recall exactly
what I was searching for but on one of them, I did see glibc mentioned
as the issue.  I just figured it would fail on other packages as well if
it was the problem so thought it unrelated.  Well, maybe it is after
all.  I dunno.  Good question. 

I seem to recall glibc being one of those packages that you can't
downgrade.  Sort of chicken to upgrade, just in case the problem gets
even worse.  Here's a little more info on my system.


root@fireball / # uname -r
3.18.7-gentoo
root@fireball / # equery list -p glibc
 * Searching for glibc ...
[-P-] [  ] sys-libs/glibc-2.17:2.2
[-P-] [ ~] sys-libs/glibc-2.18-r1:2.2
[-P-] [  ] sys-libs/glibc-2.19-r1:2.2
[-P-] [  ] sys-libs/glibc-2.20-r2:2.2
[-P-] [  ] sys-libs/glibc-2.21-r2:2.2
[IP-] [  ] sys-libs/glibc-2.22-r4:2.2
[-P-] [ ~] sys-libs/glibc-2.23-r1:2.2
[-P-] [ ~] sys-libs/glibc-2.23-r2:2.2
[-P-] [ -] sys-libs/glibc-:2.2
root@fireball / #


Yea, I'm using a old kernel.  I haven't rebooted in a while now.  I just
wonder what that glibc 2.23-r2 would be like??  Anyone here took a drive
around the block with that version? 

I just synced again.  Going to see if anything changes or not but I
doubt it will.  I didn't see any changes to the qtwebkit ebuild.  

Dale

:-)  :-)




Re: [gentoo-user] freeSwitch

2016-04-27 Thread Max R.D. Parmer
On Wed, Apr 27, 2016, at 15:17, Stroller wrote:
> 
> > On Wed, 27 April 2016, at 3:21 pm, Michael Mol  wrote:
> > ...
> > I have a Freeswitch install on a (non-Gentoo) box at a client. That client 
> > has 
> > recently moved to a different PBX product. I will not willingly install 
> > another 
> > Freeswitch setup, and my full rant as to why would be a multi-part blog 
> > post.
> 
> I really want to read this.
> 
> Stroller.
> 
> 

I would also be interested (if it helps to know you'd have an audience).

I've been looking at freeswitch and asterisk for an OSTN implementation.
At a glance, freeswitch seemed like it might be the better design (but
surely experience tells the real story). I'll give kamailio a look now
too.

--
0x7D964D3361142ACF



Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Bill Kenworthy
On 28/04/16 01:33, Dale wrote:
> Michael Mol wrote:
>> I have my system automatically update nightly, and check the build results 
>> in 
>> the morning. If there's a persistent build error for a couple days, I file a 
>> bug report. That's my threshold, anyway.
>>
> 
> 
> This started on Sunday.  So it has met that part anyway.  Since I run a
> mix of stable and unstable, it has been known to cause issues that are
> weird.  I just don't want to file a bug report and take up a devs time
> if it is some weird one off thing that affects no one else.  It's not
> like they don't have enough stuff to deal with already.  Then again,
> they do want info on failures so that it doesn't affect others.  Where's
> my coin to flip?  lol 
> 
> I plan to sync again and if it persists, Raid comes out.  :/
> 
> Thanks.
> 
> Dale
> 
> :-)  :-)
> 

I have a couple of background "things" happening at the moment:

prelink and glibc: odd failures that make no sense - unprelink the
system and everything works fine (at some point you get a failure to
fork.)  I hit it when trying to build multiple lxc instances ... it
builds two and then the server becomes "toast" :(  There is a bug on bgo ...

btrfs and kernels 4.4.6 and 4.4.7: fails to convert/balance a raid 10
(system hard lock, no errors) and maybe some file system related build
errors (which might also be glibc related, though it might not ...)
4.4.8 works fine (includes a number of btrfs fixes)

Either of those fit?

BillK




Re: [gentoo-user] freeSwitch

2016-04-27 Thread Stroller

> On Wed, 27 April 2016, at 3:21 pm, Michael Mol  wrote:
> ...
> I have a Freeswitch install on a (non-Gentoo) box at a client. That client 
> has 
> recently moved to a different PBX product. I will not willingly install 
> another 
> Freeswitch setup, and my full rant as to why would be a multi-part blog post.

I really want to read this.

Stroller.




Re: [gentoo-user] Anybody got a Gentoo system working under uclibc?

2016-04-27 Thread waltdnes
On Wed, Apr 27, 2016 at 12:25:41PM -0500, Corbin wrote
> 
> On 04/27/2016 09:12 AM, waltd...@waltdnes.org wrote:
> >I'm testing uclibc in a 32-bit QEMU Gentoo VM.  I want to eventually
> > install on my ancient 32-bit-only netbook.  I'm running into problems.
> > See https://forums.gentoo.org/viewtopic-p-7912494.html
> >
> >To summarize...
> >* static IP works for eth0, but dhcpcd fails, which is bad news for a
> >  laptop or netbook
> >* when building x-rg-server, the builds for xf86-input-keyboard and
> >  xf86-video-intel fail to compile
> >* www-client/w3m fails to build, so I can't even get decent textmode
> >  web browsing
> >
> 
> You already found my test load :)
> Glad it helped someone.
> 
> Did you have/add "evdev" in "make.conf" for INPUT_DEVICES?
> "evdev" is built-into-the-kernel or a kernel module. The newer input 
> function, augmenting/replacing the AT keyboard and /dev/psaux.
> ( Seems "evdev" is almost replacing the functions of "xf86-input" 
> libraries for Xorg.)

  No.  Do I have to set something in the kernel?  Will the keyboard work
with evdev and without xf86-input-keyboard?  My netbook uses framebuffer
video driver, so I might try using that in the uclibc VM.

> What CPU flags did you set/unset for the build?
> 
> My reason for asking ... a lot of software has an unmarked dependency on 
> "sse/sse2". If the info on the Atom CPU I found was correct ... it 
> doesn't have sse/sse2 instruction sets.

  My Atom netbook has them, according to /proc/cpuinfo

flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl
vmx est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm tpr_shadow vnmi
flexpriority

  Note also the "movbe" flag.  *I CANNOT TEST RUN MY NETBOOK-OPTIMIZED
CODE I BUILD IN THE QEMU VM*.  QEMU claims to emulate "Atom" CPUs.
There are over 100 different atoms in the periodic table known to
physicists, and Intel is just as bad, with all their "Atom" variants.
QEMU's "Atom" emulation does not support the "movbe" flag.  So I simply
run with the host CPU in a 32-bit VM, and set "-march=native".  When
building for the netbook, I build with "-march=bonnell".  Important
distinction...

different "-march" values != crossdev

  As long as the "CHOST" variable is identical, you can build for
different "-march" variants, even those that won't run in the build
environment.

> Useful Info : https://wiki.gentoo.org/wiki/Safe_CFLAGS

See also http://gentoo-en.vfose.ru/wiki/Safe_Cflags#-march.3Dnative

gcc -march=native -E -v - &1 | grep cc1

  Ignore all the fancy flags.  Both of those pages come up with output
that shows "-march=bonnell" on my Atom
https://en.wikipedia.org/wiki/Bonnell_%28microarchitecture%29

  I have a standard glibc 32-bit VM which I use for Gentoo distcc for
the Atom, as well as manually building Pale Moon web browser.  I use the
following settings for both...

CFLAGS="-O2 -march=bonnell -mfpmath=sse -pipe -fomit-frame-pointer \
-fno-unwind-tables -fno-asynchronous-unwind-tables"

CCFLAGS="${CFLAGS}"

  "-march=bonnell" implies all the other flags, so no need to enter them
into the CFLAGS variable.

  Thanks for that initial post.  I had almost given up on even a minimal
install, before I found it.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Michael Mol
On Wednesday, April 27, 2016 12:33:43 PM Dale wrote:
> Michael Mol wrote:
> > I have my system automatically update nightly, and check the build results
> > in the morning. If there's a persistent build error for a couple days, I
> > file a bug report. That's my threshold, anyway.
> 
> This started on Sunday.  So it has met that part anyway.  Since I run a
> mix of stable and unstable, it has been known to cause issues that are
> weird.  I just don't want to file a bug report and take up a devs time
> if it is some weird one off thing that affects no one else.  It's not
> like they don't have enough stuff to deal with already.  Then again,
> they do want info on failures so that it doesn't affect others.  Where's
> my coin to flip?  lol
> 
> I plan to sync again and if it persists, Raid comes out.  :/

If the problem started Monday, ad you didn't flip any USE flags or other 
settings, then its a regression or other new issue; at the very least, it 
helps them to have that documented.

At the same time, 5.6.0 lookslike it's hardmasked right now; I only have 
5.5.1-r1 instealled, and that's after pushing plasma-meta and friends up to 
5.6.3. This might be one of those cases where you need to wait until the 
KDE4/5 transition stabilizes a bit more...

-- 
:wq

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


Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Dale
Michael Mol wrote:
> I have my system automatically update nightly, and check the build results in 
> the morning. If there's a persistent build error for a couple days, I file a 
> bug report. That's my threshold, anyway.
>


This started on Sunday.  So it has met that part anyway.  Since I run a
mix of stable and unstable, it has been known to cause issues that are
weird.  I just don't want to file a bug report and take up a devs time
if it is some weird one off thing that affects no one else.  It's not
like they don't have enough stuff to deal with already.  Then again,
they do want info on failures so that it doesn't affect others.  Where's
my coin to flip?  lol 

I plan to sync again and if it persists, Raid comes out.  :/

Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Dale
Andrés Becerra Sandoval wrote:
>
>
>
>
> ​Dale, 
>
> Do you have debugging activated (ggdb in make.conf) ?
>
> If yes, turn it off for qtwebkit!
> ​
>
> -- 
>   Andrés Becerra Sandoval
>


I didn't recognise that flag but looked to be sure, it's not there.  In
a way, I was hoping it was and I could remove/disable it and carry on. 

Thanks.

Dale

:-)  :-)


Re: [gentoo-user] Anybody got a Gentoo system working under uclibc?

2016-04-27 Thread Corbin


On 04/27/2016 09:12 AM, waltd...@waltdnes.org wrote:

   I'm testing uclibc in a 32-bit QEMU Gentoo VM.  I want to eventually
install on my ancient 32-bit-only netbook.  I'm running into problems.
See https://forums.gentoo.org/viewtopic-p-7912494.html

   To summarize...
   * static IP works for eth0, but dhcpcd fails, which is bad news for a
 laptop or netbook
   * when building x-rg-server, the builds for xf86-input-keyboard and
 xf86-video-intel fail to compile
   * www-client/w3m fails to build, so I can't even get decent textmode
 web browsing



You already found my test load :)
Glad it helped someone.

Did you have/add "evdev" in "make.conf" for INPUT_DEVICES?
"evdev" is built-into-the-kernel or a kernel module. The newer input 
function, augmenting/replacing the AT keyboard and /dev/psaux.
( Seems "evdev" is almost replacing the functions of "xf86-input" 
libraries for Xorg.)


What CPU flags did you set/unset for the build?

My reason for asking ... a lot of software has an unmarked dependency on 
"sse/sse2". If the info on the Atom CPU I found was correct ... it 
doesn't have sse/sse2 instruction sets.


Useful Info : https://wiki.gentoo.org/wiki/Safe_CFLAGS

Hope this helps.



Re: [gentoo-user] Re: freeSwitch

2016-04-27 Thread Meik Frischke

Am 2016-04-27 16:12, schrieb James:

 ccs.covici.com> writes:



> How do you install freeswitch, just a raw compile from sources?
> Or is there an ebuild somewhere that I   missed?


I just did the configure, make, make install combination, it by 
default
installs in /usr/local/freeswitch -- even the binaries, so its 
somewhat
isolated.  but check the docs first, you will need some libraries 
which

are not in gentoo and must be gotten from their repository just to
build.  I think I had to download and install a dozen packages from
source.


Thanks for the info. Did you every file a bug to have an ebuild 
created?

BGO searching did not find one and freeswitch just seems like a cool
software to add to gentoo.

Oh, I almost forget to mention:: what caught my eye was that I ran
across instructions for installation on a Raspberry Pi 2 [1].
And was wondering if  a larger pbx (ip-switch) could be built
by clustering Rpi3 devices together?

Lots of projects seem to be centric on Rpi3 clusters these days. [2]
Thanks again for the feedback.

James

[1]
http://www.algissalys.com/how-to/freeswitch-1-7-raspberry-pi-2-voip-sip-server

[2] https://www.raspberrypi.org/magpi/pi-spark-supercomputer/


There is the Freeswitch overlay available [1], also listed here [2], 
which can be added with layman. The provided ebuild is a little outdated 
though (1.6.2 vs currently 1.6.7). It can probably be adapted for the 
current version, but I havn't tried it yet.


Meik

[1] 
https://github.com/alphallc/freeswitch/tree/master/net-voip/freeswitch

[2] https://overlays.gentoo.org/



Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Andrés Becerra Sandoval
2016-04-27 9:17 GMT-05:00 Michael Mol :

> On Wednesday, April 27, 2016 08:11:05 AM Dale wrote:
> > Peter Humphrey wrote:
> > > On Tuesday 26 Apr 2016 18:50:41 Dale wrote:
> > >
> > > --->8
> > >
> > >> I synced again and was hoping I either caught the tree in the middle
> of
> > >> some change over with the last sync or whatever it is would have a fix
> > >> by now.  Well, still the same error as before.
> > >>
> > >> Anyone have any ideas on the cause of this?  Any tricks that I could
> > >> try?  Could this be a bug that I need to report?  I've tried skipfirst
> > >> and such but it seems to be a hard stop on this package.
> > >
> > > After googling for one of those linker errors, it looks to me like a
> bug
> > > in
> > > the order in which libraries are being called to be linked in. I'm no
> > > coder
> > > any more though (that was 40 years ago).
> > >
> > > HTH. HaND.  :)
> >
> > I been considering a roach report but I hate to since I seem to be the
> > only one running into it.  I've synced a couple times since it started
> > so whatever it is, it seems to be sticking around.
> >
> > I've done some googling but the only thing I find now, this thread.  I
> > did try to google some other ways but still found nothing helpful, as in
> > a solution.
> >
> > I'll give it another day or two and if after another sync the problem
> > remains, I'll file a roach report.
>
> I have my system automatically update nightly, and check the build results
> in
> the morning. If there's a persistent build error for a couple days, I file
> a
> bug report. That's my threshold, anyway.
>
> --
> :wq



​Dale,

Do you have debugging activated (ggdb in make.conf) ?

If yes, turn it off for qtwebkit!
​

-- 
  Andrés Becerra Sandoval


Re: [gentoo-user] freeSwitch

2016-04-27 Thread Michael Mol
On Wednesday, April 27, 2016 03:21:38 AM James wrote:
> https://freeswitch.org/
> 
> 
> Seems to be opensource. Runs on Arm (rpi) and x86
> 
> https://en.wikipedia.org/wiki/FreeSWITCH
> 
> Is there something similar in portage?
> 
> Anyone tested this on debian or any other linux distro?
> 
> Folks interested in an ebuild for this software?

I have a Freeswitch install on a (non-Gentoo) box at a client. That client has 
recently moved to a different PBX product. I will not willingly install another 
Freeswitch setup, and my full rant as to why would be a multi-part blog post.

My recommendation would be to use sip-proxy if it meets your needs, Asterisk 
or Kamailio if you need something heavier.

-- 
:wq

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


Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Michael Mol
On Wednesday, April 27, 2016 08:11:05 AM Dale wrote:
> Peter Humphrey wrote:
> > On Tuesday 26 Apr 2016 18:50:41 Dale wrote:
> > 
> > --->8
> > 
> >> I synced again and was hoping I either caught the tree in the middle of
> >> some change over with the last sync or whatever it is would have a fix
> >> by now.  Well, still the same error as before.
> >> 
> >> Anyone have any ideas on the cause of this?  Any tricks that I could
> >> try?  Could this be a bug that I need to report?  I've tried skipfirst
> >> and such but it seems to be a hard stop on this package.
> > 
> > After googling for one of those linker errors, it looks to me like a bug
> > in
> > the order in which libraries are being called to be linked in. I'm no
> > coder
> > any more though (that was 40 years ago).
> > 
> > HTH. HaND.  :)
> 
> I been considering a roach report but I hate to since I seem to be the
> only one running into it.  I've synced a couple times since it started
> so whatever it is, it seems to be sticking around.
> 
> I've done some googling but the only thing I find now, this thread.  I
> did try to google some other ways but still found nothing helpful, as in
> a solution.
> 
> I'll give it another day or two and if after another sync the problem
> remains, I'll file a roach report.

I have my system automatically update nightly, and check the build results in 
the morning. If there's a persistent build error for a couple days, I file a 
bug report. That's my threshold, anyway.

-- 
:wq

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


[gentoo-user] Re: freeSwitch

2016-04-27 Thread James
  ccs.covici.com> writes:


> > How do you install freeswitch, just a raw compile from sources? 
> > Or is there an ebuild somewhere that I   missed?

> I just did the configure, make, make install combination, it by default
> installs in /usr/local/freeswitch -- even the binaries, so its somewhat
> isolated.  but check the docs first, you will need some libraries which
> are not in gentoo and must be gotten from their repository just to
> build.  I think I had to download and install a dozen packages from
> source.

Thanks for the info. Did you every file a bug to have an ebuild created?
BGO searching did not find one and freeswitch just seems like a cool
software to add to gentoo.

Oh, I almost forget to mention:: what caught my eye was that I ran
across instructions for installation on a Raspberry Pi 2 [1].
And was wondering if  a larger pbx (ip-switch) could be built
by clustering Rpi3 devices together?

Lots of projects seem to be centric on Rpi3 clusters these days. [2]
Thanks again for the feedback.

James

[1]
http://www.algissalys.com/how-to/freeswitch-1-7-raspberry-pi-2-voip-sip-server

[2] https://www.raspberrypi.org/magpi/pi-spark-supercomputer/





[gentoo-user] Anybody got a Gentoo system working under uclibc?

2016-04-27 Thread waltdnes
  I'm testing uclibc in a 32-bit QEMU Gentoo VM.  I want to eventually
install on my ancient 32-bit-only netbook.  I'm running into problems.
See https://forums.gentoo.org/viewtopic-p-7912494.html

  To summarize...
  * static IP works for eth0, but dhcpcd fails, which is bad news for a
laptop or netbook
  * when building x-rg-server, the builds for xf86-input-keyboard and
xf86-video-intel fail to compile
  * www-client/w3m fails to build, so I can't even get decent textmode
web browsing

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Re: freeSwitch

2016-04-27 Thread covici
James  wrote:

>   ccs.covici.com> writes:
> 
> 
> > > https://freeswitch.org/
> 
> 
> > > Folks interested in an ebuild for this software?
> 
> > I use it all the time on gentoo, but watch out for its dependencies. 
> 
> Good to know.
> 
> 
> > I had to downgrade ffmpeg to 2.72 before I could get fs to compile and
> > they are not interested in supporting gentoo.  Their development systems
> > are Debian Jessie.
> 
> 
> How do you install freeswitch, just a raw compile from sources? 
> Or is there an ebuild somewhere that I   missed?

I just did the configure, make, make install combination, it by default
installs in /usr/local/freeswitch -- even the binaries, so its somewhat
isolated.  but check the docs first, you will need some libraries which
are not in gentoo and must be gotten from their repository just to
build.  I think I had to download and install a dozen packages from
source.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: freeSwitch

2016-04-27 Thread James
  ccs.covici.com> writes:


> > https://freeswitch.org/


> > Folks interested in an ebuild for this software?

> I use it all the time on gentoo, but watch out for its dependencies. 

Good to know.


> I had to downgrade ffmpeg to 2.72 before I could get fs to compile and
> they are not interested in supporting gentoo.  Their development systems
> are Debian Jessie.


How do you install freeswitch, just a raw compile from sources? 
Or is there an ebuild somewhere that I   missed?

James







Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Dale
Peter Humphrey wrote:
> On Tuesday 26 Apr 2016 18:50:41 Dale wrote:
>
> --->8
>
>> I synced again and was hoping I either caught the tree in the middle of
>> some change over with the last sync or whatever it is would have a fix
>> by now.  Well, still the same error as before.
>>
>> Anyone have any ideas on the cause of this?  Any tricks that I could
>> try?  Could this be a bug that I need to report?  I've tried skipfirst
>> and such but it seems to be a hard stop on this package.
> After googling for one of those linker errors, it looks to me like a bug in 
> the order in which libraries are being called to be linked in. I'm no coder 
> any more though (that was 40 years ago).
>
> HTH. HaND.  :)
>


I been considering a roach report but I hate to since I seem to be the
only one running into it.  I've synced a couple times since it started
so whatever it is, it seems to be sticking around. 

I've done some googling but the only thing I find now, this thread.  I
did try to google some other ways but still found nothing helpful, as in
a solution. 

I'll give it another day or two and if after another sync the problem
remains, I'll file a roach report.

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs.

2016-04-27 Thread J. Roeleveld
On April 27, 2016 12:59:18 PM GMT+02:00, Hans  wrote:
>Tried to upgrade the kernels of my desktop and notebook fron kernel 
>4.1.12 upgrade to 4.4.6. Both systems freeze during booting with 4.4.6.
>
>No dmsg, No messages logs. Previous kernel upgrades always worked
>smooth 
>as silk.
>
>Using: OpenRC, eudev, Xfce,
>
>Desktop configration:
>Genkernel with /etc/genkernel.conf additional options:
>MENUCONFIG="yes"
>MAKEOPTS="-j5"
>MDADM="yes"
>MDADM_CONFIG="/etc/mdadm.conf"
>DISKLABEL="yes"
>KNAME="genkernel-G_ROOT"
>
>Boot: Grub-static
>grub.conf:
>title PROXY-64 domdadm LABEL=G_ROOT Gentoo Linux 4.4.6-gentoo
>root (hd0,0)
>kernel /boot/kernel-genkernel-G_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 
>root=/dev/ram0 domdadm real_root=LABEL=G_ROOT
>initrd /boot/initramfs-genkernel-G_ROOT-x86_64-4.4.6-gentoo
>
>No error reported in genkernel.log
>--
>
>Notebook configration:
>Genkernel with /etc/genkernel.conf additional options:
>MENUCONFIG="yes"
>MAKEOPTS="-j5"
>DISKLABEL="yes"
>KNAME="genkernel-HP_ROOT"
>
>Boot: Grub-static
>grub.conf:
>title PROXY-64 domdadm LABEL=HP_ROOT Gentoo Linux 4.4.6-gentoo
>root (hd0,0)
>kernel /boot/kernel-genkernel-HP_ROOT-x86_64-4.4.6-gentoo net.ifnames=0
>
>root=/dev/ram0 real_root=LABEL=HP_ROOT
>initrd /boot/initramfs-genkernel-HP_ROOT-x86_64-4.4.6-gentoo
>
>No error reported in genkernel.log
>---

Why are you specifying root=/dev/ram0?

Modern kernels use initramfs and you normally specify the real root device 
there.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



[gentoo-user] Kernel upgrade from 4.1.12 to 4.4.6 hangs without writing logs.

2016-04-27 Thread Hans
Tried to upgrade the kernels of my desktop and notebook fron kernel 
4.1.12 upgrade to 4.4.6. Both systems freeze during booting with 4.4.6. 
No dmsg, No messages logs. Previous kernel upgrades always worked smooth 
as silk.


Using: OpenRC, eudev, Xfce,

Desktop configration:
Genkernel with /etc/genkernel.conf additional options:
MENUCONFIG="yes"
MAKEOPTS="-j5"
MDADM="yes"
MDADM_CONFIG="/etc/mdadm.conf"
DISKLABEL="yes"
KNAME="genkernel-G_ROOT"

Boot: Grub-static
grub.conf:
title PROXY-64 domdadm LABEL=G_ROOT Gentoo Linux 4.4.6-gentoo
root (hd0,0)
kernel /boot/kernel-genkernel-G_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 
root=/dev/ram0 domdadm real_root=LABEL=G_ROOT

initrd /boot/initramfs-genkernel-G_ROOT-x86_64-4.4.6-gentoo

No error reported in genkernel.log
--

Notebook configration:
Genkernel with /etc/genkernel.conf additional options:
MENUCONFIG="yes"
MAKEOPTS="-j5"
DISKLABEL="yes"
KNAME="genkernel-HP_ROOT"

Boot: Grub-static
grub.conf:
title PROXY-64 domdadm LABEL=HP_ROOT Gentoo Linux 4.4.6-gentoo
root (hd0,0)
kernel /boot/kernel-genkernel-HP_ROOT-x86_64-4.4.6-gentoo net.ifnames=0 
root=/dev/ram0 real_root=LABEL=HP_ROOT

initrd /boot/initramfs-genkernel-HP_ROOT-x86_64-4.4.6-gentoo

No error reported in genkernel.log
---




Re: [gentoo-user] Failed to emerge dev-qt/qtwebkit-5.6.0

2016-04-27 Thread Peter Humphrey
On Tuesday 26 Apr 2016 18:50:41 Dale wrote:

--->8

> I synced again and was hoping I either caught the tree in the middle of
> some change over with the last sync or whatever it is would have a fix
> by now.  Well, still the same error as before.
> 
> Anyone have any ideas on the cause of this?  Any tricks that I could
> try?  Could this be a bug that I need to report?  I've tried skipfirst
> and such but it seems to be a hard stop on this package.

After googling for one of those linker errors, it looks to me like a bug in 
the order in which libraries are being called to be linked in. I'm no coder 
any more though (that was 40 years ago).

HTH. HaND.  :)

-- 
Rgds
Peter




Re: [gentoo-user] ATLAS@home and VirtualBox

2016-04-27 Thread Peter Humphrey
On Tuesday 26 Apr 2016 19:54:09 Gregory Woodbury wrote:
> On Tue, Apr 26, 2016 at 5:40 AM, Peter Humphrey 
> wrote:
> > Has anyone here succeeded in getting this BOINC project to run? No
> > matter
> > what I try, I get "task postponed 86400.00 sec: Communication with
> > VM
> > Hypervisor failed."
> Is the "user" boinc runs as in the vboxusers" group?
> By default, boinc runs as a non-root (daemon?) user and if its group is
> not in the vboxusers group,
> VirtualBox will not start or run for the user.
> 
> The recommended workaround is to run boinc as a real user (generally
> "you") so that things operate properly.  Additionally, the actual way that
> the cernvm runs can change "just a bit" and it will upset the balance of
> getting VBox to run boinc tasks.

Thanks for the reply. Yes, boinc is running as me, as shown below, and I am
in the vboxusers group. Boinc is also in that group. All the files and
directories under ~/boinc and ~/.VirtualBox are owned prh:prh. But I've just
noticed that the files under ~/.VirtualBox are all 0600; I wonder if that's
thet problem: that the boinc user can't read them. But then boinc is running
as me, the owner of all the files involved.

I'm going round in circles again.

$ ps U prh 
  710 ?SNsl   4:10 /usr/bin/boinc_client --daemon --dir /home/prh/boinc 
--redirectio
  880 ?Sl22:23 /usr/bin/boincmgr
[...]
19613 ?RN   372:47 
../../projects/www.cosmologyathome.org/camb_2.16_i686-pc-linux-gnu params.ini
[...]
24897 ?SNl0:08 
../../projects/pogs.theskynet.org_pogs/wrapper_x86_64-pc-linux-gnu_4.02
[...]
28001 ?RN 7:17 ./fit_sed 10 filters.dat observations.dat
[...]

-- 
Rgds
Peter