Re: [gentoo-user] Invalid opcode after kernel update

2023-09-18 Thread Fernando Rodriguez

On 9/18/23 14:52, Fernando Rodriguez wrote:

On 9/18/23 11:04, Fernando Rodriguez wrote:

On 9/17/23 18:03, Alan Mackenzie wrote:
I will try to run it on gdb to find out which instruction is 
triggering the fault.


Thanks,
Fernando



The crash is happening on AVX2 instructions. My CPU is Intel(R) Core(TM) 
i7-8809G CPU @ 3.10GHz and it's supposed to have AVX2 but I don't see it 
listed on /proc/cpuinfo. I can't reboot into the old kernel right now 
but I suspect that when I do it will be there because I kind of remember 
  seeing it there. Any clues?




Found this on my journal: "GDS: Microcode update needed! Disabling AVX 
as mitigation." So I guess it's a microcode issue. I'm using dracut with 
--early-microcode and I have CONFIG_MICROCODE_INTEL set and I have the 
latest (as of friday) intel-microcode. I don't have initramfs enabled 
for intel-microcode but never did and it was working. Will try it when I 
get back, gotta run now. Any more ideas?


--

Fernando Rodriguez




Re: [gentoo-user] Invalid opcode after kernel update

2023-09-18 Thread Fernando Rodriguez

On 9/18/23 11:04, Fernando Rodriguez wrote:

On 9/17/23 18:03, Alan Mackenzie wrote:
I will try to run it on gdb to find out which instruction is triggering 
the fault.


Thanks,
Fernando



The crash is happening on AVX2 instructions. My CPU is Intel(R) Core(TM) 
i7-8809G CPU @ 3.10GHz and it's supposed to have AVX2 but I don't see it 
listed on /proc/cpuinfo. I can't reboot into the old kernel right now 
but I suspect that when I do it will be there because I kind of remember 
 seeing it there. Any clues?


--

Fernando Rodriguez




Re: [gentoo-user] Invalid opcode after kernel update

2023-09-18 Thread Fernando Rodriguez

On 9/17/23 18:03, Alan Mackenzie wrote:

Hello, Fernando.

On Sun, Sep 17, 2023 at 17:49:22 -0400, Fernando Rodriguez wrote:

A few months ago after updating my kernel I started getting an invalid
opcode error during boot on the init process on my initramfs which I did
rebuilt. Switching to the old kernel and initramfs fixed the problem so
I kept that kernel for a few months for lack of time.



Today I rebuilt the whole system using `emerge -e @world` and after that
I'm able to boot the new kernel but now some pre-compiled packages (and
some that emerge -e missed because the ebuild was masked) crash with
illegal opcode. In the case of chrome it's not crashing but it only
renders garbage for webpages.



Does anyone have a clue what is happening? It's like the instruction set
changed after the kernel update (or was it the microcode?)


Could it be that you've got a sporadic RAM failure?  Running the
standard RAM test (the one you boot into, I've forgotten its name) for
many hours might pin down the problem.


I ran the test to be sure but it's not sporadic. It happens all the time 
with the same pre-built binaries. My last working kernel was 5.15.122, 
if I boot from that kernel everything works. Before the update 
everything was built with -march=native and before the 'emerge -e' I 
switched to -mtune=generic but I don't think it was the flags that 
messed it up but the act of rebuilding because after rebuilding the 
whole system I'm still having issues with pre-compiled binaries and 
those should be generic builds. Strangely the same binaries that crash 
on the host system run fine on a VM using hw virtualization.


I will try to run it on gdb to find out which instruction is triggering 
the fault.


Thanks,
Fernando




[gentoo-user] Invalid opcode after kernel update

2023-09-17 Thread Fernando Rodriguez
A few months ago after updating my kernel I started getting an invalid 
opcode error during boot on the init process on my initramfs which I did 
rebuilt. Switching to the old kernel and initramfs fixed the problem so 
I kept that kernel for a few months for lack of time.


Today I rebuilt the whole system using `emerge -e @world` and after that 
I'm able to boot the new kernel but now some pre-compiled packages (and 
some that emerge -e missed because the ebuild was masked) crash with 
illegal opcode. In the case of chrome it's not crashing but it only 
renders garbage for webpages.


Does anyone have a clue what is happening? It's like the instruction set 
changed after the kernel update (or was it the microcode?)


Thanks,

--

Fernando Rodriguez


[gentoo-user] installsources not working for some packages

2017-10-18 Thread Fernando Rodriguez

Hello,

I have installsources and splitdebug in FEATURES and it works as it 
should for some packages but for others the sources are not installed. 
The directory for the package is created under /usr/src/debug but it's 
empty. The only hint is the following error on the install phase between 
strip and ecompressdir:


installsources: rsyncing source files
rsync: link_stat 
"/var/tmp/portage/net-wireless/bluez-5.47-r1/work/var/tmp/portage/sys-libs/glibc-2.23-r4/work/glibc-2.23/csu" 
failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1178) [sender=3.1.2]


The debug symbols are installed correctly.
Any clues?

Thanks,
--

Fernando Rodriguez



[gentoo-user] ATI Radeon X1300 Framebuffer not working

2017-05-23 Thread Fernando Rodriguez

Hello,

I got a used PCIe Radeon X1300 (RV516) off ebay for the s-video output 
to use with an old tv that only has component, composite, and s-video 
inputs and I need a working framebuffer. When I power on the PC the 
manufacturer's logo comes on (with black borders on the sides), then 
GRUB2 comes on just fine but I can only get a working VGA text console. 
If I load the radeon drm driver I get a framebuffer console but with 
horizontal green lines at 1024x768 res (s-video's max). If I lower the 
resolution the lines get redder until at 640x480 the whole screen turns 
magenta. I suspect the card is bad but I wanted to get your opinions first.


I tried booting from several live CDs and they all have the same 
problem. I also tried a WinPE CD and that one seems to work fine but I 
suspect is because it uses the boot resolution and never sets it, just 
like the vga console.


I tried to load the vesafb, uvesafb, radeonfb, and the simple 
framebuffer driver but none of them work, I get a black screen or the 
text vga console if I enable it. And the kernel log shows nothing about 
related to it. If I compile them as module the module loads without 
error but I don't get a framebuffer and the log doesn't show anything.

--

Fernando Rodriguez



Re: [gentoo-user] Re: In search of an truecolor-capable terminal emulator

2017-04-28 Thread Fernando Rodriguez

On 04/28/2017 02:59 PM, Ian Zimmerman wrote:

On 2017-04-28 10:10, Fernando Rodriguez wrote:


No. I meant you can't enable them *all* globally, meaning opengl,
gles, egl, etc. It's kind of the same situation as with GUI toolkits,
you can't enable them all globally because some packages support more
than one that you have to choose at compile time.


I think we need to spell out what you mean by this:


if any of them have egl or gles and not opengl then enable it.


by "not having opengl" do you mean that it's not in the package's IUSE
at all, or that it is disabled?


On the sentence prior to the one you quoted I advised the OP to enable 
opengl globally. Therefore, if a package has it then it is already 
enabled. So obviously I meant if it doesn't have it at all.



by "enable *it*" do you mean enable opengl, or enable those other flags?


For the same reason stated above I can only be refering to those other 
flags. Those are the flags that control GL acceleration. If you want 
your system to use your GPU as much as possible then you need to enable 
at least one of them on all the packages that support it. If a package 
has more than one it's between you and portage which one you choose 
because some packages depend on one or the other. So I find it easier to 
enable opengl first and then work through the conflicts to enable the 
others as much as possible.


--

Fernando Rodriguez



Re: [gentoo-user] Re: In search of an truecolor-capable terminal emulator

2017-04-28 Thread Fernando Rodriguez

On 04/26/2017 03:11 PM, Ian Zimmerman wrote:

On 2017-04-26 12:26, Fernando Rodriguez wrote:


My USE_FLAGS (make.conf) are:



USE="nvidia X lua sdl mp3 flac jack alsa gtk cairo sndfile
qt3support kpathsea gif tga jpeg png jpeg2k mad dvb dvdr encode lzo
bzip2 ogg sox v4l v4l2 vorbis x264 x265 zsh-completion -hal -lirc"



I would start by enabling opengl globally. Then look at the dependency
graph for the packages that you want to accelerate (especially the
toolkits and the whole x11 stack) and if any of them have egl or gles
and not opengl then enable it. You can't enable them all on make.conf
because sometimes they conflict.


Is this advice not in contradiction with itself?  Or what do you mean by
"enabling opengl globally" other than setting a USE flag in make.conf?



No. I meant you can't enable them *all* globally, meaning opengl, gles, 
egl, etc. It's kind of the same situation as with GUI toolkits, you 
can't enable them all globally because some packages support more than 
one that you have to choose at compile time.


--

Fernando Rodriguez



Re: [gentoo-user] In search of an truecolor-capable terminal emulator

2017-04-26 Thread Fernando Rodriguez

On 04/26/2017 11:27 AM, tu...@posteo.de wrote:

On 04/26 11:17, Fernando Rodriguez wrote:

On 04/25/2017 10:38 PM, tu...@posteo.de wrote:

On 04/25 07:38, Floyd Anderson wrote:

On Di, 25 Apr 17:47:22 +0200
tu...@posteo.de wrote:

Hi,

currently I am using urxvt as my standard terminal
application, which is FAST and reliable.
But it only emulates 24bit colors if instructed so.
It maps 24bit rgb to 256 color using a fast but not
total correct formula to to do (which is no critism -
its just the way ot is implemented).

I googled qyite a bit to find 24color terminal
emulators and the one, which came closer to
what I want is sakure.
But comparing the speed of sakura with urxvt
(catting a long log file twice while measureing the time
of the second cat) it shows that sakura needs
six times more time than urxvt.

Combining this with the compile sessions, which
are one of the core features of Gentoo ;)))...

What I want is the "fastest" possible (...)
terminal emulator supporting true color (24bit).
I dont need fancy configuring options (two exception:
TABS! and lightweighted) and I dont want KDE stuff (or
any other bloated thing with thousands of dependencies...)
I am simply using openbox.

What are your experiences?

Any hint is heartly welcome! Thanks !

Cheers
Meino

PS: The terminal emulator dont need to be part
of Gentoo necessarily...if it is compilable
by a human being withoyt super powers... ;)


I am using rxvt-unicode also as my main terminal emulator. Its true colour
emulation bothers me also but just only a little bit.

As a second one, xfce4-terminal runs here from time to time (seldom). A
quick time/cat test with a gcc-5.4.0 log file (approximately 25 MiB) shows
surprisingly that xfce4-terminal runs six time faster than rxvt-unicode.
Maybe one reason is that urxvt looks for URLs and email addresses to
colourising them.

Maybe you can get a suggestion from [1].


References:
[1] <https://gist.github.com/XVilka/8346728>

--
Regards,
floyd




Hi Floyd,

thanks for the informations! :)

A few minutes ago I emerged xfce4-terminal and tried the
cat-time-test of yesterday: 29 secondes with xfce-terminal
and 5 seconds with urxvt. H...

You have got the reversed results compared with mine...

What the heck slows down the output of the terminals on my
Gentoo and only let urxvt shine?


Possibly your use flags and/or openbox (if not using a GL compositor). Try
enabling all GL related flags for the terminal emulator and it's
dependencies and use a GL compositor like kwin or compiz. Modern graphics
cards are designed with modern software in mind. Many don't even have a 2D
engine anymore.





Cheers
Meino

PS: I found XVilka before. That's why I asked for some experiences
of other users :)










--

Fernando Rodriguez



Hi Fernando,

thanks for the informations! :)

I am not using compiz or such

Openbox is installed as follows:

[I] x11-wm/openbox
 Available versions:  (3) 3.5.2-r1 (~)3.6 3.6.1 **
   {branding debug imlib nls session startup-notification static-libs svg xdg 
PYTHON_TARGETS="python2_7"}
 Installed versions:  3.6.1(3)(11:01:40 AM 02/18/2017)(nls session -branding -debug 
-imlib -startup-notification -static-libs -svg -xdg PYTHON_TARGETS="python2_7")
 Homepage:http://openbox.org/
 Description: A standards compliant, fast, light-weight, extensible 
window manager

My USE_FLAGS (make.conf) are:
USE="nvidia X lua sdl mp3 flac jack alsa gtk cairo sndfile qt3support kpathsea gif 
tga jpeg png jpeg2k mad dvb dvdr encode lzo bzip2 ogg sox v4l v4l2 vorbis x264 x265 
zsh-completion -hal -lirc"

Wpuld you suggest to change a flag?


I would start by enabling opengl globally. Then look at the dependency 
graph for the packages that you want to accelerate (especially the 
toolkits and the whole x11 stack) and if any of them have egl or gles 
and not opengl then enable it. You can't enable them all on make.conf 
because sometimes they conflict.





Thanks a lot for any help in advance!

Cheers
Meino



--

Fernando Rodriguez



Re: [gentoo-user] In search of an truecolor-capable terminal emulator

2017-04-26 Thread Fernando Rodriguez

On 04/25/2017 10:38 PM, tu...@posteo.de wrote:

On 04/25 07:38, Floyd Anderson wrote:

On Di, 25 Apr 17:47:22 +0200
tu...@posteo.de wrote:

Hi,

currently I am using urxvt as my standard terminal
application, which is FAST and reliable.
But it only emulates 24bit colors if instructed so.
It maps 24bit rgb to 256 color using a fast but not
total correct formula to to do (which is no critism -
its just the way ot is implemented).

I googled qyite a bit to find 24color terminal
emulators and the one, which came closer to
what I want is sakure.
But comparing the speed of sakura with urxvt
(catting a long log file twice while measureing the time
of the second cat) it shows that sakura needs
six times more time than urxvt.

Combining this with the compile sessions, which
are one of the core features of Gentoo ;)))...

What I want is the "fastest" possible (...)
terminal emulator supporting true color (24bit).
I dont need fancy configuring options (two exception:
TABS! and lightweighted) and I dont want KDE stuff (or
any other bloated thing with thousands of dependencies...)
I am simply using openbox.

What are your experiences?

Any hint is heartly welcome! Thanks !

Cheers
Meino

PS: The terminal emulator dont need to be part
of Gentoo necessarily...if it is compilable
by a human being withoyt super powers... ;)


I am using rxvt-unicode also as my main terminal emulator. Its true colour
emulation bothers me also but just only a little bit.

As a second one, xfce4-terminal runs here from time to time (seldom). A
quick time/cat test with a gcc-5.4.0 log file (approximately 25 MiB) shows
surprisingly that xfce4-terminal runs six time faster than rxvt-unicode.
Maybe one reason is that urxvt looks for URLs and email addresses to
colourising them.

Maybe you can get a suggestion from [1].


References:
[1] <https://gist.github.com/XVilka/8346728>

--
Regards,
floyd




Hi Floyd,

thanks for the informations! :)

A few minutes ago I emerged xfce4-terminal and tried the
cat-time-test of yesterday: 29 secondes with xfce-terminal
and 5 seconds with urxvt. H...

You have got the reversed results compared with mine...

What the heck slows down the output of the terminals on my
Gentoo and only let urxvt shine?


Possibly your use flags and/or openbox (if not using a GL compositor). 
Try enabling all GL related flags for the terminal emulator and it's 
dependencies and use a GL compositor like kwin or compiz. Modern 
graphics cards are designed with modern software in mind. Many don't 
even have a 2D engine anymore.






Cheers
Meino

PS: I found XVilka before. That's why I asked for some experiences
of other users :)










--

Fernando Rodriguez



Re: [gentoo-user] nxclient: cannot execute binary file: Exec format error

2017-04-10 Thread Fernando Rodriguez
deps=y"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned 
sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch 
userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.mirrors.hoobly.com/ 
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
http://gentoo.mirrors.easynews.com/linux/gentoo/;
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats --human-readable 
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages 
--exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acpi alsa apache2 bluetooth branding bzip2 cairo cdda cdr cgi cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg 
opengl openmp pam pango pcre pdf png policykit ppds qt3support readline scanner sdl seccomp session spell ssl startup-notification svg tcpd tiff truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 x86 xattr xcb xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias 
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic 
negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" 
L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" 
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="fujitsu" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset 
ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, 
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

I have nxclient in:
/usr/local/portage/net-misc/nxclient

I think because it is a binary, it installed without a question.

--
Thelma



IIRC last time you had an issue with this ebuild it was no longer in the 
mirrors so you found a 64-bit package and changed the SRC_URI for both 
x86 and amd64. You need to find a 32-bit version and change the SRC_URI 
for x86 only.


--

Fernando Rodriguez


Re: [gentoo-user] gpg: selftest for CTR failed - see syslog for details

2017-04-06 Thread Fernando Rodriguez

On 04/06/2017 11:10 AM, Fernando Rodriguez wrote:

On 04/05/2017 10:22 PM, Miroslav Rovis wrote:

On 170405-18:01-0400, Fernando Rodriguez wrote:

Hello,

After a recent update I'm getting this error whenever I try to encrypt
or decrypt using gnupg. Here's error:


gpg: selftest for CTR failed - see syslog for details
gpg: O j: ... this is a bug (seskey.c:61:make_session_key)
Aborted


And the syslog:


gpg[8945]: Libgcrypt warning: AES-CTR-128 test failed (plaintext
mismatch)




It started after a recent update that included gnupg and libgcrypt. The
versions before the update where libgcrypt-1.7.3 and gnupg-2.1.15. After
the update 1.7.6 and 2.1.18 respectively. I tried downgrading both
packages but it didn't help.

I tried to delete the whole ~/.gnupg directory and re-import the keys
but it fails with the same error.

I have another keyring on the same machine that I use with the --homedir
option and I have not problems with it.

When I try to generate a new key I get the following error:


Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: agent_genkey failed: Missing key
Key generation failed: Missing key




Any ideas?


I tried some decryption. No issues here:

$ gpg --version
gpg (GnuPG) 2.1.20
libgcrypt 1.7.6
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/miro/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
$

It could be something else, or your Gnupg installation is somehow
broken...


I took the entire .gnupg from the same machine I exported the key from
and copied it over to this machine. Now I can at least sign messages but
encryption/decryption still fails with the same error.


And that could mean that it's been broken for a while because I rarely 
use this key for encrypting/decrypting. I use it for signing and 
verifying signatures mostly. Just before I deleted the old keyring I was 
getting an error when signing a commit. So perhaps the problem existed 
before the update and just surfaced when I deleted the old keyring.



--

Fernando Rodriguez



Re: [gentoo-user] gpg: selftest for CTR failed - see syslog for details

2017-04-06 Thread Fernando Rodriguez

On 04/05/2017 10:22 PM, Miroslav Rovis wrote:

On 170405-18:01-0400, Fernando Rodriguez wrote:

Hello,

After a recent update I'm getting this error whenever I try to encrypt
or decrypt using gnupg. Here's error:


gpg: selftest for CTR failed - see syslog for details
gpg: O j: ... this is a bug (seskey.c:61:make_session_key)
Aborted


And the syslog:


gpg[8945]: Libgcrypt warning: AES-CTR-128 test failed (plaintext mismatch)




It started after a recent update that included gnupg and libgcrypt. The
versions before the update where libgcrypt-1.7.3 and gnupg-2.1.15. After
the update 1.7.6 and 2.1.18 respectively. I tried downgrading both
packages but it didn't help.

I tried to delete the whole ~/.gnupg directory and re-import the keys
but it fails with the same error.

I have another keyring on the same machine that I use with the --homedir
option and I have not problems with it.

When I try to generate a new key I get the following error:


Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: agent_genkey failed: Missing key
Key generation failed: Missing key




Any ideas?


I tried some decryption. No issues here:

$ gpg --version
gpg (GnuPG) 2.1.20
libgcrypt 1.7.6
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/miro/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
$

It could be something else, or your Gnupg installation is somehow
broken...


I took the entire .gnupg from the same machine I exported the key from 
and copied it over to this machine. Now I can at least sign messages but 
encryption/decryption still fails with the same error.



--

Fernando Rodriguez



[gentoo-user] gpg: selftest for CTR failed - see syslog for details

2017-04-05 Thread Fernando Rodriguez

Hello,

After a recent update I'm getting this error whenever I try to encrypt 
or decrypt using gnupg. Here's error:



gpg: selftest for CTR failed - see syslog for details
gpg: O j: ... this is a bug (seskey.c:61:make_session_key)
Aborted


And the syslog:


gpg[8945]: Libgcrypt warning: AES-CTR-128 test failed (plaintext mismatch)




It started after a recent update that included gnupg and libgcrypt. The 
versions before the update where libgcrypt-1.7.3 and gnupg-2.1.15. After 
the update 1.7.6 and 2.1.18 respectively. I tried downgrading both 
packages but it didn't help.


I tried to delete the whole ~/.gnupg directory and re-import the keys 
but it fails with the same error.


I have another keyring on the same machine that I use with the --homedir 
option and I have not problems with it.


When I try to generate a new key I get the following error:


Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: agent_genkey failed: Missing key
Key generation failed: Missing key




Any ideas?


--

Fernando Rodriguez



Re: [gentoo-user] Strange hickups while trying to compile a kernel in a chroot

2017-02-25 Thread Fernando Rodriguez
On 02/25/2017 07:23 AM, meino.cra...@gmx.de wrote:
> hi,
> 
> I am trying to build a linux kernel (vanilla from ftp.kernel.org)
> in my chrooted new root.
> 
> make modules install
> 
> failed
> 
> with:
> 
>   CHK include/config/kernel.release
>   CHK include/generated/uapi/linux/version.h
>   CHK include/generated/utsrelease.h
>   CHK include/generated/bounds.h
>   CHK include/generated/timeconst.h
>   CHK include/generated/asm-offsets.h
>   CALLscripts/checksyscalls.sh
>   CHK include/generated/compile.h
>   ./scripts/gen_initramfs_list.sh: Cannot open '/usr/share/v86d/initramfs'
> make[1]: *** [usr/Makefile:73: usr/initramfs_data.cpio.gz] Error 1
> make: *** [Makefile:988: usr] Error 2
> 
> 
> make bImage fails with
> 
> (chroot) make bzImage
>   CHK include/config/kernel.release
>   CHK include/generated/uapi/linux/version.h
>   CHK include/generated/utsrelease.h
>   CHK include/generated/bounds.h
>   CHK include/generated/timeconst.h
>   CHK include/generated/asm-offsets.h
>   CALLscripts/checksyscalls.sh
>   CHK include/generated/compile.h
>   ./scripts/gen_initramfs_list.sh: Cannot open '/usr/share/v86d/initramfs'
> make[1]: *** [usr/Makefile:73: usr/initramfs_data.cpio.gz] Error 1
> make: *** [Makefile:988: usr] Error 2
> 
> 
> I look for the magic v83d and found (being at my old root)
> 
> [I] sys-apps/v86d
>  Available versions:  0.1.10 {debug x86emu}
>  Installed versions:  0.1.10(02:34:27 02/28/11)(x86emu -debug)
>  Homepage:https://dev.gentoo.org/~spock/projects/uvesafb/
>  Description: A daemon to run x86 code in an emulated environment
> 
> Is this "quite normal" or does the make process of the kernel make
> false conclusion while being chrooted?
> 
> Do I really need initram? ... For years I though my grub had
> booted the kernel which runs my linux directlu...
> 
> My commandline to build the kernel at my old root was:
> 
>  kernel=/boot/vmlinuz-4091200-64-RT && make -j7 all && make -j7 
> modules_install && /bin/cp -f ./arch/x86_64/boot/bzImage* $kernel; emerge 
> nvidia-drivers ;emerge app-emulation/virtualbox-modules ;grub-mkconfig -o 
> /boot/grub/grub.cfg
> 
> whjch had.
> 
> v86d is not installed yet and of course I will install it if needed.
> But I want to get shure, that the chrooted environment has not
> confused the kernel build process...
> 
> Thanks for any help in advance!
> Cheers
> Meino

Check the CONFIG_INITRAMFS_SOURCE option.

How did you configure the kernel? Did you used the .config file from
your root system or perhaps ran make oldconfig (I think it tries to use
/proc/config.gz if it can't find it in /boot)?



-- 

Fernando Rodriguez



Re: [gentoo-user] How to keep my system from (nearly) freezing?

2017-02-20 Thread Fernando Rodriguez
On 02/19/2017 07:53 AM, Helmut Jarausch wrote:
> Hi,
> 
> sometime I have some memory hungry ebuilds in the background, when I
> start (e.g.) Chromium which needs very much memory if you have a lot of
> open tabs.
> 
> In that case my system nearly freezes. I cannot even kill chrome.
> What can I do in that case. (Remote login doesn't work either)
> 
> Can I have any additional program (like Chromium) die if there is not
> enough memory.

Yes, just disable swap as that is what happens when you run out of swap.
You can configure the likelihood of a process being killed through
/proc//oom_adj. If you disable it for all processes after boot (ie.
through a script) then only the "additional" programs can be killed but
that may any program that's using a lot of memory so it may not be a
good idea for a desktop. See
http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-1911807.html

> Many thanks for a hint,
> Helmut
> 


-- 

Fernando Rodriguez



Re: [gentoo-user] Access device on 192.168.1.1 network

2017-02-17 Thread Fernando Rodriguez
On 02/12/2017 12:59 PM, the...@sys-concept.com wrote:
> On 02/12/2017 04:26 AM, Adam Carter wrote:
>> On Sun, Feb 12, 2017 at 7:07 PM, <the...@sys-concept.com
>> <mailto:the...@sys-concept.com>> wrote:
>>
>> On 02/12/2017 01:01 AM, the...@sys-concept.com
>> <mailto:the...@sys-concept.com> wrote:
>> > My local network is 10.0.0.1 -
>> >
>> > I have an external device that is pre-set from factory to 
>> 192.168.1.100 and I need to access to it via browser to change its network 
>> setting.
>> > So I do:
>> > ifconfig net0:1 192.168.1.1 up
>> >
>> > nmap -sn 192.168.1.1/24 <http://192.168.1.1/24>
>> >
>> > Starting Nmap 6.47 ( http://nmap.org ) at 2017-02-12 00:54 MST
>> > Nmap scan report for 192.168.1.100
>> > Host is up (0.00015s latency).
>> > MAC Address: 00:09:45:41:73:D1 (Palmmicro Communications)
>> > Nmap scan report for 192.168.1.1
>> > Host is up.
>> > Nmap done: 256 IP addresses (2 hosts up) scanned in 3.78 seconds
>> >
>> > The device is showing up but I can not ping it, 100% packet loss.
>>
>> ifconfig is showing:
>>
>> net0:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>> inet 192.168.1.1  netmask 255.255.255.0  broadcast 192.168.1.255
>> ether 00:1b:21:b8:27:b6  txqueuelen 1000  (Ethernet)
>> device interrupt 16  memory 0xfddc-fdde
>>
>>
>> Are both 192.168.1 devices on the same layer 2 segment (if not it wont
>> work).
>>
>> arp -a will show if the IP address was resolvable to a MAC address, If
>> it says  you have a layer two problem.
> 
> Thank you all for your input.
> 
> The device is a tiny PA168V phone gateway. I was able to connect to via
> browser interface but it had a password set in (which I don't have it
> anymore). So I decided to reset to factory default and its factory
> default IP is 192.168.1.100
> 
> The device has a WAN and LAN line.
> 
> When I reset it according to their instructions I on line line get and
> IP as 192.168.1.100
> but there are no ports open.
> 
> nmap -A -T4 -Pn -vvv 192.168.1.100
> 
> Starting Nmap 6.47 ( http://nmap.org ) at 2017-02-12 10:46 MST
> NSE: Loaded 118 scripts for scanning.
> NSE: Script Pre-scanning.
> NSE: Starting runlevel 1 (of 2) scan.
> NSE: Starting runlevel 2 (of 2) scan.
> Initiating ARP Ping Scan at 10:46
> Scanning 192.168.1.100 [1 port]
> Completed ARP Ping Scan at 10:46, 0.21s elapsed (1 total hosts)
> Initiating Parallel DNS resolution of 1 host. at 10:46
> Completed Parallel DNS resolution of 1 host. at 10:46, 0.00s elapsed
> DNS resolution of 1 IPs took 0.00s. Mode: Async [#: 1, OK: 0, NX: 1, DR:
> 0, SF: 0, TR: 1, CN: 0]
> Initiating SYN Stealth Scan at 10:46
> Scanning 192.168.1.100 [1000 ports]
> Completed SYN Stealth Scan at 10:47, 21.07s elapsed (1000 total ports)
> Initiating Service scan at 10:47
> Initiating OS detection (try #1) against 192.168.1.100
> Retrying OS detection (try #2) against 192.168.1.100
> NSE: Script scanning 192.168.1.100.
> NSE: Starting runlevel 1 (of 2) scan.
> Initiating NSE at 10:47
> Completed NSE at 10:47, 0.00s elapsed
> NSE: Starting runlevel 2 (of 2) scan.
> Nmap scan report for 192.168.1.100
> Host is up (0.00012s latency).
> All 1000 scanned ports on 192.168.1.100 are filtered
> MAC Address: 00:09:45:41:73:D1 (Palmmicro Communications)
> Too many fingerprints match this host to give specific OS details
> TCP/IP fingerprint:
> SCAN(V=6.47%E=4%D=2/12%OT=%CT=%CU=%PV=Y%DS=1%DC=D%G=N%M=000945%TM=58A09F9F%P=x86_64-pc-linux-gnu)
> U1(R=N)
> IE(R=N)
> 
> Network Distance: 1 hop
> 
> TRACEROUTE
> HOP RTT ADDRESS
> 1 0.12 ms 192.168.1.100
> 
> NSE: Script Post-scanning.
> NSE: Starting runlevel 1 (of 2) scan.
> NSE: Starting runlevel 2 (of 2) scan.
> Read data files from: /usr/bin/../share/nmap
> OS and Service detection performed. Please report any incorrect results
> at http://nmap.org/submit/ .
> Nmap done: 1 IP address (1 host up) scanned in 24.38 seconds
> 
> ---
> arp -a
> 
> ? (192.168.0.100) at  on net0
> DD-WRT (10.0.0.1) at 90:e6:ba:2e:ec:5c [ether] on net0
> ? (192.168.1.100) at 00:09:45:41:73:d1 [ether] on net0
> ? (192.168.1.1) at  on net0
> ? (10.0.0.135) at 38:d5:47:7e:61:52 [ether] on net0
> VOIP_TA1S1O (10.0.0.131) at 00:09:45:41:73:d1 [ether] on net0
> SipuraSPA (10.0.0.118) at 00:0e:08:ca:17:b3 [ether] on net0
> -
> 
> When I boot and try WAN port the device gets two local IP from DHCP, and
> I see two ports open on IP: 10.0.0.131 (WAN)
> 
> 23/tcp open  telnet?
> 80/tcp open  http
> 
> But I need to ask the manufacture what is the password, the default
> suppose be be: 1234
> Maybe I didn't reset it completely

Try 12345678 and read the manual [1] (I think this is it).
Try the phone keypad configuration method to set the ip.

[1]
http://www.palmmicro.com/pa1688/download/us_pdf/PA168VSIPFXSGWUserguideEng.pdf

> 
> --
> Thelma
> 


-- 

Fernando Rodriguez



Re: [gentoo-user] a couple of preserved-rebuild problems -- how to fix

2017-02-07 Thread Fernando Rodriguez
On 01/29/2017 09:51 PM, John Covici wrote:
> On Sun, 29 Jan 2017 19:42:04 -0500,
> Neil Bothwick wrote:
>>
>> [1  ]
>> On Sun, 29 Jan 2017 19:32:24 -0500, John Covici wrote:
>>
>>>> Is this the bell you are looking for?
>>>> https://bugs.gentoo.org/show_bug.cgi?id=574788
>>>>
>>>> The ffmpeg 3.x upgrade has caused more than its fair share of issues.
>>>>   
>>>
>>> OK, so how does this bug help in fixing my problems with
>>> gst-plugins-ffmpeg?  I don't see plugins mentioned anywhere.
>>
>> You'll need to look at the bug reports that block this one, which is a
>> tracker. I ended up uninstalling a few packages, some probably
>> unnecessarily, before I could get ffmpeg updated. However, all seems well
>> now.
> 
> ffmpeg is updated, no problems there, just the plugin is messed up,
> but I will check the other bugs and see if there is any advice there.
> 

I fixed it by downgrading to ffmpeg 2.x and I had to disable ffmpeg
support or uninstall a couple of unstable packages. But I'm running a
mostly stable system.

-- 

Fernando Rodriguez



Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Fernando Rodriguez
On Fri, Feb 03, 2017 at 05:38:59PM -0800, Daniel Frey wrote:
> On 02/03/2017 05:34 PM, the...@sys-concept.com wrote:
> > I have an old version of asterisk-1.8.28.2 (it is no longer in portage).
> > I want to keep this version, temporarily (till I have a chance to test a
> > new one 11.25.1-ver.
> > 
> > I've removed (commented out) "net-misc/asterisk" from world file.
> > But "emerge -a @preserved-rebuild" still wants to pull:
> > 
> > net-misc/asterisk-11.25.1
> > 
> > How do I prevent it?
> > 
> 
> I don't think you can. It's telling you something that asterisk is
> depending on has been upgraded and asterisk needs to be rebuilt in order
> to work again. asterisk itself is in an inconsistent state and will most
> likely not work at all.

No, it is telling you that a library that asterisk depends on was
updated and portage preserved the old version to try to keep asterisk
working until you rebuild it. It's possible that it's broken (if some
files that the old library depends on where removed or changed) but
that's unlikely.

> 
> Dan
> 



Re: [gentoo-user] net-misc/asterisk-1.8.28.2

2017-02-04 Thread Fernando Rodriguez
On Sat, Feb 04, 2017 at 07:12:01AM +0100, Floyd Anderson wrote:
> On Fri, 03 Feb 18:34:22 -0700
> the...@sys-concept.com wrote:
> >I have an old version of asterisk-1.8.28.2 (it is no longer in portage).
> >I want to keep this version, temporarily (till I have a chance to test a
> >new one 11.25.1-ver.
> 
> If you have the asterisk-ebuild (and all related files) still available, 
> you could try to migrate it to a local overlay [1][2]. Otherwise, tell 
> Portage you are handle this package yourself by adding it to:
> /etc/portage/profile/package.provided
> 
> This file can be used to hold a specific version — even the package is 
> no longer in tree. But notice, this isn’t the whole truth as mentioned 
> in [3]. Portage will not update listed packages unless another package 
> requires a newer version of it.

I don't think package.provided will help in this case. He needs to
rebuild the package to get rid of the old library so he needs the old
ebuild and mask newer versions.

But linking against a new library version can also cause problems so he
might as well update it. If you *must* keep this build try adding
--exclude='net-misc/asterisk' to the emerge @preserved-rebuild command
and the old libraries used by asterisk will be preserved until you get a
chance to update it but all other packages will use the new versions.

> 
> Give it a try and invoke:
> emerge --pretend --verbose net-misc/asterisk
> to ensure if it’ll work as expected.
> 
> References:
>   [1] 
> 
>   [2] 
>   [3] 
> 
> -- 
> Best regards,
> Floyd Anderson
> 
> 
> 



Re: [gentoo-user] KDE5: no desktop

2017-01-08 Thread Fernando Rodriguez
On 01/08/2017 07:00 AM, Robin Atwood wrote:
> On Sunday 08 January 2017, Peter Humphrey wrote:
> 
>> On Saturday, 7 January 2017 22:03:53 GMT Robin Atwood wrote:
> 
>>> I finally grasped the nettle and did the Plasma 5 upgrade. The
>>> first
> 
>>> machine went OK eventually (apart from the week spent
>>> resolving
> 
>>> blockers), so I thought the second would be much smoother. And
>>> so it
> was,
> 
>>> until I logged on. I got the splash screen, a bouncing ball as
>>> something
> 
>>> started and then a black screen relieved only by a cursor and
>>> a
> couple of
> 
>>> apps in the autostart list. kwin-x11, plasmashell, ksmserver
>>> are all
> 
>>> running, it seems like something got omitted in the install.
>>> Does anyone
> 
>>> know which binary starts the window manager and taskbar, etc? I
>>> did the
> 
>>> usual things like create a new user, rename .kde4, to no
>>> avail.
> 
>> 
> 
>> While you were sorting out the blockers, did you make USE
>> changes? The
> 
>> problem may lie there somewhere. What does 'emerge -pe world'
>> give
> you? Any
> 
>> errors?
> 
>> 
> 
>> Although I'm still wrestling with KMail, I had no trouble with
>> KDE itself.
> 
>> Well, apart from being unable to right-click on the desktop to
>> change the
> 
>> behaviour of the mouse wheel, which infuriates me when the
>> pointer strays
> 
>> outside the window I'm concentrating on. But I gave up trying to
>> sort out
> 
>> the blockers you mention and built a new system; it may still be
>> worth you
> 
>> considering that.
> 
> 
> 
> I only removed the qt4 flag. Emerge -pw world just wants to replace
> a lot of packages - no errors.
> 

Try to login as a new user (or move your home directory out of the
way). If it works start selectively deleting dot files/directories
from your home directory. Start with .cache, .kde4 and everything that
starts with a k in .config and .local and go from there. I had the
exact same problem when I upgraded one of my laptops and that's how I
fixed it. Also delete anything in /var/cache and any files belonging
to your uses in /tmp and /run.

You can also try switching to a VT and kill plasmashell and if it
doesn't restart automatically start it with the DISPLAY environment
variable properly set.

Also look at the system logs, .xsession-errors, xorg logs, etc for
clues. You can also run kdebugdialog5 from another DE to enable a lot
of kde debug output to the system logs.

> 
> 
> Thanks
> 
> Robin
> 
> --
> 
> --
>
>  Robin Atwood.
> 
> 
> 
> "Ship me somewheres east of Suez, where the best is like the
> worst,
> 
> Where there ain't no Ten Commandments an' a man can raise a
> thirst"
> 
> from "Mandalay" by Rudyard Kipling
> 
> --
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- This message has been scanned for viruses and dangerous content
> by *MailScanner* <http://www.mailscanner.info/>, and is believed to
> be clean.


-- 

Fernando Rodriguez



Re: [gentoo-user] where are KDE 5 menu item commands stored ?

2016-12-24 Thread Fernando Rodriguez
On 12/21/2016 11:27 PM, Philip Webb wrote:
> I just updated Tatham's puzzles & all my individual settings in the
> KDE menu were overwritten.
> 
> I'ld like to back them up to save labor the next time, but I can't
> find where they're stored. In  ~/.config/menus/  there's a file
> applications-kmenuedit.menu , whose content corresponds to the
> layout of my restored menu, but for each puzzle there's merely a
> filename, eg 'sgt-puzzles_galaxies-sgt-puzzles.desktop', whereas in
> the menu I've specified the command as 'sgt-puzzles_galaxies
> 15x15dn', which must be stored somewhere, as it opens correctly
> when clicked.
> 
> Can any KDE user advise ?
> 

I *think* it's ~/.local/share/applications.
Or just run: find ~ -name 'sgt-puzzles_galaxies-sgt-puzzles.desktop'


-- 

Fernando Rodriguez



Re: [gentoo-user] kernel 4.8.11 nvidia trouble

2016-12-10 Thread Fernando Rodriguez
On Fri, Dec 02, 2016 at 01:00:58PM +0100, massi ppp wrote:
> hello
> 
> i' m try to install nvidia-drivers latest on gentoo 4.8.11 gcc compiler 5.4.
> 
> i've compiled kernell with genkernell, the driver has compiled, but not
> work because kernel conflict, i recompiled the same kernel following the
> istruction on handbook, but when i try to emerge nvidia driver portage fail
> to compile.

Then post the error that you're getting and the output  of the
pre-emerge checks.

If you build your kernel with genkernel it *should* work. You probably
just had to blacklist the free drivers to resolve the "kernel conflict".
So maybe start over with a fresh genkernel and try that.

> 
> i try also to find the problem to add or remove graphics and firmware
> correlated features by menuconfig, and recompliling kernel.
> 
> the result is:
> the module nvidia.ko missing some value:
> 
> lib/modules/4.8.11-gentoo/video.ko needs unknown symbol:

That's expected if you didn't recompile the drivers. It means that one of
the features you disabled was used by the driver module. Also make sure
you remove the /lib/modules/4.8.11-gentoo directory before reinstalling
your kernel modules as it looks like video.ko is not supposed to be
there. Maybe you disabled that feature but the modules is still there
from your previous build.

-- 
Fernando Rodriguez



[gentoo-user] VirtualBox bridged networking and wifi problems

2016-12-09 Thread Fernando Rodriguez
Hello,

Until a few months ago I had VirtualBox bridged networking working fine
on my netbook with no ethernet port. When I would start a VM it
automatically created a virtual wired connection. I never payed
attention to the details but the NetworkManager would switch to the
"wired" icon and a connection called "Wired Connection 1" or something
of that sort was activated.

Then a few months ago it stopped working. Everything seems fine but the
guests (same for Linux, Windows, and Solaris guests) just can't get an
address from DHCP. Now I'm setting up a new laptop and I'm having the
exact same problem except this one also has an ethernet port and it
works just fine. I tried all the promiscuous mode and adapter type
settings, nothing works.

-- 

Fernando Rodriguez



Re: [gentoo-user] Virtualbox documentation

2016-12-09 Thread Fernando Rodriguez
On 12/09/2016 03:50 AM, Neil Bothwick wrote:
> On Fri, 09 Dec 2016 06:12:03 +, J. Roeleveld wrote:
> 
>>> VirtualBox is a Qt app and *requires* Qt to get a GUI. There is no
>>> option for GTK
>>>
>>> USE="qt4"
>>> or in more recent versions ebuilds (or ~arch)
>>> USE="qt5"
>>> as appropriate  
>>
>> USE="-qt4" means qt5 I think.
> 
> The ebuild for VB4 builds it headless with -qt4. There is no choice of
> qt4 or qt5, it's qt or headless, only the version of qt used varies
> between VB releases.

Yep. And it's a bit confusing cause you have the headless use flag that
really does nothing. Just yesterday I had to rebuild it twice in a row
because I got tricked by that. And to top it off it's been a while since
I've been able to build VirtualBox with anything other thann -j1.

Bertram, if you're still having the host crashes one possible cause is a
dirty /lib/modules/ directory. I just had the same
problem. I was setting up a new laptop so I was fiddling with the kernel
config and I switched something to built-in from module but  the module
from the previous kernel build was still there. So remove that directory
and run 'make modules_install' again.


-- 

Fernando Rodriguez



Re: [gentoo-user] Boot freeze/kthreadd stack trace - AMD_PMU_INIT

2016-11-28 Thread Fernando Rodriguez
On 11/21/2016 01:15 AM, taii...@gmx.com wrote:
> Specs:
> blob free coreboot on a kgpe-d16 (amd opteron)
> 
> 
> Happens with both the livecd/usb and a kernel I compiled on another
> machine (however with that one I simply get a black screen and a bootloop)

Look at CONFIG_PANIC_TIMEOUT. If it's set to anything other than 0 your
kernel will reboot itself on panic after the timeout. It's probably
panicing when initialing the video drivers since you get a blank screen
so you'll probably want to boot with a vga fb driver (blacklist or
delete all other video modules) and post the backtrace if it still panics.


> Other distros kernels work fine, it is just gentoo.

Then I suggest you try grabbing the kernel's config file from another
distro and use that as a starting point to configure your kernel

> The livecd and compiled kernel work fine on all my other computers/VMM's.
> 
> Upon loading I get to amd performance counters, it freezes and 5-10 secs
> later I receive stack trace for kthreadd "hung" (amd_pmu_init - seems to
> be the primary reason) I never get to a login prompt.
> 
> It isn't microcode related as I removed the microcode packages from the
> other distros I tried.
> 
> Any ideas? Is there any additional info that would be helpful? How can I
> dump the boot text?

It's gonna be trial and error. Keep disabling features and try a
different kernel version (the one that worked with other distros) until
you pinpoint the problem. The only hints you got are the panic backtrces
and boot output. Then file a bug.

As for dumping the boot output if you can't get to userland I think the
only way is with a serial or net console. Also look at
CONFIG_BOOT_PRINTK_DELAY, it can setup a delay before every printk
message so you at least get time to read it.

-- 

Fernando Rodriguez



Re: [gentoo-user] split-elog setting

2016-11-19 Thread Fernando Rodriguez
On Sat, Nov 19, 2016 at 01:48:14AM -0500, Harry Putnam wrote:
> On gentoo `Portage log wiki' pages one is told:
> 
>  "In order to create per-category elog files, enable the split-elog
>  Portage feature."
> 
> (If you want to create `category-based' subdir.)
> 
> It never gets around to explaining how split-elog is enabled.
> 
> There is no example in /usr/share/portage/config/make.conf.example
> 
> Can anyone post an example of how and where this is done?
> 
> 

Add it to the FEATURES variable on /etc/portage/make.conf.
See the make.conf(5) man page for more info.

-- 
Fernando Rodriguez



Re: [gentoo-user] plain copy of root disk won't work

2016-11-18 Thread Fernando Rodriguez
On Fri, Nov 18, 2016 at 04:30:28PM +0100, Raffaele BELARDI wrote:
> I want to move the main disk contents (hda, PATA) to another, larger 
> disk (sda, SATA).
> 
> hda contains 4 ext3 partitions (root, home, data, swap).
> I created 4 ext3 partitions on sda and copied the data over from the 
> corresponding hda partitions using 'cp -ax'.
> Then I chroot into sda1, 'grub-install /dev/sda', grub-mkconfig and edit 
> fstab to use sda instead of hda.
> Reboot, from the non-UEFI bios change the disk boot order and try to 
> boot from sda.

Do you have a reference to your root partition on /etc/default/grub that
you forgot to update before running grub-mkconfig?


> grub from the sda starts, loads the kernel from sda1, the kernel finds 
> the root file system and mounts it RO but then the process stops at the 
> end of the kernel boot. No kernel panic, just hangs there with the last 
> kernel message before openrc. Openrc is not started.
> 
> What might I be missing?
> 
> thanks,
> 
> raffaele

-- 
Fernando Rodriguez



Re: [gentoo-user] Is there a PowerShell package?

2016-11-14 Thread Fernando Rodriguez
On 11/14/2016 05:06 AM, Bertram Scharpf wrote:
> On Monday, 14. Nov 2016, 09:21:25 +, Neil Bothwick wrote:
>> On Mon, 14 Nov 2016 09:31:52 +0100, Bertram Scharpf wrote:
>>
>>>> You can download the source from
>>>> https://github.com/PowerShell/PowerShell/releases and compile it
>>>> yourself.  
>>>
>>> The build suite is something completely different than the
>>> standard configure-make procedure. It's first step says:
>>> "Gentoo is not supported!" They only support CentOS and
>>> Ubuntu.
>>
>> Not supported is not the same as doesn't work. It just means you're more
>> or less on your own.
> 
> That's what I meant. I'm just fed up with reading loads of
> docs about a very non-standard build process.
> 
> Bertram

That's the standard build system for .NET projects. You'll probably
need Microsoft's .NET implementation [1] to get it working. I have
ebuilds for an early version [2] but back then you couldn't even build
the corefx (.NET's standard library) on Linux so it's not much use. I
will update them when I get time.

[1] https://github.com/dotnet
[2]
https://github.com/fernando-rodriguez/portage-overlay/tree/master/dev-dotnet/coreclr

-- 

Fernando Rodriguez



Re: [gentoo-user] Dynamic IP address services.

2016-11-06 Thread Fernando Rodriguez
On 11/07/2016 01:17 AM, Stroller wrote:
> Can anyone recommend a free dynamic IP address service.
> 
> I've used DynDNS in the past, but I think they discontinued their free 
> accounts.
> 
> I've been using DTdns.com until recently, but have somehow managed to lock 
> myself out of my account, so will need to create a new one and thought I'd 
> check here for recommendations first.
> 
> All I need to do at the moment is access a single host behind a home router, 
> although it would be nice if there was a free service with room for 2 or 3 
> hosts in case I need to add more.
> 
> Thanks in advance for any suggestions,
> 
> Stroller.
> 
> 

I like duckdns.org. You don't need to constantly renew it and you don't
need a client. You'll get a url that you can call from a cron job to
update it.

-- 

Fernando Rodriguez



Re: [gentoo-user] A List of Module Descriptions

2016-10-31 Thread Fernando Rodriguez
On 10/31/2016 04:07 PM, Hunter Jozwiak wrote:
> Hi,
> 
>  
> 
> In my quest to install Gentoo and get it chugging along, I am wondering
> if there is a database that explains what a particular kernel module
> does so that I don’t break something that doesn’t need to be changed or
> enable something that I ought not to have enabled.
> 

Select the module option in the "make menuconfig" UI and press the ? key.

> 
> Hunter
> 
> 
> 
> 
> Avast logo
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
>   
> 
> This email has been checked for viruses by Avast antivirus software.
> www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=emailclient>
> 
> 
> 


-- 

Fernando Rodriguez



Re: [gentoo-user] Ctrl+Shift+s not working on Dell Latitude E6410?

2016-10-29 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/29/2016 10:57 AM, Michael J. Barillier wrote:
> I recently acquired a refurb Dell Latitude E6410 laptop and put Gentoo
> on it.  One odd thing has me stumped: I use Ctrl+Shift+s as a hotkey in
> Sawfish (no desktop manager, just Sawfish running under X exec'ed out of
> .xinitrc) and X isn't seeing the key sequence.  I ran xev and can see
> the correct events for e.g. Ctrl+Shift+x, but see the Ctrl and Shift up
> and down events, but no s up/down.  Anyone have an idea where along the
> key code processing chain something might be grabbing that event?
> 

My guess is that your keyboard is crap. Easy way to find out is to plug in
a usb keyboard and see if it works. I have a similar problem with an acer
netbook.

Also check if there's a firmware update for your laptop. I remember when
I was researching it that they released a firmware update that fixed the
problem for another model that had the same problem (because the other
model was advertised as a gaming laptop).

- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJYFMBBAAoJEPbOFX/5UlwcSTYP/i75gNYULIS/ikHY3LFdHArM
+pjhWLrC1oH+OeaknLNdVa6uJ9vnyXAo+iq/JEQqoiKj3pW2hSL+H0XN2KrW3qqN
TisJTl5a98UnRXR4lugiQYU7otxLnnoV1EjxbcBBfGMMBKSUCRn/PVOUk0CadhcU
rFkkTTsT6DVx8GJUS7j7Z5NavMK6Kh2QoPeNvijiN4HmkdmsUkjMvWSuda5BhDDR
2hVFBn/3EiPafYuCoDE7oo8lY/ot1ClaVQioRZQWqbwQsmO9ErZSm4ZE6uCrOacK
7Vf+RkFlOlkk33W2mJQK3rGRRfl40Fd47aFd1NxbrZaEtPo9dIrIa8KfcDkLQ4+C
352eAj6PaZev98sQnDFSBXaQXEZ6+OZyJL8VQRvSG6q2ScjuOYZLQnUTxcjHc8jM
/lRrWgudP2tcpdUyFzAwjmK0L1NQid/gKMO5fy9p62uXGDQMO7Wh0GRN8qcmsDSM
IbghgvQg+d0zmUgrJ96EVfBpV3aNpJe08f1hQDXGgi5Ps3QEnDww40x0SBSOncPJ
dCIrnHhm2g1LEp4jlr5PLJPedlksMWzqO/W3S19+myAZwM7M969Qw4v09/0Ey3DY
r7ycXcynpGv/VtzFSd9tjHANZQK9cpnnyR3Dy2uKOLI+VjHLyVxB5QR0HnpLKB8Z
t7luh+O8KziykhfLm7HZ
=xy1T
-END PGP SIGNATURE-



Re: [gentoo-user] Upgrade of gdb this morning failed to compile

2016-10-29 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/28/2016 11:03 PM, meino.cra...@gmx.de wrote:
> 
> Hi,
> 
> the daily update I usually do failed while compiling gdb:
> 
> Before I post every bit/log of the compilation process...
> 
> Here are the last lines. Is there already known, how to fix that?
> 
> 
> libdecnumber.a-ldl -ldl -ltermcap -lncurses -lm -ldl -lpthread 
> -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic 
> ../libiberty/libiberty.a  build-gnulib/import/libgnu.a -ldl 
> -Wl,--dynamic-list=./proc-service.list 
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>
>
> 
warning: libncurses.so.5, needed by /lib64/libreadline.so.6, may
> conflict with libncurses.so.6 
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>
>
> 
tui-io.o: undefined reference to symbol 'resetty' 
> /lib64/libtinfo.so.6: error adding symbols: DSO missing from command
>  line collect2: error: ld returned 1 exit status Makefile:1405: 
> recipe for target 'gdb' failed make[2]: *** [gdb] Error 1 make[2]: 
> Leaving directory 
> '/var/tmp/portage/sys-devel/gdb-7.10.1/work/gdb-7.10.1/gdb' 
> Makefile:8119: recipe for target 'all-gdb' failed make[1]: *** 
> [all-gdb] Error 2 make[1]: Leaving directory 
> '/var/tmp/portage/sys-devel/gdb-7.10.1/work/gdb-7.10.1' Makefile:845:
> recipe for target 'all' failed make: *** [all] Error 2 * ERROR:
> sys-devel/gdb-7.10.1::gentoo failed (compile phase): * emake failed
> 
> Cheers, Meino

Looks like gdb is linking againt libreadline but libreadline is linked
against ncurses 5 and you're trying to link gdb against ncurses 6. So rebuild 
libreadline which should cause it to link against version 6 and try again.

Also you may want to disable the tinfo flag for ncurses 6 because it's 
problematic and mostly needed by binary packages and I don't think you have 
any linked against ncurses 6.


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJYFLe6AAoJEPbOFX/5Ulwc/00P/jPMf4tVQoRM13EK0HrWoZGz
vWwqz6uHRx/7JxVl+vbZ9q9NjAOJYujJABBHfsTy2dYuM/hV8XqcMQUD9fzQX/Ug
b3MJnCHh92AD7f1kInfxtFOF7Av6iSpwu/orj/H2UkGgAhGMoPK0M9RoTpGo9SaA
UZGn7M/U66k22PnoeyV2ekdnwBp/kWOXJe90vNeXEiAlteYV3bd7onCkQtbQ
t2HfmLxP8x5XLM6aZ3ZQg7pV5GgHC2vXt209twSgUETwzYckz6VcaolQcAHCrxk4
8TBaSU9BpudVGFOXXaEqEnh0MX8+E3oh01Mu4j0rmnZ6rVX4kXcXUa7Oh1Q8dCRO
M3fbyqOV88uDQlTgKSE9vtJWcOCV5m8xe7YqXC90eb3jdZ3mrVckYyIEKYSJYiri
i0EvZf+WNXCpoNnwRD2GQFVkqdyEWElRu498smKiXY9dTLl5MBvZVauGwzrPXWTU
1pVhyGHBBjIseUk79ycSUyNeIA68wgEbxAD+J9VFnzKbYGYo4/ZnrA/KQ+4DWiSy
En/XY8afn8lHjXmSnajI7MX4Su3QC9Gz5zCmNGC6Px1RAN0YwtZjAH3SQG3v1aWH
M5dK0ahS5bmwOrRRuSAGh8xNEeAjGhW4RuHF4gZd6V7IViP/EfpvNaiiVLsZZc1b
4LBYZwviEBTd7ynqC9SW
=Oy1Z
-END PGP SIGNATURE-



Re: [gentoo-user] Dirty COW, 4.4.8-hardened-r1 how to fix?

2016-10-25 Thread Fernando Rodriguez
On Tue, Oct 25, 2016 at 07:38:01PM +0200, Miroslav Rovis wrote:
> Sorry about noticing your reply only now.
> 
> Namely, thinking that people over at hardened ML would tell more about
> it, I indirectly initiated a thread over at hardened ML:
> https://archives.gentoo.org/gentoo-hardened/message/09bbf3bfe59a938f11ac044e891db77e
> 
> Will surely check it! And am CC'ing hardened about this patch at the
> hardened ML. Maybe they patch and forward the 4.4.8-r1 to 4.4.8-r2 .
> ---
> Only now looked at the patch.
> 
> No, you don't get it. And I'm not CC'ing this to hardened ML.
> 
> You can't just run the patch for a vanilla kernel onto a
> grsecurity-patched kernel. Look up the hardened-sources, and how they
> are patched, and what the mm.h and the gup.c in question (there are a
> few of so named files in various directories) look in the
> hardened-sources, and how they look in the vanilla-sources...

fernan@navi /usr/src/linux-4.4.8-hardened-r1 $ sudo patch -p1 < 
/home/fernan/dirtycow.patch
patching file include/linux/mm.h
Hunk #1 succeeded at 2131 (offset 19 lines).
patching file mm/gup.c
Hunk #3 succeeded at 357 (offset -5 lines).

It works so I guess you can. Never say you can't do something before
trying cause then you look like an idiot.

And the patch says which are the files in question!

> 
> If I'm not mistaken, and I did check it. No, I'm not mistaken, you just
> sent me the Linus's patch.

Yes you are mistaken, cause if you've tried it you wouldb't be asking
the question. And yes, that is Linus patch.

> 
> No, wrong. But thanks for trying to help!
> 
> On 161025-13:16-0400, Fernando Rodriguez wrote:
> > On Tue, Oct 25, 2016 at 07:11:54AM +0200, Miroslav Rovis wrote:
> > > On 161021-11:04-0400, Rich Freeman wrote:
> > > > On Fri, Oct 21, 2016 at 10:49 AM, Mick <michaelkintz...@gmail.com> 
> > > > wrote:
> > > > > https://github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetails
> > > > 
> > > > Not yet:
> > > > https://bugs.gentoo.org/show_bug.cgi?id=597624
> > > > 
> > > 
> > > We are talking grsecurity-patched (kind of stable[*]) kernel sources,
> > > the =sys-kernel/hardened-sources-4.4.8-r1 package [**].
> > > 
> > > I read most of the discussion, and I could easily patch the gup.c and
> > > mm.h in question, but those files need to be patched before application
> > > of the grsecurity patch, and that is a little more complex work.
> > 
> > Did you tried it?
> > The patch attached comes straight from the git repo, just run:
> > 
> > # cd /usr/src/linux
> > # patch -p1 < path/to/patch
> > 
> > It'll likely work.
> > 
> > > 
> > > Has anybody done this, as I have limited time available to practice user
> > > patching (which in its simplest form, I was able to do here:
> > > >=dev-libs/nss-3.24 - Add USE flag to enable SSL key 
> > > https://bugs.gentoo.org/show_bug.cgi?id=587116#c2 ), in case it can be
> > > done with user patching, of course.
> > > 
> > > Anyone?
> > > 
> > > Regards!
> > > ---
> > > [*] kind of stable, because there are, since about 1 yrs ago, only
> > > testing kernel available for the non-paying users ;-(
> > > 
> > > [**] I have to use 4.4.8.r1 because recent kernel all crash with libirt
> > > and qemu which I am trying to use:
> > > https://bugs.gentoo.org/show_bug.cgi?id=597554
> > > -- 
> > > Miroslav Rovis
> > > Zagreb, Croatia
> > > http://www.CroatiaFidelis.hr
> > 
> > 
> > 
> > -- 
> > Fernando Rodriguez
> 
> > commit 1294d355881cc5c3421d24fee512f16974addb6c
> > Author: Linus Torvalds <torva...@linux-foundation.org>
> > Date:   Thu Oct 13 13:07:36 2016 -0700
> > 
> > mm: remove gup_flags FOLL_WRITE games from __get_user_pages()
> > 
> ...
> 
> Thanks for trying to help! Regards!
> -- 
> Miroslav Rovis
> Zagreb, Croatia
> http://www.CroatiaFidelis.hr



-- 
Fernando Rodriguez


signature.asc
Description: Digital signature


Re: [gentoo-user] Dirty COW, 4.4.8-hardened-r1 how to fix?

2016-10-25 Thread Fernando Rodriguez
On Tue, Oct 25, 2016 at 07:11:54AM +0200, Miroslav Rovis wrote:
> On 161021-11:04-0400, Rich Freeman wrote:
> > On Fri, Oct 21, 2016 at 10:49 AM, Mick <michaelkintz...@gmail.com> wrote:
> > > https://github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetails
> > 
> > Not yet:
> > https://bugs.gentoo.org/show_bug.cgi?id=597624
> > 
> 
> We are talking grsecurity-patched (kind of stable[*]) kernel sources,
> the =sys-kernel/hardened-sources-4.4.8-r1 package [**].
> 
> I read most of the discussion, and I could easily patch the gup.c and
> mm.h in question, but those files need to be patched before application
> of the grsecurity patch, and that is a little more complex work.

Did you tried it?
The patch attached comes straight from the git repo, just run:

# cd /usr/src/linux
# patch -p1 < path/to/patch

It'll likely work.

> 
> Has anybody done this, as I have limited time available to practice user
> patching (which in its simplest form, I was able to do here:
> >=dev-libs/nss-3.24 - Add USE flag to enable SSL key 
> https://bugs.gentoo.org/show_bug.cgi?id=587116#c2 ), in case it can be
> done with user patching, of course.
> 
> Anyone?
> 
> Regards!
> ---
> [*] kind of stable, because there are, since about 1 yrs ago, only
> testing kernel available for the non-paying users ;-(
> 
> [**] I have to use 4.4.8.r1 because recent kernel all crash with libirt
> and qemu which I am trying to use:
> https://bugs.gentoo.org/show_bug.cgi?id=597554
> -- 
> Miroslav Rovis
> Zagreb, Croatia
> http://www.CroatiaFidelis.hr



-- 
Fernando Rodriguez
commit 1294d355881cc5c3421d24fee512f16974addb6c
Author: Linus Torvalds <torva...@linux-foundation.org>
Date:   Thu Oct 13 13:07:36 2016 -0700

mm: remove gup_flags FOLL_WRITE games from __get_user_pages()

commit 19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619 upstream.

This is an ancient bug that was actually attempted to be fixed once
(badly) by me eleven years ago in commit 4ceb5db9757a ("Fix
get_user_pages() race for write access") but that was then undone due to
problems on s390 by commit f33ea7f404e5 ("fix get_user_pages bug").

In the meantime, the s390 situation has long been fixed, and we can now
fix it by checking the pte_dirty() bit properly (and do it better).  The
s390 dirty bit was implemented in abf09bed3cce ("s390/mm: implement
software dirty bits") which made it into v3.9.  Earlier kernels will
have to look at the page state itself.

Also, the VM has become more scalable, and what used a purely
theoretical race back then has become easier to trigger.

To fix it, we introduce a new internal FOLL_COW flag to mark the "yes,
we already did a COW" rather than play racy games with FOLL_WRITE that
is very fundamental, and then use the pte dirty flag to validate that
the FOLL_COW flag is still valid.

Reported-and-tested-by: Phil "not Paul" Oester <ker...@linuxace.com>
Acked-by: Hugh Dickins <hu...@google.com>
Reviewed-by: Michal Hocko <mho...@suse.com>
Cc: Andy Lutomirski <l...@kernel.org>
Cc: Kees Cook <keesc...@chromium.org>
Cc: Oleg Nesterov <o...@redhat.com>
Cc: Willy Tarreau <w...@1wt.eu>
Cc: Nick Piggin <npig...@gmail.com>
Cc: Greg Thelen <gthe...@google.com>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

diff --git a/include/linux/mm.h b/include/linux/mm.h
index cfebb74..f0ffa01 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2112,6 +2112,7 @@ static inline struct page *follow_page(struct vm_area_struct *vma,
 #define FOLL_MIGRATION	0x400	/* wait for page to replace migration entry */
 #define FOLL_TRIED	0x800	/* a retry, previous pass started an IO */
 #define FOLL_MLOCK	0x1000	/* lock present pages */
+#define FOLL_COW	0x4000	/* internal GUP flag */
 
 typedef int (*pte_fn_t)(pte_t *pte, pgtable_t token, unsigned long addr,
 			void *data);
diff --git a/mm/gup.c b/mm/gup.c
index deafa2c..4b0b7e7 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -58,6 +58,16 @@ static int follow_pfn_pte(struct vm_area_struct *vma, unsigned long address,
 	return -EEXIST;
 }
 
+/*
+ * FOLL_FORCE can write to even unwritable pte's, but only
+ * after we've gone through a COW cycle and they are dirty.
+ */
+static inline bool can_follow_write_pte(pte_t pte, unsigned int flags)
+{
+	return pte_write(pte) ||
+		((flags & FOLL_FORCE) && (flags & FOLL_COW) && pte_dirty(pte));
+}
+
 static struct page *follow_page_pte(struct vm_area_struct *vma,
 		unsigned long address, pmd_t *pmd, unsigned int flags)
 {
@@ -92,7 +102,7 @@ retry:
 	}
 	if ((flags & FOLL_NUMA) && pte

Re: [gentoo-user] Re: emerge --sync

2016-10-24 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/24/2016 11:35 AM, Jorge Almeida wrote:
> On Mon, Oct 24, 2016 at 8:29 AM, Martin Vaeth <mar...@mvath.de> wrote:
>> Jorge Almeida <jjalme...@gmail.com> wrote:
>>> I want to do emerge --sync on computer A and then update computer B by
>>> copying /usr/portage. Is this safe?
>>
>> Yes, although ...
>>
>>> does emerge --sync just updates the contents of /usr/portage
>>
>> portage also changes the content of /var/cache/edb, and in some
>> cases even of /var/db or even of binary packages, but it will
>> repeat the necessary steps automatically if only /usr/portage
>> has changed.
>>
>>
> Does this mean that the next time portage is used (e.g., as in "emerge
> -p ...") it will detect that /usr/portage is not consistent with
> /var/db... and will fix the latter?

Yes. And you will see the same output that your see at the end of emerge
- --sync (the profile updates phase, whatever it's called) when you run
emerge. To update the eix database you need to run eix-update.

But a more elegant solution is to emerge app-admin/gentoo-rsync-mirror and
setup your own rsync mirror.


> Jorge
> 


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJYDjh0AAoJEPbOFX/5UlwckKsP+gJWRUQQvEzI9Zqu/6DXrCvw
tu3BMejUGngXr6ZAyMZZCXAqzNV1a9+4OrGTohwjYdwRMBni26yuapfGdKABw1kS
hVoM4yLwaos0VCET0gXUmQVWu8hnTgpTqOtFLEtCHjhr0NR1ic+xjr/B+edBxZUo
jNKjpARVggrD/IA56KFPUiRFtxnd2C4szmJH4pQuDoxrZg+mrnujGeMb8bIPmJ/f
yFYh/7hqwcFVUnt3YV0HUWv83FozXY+DdLEhZbAZTBtlaK1VhfjVaVPvbOVmVbpa
fFzYB4hz0gurhK/A3ulY5Upe7Gqpa5kimot2Ca70h2x1i7BSZoTUiBsDkvl0xqMT
YayMZ+FBzUZ+A+rv5v7cyXJCsiY7a9kTdzbR/gOl6joPEovna0MTMMK2mJFU8xW9
srsAFD1p1Fac8mkCvwdhTWt7yFJgkTf3kUC5l8/mY7WqzXh3Vki8IB+xI3/Zdohk
yjWRf4rCP3AKgQnbMV7f6R22GKmBvRcSTcO+L4W63UIotNeLb0eEZlWP5yQa+sfE
2nPSQZmR/HFlZ6ubUceFB/74FhgnZll9zHy76oIB53zQgslm9LRgypRX6S76G3CR
i7t26EWxVxK+GoGqan0nEyGKvwHorBfAPW8KC12nnany+7gtNQo3OcU7irJx+EXJ
qljNWt25JuLFwPHUBNxP
=26W6
-END PGP SIGNATURE-



Re: [gentoo-user] KDM XSession list?

2016-10-18 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 10/17/2016 10:42 PM, Jigme Datse Yli-RAsku wrote:
> I suspect that I probably ended up masking certain packages around the time 
> that KDE5 was getting pushed out, but it seems that the "mess" I am currently 
> experiencing might be worth looking at what I have done with KDE to see if 
> there is some stuff which I now need to "unfix". 
> 
> Though, your answer didn't address what I had intended to ask.  Which was how 
> to figure out what KDM is using for the session list. 
> 

/usr/share/xsessions/

- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJYBmLJAAoJEPbOFX/5UlwchSYP/2bJtbe6HarbJKSNl5BnPP37
idDWFlo0JSLs3avpuNWoBTFNZ7POaQiwe3q/ZFe/UK8H8IgqZWTHuPdZWtAGwaUt
Ua0HmO8bIVnbGQPui2jOvDPjP6JDPEXA6Rl6og3JIJ1CoZj83g9ptdeeFBfdfvHS
s+BGbBUjfb51pzCwbQqCikLZBxjZp1Fjl58KW6SAd/9HTEjkM6aP7mkkvp1fbRie
E3M8NLV/Iw3xalX+DnKVJ9O06ZJ76OLAuJnHzcBQMUos/ina4vTkiV0tG/ikY++L
wdJXlxoZAgzSC8WzaaBMzRHrOBWwLdGn/KG3BhPsN2w8TSoknn2l0EEdVN/GWKoF
XUxnirHmh+F4GqrCGbukBolG2qqDj03uv1kvUpR4LcovEEviZmI9vAKVp6uRAly/
C8tzqreZNzPxtB+fUZ//TBnAxKxGIgls7XQpDiLz0wXUh3RJlRDoli7gn0YPsjh6
fqUzgPgLBoGjMz9C0HdXzoCDdLODTN9MaJO8enf40WUgoJr8sKPppmz2taWGLknK
clZS3pVc+F6H+gOWkHoJ2NAOcpQ5p8//CIJcY+UHe2zW6iJ2PspA+XoZBz9+YD4T
I8jm/bXbuo6fe9Y26cZ1aiJHECUmjq+RTdo4PEfjWAxNss/UmC6dg7+MB0hvhmxM
rDQjsSqdQpQ8dpixNLc8
=QtZJ
-END PGP SIGNATURE-



Re: [gentoo-user] llvm / clang compile error

2016-08-16 Thread Fernando Rodriguez
gt; sys-devel/binutils:   2.25.1-r1::gentoo
> sys-devel/gcc:5.4.0::gentoo
> sys-devel/gcc-config: 1.7.3::gentoo
> sys-devel/libtool:2.4.6::gentoo
> sys-devel/make:   4.1-r1::gentoo
> sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
> sys-libs/glibc:   2.22-r4::gentoo
> Repositories:
> 
> gentoo
> location: /usr/portage
> sync-type: rsync
> sync-uri: rsync://rsync2.fr.gentoo.org/gentoo-portage/
> priority: -1000
> 
> pentoo
> location: /var/lib/layman/pentoo
> masters: gentoo
> priority: 0
> 
> ACCEPT_KEYWORDS="amd64"
> ACCEPT_LICENSE="* -@EULA"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d 
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
> /etc/sandbox.d /etc/terminfo"
> CXXFLAGS="-O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FCFLAGS="-O2 -pipe"
> FEATURES="assume-digests binpkg-logs buildpkg ccache 
> config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news 
> parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn 
> unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
> FFLAGS="-O2 -pipe"
> GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ 
> http://mirror.netcologne.de/gentoo;
> LANG="de_DE.UTF-8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> MAKEOPTS="-j4"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
> --omit-dir-times --compress --force --whole-file --delete --stats 
> --human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
> --exclude=/packages --exclude=/.git"
> PORTAGE_TMPDIR="/var/tmp"
> USE="X acl alsa amd64 avahi berkdb bindist bluetooth bzip2 cli consolekit 
> cracklib crypt cups cxx dbus dri fortran gdbm gnome-keyring gtk3 iconv ipv6 
> libnotify mmx mmxext modules ncurses nls nptl opengl openmp pam pcre prelink 
> python qt5 readline seccomp session sse sse2 ssl startup-notification tcpd 
> truetype udev udisks unicode vaapi vala xattr zeroconf zlib" ABI_X86="64" 
> ALSA_CARDS="hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb 
> unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default 
> authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner 
> authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir 
> disk_cache env expires ext_filter file_cache filter headers include info 
> log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
> speling status unique_id userdir usertrack vhost_alias" 
> CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon 
> braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load 
> memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 
> ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin 
> garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle 
> oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox 
> ubx" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="mouse keyboard 
> evdev synaptics" KERNEL="linux" L10N="de en en-GB ar fr fr-MA" 
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
> text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 
> LINGUAS="de en ar fr" NGINX_MODULES_HTTP="access addition auth_basic auth_pam 
> autoindex browser charset fancyindex fastcgi flv geo geoip gzip gzip_static 
> gunzip headers_more http2 limit_req limit_zone map memcached mp4 perl proxy 
> push random_index realip referer rewrite split_clients stub_status sub userid 
> v2 xslt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" 
> PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" 
> RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 
> XFCE_PLUGINS="battery brightness clock power trash" XTABLES_ADDONS="quota2 
> psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition 
> tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
> Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, 
> LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
> PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
> 
> # emerge -pqv '=sys-devel/llvm-3.7.1-r3::gentoo'
> [ebuild  N] sys-devel/llvm-3.7.1-r3  USE="clang libffi ncurses python 
> static-analyzer -debug -doc -gold -libedit -lldb -multitarget -ocaml {-test} 
> -xml" PYTHON_TARGETS="python2_7" VIDEO_CARDS="-radeon" 
> [ebuild  N] sys-devel/clang-3.7.1-r100  USE="python static-analyzer 
> -debug -multitarget"
> 

If you havent, try disabling ccache to rule that out.

-- 

Fernando Rodriguez


Re: [gentoo-user] Sweet Sweet Portage

2016-08-16 Thread Fernando Rodriguez
On 08/15/2016 06:02 PM, james wrote:
> Well,
> 
> I brought this up before. No need for argument, just test it out
> for yourself.
> 
> Multiple times (over the last few weeks) I have run  'emerge -uDNvp @world' 
> and there are issues to deal with manually.
> 
> For example 'One or more updates/rebuilds have been skipped due to a 
> dependency conflict', type of fudd and other types of fudd is the result, not 
> all the time, but maybe 50% of the time.
> 
> 
> Now, routinely, all I do is immediately issue this command
> 'emerge -uDt @world' and go have a coffee.  An AMD 8 core, 32G workstation 
> does it's thang, leaving me a with just a smile after the work is complete. 
> No other actions, nadda, ziltch. Immediately, I then run  'emerge -uDNvp 
> world' (again, and routinely I get::
> 
> "These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> Total: 0 packages, Size of downloads: 0 KiB"
> 
> 
> Just try it for yourself. It's like clockwork now. Smooth. I have over 1500 
> packages installed on a mostly stable but hacked out /usr/local/portage/ and 
> maybe 10% of the packages, that are much newer, but portage is sweet, sweet, 
> sweet now. There is inherent magic now, but,
> I do not have time to ferret it out. Sure I can dive in, manually,
> and I have done this to fix things, but, 'emerge -uDt @world' fixes things, 
> automagically; dozens of times as I update 3 or 4 times a week.
> 
> 

I don't know exactly what's going on but I think something is wrong so it's not
so sweet. I think you got a conflict that's not being resolved and not being 
pulled
by the second command. What happends if you add --with-bdeps=y --backtrack=30? 
Also
try without the -p (I think it runs more code like autounmask etc so it may 
cause
the extra output).

Is clang/llvm stuff still popping up on the list of skipped packages? I 
remember a 
similar conflict around the time of your first post and it turned out that the 
latest
stable clang blocks the latest stable libclc. So the tree is (still) broken. 
For most
users it's not a problem because portage pulls the right version of clang but 
if you
have clang on your world file it updates it to the latest and you get those 
conflicts.
I fixed it by masking all versions of clang >3.6

-- 

Fernando Rodriguez



Re: [gentoo-user] EAPI packages

2016-08-15 Thread Fernando Rodriguez
On 08/15/2016 09:12 AM, Fernando Rodriguez wrote:
> On 08/13/2016 09:40 AM, hw wrote:
>> Fernando Rodriguez schrieb:
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA256
>>>
>>> On 08/12/2016 08:44 AM, Jeroen Mathon wrote:
>>>> Is it perhaps an idea to mask the gentoolkit package when updating portage?
>>>
>>> Since that version of gentoolkit doesn't depend on a specific version of 
>>> portage
>>> but does depend on portage with the same python_targets use flags, I think 
>>> the problem
>>> is that you're trying to emerge portage and gentoolkit with different 
>>> python_target_XXX
>>> flags, So just make sure they're the same.
> 
>> I have removed gentoolkit, and it still fails:
> 
>> emerge --ask --update --newuse portage
>> [...]
>> WARNING: One or more updates/rebuilds have been skipped due to a dependency 
>> conflict:
> 
>> sys-apps/portage:0
> 
>>   (sys-apps/portage-2.2.28:0/0::gentoo, ebuild scheduled for merge) 
>> conflicts with
>> 
>> 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)
> 
> 
> 
> Now it's app-admin/webapp-config it has the same dep on portage 
> (sys-apps/portage[${PYTHON_USEDEP}]) only when the portage use flag is 
> enabled.
> 
> You're trying to build portage with a new python target when everything else 
> is built for a different
> python version. Either change portage's to the same as everythhing else or 
> remerge all packages that depend
> on portage first.

Actually rebuilding everything that depends on python won't work because the 
--newuse would've pull
them if it was a global change. You must've changed just for portage on 
package.use at some point.
What is the output of "equery uses app-admin/webapp-config sys-apps/portage"?



-- 

Fernando Rodriguez



Re: [gentoo-user] EAPI packages

2016-08-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/13/2016 09:40 AM, hw wrote:
> Fernando Rodriguez schrieb:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>>
>> On 08/12/2016 08:44 AM, Jeroen Mathon wrote:
>>> Is it perhaps an idea to mask the gentoolkit package when updating portage?
>>
>> Since that version of gentoolkit doesn't depend on a specific version of 
>> portage
>> but does depend on portage with the same python_targets use flags, I think 
>> the problem
>> is that you're trying to emerge portage and gentoolkit with different 
>> python_target_XXX
>> flags, So just make sure they're the same.
> 
> I have removed gentoolkit, and it still fails:
> 
> emerge --ask --update --newuse portage
> [...]
> WARNING: One or more updates/rebuilds have been skipped due to a dependency 
> conflict:
> 
> sys-apps/portage:0
> 
>   (sys-apps/portage-2.2.28:0/0::gentoo, ebuild scheduled for merge) conflicts 
> with
> 
> 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)
> 
> 

Now it's app-admin/webapp-config it has the same dep on portage 
(sys-apps/portage[${PYTHON_USEDEP}]) only when the portage use flag is enabled.

You're trying to build portage with a new python target when everything else is 
built for a different
python version. Either change portage's to the same as everythhing else or 
remerge all packages that depend
on portage first.

- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIbBAEBCAAGBQJXsb/LAAoJEPbOFX/5UlwcNXYP90frLRuF6wdEiagkMJys40Bo
CTqdEpBlFmVRxqKFORspK6cnqqOQwpUII58nGkITp7XoNSK0FfQRtZH7ANvW9VL4
s4C54VjMzd8avjxlf06nV0VSdLD/Et8UzqXwYrKMKwJtXDVzVBUEgqSsz2CoPDoi
295PFoLRhlShJ+MXZGOTCwc3U+WJ1NJmotgzQkwprKLifAZLQguXyZW1yEVfrT2E
1Q+boC5gcCat6DkSsMFoQd/GMlXabeoiHUowFD5bbv8hyDOdQokmDbIuSJkF3miO
6UJ7LC7CWezqxl7X7u2ZDc6jntTQO3j+CkRyNkvNeJEpLpuNgi1NWgSFwEJBS22P
X+X0wEpakyUTokV/IEZ++l7Z78qkn+Bspqokqp0vkMU/5QEu9EgPMe2zdfoX+BRy
NRjX0Ntgf850uzDlvjTKcDVdThW+W0o7hhBOTrd6C0jIZp6htL2RUb79b/qbIeg3
r7/XGip7Iq9ehWIwRui/Uj4k5vHVporXVE+zFcnBrvoME0DZfVI5OuhVv040V+Nj
P64pDr9edgCWxuIqesAITbtaHH5Fjc8zTx5+67uqUb+wwn0aVn3ptKQjJqy5364r
o38VEZ5a/Uypxf1Q03NL/mJgVswLv21D1tURosE7p9oduGa4LGszPnBDSi9oIkh1
lYV7vHU1nyy0vGY9M+E=
=7ftw
-END PGP SIGNATURE-



Re: [gentoo-user] EAPI packages

2016-08-12 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/12/2016 08:44 AM, Jeroen Mathon wrote:
> Is it perhaps an idea to mask the gentoolkit package when updating portage?

Since that version of gentoolkit doesn't depend on a specific version of portage
but does depend on portage with the same python_targets use flags, I think the 
problem 
is that you're trying to emerge portage and gentoolkit with different 
python_target_XXX 
flags, So just make sure they're the same.

> On 12-08-16 14:42, Neil Bothwick wrote:
>> On Fri, 12 Aug 2016 14:16:25 +0200, hw wrote:
>>
>>> sys-apps/portage:0
>>>
>>> (sys-apps/portage-2.2.28: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_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)]
>>> required by (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)
>>>
>>>
>>> So portage cannot be installed because portage is installed?
>> Rather it looks like portage can't be updated because of the version of
>> gentoolkit that is installed. Try uninstalling gentoolkit, updating
>> portage and then reinstalling gentoolkit.
>>
>> It may also help to know the USE flags used for gentoolkit and the
>> *current* portage install.
>>
>>
> 
> 


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXri1wAAoJEPbOFX/5Ulwczi0P/1bcpxZs0atjCHKxi17OMbB/
TXhWEibey7ukIMBzXuWJREUURfKlWWnQDrz+b8pW7S9oMMpHSb9ClXWvsItgdojg
D6J+akRmkNqnwvfAwdKf8vX03LFrWP/SB8wbdZt/boXyXW6qvrVjjl4dfSITTA2C
e7eYrNhx6n120phQxFjQlzZjrZuX6BjmfxT+yOmdkYFsy0lOOQtsJPRBgMSmXj2w
9gz03V7zYs8D59R72HWZm97SINRDSwJ6BII3JiGP+gpWDzjxqv12Pr5qgU2K4F9M
09m53gNZrGk7Cm1MFaqcaI8d+dhvCLOk7ZsFl7rZBhS6DYonrWku1XGc65EGnH85
Ab9qeIIlNrKJ8z45HM8rOYxH2Nn+e/FWCpF90yxr/B6ZIqv3E2xotwFU7f8Ebw4b
GekYFTIwwH88SNnWwCgimWXC0M4hSzICz3f2AfnIaYJYF3rMshJ8EWpDGugXweWO
1BEaWvJkhsUpHWa2dKYNvOkUUDGn35N50rI7FUAiK7xIQcY33kw1BQD9FfY4eR/B
eQQOPOiVYIG/52UUqOsOCQixQJg0OWpvWGokOgghYIrabIs7F8CmjH4ES3cUk/4W
xE93vflWWOuFVm09xUzfobpqR1ikVb0sfyNS3CXrseEFb56TeylIWku2tx2Bly2g
umtuSGZ5+gFsPgyII8uC
=Pcvt
-END PGP SIGNATURE-



Re: [gentoo-user] How to correctly handle multiple Qt versions (qt4 X qt5)

2016-08-01 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 08/01/2016 08:17 AM, Francisco Ares wrote:
> Hi all.
> 
> In thys Gento system, there are packages that still need Qt-4, while newest
> KDE, for instance, needs Qt-5.
> 
> Even inserting entries in "/etc/portage/package.use" for the packages that
> need qt4, the emerge still fails, arguing that the package needs Qt-4.
> 
> On this system, "qtchooser" has never worked propperly - as far as I could
> understand it - so I'm used to manage the "default.conf" symlink at
> "/etc/xdg/qtchooser/" - is it correct to do so?  If not, what should I do?
> 
> Thanks!
> Francisco
> 

Just resolve the conflicts and each program will use the right version. So post
the emerge output.

- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXn2+7AAoJEPbOFX/5UlwcK4cP/A81RFnsbR1UWneH0aov0+a6
qtdFD/GIAJZ1EqVsOTnoGvxCWJCnnCt6NJw3F1ImK0Ngx0gzIay7trHbJrivU/Of
PadJMD5lZyzM08CZYa1ZBa4tzEbgw+FbmRrm2in6ule2sEUtuximUSNgHW41rDYs
x8bENmPnPq7BCw4nAKnPSdiIT9uEOujbRsZbwRGte9YEaRbFSQJBqLw7PHFpWGdd
l2ROzRdqhxD/JSvjIa0K/uY0p+PSAbqSBCA3zQHCBKO2tB/RLAo/9SQjigvtl7lc
G1xQXvhUC3II8U1doa5E7KbSCgtEk+T+ih0BSsk4ugEQNLok9pBQAVdzCRc2DvSM
vjSmjCO5LMw/n0so2Kf+50R3mTosrGFQcIK4aiKNE+oONmX+uLqkO3pLttLi3Ff+
k9JNxqhhaLQrCUBYvfzrLh66V50VOoH0ofNBHzaZ11oqhUbx9zdnOBURWmHcJnlW
OgP3KvDvok7SXJN+XF5UsspvsDQqFfZsBUiqIoRpGhjlB8CiBWOJDYYe3JiY6tuG
00MxE8xEBy0hYBpF6OPt2ayEBwbdYPXgtizrzg7taij16Q4JNddy6mJY8ZgVCgW6
d9Kx9ZTwVRLsrfpsCEwFtkJkOGpNsT/eei1t27z+TwE0/YikyC85JYUMdPOmzjUm
Mbj3jQD4mztEN/N5TpAh
=zM8Z
-END PGP SIGNATURE-



Re: [gentoo-user] Genlop oddity

2016-07-31 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/31/2016 12:14 PM, Peter Humphrey wrote:
> On Sunday 31 Jul 2016 10:48:33 Fernando Rodriguez wrote:
>> On 07/31/2016 06:47 AM, Peter Humphrey wrote:
>>> I've just encountered something I can't explain. Can anyone here?
>>>
>>> ~ $ genlop -c -f /mnt/rescue/var/log/emerge.log
>>> using logfile /mnt/rescue/var/log/emerge.log
>>>  Currently merging 281 out of 287
>>>  * net-libs/gnutls-3.3.24
>>>current merge time: 1 minute and 44 seconds.
>>>ETA: less than a minute.
>>>  Currently merging 264 out of 287
>>>  
>>>  * sys-devel/gcc-4.9.3
>>>current merge time: 7 minutes and 12 seconds.
>>>ETA: 3 minutes and 13 seconds.
>>>
>>> $ genlop -c -f /mnt/rescue/var/log/emerge.log
>>> using logfile /mnt/rescue/var/log/emerge.log
>>>  Currently merging 264 out of 287
>>>  * sys-devel/gcc-4.9.3
>>>current merge time: 15 minutes and 19 seconds.
>>>ETA: 3 minutes and 41 seconds.
>>>
>>> How is it possible for genlop's reported ETA to increase while its time
>>> spent so far also increases?
> 
> ...or to change at all, for that matter.
> 
>> It is an estimate (a prediction) so it's subject to change.
> 
> Yes, but the estimate is derived from an average of the durations found in 
> the log file, so it can't change until the emerge is complete.

I haven't looked at the code but if it changes I think it's doing more than
just averaging previous builds. It can and should try better than that. Even 
if all it has to work with is the logs a simple algorithm could (once it starts
taking longer) look at the build time differences and come up with a better 
guess.
My guess it's doing something along those lines. After a bit it just says 
"anytimme
now."

>>> Could the concurrent gnutls merging have affected it? Surely not.
>>
>> Probably, I don't know if genlop takes that into account. But there's
>> countless factors that affect build time that it's practically impossible
>> to predict accurately. So it means nothing.
> 
> I think that's too pessimistic. If all your emerges have -j1, the accuracy 
> is pretty good, or it used to be in the days when I did that. The major 
> factor affecting the durations nowadays is -j > 1, so any other packages 
> could be emerging at the same time, thus skewing the log record.
> 
> Another, even bigger log skewer is my practice, if I need an emerge -e, of 
> doing it in two stages: -eB first, then reboot to a minimal system and -eK. 
> That avoids things like kdelibs being different when I come to reboot the 
> system next time and hanging up during shutdown.
> 

There's the -j option, there's distcc, ccache, etc. Many system settings,
the amount of junk in /tmp if it's tmpfs, etc etc.

Even in the simplest of cases using -j1 and controlling everything else some 
versions of the same package take significantly longer than others, what you 
have installed on your system can affect compile times, some compiler versions 
are faster, etc. etc.

For me they're totally useless. gcc compile time ranges from 24mins-13hrs.
Firefox 24mins-1day 3hrs. LibreOfffice 5hrs-14hrs.

>> Does that estimate even look reasonable to you?
>> gnutls compiles in a few minutes but gcc takes significantly longer for
>> me.

> No, as I said, genlop's own estimates are poor nowadays, but I can make a 
> rough estimate myself from comparing "genlop -c" with "genlop -t  | 
> grep minutes".

Just out of curiosity what are the differences between the original genlop
calculation and yours, and how long did it actually take? and what is the 
output of 'genlop -t '. I think it would be inaccurate in most cases
(at least it is for me) but if you think the calculation is wrong you should 
file a bug. For me it seems reasonably accurate por packages with consistent
build times.



- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXnoEnAAoJEPbOFX/5Ulwc3c4P/i26UPhwodsQ2TMS28fUyv4q
BAyMvxGZG/nACbmzAYwPPbT8cZwIQomXhfuozokWGFsRzWLFdNms73HQ0YoQokeV
Q8fHBolQdT3UyNgoROcDn7MJopr0QXWcZ2sWSpLFm2jZVmzz01d4ZkrQ2rXD22q/
6qK3293svTfHpsft0h9ADeFW5r8BJ8BuLT+Q1TNHFQETILUHxmB34R7cHyJ6eMYX
B0vGUXVSb1yYPReNKM3g+ok0KHMh5Q8iUGW44pzXLEg2Iw1Rnk2nwb7SYj0FjyzX
rFreLC5iiVVPRLUkI9NKn6k3Mg3y3TIn8fNqI44r8RMMt8o96sXKGsUIsWamXBzp
Sgorb+hvzTmiffD9Lk+1/reA5ne9nWfXGYlNfJY+JKgF0peGSOiWQ90w/T1x97si
tYs1MqqMnvna+vkDW+lZZcditRE1NnLpmSIkHtvBuPi0XcjeiRNlmUEI6s6k9ZPO
vTn0obIyT9f6XvUDNWZw5XlAZaP+w0Tf9r2mV6gJrx11OpjiKlEvWSN/F+rvRlsh
2Ki+QdrCjHpfnPbyQirUzfMeY2Ch4qzo8Ucnz/mJntE/4D9jPcmXisHV9k6KpYuX
phE6m+DmU48QRys1pbh9prQTtvIPDm9LkuG2Hc5XJq+q+nAGeMUIH6SskCtE1Lsy
5UFWcFsuzZLAm7ShTAuZ
=TiEU
-END PGP SIGNATURE-



Re: [gentoo-user] Genlop oddity

2016-07-31 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/31/2016 06:47 AM, Peter Humphrey wrote:
> Hello list,
> 
> I've just encountered something I can't explain. Can anyone here?
> 
> ~ $ genlop -c -f /mnt/rescue/var/log/emerge.log
> using logfile /mnt/rescue/var/log/emerge.log
> 
>  Currently merging 281 out of 287
> 
>  * net-libs/gnutls-3.3.24 
> 
>current merge time: 1 minute and 44 seconds.
>ETA: less than a minute.
> 
>  Currently merging 264 out of 287
> 
>  * sys-devel/gcc-4.9.3 
> 
>current merge time: 7 minutes and 12 seconds.
>ETA: 3 minutes and 13 seconds.
> 
> $ genlop -c -f /mnt/rescue/var/log/emerge.log
> using logfile /mnt/rescue/var/log/emerge.log
> 
>  Currently merging 264 out of 287
> 
>  * sys-devel/gcc-4.9.3 
> 
>current merge time: 15 minutes and 19 seconds.
>ETA: 3 minutes and 41 seconds.
> 
> How is it possible for genlop's reported ETA to increase while its time 
> spent so far also increases?

It is an estimate (a prediction) so it's subject to change.

> Could the concurrent gnutls merging have 
> affected it? Surely not.

Probably, I don't know if genlop takes that into account. But there's countless
factors that affect build time that it's practically impossible to predict
accurately. So it means nothing.

Does that estimate even look reasonable to you?
gnutls compiles in a few minutes but gcc takes significantly longer for me.

> 
> Nothing else was running, apart from some file copying between external 
> disks.
> 


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXng/BAAoJEPbOFX/5Ulwcaw0P/07UJDhxAOhNp3NAf8awSMcR
L8dIzDmssiABhyCH5GLCafSDujNelooOxvyy+Skf2BbNMSQk2gOiAOxjMQZSOmzC
Sa8zh4PhfyV7jtsKLzjFFpuDHMJTH5Px9N3tvUfRuPSh6gtsmb1W+sD6AZr82KQI
VwgH+QDLlO3jYkZGgyryIJXcL69QP1pspfBJ08iJk8y8hXbPla55aEmmrEI5HUsT
4LdineirvKYgDpMpErOoMgkZGy4BrUvPwVKyFmsHiB8byHl/Hcvsnb8tcyrrMpJ3
PU2QPpa/EcBiljlBiiE+ApSJHwOuv/ZMhltfYki/W1kdQHB9THN7sEdpDcjZUCs6
lKEAPe35nOizNoCMhHo1zFOB/5K6f2oLKdz/WP910eJ4CZkgWYyHvRCZJMN6jWZ1
AkwG9hcSQ+N7FAxXIQw15NLA9uky/vFOueu/NupUR6cJH1CmIBKZYe63PuTik2o6
3GIes2lHRUHroyCLnsfc9hxILXrzKkHEwFlgrtr6PhPPkchgqxBSHuB5hY5HfM1P
cLgj9bj92sZLqwmImK/IRLn964119me2VEg8m1zYEAZLKuDsuAPrw2QtwO1W1APr
ztok+sHWu51y36iC0oFBDuWKZG+612J1RfRZGgFXh0Vanh/dRjhLuUY8yuHB+Cka
yEPhTh2DnZ8/MViBt1kt
=a3yM
-END PGP SIGNATURE-



Re: [gentoo-user] Compilation failed...mcs not found

2016-07-28 Thread Fernando Rodriguez
s.Description/AddinDescription.cs 
> ./Mono.Addins.Description/AddinFlags.cs 
> ./Mono.Addins.Description/AddinProperty.cs 
> ./Mono.Addins.Description/AddinPropertyCollection.cs 
> ./Mono.Addins.Description/AssemblyDependency.cs 
> ./Mono.Addins.Description/ConditionTypeDescription.cs 
> ./Mono.Addins.Description/ConditionTypeDescriptionCollection.cs 
> ./Mono.Addins.Description/Dependency.cs 
> ./Mono.Addins.Description/DependencyCollection.cs 
> ./Mono.Addins.Description/Extension.cs 
> ./Mono.Addins.Description/ExtensionCollection.cs 
> ./Mono.Addins.Description/ExtensionNodeDescription.cs 
> ./Mono.Addins.Description/ExtensionNodeDescriptionCollection.cs 
> ./Mono.Addins.Description/ExtensionNodeSet.cs 
> ./Mono.Addins.Description/ExtensionNodeSetCollection.cs 
> ./Mono.Addins.Description/ExtensionNodeType.cs 
> ./Mono.Addins.Description/ExtensionNodeTypeCollection.cs 
> ./Mono.Addins.Description/ExtensionPoint.cs 
> ./Mono.Addins.Description/ExtensionPointCollection.cs 
> ./Mono.Addins.Description/ModuleDescription.cs 
> ./Mono.Addins.Description/ModuleDescriptionCollection.cs 
> ./Mono.Addins.Description/NativeDependency.cs 
> ./Mono.Addins.Description/NodeTypeAttribute.cs 
> ./Mono.Addins.Description/NodeTypeAttributeCollection.cs 
> ./Mono.Addins.Description/ObjectDescription.cs 
> ./Mono.Addins.Description/ObjectDescriptionCollection.cs 
> ./Mono.Addins.Localization/GettextDomain.cs 
> ./Mono.Addins.Localization/GettextLocalizer.cs 
> ./Mono.Addins.Localization/IAddinLocalizer.cs 
> ./Mono.Addins.Localization/IAddinLocalizerFactory.cs 
> ./Mono.Addins.Localization/IPluralAddinLocalizer.cs 
> ./Mono.Addins.Localization/NullLocalizer.cs 
> ./Mono.Addins.Localization/StringResourceLocalizer.cs 
> ./Mono.Addins.Localization/StringTableLocalizer.cs 
> ./Mono.Addins.Serialization/BinaryXmlReader.cs 
> ./Mono.Addins.Serialization/BinaryXmlTypeMap.cs 
> ./Mono.Addins.Serialization/BinaryXmlWriter.cs 
> ./Mono.Addins.Serialization/IBinaryXmlElement.cs ./Mono.Addins/Addin.cs 
> ./Mono.Addins/AddinAttribute.cs ./Mono.Addins/AddinAuthorAttribute.cs 
> ./Mono.Addins/AddinDependencyAttribute.cs 
> ./Mono.Addins/AddinDescriptionAttribute.cs ./Mono.Addins/AddinEngine.cs 
> ./Mono.Addins/AddinErrorEventArgs.cs ./Mono.Addins/AddinEventArgs.cs 
> ./Mono.Addins/AddinInfo.cs ./Mono.Addins/AddinLocalizer.cs 
> ./Mono.Addins/AddinLocalizerGettextAttribute.cs ./Mono.Addins/AddinManager.cs 
> ./Mono.Addins/AddinModuleAttribute.cs ./Mono.Addins/AddinNameAttribute.cs 
> ./Mono.Addins/AddinPropertyAttribute.cs ./Mono.Addins/AddinRegistry.cs 
> ./Mono.Addins/AddinRootAttribute.cs ./Mono.Addins/ConditionType.cs 
> ./Mono.Addins/ConsoleProgressStatus.cs ./Mono.Addins/ContentType.cs 
> ./Mono.Addins/CustomExtensionAttribute.cs ./Mono.Addins/ExtensionAttribute.cs 
> ./Mono.Addins/ExtensionAttributeAttribute.cs 
> ./Mono.Addins/ExtensionContext.cs ./Mono.Addins/ExtensionNode.cs 
> ./Mono.Addins/ExtensionNodeAttribute.cs 
> ./Mono.Addins/ExtensionNodeChildAttribute.cs 
> ./Mono.Addins/ExtensionNodeList.cs ./Mono.Addins/ExtensionPointAttribute.cs 
> ./Mono.Addins/ExtensionTree.cs ./Mono.Addins/GettextCatalog.cs 
> ./Mono.Addins/IAddinInstaller.cs 
> ./Mono.Addins/ImportAddinAssemblyAttribute.cs 
> ./Mono.Addins/ImportAddinFileAttribute.cs 
> ./Mono.Addins/InstanceExtensionNode.cs ./Mono.Addins/IProgressStatus.cs 
> ./Mono.Addins/MissingDependencyException.cs 
> ./Mono.Addins/NodeAttributeAttribute.cs ./Mono.Addins/NodeElement.cs 
> ./Mono.Addins/RuntimeAddin.cs ./Mono.Addins/TreeNode.cs 
> ./Mono.Addins/TreeNodeCollection.cs ./Mono.Addins/TypeExtensionNode.cs 
> ./Mono.Addins/TypeExtensionPointAttribute.cs  -r:System -r:System.Core 
> -r:System.Xml  
> make[1]: gmcs: Command not found
> Makefile:495: recipe for target '../bin/Mono.Addins.dll' failed
> make[1]: *** [../bin/Mono.Addins.dll] Error 127
> make[1]: Leaving directory 
> '/var/tmp/portage/dev-dotnet/mono-addins-0.6.2/work/mono-addins-0.6.2/Mono.Addins
> 
> 
> The same...
> 
> The first hit at google must not always work...

Try the dotnet overlay.
Everytime I've tried mono packages from the main tree they've
been badly broken. The package you need is dev-lang/mono. Until
recently the version in the tree was so old you couldn't even use
it to bootstrap a recent version.


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXmmp7AAoJEPbOFX/5UlwcmDYP/R9RPfDlIAbJLfzxaVlNBe0F
Ylv8ZXd1SaDS/Ky2psdLx81wSwECDn5WxZ43RiMlN2dc0WFSlwstONMQdzrke5hk
glQQRGjt2YAVD5inwJppaDyTk88bixOjD6QV6PNeNqQF99NmA2MnQxlD6mF+3Ftg
1WfVF4xOACtxtJPFQFQIJzS5kc2BTp5ZB6zfq82McWnYlHy9MsYx6V6AcvpO0EWi
aR3zDqj7RYg2dtGUtU/eXl4tRX2Ng5hszRHcKI8LFL/WSj4j5wiXrfJ91UJEJR30
nrFyyeay4hI3Nd9Tifv4aO0VaYlBcFtb5O9cNNfuki/DJG1bGDvrh+7XRMZNpFjr
Ip3m88qNmfXPEmCOTIhFC0GkukSUcUUlde06o/StKdnd5uhKhCGnWWEmfzXkEgGX
lK/1mhh9mt56+pdmPaniV12cdzmI8yBb5enN9fhesyJC6hcNISTxDDc8kl1cbaCz
EBmzglxmpWXvNPUFOSpF1XjM1IqD1tH//mvDFEEmBRKFOkDroeg3Ov9HkhrsO31N
fGQYkZ78KVPMFRJczjC5c4RNkODydtZDU0bn3mGCvwR7S0WDmyLml6rrAOAxFmGh
6FD6v43aImaojVJrem4nbix2sWVR9/Bv6DMKM4iRY1N57/uXLURZtUShHYn5ejvp
ZJtql3MOr8xPpjq7kZrm
=G1tt
-END PGP SIGNATURE-


Re: [gentoo-user] radius use flags

2016-07-27 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/27/2016 01:25 PM, hw wrote:
> Fernando Rodriguez schrieb:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>>
>> On 07/15/2016 07:42 AM, hw wrote:
>>> Hi,
>>>
>>> is this what I should expect:
>>>
>>>
>>> equery uses freeradius
>>> !!! No USE flags found for net-dialup/freeradius-3.0.11-r1
>>>
>>>
>>> No use flags?  The wiki page[1] says otherwise?  Or is this
>>> version too old?
>>>
>>> Does it have mysql support out of the box?
>>>
>>>
>>> [1]: https://wiki.gentoo.org/wiki/FreeRADIUS
>>>
>>
>> No.
>>
>> [ Legend : U - final flag setting for installation]
>> [: I - package is installed with flag ]
>> [ Colors : set, unset ]
>>   * Found these USE flags for net-dialup/freeradius-3.0.11-r1:
>>   U I
>>   - - debug: Enable extra debug codepaths, like asserts and extra 
>> output. If you want to get meaningful backtraces see
>>  
>> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
>>   - - iodbc: Add support for iODBC library
>>   + + kerberos : Add kerberos support
>>   + + ldap : Add LDAP support (Lightweight Directory Access Protocol)
>>   - - mysql: Add mySQL Database support
>>   - - odbc : Add ODBC Support (Open DataBase Connectivity)
>>   - - oracle   : Enable Oracle Database support
>>   + + pam  : Add support for PAM (Pluggable Authentication Modules) - 
>> DANGEROUS to arbitrarily flip
>>   - - pcap : Build the RADIUS sniffer which requires net-libs/libpcap.
>>   - - postgres : Add support for the postgresql database
>>   - - python   : Add optional support/bindings for the Python language
>>   + + readline : Enable support for libreadline, a GNU line-editing library 
>> that almost everyone wants
>>   - - sqlite   : Add support for sqlite - embedded sql database
>>   + + ssl  : Add support for Secure Socket Layer connections
> 
> Thanks!
> 
> Yet equery doesn´t show any use flags.  What might be going wrong?
> 

All I can think of is that something's wrong with your portage tree. Have
you tried syncing? Also check the permissions, everyone should have read
access to the whole tree. You could try running the command as root, if it
works it'll give you a clue that it's the permissions. Other than that I 
have no clue.


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXmRDXAAoJEPbOFX/5Ulwcuj4P/jGi9zk2821bryj//0Gk8Esd
GZjQNxDL7dRxYvd9QOflWLDHWatkVSEntpF/0aT28F765z9uxNZ88OINg4ed3alj
h0VKNlImuD56GJqTAAB03DkOtqu0245UM3ZFhRFUwkOBB8xcPS4BsKh3KiHzJE7U
YLTfRJK+C/6MisbRby9M+S1KsbQTb3mV7kCX1b+Rp9IdshTyS8Y7FaPMNcJL5xcd
mZcoK6QxzBT+aRCIA+wn8elCU50UF6C/tabfj87NXMWaB37NTTM1F7eE7qF/xUr7
OjGTAk0qbBvpE6sWxixB/HfNbyitOYozuHnJIJWDTtLZk0N6DLGWDucbzyYtcGUD
/QnXF2Ko4pA+XiowUZigLixXkyOaMzAjT/VezcQ/aTCqIlbA4DybUQk0T/Y0LNPj
NdG8gWsgrQXgASBBggTNm8P0sp/hwUsIpkqchmlCG1rjU781Iz2OdiF+Ghjxg0AH
wls1XIsh2G+u6LZBp6AkTkplRrPixxOe2k8cRljyoaPY7VLtECxJMBJirunGGQOO
XYdR6dP0XaUlNlpm+3/ao/5WcBUH0j0U3efMoebQpO9ipVMozcO5uy2peaZOXoIa
yB1x0ccUj9frmRg2mEWL9NnQZv2XQ0Y1U3g7eZZiLiZC9NlofGRT1+d0E/ZPuGah
UrO9Bv0JoHLZO3GiQTPz
=uNjl
-END PGP SIGNATURE-



Re: [gentoo-user] Nasty visual effect in plasma-5

2016-07-25 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/25/2016 05:29 AM, Peter Humphrey wrote:
> Hello list,
> 
> Every time I press  to switch windows, a great white box springs 
> out of the left edge of the screen to show me what windows are available. 
> But I can already see them by tabbing through them.
> 
> I could do without this visual slap in the face. Is there a way to switch it 
> off? I haven't found any way so far - I don't even know what to call it.
> 

It's called the Task Switcher. You can go to System Settings > Window 
Management >
Task Switcher to change it. The other choices are cover switch and flip switch 
(I
think you can download otherrs) and they need to be enabled under Desktop 
Behaviour >
Desktop Effects.

- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXleVbAAoJEPbOFX/5Ulwc1kcP/1Mo61O56GJuFhg5+OWHI9XM
+r0QKUbNHgFoTUp0C6xnQlI7eCgcxrsBQVrtb6dhu5v+uX1aVvFb6sG0so0S0+oP
7mhNiXYAT+SdzuBb5JpUXHhE7QjaP6gfd0BEB6gyIl9Vmc/Rr9JNetN+LNM89DWM
s1TNtBxDokN2adjo21v7g02w4x+O8ZFca4IB3JGRMjAt0dZevFO3Gdc+ACBXjItL
XqWCbdJ/iXV2EoaITyYzEtUdFEGDRdVqGRjm7oUlIHlB4CAztGb1WohDEP4Nesch
8CWlvMJ1z8h+bgpBx9YNfJV4l8zdjeX7AOL8h5wrSIgIaW1gHxNEC4LcUUJAMrHv
BsltRaILyckiprvjJcaq+uJHwJTi1bB7eV2DHz0elwUoV8eZXlQiQJsQ3rcTeqSc
/E5qR3Q3M+wIVUcmBi93LRck73vHN0tIdWk9w+NZKbMmSQeh/JPBRNWWB49A/V7f
DdCXKxUKg1mmr+7Zj/FpLf6OQYJEQD5P+iSi598HVFdd7aG/CQ1cSqnP4BZc0ISr
AYvLVa6n8lPm3AIVPQxhzJAVPxL4fPUVKEBmpaDteYwQcd2lIKAuHhY29v6fxbMd
gQiwb8PLqk1bsspJeYMKSpiG80iV3HM2CLQIdPqb5SID2lABp7Cji73s/YFPX2m1
3xXiuhAewCAkaxFwgSLZ
=DCJW
-END PGP SIGNATURE-



Re: [gentoo-user] Missing CPU options in make menuconfig

2016-07-21 Thread Fernando Rodriguez
On 07/21/2016 06:56 AM, Fernando Rodriguez wrote:
> On 07/21/2016 03:17 AM, Neil Bothwick wrote:
>> On Wed, 20 Jul 2016 19:38:03 -0400, Fernando Rodriguez wrote:
> 
>>>> That's what I get here, but help lists all the ones I get in
>>>> gentoo-sources, apart from MNATIVE, which indicates to me that those
>>>> options should be available, once I work out how to switch them on.  
>>>
>>> Disable CONFIG_64BIT and you'll get them all.
>>>
>> That only brings on the 32 bit ones.
> 
> I thought that was what you meant because (at least on my sources from
> upstream) help only shows 32 bit ones.

I mean intel ones, it shows amd64 as well.

-- 

Fernando Rodriguez



Re: [gentoo-user] Missing CPU options in make menuconfig

2016-07-21 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/21/2016 03:17 AM, Neil Bothwick wrote:
> On Wed, 20 Jul 2016 19:38:03 -0400, Fernando Rodriguez wrote:
> 
>>> That's what I get here, but help lists all the ones I get in
>>> gentoo-sources, apart from MNATIVE, which indicates to me that those
>>> options should be available, once I work out how to switch them on.  
>>
>> Disable CONFIG_64BIT and you'll get them all.
>>
> That only brings on the 32 bit ones.

I thought that was what you meant because (at least on my sources from
upstream) help only shows 32 bit ones.


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXkKp4AAoJEPbOFX/5UlwcCckQAJuMHjufG+eXOGAxbzfnR4aP
J2iaxb76aV/jpHUdGRnBZd5PpeWWVq3lT2tv52BAkFzkxWOhVchFsBsE9Nkhvngw
FCgulW85d0CbyhfLeUSYalvitZwil9jTw75Q6a8TC6xkD+a+jJkfZExg+iG9YbLQ
UQuWngs4npAGCkL5s6DuaNSW1uGATSC6h55iNQwx5jpfD+NWgdku+hW6vQy+czzD
senk3FDIgeODzpMhOUpNTzrgERWgklNntS38luJ8V0NavhmIlWjn0cXC7STICAJu
dgzB7CoRLD6XSX8PMxosP6l+/Xoawn8EIGcfd1X93IWIFRChuYK2YTDTyoWLxUpw
pzCsGopd8jWelR1SsOYzZr9HzAzWzBoauxQNa4K7PMRNH+taYGsJQrOWwuGoqaS/
uYgHYQUejoF5i46Evp+bcVdUiB3c2R8NB2zEK20BExc0X7nPLp8Azo6pFbLkNAT3
GBkL4d9eo2FGkxYxet4oIT4Herps7whcIIfgjZACIt67RSrbIm8Sioq+MQesK2PW
Ee7L5lb8ggY5L2nCFwcEvlbgg42QIraerZ0lbE4Ui82MFJMqropNmG6fImPuzhCs
q/nsy70E1JviiG7q6Kj3rLGvaiCo50IwiVE0uBQMnzMRi3bBWraLyLlyMWucvee+
GUMNLMlB0qd4a8EqJDfs
=g4mD
-END PGP SIGNATURE-



Re: [gentoo-user] KF5 icons/styles settings UI. Which package?

2016-07-21 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/20/2016 11:37 PM, Daniel Frey wrote:
> On 07/20/2016 05:06 PM, Fernando Rodriguez wrote:
>> This is fucking ridiculous. Baloo's kcm module is also part of 
>> plasma-desktop!
>> Now after being forced to update it the indexer is making my system very
>> unresponsive and I can't turn it off!
>>
>>
>>
> 
> Have you tried balooctl to turn it off? I think that's how I did it when
> I tried plasma months ago.
> 
> Dan
> 

No, I didn't knew about it. Thanks.
It finished indexing after a whole day and seems to be behaving now.


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXkKiiAAoJEPbOFX/5UlwcDNAP/1fYb9QQipRTf/3SVpt9y2bM
H84txA4qXVN1voHtmXhiFNdfsEvl8CuuNWDvzxaasG1g1nSyC52RaMftIHZ3RC7z
sBnfAbVJXZg2UcXCQXt7J5w9+4yYVCoDlJoG2B/2yOkKdNt2+Gaxbemdwg+Dii9c
b5ecw3oiX97zCbBoE2xYYVPeHauZH5E5GUr8+ukJeeYp75v6HooyBF6fn8eJ9AH8
l5wRHS11qNEZj+pF7UQkzDtDlu8pfL6uyRON42r/9/hUEGn6vS44qIGGRx1lip7a
9Uh0PjdxLEj/ZAoaidi9LN6AwDH6cqxGemmAquvpCfalMl/CW6OuOCVM2JRrpfoe
hq29Pz5sfdTUzN3pf1xEYf4i1FzHU7nVO52/czzIYSZ0cT1jDwP2N80hOo5ewg1Z
ekMeLhAcCOy5tVuf/j26QaPvjmw9gjTtzCoZDVKJVLdXW5isZyhhHdZgZOeOE++x
TfbNFjzPTgIvvwP8JBoiwbnat9O5YIpsFuIaxk5vyfrSCESYxBHaP/2mnlqacVdQ
qNolJqhKGPVM1i5mDhXLP6dUUca5+lVbDsHyCmXVR437XaZJF777qGZPOT5hiN0+
ZEi534+4NtrwfoZ+vHGgjfNYzC9IGGvU32xBe3wUFWNdak/Iob5Ac/imUq1KgA2U
7mahGfIKDtjCmuXz8fID
=pRN1
-END PGP SIGNATURE-



Re: [gentoo-user] qt-creator (and others) too slow

2016-07-20 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/20/2016 02:59 PM, Francisco Ares wrote:
> Hi, all,
> 
> Just upgraded to KDE 5, Qt 5 (as full as possible) and now QtCreator
> frequently uses almost full CPU, a quad-core i5-4430. Any change on the
> IDE, even just passing the mouse cursor over elements of an opened source
> code file, makes the CPU consuption to the high tops.
> 
> It also happened when I tried some widgets using plasmashell, like the
> analog clock and the Desktop widget. The process "plasmashell" eat uup all
> available CPU cicles.
> 
> Could it be something related to more deep details inside Qt basis?
> 
> Turns out to find funny QtCreator's description on KDE menu: "Lightweight
> IDE for C++ ...".
> 
> Any hints to find out what is happening will be highly appreciated.
> 
> Best regards,
> Francisco
> 

Are you sure it's QtCreator, etc and not the baloo indexer that's causing
problems. After upgrading baloo yesterday it slowed down my laptop all
day today. It just stopped. Baloo itself wasn't eating much CPU but it was
doing a lot of IO (use iotop to check).

- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXkDDPAAoJEPbOFX/5UlwclQYP/jqf/0F+JD0bqe1bECW0zCTR
3zVWGyReb0EyO2oH84SKiahx6R06/iAPRSZO53XHLLGl5sqlL3u55qTvmzE489SZ
YNwxK/SFR+l6re0iGdxrLMaCSBCmJDN8HPpVHf4H3oQL4mhpk7XoNhZdgGRSo9L5
Iy8npnzSI1+I4E9jVzisxZC1L6Fwpq0VvCH2uhaaCaw5Z4U7J8SoBCerTWcEMR8g
esFmZS1UCW1uRV6y+lJITswr+HUNuTp5/Z5tayO+3ZLMzp+WaiFb1yx8IA5s0p2G
Dn0c8jrDoP4Ep6mRx3gY6rEsRIbynwNdQKnOYhvu7V1Jvy7CXpAEvH2itHjXysu1
7g2BgxgiekLzyQ1+7PxG9qz1hYvMvFlnLjJYEcwEZb+BbnPiyFhcIF76HhBu0ebU
KVMIAwwIYgOszOwZY8rb9WQbZA9Jt/MoGagT39qZiMkQG13NThGdkj5kuRDXUwbY
hKeKX8RkdqO6VlXgf22qrBC/LrGvtKLEjnAdM5QEGFuMPPLrkW9Iv3PyELb2J6xG
uthTUPjPTahr/BS/bZFrKq/UTTtKrBlQybLindRUa0Z650pnzHX/QJzRiSaan4D8
vDWUGplTqpxNIXkDS+x3qJ98ElUA/hXs3t4VEYjsJ52tz0YSf4GK+2KcaaZsiAoD
WC10amc7OccPAYmEiO0W
=IPnp
-END PGP SIGNATURE-



Re: [gentoo-user] Missing CPU options in make menuconfig

2016-07-20 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/20/2016 07:38 PM, Fernando Rodriguez wrote:
> On 07/20/2016 02:54 PM, Neil Bothwick wrote:
>> On Wed, 20 Jul 2016 14:33:04 -0400, Fernando Rodriguez wrote:
> 
>>> I don't use gentoo sources but I remember reading about gentoo patches
>>> for processor specific optimizations and being tempted to try them. Is
>>> it possible that is what you're refering to?
>>>
>>> The vanilla sources only shows 5 choices for me on amd64:
>>> (X) Opteron/Athlon64/Hammer/K8
>>> ( ) Intel P4 / older Netburst based Xeon
>>> ( ) Core 2/newer Xeon
>>> ( ) Intel Atom
>>> ( ) Generic-x86-64
>>>
>>> And it shows a different set of options when I run it on an x86 machine.
> 
>> That's what I get here, but help lists all the ones I get in
>> gentoo-sources, apart from MNATIVE, which indicates to me that those
>> options should be available, once I work out how to switch them on.
> 
> Disable CONFIG_64BIT and you'll get them all.

And for future references, here's how I found out:

1. On the sources where you have the options highlight one of them and
   press ? (help). You'll see X86_32 under "Depends on:".

2. Hit ESC twice and then twice again to return to a menu with
   search functionality. Then type /X86_32 and hit enter. You'lll see that
   the option depends on !64BIT, so you need to disable CONFIG_64BIT for
   X86_32 to be available.

3. After disabling CONFIG_64BIT on the kernel where the options where missing
   I searched X86_32 again and this time it has [=y] next to it so it came
   on automatically and the options showed up but for some options you need to
   enable manually after enabling the dependencies.

- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXkCBTAAoJEPbOFX/5UlwcR8sP/2kwuumtlSymDTyPj4CFS0Q7
noRYWAzutRKDb6GTrobwB5zDVwJTUORuoRE+XXQFeVWRQhjSI2wsaRGL/Cn8duhW
QTdgtvrV8T6bdcjftVbeExFvKTDrMXUAEbd+XyRObj7r13454GtYdgOIpktxwDrH
D2a3bR2NX7fMxFfSBk4osv3UkoL3xM201MXwUhZgOtTaX/DAw12gSg1ljTJ8UV7O
snu+Td9YHcoohrmBpN4yX7uaBL4LnZZnBv59TZekXDv6DGyc70QZO97gNGOvG2SC
www7wsM28/hrKqeQI5CNcpl6UvibQGndThld7y1Y5YeByHEBHt31yZp97g1Ira5T
2iadpgoSFiMaCy2+BXfIjktLbIe9E5vH15dVMKxuWazrf7Zf9XszxuU6nZE3RiN5
J9ytAwL/RESjQwB11p3LLf/1zgyYAtIzt/N7QrbvJmHmjj7WyRMK6QCLJsew7izl
g/Hjsqvq73QvNdRfjbxTK19sOO1clpJfAdvyHELR+TVvJDAooWFj/8KBfSGCimkv
6bVnDFKIB/ov/o3ZhX121FHq/zH6SH/CxbVozIuTTiowumgftgPMapEiXRIvp/+S
ar8dcUF+xiRcKOmx4mBctOxQQ6R0z0o1oWItyjioyB0Rb09kMVjNCQuvq9IpPzLn
kl+C7ndrh4etobK9nv2A
=fojV
-END PGP SIGNATURE-



Re: [gentoo-user] KF5 icons/styles settings UI. Which package?

2016-07-20 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/19/2016 04:26 PM, Alan McKinnon wrote:
> On 19/07/2016 22:04, Fernando Rodriguez wrote:
>> On 07/19/2016 03:37 PM, Alan McKinnon wrote:
>>> On 19/07/2016 20:58, Fernando Rodriguez wrote:
>>>> Hello,
>>>>
>>>> Can anyone tell me what package I need to get the KF5 kcmshell modules for
>>>> icons and styles? 
>>>>
>>
>>
>>> plasma-desktop:
>>
>>
>>> alan@khamul ~ $ equery belongs /usr/lib64/qt5/plugins/kcm_style.so
>>>  * Searching for /usr/lib64/qt5/plugins/kcm_style.so ...
>>> kde-plasma/plasma-desktop-5.7.1 (/usr/lib64/qt5/plugins/kcm_style.so)
>>> alan@khamul ~ $ equery belongs /usr/lib64/qt5/plugins/kcm_icons.so
>>>  * Searching for /usr/lib64/qt5/plugins/kcm_icons.so ...
>>> kde-plasma/plasma-desktop-5.7.1 (/usr/lib64/qt5/plugins/kcm_icons.so)
>>
>>
>>
>>
>> Thanks. I thought it should've been a separate package since it affects
>> all kde5 apps, not just the desktop.
>>
>> How are non-plasma5 users supposed to change these settings?
>>
>>
> 
> 
> I have no idea, but I think we should wait for someone to have a
> brighter idea than mine. My test was to rename those .so files
> temporarily and see that system settings was broken (error message was
> "plugin not found").
> 
> It might be that those plugins are merely the plasma desktop's way of
> making changes (all they really need do is adjust some lines in files),
> so maybe plasma team expects others to write more stand-alone tools?
> 
> But I dunno really, I'm just guessing

This is fucking ridiculous. Baloo's kcm module is also part of plasma-desktop!
Now after being forced to update it the indexer is making my system very
unresponsive and I can't turn it off!


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXkBIJAAoJEPbOFX/5UlwcSVwP/irDAXpjV3qvdztF+6NOnC6e
E0q6SuBDd0l68QTcdFVm3ysjfIUbzN2KqLaBpqrDTVOhnLhDIn9GXo6gVWg57tbF
y65o8w5d0H2nw3MPx9sE2AQtqN2EcZoXarRCyI3HcfsaXxHuIiXCNtx4GWlyW+Iv
heQ1rh4TgkU2TbO/O8K7UzTsQa2U0SJiCGr7T6aVQnMWV1n0Q1omnOUAO1AmTVym
6+LsWeeKsoRleDvR1n5sBpkU80rKPrxvHzjvFkV1WhABxPGNvQoWbwQETGy0lMAF
L2EN6ELoPaNRlapXJEQjY77lk7skGDXynFwpYQlRvpJ95Smy/WwvBWft0Io2wmOP
Vp8/At5FtlH4HzOeOtd5hjsloETfN2tp3n3jAKRqq8iTq16p8qLM7UPlN5Nn6LCu
8W+B9Ly4bkSd3e8tXzCaBhkCzKFY5MRTpHDCTHkfQ0TJWTy1U5/JqrX8beFT+BRk
876bbcDXiCbmBs08rViDDDjinwQ60yNjz+WN6BOWkyyTDQivkZsTSwb4jU0lqPJh
OXMn668eoEPxVTkj+V+1AB0AmSF4LpTI4psZsk9WvZ38IQSKowoWJT3CmJu4IsCX
8Lpwr46kzsihVWJ+5MQ9dih8WdgQjAJ8hTRuzmXCcB7n7UR0P3QQDSoJ+KYaX6vz
PL5mxBy+Hcl2Ous+79CJ
=vkvA
-END PGP SIGNATURE-



Re: [gentoo-user] Missing CPU options in make menuconfig

2016-07-20 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/20/2016 02:54 PM, Neil Bothwick wrote:
> On Wed, 20 Jul 2016 14:33:04 -0400, Fernando Rodriguez wrote:
> 
>> I don't use gentoo sources but I remember reading about gentoo patches
>> for processor specific optimizations and being tempted to try them. Is
>> it possible that is what you're refering to?
>>
>> The vanilla sources only shows 5 choices for me on amd64:
>> (X) Opteron/Athlon64/Hammer/K8
>> ( ) Intel P4 / older Netburst based Xeon
>> ( ) Core 2/newer Xeon
>> ( ) Intel Atom
>> ( ) Generic-x86-64
>>
>> And it shows a different set of options when I run it on an x86 machine.
> 
> That's what I get here, but help lists all the ones I get in
> gentoo-sources, apart from MNATIVE, which indicates to me that those
> options should be available, once I work out how to switch them on.

Disable CONFIG_64BIT and you'll get them all.


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXkAtaAAoJEPbOFX/5UlwcfaoQAIkfxLSgjNuaWUwsxoSifmVR
NNYvCFs0fRvDbbpDhqKJXKqx4Ib3frtlYj5zagKahs6B/0JjLxExFoFqGkKTKPcV
DeLUcs8zSXdR7mn2jA70wjAzGoIZUZyr/udEt1gWQzhREHT2eXz2hQ2A9ecjqThD
mSRh2RuerA/ppQG57byQnxZ0vOq/YsEM1vdxlZBs5ZLowVfTEEZtAF9O8HzUl3hK
GZx2KAHhkxUAgu1hhPk1kdQQppeRwPtDe3hAF/Fj/nMP2uG1TFnsnbEUDjZLPtSs
yBjmV+MrZgCz5uxNotD2wujbj0CJEUc3kTmuSAhc4moQY4pObSYyEAOI3rrqeqYb
PPRpEIxo7la1baY0fbYfYzDwNj/9hHQLS+zN8dJ82ltYWvzrOofTjyqfSWBst1yN
7tgrydibHolW7Nn1RYNSab5byccCnPWkKGFUl/nOawNXMd8wBEVIwntGU9m+nPYP
wiB3jI93oXH95dX87J6bQETnDcnGKMcynSU1PiyaKWJTFFoTNye/159cSMZGDatt
RWMdGUrImjdSx5wjQ0k6voH0+YHxuzm/STHhrxg63vH9n7CKWz2UzWmwzcz3jBgN
rKu6+uIDOrJYtHvBwpuxKdm3oF3jND02l3QEKk8Btq1vh1BlbqCkaut/41ZDhTBQ
eNwb83Ys2T/uVrYcjRGR
=4LEm
-END PGP SIGNATURE-



Re: [gentoo-user] Missing CPU options in make menuconfig

2016-07-20 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/20/2016 01:50 PM, Neil Bothwick wrote:
> I'm trying to do something with a vanilla kernel from kernel.org. Under
> Processor type and features/Processor family, there are only a handful of
> choices, whereas my portage-installed gentoo-sources lists many more.
> 
> The help page on the vanilla sources shows the full list, but they are
> not available to pick and the help does not mentions an option to enable
> to show these.
> 
> What do I need to enable?
> 

I don't use gentoo sources but I remember reading about gentoo patches
for processor specific optimizations and being tempted to try them. Is it
possible that is what you're refering to?

The vanilla sources only shows 5 choices for me on amd64:
(X) Opteron/Athlon64/Hammer/K8
( ) Intel P4 / older Netburst based Xeon
( ) Core 2/newer Xeon
( ) Intel Atom
( ) Generic-x86-64

And it shows a different set of options when I run it on an x86 machine.


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXj8PfAAoJEPbOFX/5Ulwc3WgP/3fVBeoK3QDnAave2zOQQad3
gHiXz6PTfMqx11zdriStIwjr3QfZ8jaRfgimadLl6ucCDgQcKfjb7LaUkjTtYsbH
0CMYijgIEuL/IVW+yy0r/8dx7joiV69+GhqKbLW7yNn22G6BmOY3+1LQy+NpJ5RI
Vu+0CH5xUZKDj5d3Qwj26dbNQ84U8Q4LjSBBZ+IO/hrsUqaf5ElNxy+v5JVDMOuL
hC94orCFce62SxFsKlESMJyET7qg1ofOV7QRQZfHdNIZTDPV5/G8czTjIyto0oY3
8tGlsfcKW7PWyTM5heI6Ri2W6rTo/phV8sAPCQzAFZwUeYrfhWB14WgdO4oVuUjg
A98hELkgLA/r0NyOZbNWasNiB4aWX48bheCj9uww8+Lj5dUDOttzmamH+ZnaOfgk
+RHTSLL4owFVSl/07DR8ispYV30xKcIOBcwHglKQABYr8uuX/LM8dzbyxOc767PO
VvZdfATx4WStostw3H1sv8cU02EPzPzr9B+UKMEyYxVzmxQygdeu5m0X1j/ESJQK
JmSr0drla1fnfsgafGWfz1FujjFQZBu9K6eSuYZbFBMfWskOY90z3Ph5QTjQs60p
ud+gIGtKeWDAKx6W5y3FXE2t8dc0kkYVdPVirfP+W04L7ficEb2GnZgcZKGjxmmb
Dj6s0DYQa5SrfESrwKN0
=eRQp
-END PGP SIGNATURE-



Re: [gentoo-user] KF5 icons/styles settings UI. Which package?

2016-07-19 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/19/2016 04:26 PM, Alan McKinnon wrote:
> On 19/07/2016 22:04, Fernando Rodriguez wrote:
>> On 07/19/2016 03:37 PM, Alan McKinnon wrote:
>>> On 19/07/2016 20:58, Fernando Rodriguez wrote:
>>>> Hello,
>>>>
>>>> Can anyone tell me what package I need to get the KF5 kcmshell modules for
>>>> icons and styles? 
>>>>
>>
>>
>>> plasma-desktop:
>>
>>
>>> alan@khamul ~ $ equery belongs /usr/lib64/qt5/plugins/kcm_style.so
>>>  * Searching for /usr/lib64/qt5/plugins/kcm_style.so ...
>>> kde-plasma/plasma-desktop-5.7.1 (/usr/lib64/qt5/plugins/kcm_style.so)
>>> alan@khamul ~ $ equery belongs /usr/lib64/qt5/plugins/kcm_icons.so
>>>  * Searching for /usr/lib64/qt5/plugins/kcm_icons.so ...
>>> kde-plasma/plasma-desktop-5.7.1 (/usr/lib64/qt5/plugins/kcm_icons.so)
>>
>>
>>
>>
>> Thanks. I thought it should've been a separate package since it affects
>> all kde5 apps, not just the desktop.
>>
>> How are non-plasma5 users supposed to change these settings?
>>
>>
> 
> 
> I have no idea, but I think we should wait for someone to have a
> brighter idea than mine. My test was to rename those .so files
> temporarily and see that system settings was broken (error message was
> "plugin not found").

They're registered by a .desktop file somewhere in /usr/share. You can
start them through kcmshell5 even without the systemsettings app installed.

> It might be that those plugins are merely the plasma desktop's way of
> making changes (all they really need do is adjust some lines in files),
> so maybe plasma team expects others to write more stand-alone tools?
> 
> But I dunno really, I'm just guessing
> 

I'm thinking about filing a bug because they really don't belong in the
desktop package. Does anyone knows how feasible it is to split them?


- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjpDQAAoJEPbOFX/5Ulwcm5cQAI0m1XS+Y+4AN0t+FfZJt8hq
Xs+g/13AVskUkmu4GvHO+re/YYlk1fKb6+Byt+xtP8K3JsclhKuRq4gUBR0uXhqd
5FydletJiItfxzKfwScbpNBaRaJ9JBTVevNl4JY+eDfoSqtvyOi3fOiUbT4A7wMH
Buka192lBVPVna6rEb3PAd5aXLWZgdcURE3E6bthLRXLIaLEnEsGbyj2Mwq7eEx7
NxmGczWkFBm13nilSC+uT6N4zTxFejyEbwrIGoxsLNj7XzbKpoWCuHzyer9ggv6f
vGJ6h5oJW4gUNp+6EFNkmEVkBe55OEMnIu6C6FAPyW0Lbpx3pK8RKTvRJb+jSUSY
i1UnUq2lmJbDAj8EAH45IkVH7vs9wUB9vxPA2H/hA0Q6FeY3WaJl/S75ZhUv2EVX
gLASDwnk82kUaIVX8BudG/HLzx7+nzbHh8vPSkh0a930F1gfuviDmVl4S9qlmfBm
d5nXX1vFWlIdHLxq/23l8PKXFjhvTr+kaSz+VuY3YiqfSZAEawIO4v7xLko54NY2
mpapiNLSMvP/fJewtYRmc0+wpDSGk5bTrgOQotpcsUeqSzogzKry7WmdTEIz6iW0
+1JIjRSNNKF8tKBTEDYJzy1EqTLad5rO+6pQgIGt+sXZpEbSZryq1f3KH5dnSZvA
0aTICw8JftLcKno9JdkN
=DO3M
-END PGP SIGNATURE-



Re: [gentoo-user] KF5 icons/styles settings UI. Which package?

2016-07-19 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/19/2016 03:37 PM, Alan McKinnon wrote:
> On 19/07/2016 20:58, Fernando Rodriguez wrote:
>> Hello,
>>
>> Can anyone tell me what package I need to get the KF5 kcmshell modules for
>> icons and styles? 
>>
> 
> 
> plasma-desktop:
> 
> 
> alan@khamul ~ $ equery belongs /usr/lib64/qt5/plugins/kcm_style.so
>  * Searching for /usr/lib64/qt5/plugins/kcm_style.so ...
> kde-plasma/plasma-desktop-5.7.1 (/usr/lib64/qt5/plugins/kcm_style.so)
> alan@khamul ~ $ equery belongs /usr/lib64/qt5/plugins/kcm_icons.so
>  * Searching for /usr/lib64/qt5/plugins/kcm_icons.so ...
> kde-plasma/plasma-desktop-5.7.1 (/usr/lib64/qt5/plugins/kcm_icons.so)
> 
> 
> 

Thanks. I thought it should've been a separate package since it affects
all kde5 apps, not just the desktop.

How are non-plasma5 users supposed to change these settings?

- -- 

Fernando Rodriguez
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjofiAAoJEPbOFX/5Ulwc7dIP/32iHWVFqESxbAfXYkIu9w7B
H6Mf03a32KJZ8/nRWLQsIyvgO/bhmYA8becJqq1z5snro93AlmQIZJJlOBkM+vEl
xk5COmsWcwxKppQ1SzR0U0lRrj4JunfkVOj6NFt4U2utDQVGRuVIUlyls2NO6J+C
swlQLIJy5l5MYd1Mk4zqKwClNciMmTMXsn2E6B5DDR/wzs3Goz56FEl+Gqv8UIpY
zRjvfdNud6IMrB45+/31Be6Lu8c2Kbh2FXFuTZkDTzlS/abPc0HfIcP7mLapRHxO
z21+QfCPLI7hWhBa8Cg43Rwn02ki4MeJPZ2FW1dG5qozsHfaeTnIkgqhy2Nxen2K
ivfnFPYiaV2fldWjpCln3vr6PEWVQbzBAnJOjnxePGmvk/aiZuZvMtKKColQ8Zum
rwm4LAI2rh5+fXQgBJx6LQe21BrDCSYTwT23uwc4lYJR+zWnJgArLAP1EWjKYXty
5uFeeDbBH7KPwigfvvnPQbWYJiFnDHT+ao9ce6CwB6QqMB9xKqu/wpBVvOJ2zYze
X9YEHKQQW38ATcVyoudoe7V1GrecMAK6gcmK9V0XGaS2BCnvDvESGR4y33CXuGUm
XUdlWUlxf/H9o5U+zL72UOmzPwjn4nVZUdmG8O/oZ7on6KLzw1J+VXjXnvCAkSNm
HEUM4MX0xCUr7nq8pl9K
=nDyw
-END PGP SIGNATURE-



[gentoo-user] KF5 icons/styles settings UI. Which package?

2016-07-19 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hello,

Can anyone tell me what package I need to get the KF5 kcmshell modules for
icons and styles? 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjnhmAAoJEPbOFX/5Ulwc+7AP/2J9VCTkofodDtMqnXEZwZ3f
M8oJvXT/gF9NN1z47Dhd8H+eyYXCGh0EW/9o3jG8ADeb7etyHUCZe71nmuSe+TxU
Ae/8vjVnf5t1+z53lx6LZklg+1luGT2NcH0PklzpDyaGgeNpXHc9jxt4rmGMVhe0
+cbLsdWj0/EW2a3uNrZAeR+ZX7Xo9fmtxwV3D4W3Uuq2wf96Aht2fHpOT7DHy5la
0oQ5DdNs9SvYcgg2qL7fo69qaXRRNEIhWp7LmC7BElqFotQMfStuQp9Btm4ZTsxY
IpfwY6vteAOanYFEm8CgkbdF1Qmb3BYF87/iWdym83BrzdI4aDNNjTR1ly22C+H0
7i9vBTMyC8hGtI/Esv4K13UX754tA/qfJnIL3MyXsBXSrN8dbhVWgj+WFTCXQ2N0
YpNkycdZ3dFJdTU6UmARrzkot6sCf2HBTAHRwPPI+mhgIMnI/IsOX+dRUK/xgPfX
WJww1QorSlOMjwS3rLYnXGPmliL0sQUnwwGUyOjBwIFlNDPJS51jwuNZGxUivVwJ
YROr3HKK/pw+6itoXcKKQUUU8B3ZFcPs02KRrvv7IlQXOXKe4ZDU4390wghYBbeo
y7iioMZByMYVxm91eZV1JE3hcBONkhpFprccamrKKPx+zpCgPW5VKtWDuPSk02JC
skrpfmodW0r9yF4UDLPu
=7pEW
-END PGP SIGNATURE-



Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-19 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/19/2016 12:30 PM, Marc Joliet wrote:
> On Tuesday 19 July 2016 18:08:24 meino.cra...@gmx.de wrote:
>> Fernando Rodriguez <cyklon...@gmail.com> [16-07-19 17:44]:
> [...]
>>
>> Hi Fernando,
>>
>> thanks for your kind help! :)
>>
>> ok...I will give pulseaudio another try...(sigh)
>>
>> Before I start...
>> If my memory serves me right...is it true, that X11 starts
>> automagically pulseaudio , if it founds it?
> 
> Well, not quite.
> 
>> And if so: How can I prevent that?
> 
> Specifically, applications that request pulseaudio (via dbus, IIUC) will 
> cause 
> it to start automatically, regardless of whether they're graphical or not 
> (e.g., on my home server MPD causes pulseaudio to start).  This can, however, 
> be prevented by setting "autospawn=no" in .config/pulse/client.conf.

That too. I don't know if x11 forwarding uses dbus activation though and with
a minimal setup he won't have any programs to start it.

>> Next problem is: that armbian offers a LOT of pulseaudio
>> related packages...any hint what I need to install as a
>> minimalistic solution (this is an embedded device with
>> far less resources and far less hoursepower...)?
> 
> I have no experience here, sorry.
> 
>> And: What do I need to install on my GENTOO PC?
> 
> Well, at minimum media-sound/pulseaudio.  I'm not sure of anything to 
> recommend here, so I'll defer to the Gentoo wiki: 
> https://wiki.gentoo.org/wiki/PulseAudio.  Also see the upstream 
> documentation: 
> https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/.  In 
> particular check out the module documentation, since if you go the pulseaudio 
> route you'll probably be setting up a tunnel, so I would suggest searching 
> there for "tunnel" (although I'm not up to speed on what's currently possible 
> in PA land, so maybe there's a better way).
> 

I think you just need the pulseaudio with the X and alsa use flags (and any 
other
flags you need to get it to emerge). I don't know exactly cause I just noticed 
that
I have a lot more stuff enabled than I need. You definitely don't want 
alsa-plugin or
your ALSA programs will use pulseaudio.

>> Thanks a lot in advance for any help!
>>
>> Best regards,
>> Meino
> 
> HTH
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjlsjAAoJEPbOFX/5UlwcLCwP/1jasCvsWuYkIInjYHkfTWCm
N1/zvm/Vub/O9EG5IErlh1M5wqo3utZq2CVUbBDzG1j7ysJ/+870EHtsuNJUVDHQ
1/4MHy3ICRJ6Ax53M14ehjujPEFsxX398cV99LYDu2SH+beyPdDME42Zfevb0jKM
oOEfdGTayygmmgLEH7wozspOELpOoSt7TnWK6/uztugRA6ivbaamF8xu9rY8Mzpn
Uv5g8qJeXRLUWR9zSa9yumjQa1ECV7VvvdGpLiQ6QLyOxHjrQzMIxWZDcH7BSREX
mmDWwLbq1f7GZVuNzspdazq83DDSyxlA+1x5ay4y0f6Yvh2jDG8MJa0UgKcr7KuI
vKeUFNR75GpYzy2WV74dnt/9oOqhCHVVox6NSJvLF9obn/LvXnLLDHDx+DuW3hgO
KMzWTd96zBL+Hom6cLGfVH0ldM2RQd1Ltr5FnbADz+lt0hRvlEOt7jTXiXre93FN
gVVI5J5AfT2rCvfUDKSXz1Le1oqLNjBN+2bkSUmLWzZqgvxPJLAmJZUMiHeeb8lE
AL64//BZH6YzMaT78dY9TkM4ORNgsjmP1zaB65QrG3jsuqW02ZN6+GJhWjhYNTZA
q7z3MzMzWuerGSBujcH/qSl4+7XQ8P/TTx9nrPMbBetwkgR5Euy7qbqSxCnorF9c
K/uczqrCWenx5qGDzTL0
=WJc9
-END PGP SIGNATURE-



Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-19 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/19/2016 12:08 PM, meino.cra...@gmx.de wrote:
> 
> Hi Fernando,
> 
> thanks for your kind help! :)
> 
> ok...I will give pulseaudio another try...(sigh)
> 
> Before I start...
> If my memory serves me right...is it true, that X11 starts
> automagically pulseaudio , if it founds it?

It used to be like that (through a .desktop file IIRC) but if you're
using systemd it now installs a systemd user unit, that's how I start
it. I think it still installs the .desktop files cause I deleted those
a while back and I remember getting them as a config update (etc-update)
recently.

> And if so: How can I prevent that?
> 
> Next problem is: that armbian offers a LOT of pulseaudio
> related packages...any hint what I need to install as a
> minimalistic solution (this is an embedded device with
> far less resources and far less hoursepower...)?
> 
> And: What do I need to install on my GENTOO PC?
> 
> Thanks a lot in advance for any help!
> 
> Best regards,
> Meino
> 
> 
> 
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjlZJAAoJEPbOFX/5UlwcI0sQAJu8jBikeYRHg/wTzF8bvCB7
vS8vb5EwqgLLWMQtvawJ6E+LHmP5OXOCTBx1XvNVkiQOf7xgbFcq4STLsPnIjHdh
2l8jn2WaYW1iPMbnVyZRxtMXQ/1B4q754JHKQI72r580zNQq0bNPvDdwSKwrhC6T
IrYx5wLcqLJxEsbYCFZT+4F9eg1JBTFyyDHPzWEKddfDiuAxhA0YOPnBoP+y/umv
rtsRKMjyA6P/RQWS5yms7k7Gu0bplVsQ5hI/4JLnlmtJiGrRw0RIHfddwQgDJ4Xc
MTH2Nsl6b2DnE5MiMSs2V6be5fIbOTZPvjfSROm5Bmo/IpRIaMvnboYsHmX2Gfyf
O1AG37INUvX2IYICpKY+Psv9fVCpv9UoEwyM47q8eF4L+nA0DjQ0mcbLhsE7rcuJ
EcngIWsWtXsixOU7elKl70Ud9TB53X4+9b3Q+VuOiA58PJKWmEU0NFBiGUZJuPOr
KgQhRKZauY7xSjSr9uvEG+zwF4noIzEgENiu8yeNSRMiGwFLNkFAVoFuRRdPReia
YepbeYNBs0xC2wR9O89CHCVxSRn5tDQGKNFu1RIFmF+c2TIuf3zSO+x5M8QtbDMG
pJu22toZbvE7LVQoXbFWRtDUZbWgH5JGhYDsH4kQB7dA4e56xBp4LkpRnLTkcscj
8VSg2eV8Gtvx26dJ2lO5
=fZaI
-END PGP SIGNATURE-



Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-19 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/19/2016 10:37 AM, meino.cra...@gmx.de wrote:
> Fernando Rodriguez <cyklon...@gmail.com> [16-07-19 16:24]:
> On 07/19/2016 08:17 AM, Neil Bothwick wrote:
>>>> On Tue, 19 Jul 2016 07:21:33 -0400, Fernando Rodriguez wrote:
>>>>
>>>>>>>   The following REQUIRED_USE flag constraints are unsatisfied:
>>>>>>> client? ( x264? ( dec_av2 ) x265? ( dec_av2 ) )  
>>>>>>
>>>>>> It means that if you have client you need x264 and x265 and those both
>>>>>> require dec_av2, which is the one you don't have set.
>>>>>>
>>>>>>   
>>>>>
>>>>> I thought it meant that if you have client AND (x264 OR x265) then you
>>>>> need dec_av2. client doesn't require x264 or x265 by itself.
>>>>
>>>> Doesn't that use || ? Anyway, he has client and x264, so dec_av2 is
>>>> needed.
>>>>
> 
> No, || means "any of", see [1]. And I believe in that case portage will 
> translate
> it to "any-of" or something like that. These are just nested conditionals. It 
> can
> be confusing even for someone with programming background. I suppose portage
> could translate that into a more human friendly form but with many nesting 
> levels
> it will get ugly any way you put it.
> 
> And yes, dec_av2 is what he needs (unless he doesn't need x264 and x265 
> support).
> I was just clearing the point about the meaning of the message.
> 
> [1] https://devmanual.gentoo.org/general-concepts/dependencies/
> 
>>
> 
> Hi all-taht-are-helping-me :)
> 
> ...I am currently facing more fundamental problems. Background:
> I run an Orange PI PC (Allwinner H3 quadcore, 1.2GHz), which has
> an HDMI connector, but this would mean an additional cable. Since
> the Orange PI PC cannot be powered via USB, currently there
> is a power cable and an ethernet cable around here (next is to 
> replace the ethernet cable by a wlan connection, but first I need
> some sound...)
> 
> The traditional ssh -X user@host and then starting a X-applications
> runs quite well and even monsters like open office are quite
> useable...until those applications with sound.
> 
> I tried xpra and (with your help! THX! :) it is spitting warnings
> and is to slow even when using application, which do not create
> sound.
> 
> I dont want pulseaudio. I tried that several times on my dekstop
> Linux PC and it screws up things for reasons unknown to me. I will
> not exclude the person in front of my monitor as one of the sources
> of those problems...but why to give it another chance.

You're not alone. Sadly as you're finding out, that is the state of such
applications. PulseAudio being the most widely used will probably
be the easiest to setup and find answers when you run into trouble.

On my laptops I disabled the pulseaudio use flag so none of my applications
is using it (except Bluez) but I keep it installed and running for bluetooth
audio. That way it cannot screw things up (except bluetooth audio but that 
doesn't work without it anyways). Yours would be a similar use case.

> Jack-net isnt available fon Armbian as server application (Armbian
> is running on the Orange PI PC).
> 
> I dont like HDMI since it is a monitor thingy and does not integrate
> into the desktop well, since it is a physical switch. 
> 
> Any other chance to get X11 talking to me without any addtional cable?
> 
> Best regards,
> Meino
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjkieAAoJEPbOFX/5UlwcGxYP+QHFjWsyvZsuLJKaq0pQw/QD
WNGir7xp7XVpTr5T2Pjq2UecJPvjRlOB15NsUbonLiep6R7P1HD5mlq4BBbmAJv8
P6/xKZZ2LGg2a5JZrk8BgDWijMQNO7Z2+xm3pR0jVsAqzKehWw1lcTxiEHgZqm33
te84Uwd4YKKUFl1Vf/qih1XVHs26TRtX/j4FuTk/JQWW0fZorBoQAl+i9C8PKO9k
i8FNyQBv/3amgpPx1xxdQWhCrNF4ljdC7dXYbNHV5V2eMKxNO7YbOIxVdSVDaCt6
ZyswWtTHYEktn+tgbu8Uv0fQ4KCJ36YgyOhkycEObanuV1QpfSrd5bWQ0Z8BG81m
yCKhA58z6YeMI8inW6cOFERXprFLy5VNAg4RN8jhePEHzrI6U3GVfA6uAb+CPR2u
Q65MDxq1X3YBrE8BW01OBhVdj/dS8PGBf7yA3inXkvplr2XibfGaBn7GghpBuVZL
ruWBRv+OiL7cU8tfaFezIhdE590pAXq+fWEiqZrmSfuwjUovPi+JhyXh7W5LbWMB
MinCChljYFw1G5ZnWDEd2WWF3ToCV4EDuSad+PtfHbOA89yp++TQIpysv5J9T0od
OcuRKSnZj6FUMGuCuJOSpdNoLJQvi+lRzZKQVD3teKtN9s2hq5xertIHGfYpZqPo
IbI8Xjm0Be5ptF8bLvwR
=9p0t
-END PGP SIGNATURE-



Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-19 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/19/2016 08:17 AM, Neil Bothwick wrote:
> On Tue, 19 Jul 2016 07:21:33 -0400, Fernando Rodriguez wrote:
> 
>>>>   The following REQUIRED_USE flag constraints are unsatisfied:
>>>> client? ( x264? ( dec_av2 ) x265? ( dec_av2 ) )  
>>>
>>> It means that if you have client you need x264 and x265 and those both
>>> require dec_av2, which is the one you don't have set.
>>>
>>>   
>>
>> I thought it meant that if you have client AND (x264 OR x265) then you
>> need dec_av2. client doesn't require x264 or x265 by itself.
> 
> Doesn't that use || ? Anyway, he has client and x264, so dec_av2 is
> needed.
> 

No, || means "any of", see [1]. And I believe in that case portage will 
translate
it to "any-of" or something like that. These are just nested conditionals. It 
can
be confusing even for someone with programming background. I suppose portage
could translate that into a more human friendly form but with many nesting 
levels
it will get ugly any way you put it.

And yes, dec_av2 is what he needs (unless he doesn't need x264 and x265 
support).
I was just clearing the point about the meaning of the message.

[1] https://devmanual.gentoo.org/general-concepts/dependencies/

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjjWmAAoJEPbOFX/5UlwcEvsP/RMEbpNJlJIbNHDIk5AANnlG
/gox+r/K1/NWJ003WHtdHNNXZURa7jJrDoAsPbZ4fplbezdNNteLThYXJl1BA75G
OZfc/M7zB3TeHSaTDPwTwCfUUZPsicc5CttPwgh127VcXLct+IV8TbDXiD31gK0U
56Shl54Fh5cymuBt3hrtUj4hBtczUITWHL2US6RRcKHHVkHmGGOKNiumXYTbt4Op
w42htuFyXIvvIOCUZxM700nrw6yU/Cv7OCEps1pHor9V2lYYPgX+88U4tBWogOiN
voFaUUkkqMt2y/3zo0KmKABb4JjKTa3ros/0x1UFck9wuMCyvf23i1f1hGhU3Ea/
mq5XcTDO6oukPxpmQGveMT3NiS8vGyXkORPnOW8rT9dqJoivkYOK/5M9nZBlGIkq
dfzbgbA664iDADxf1W4fdzjUXv5WYPgafqnhkmAbXkkCOZmvFFrZ6dupOe1rfJvV
hg3IVAiO+Ape3vPbpd0gzHqzV+1TQGc/ljNF1XXW83Jp4LcslKZ1QZ3mFJ07LlQ+
qQN+Iwu9L6JkohI+5VjwsT++YnooSIW7y3j4SKjR+peCV7GizqSJi7z+oT2spF6E
2lKhHDzb2Cpme0SuZFntytfjxYmg0G7UuAqNBMgP+Ep9iFpFXh22LdlTb32fEvMX
toW7DP5Eln2Qq8LWW9/B
=mUPb
-END PGP SIGNATURE-



Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-19 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/19/2016 03:49 AM, Neil Bothwick wrote:
> On Tue, 19 Jul 2016 07:08:24 +0200, meino.cra...@gmx.de wrote:
> 
>> !!! The ebuild selected to satisfy "=x11-wm/xpra-0.17.4" has unmet
>> requirements.
>> - x11-wm/xpra-0.17.4::gentoo USE="client clipboard lzo opengl x264 x265
>> -csc -cups -dec_av2 -libav -lz4 -pulseaudio -server -sound -vpx -webp"
>> ABI_X86="64" PYTHON_TARGETS="python2_7"
>>
>>   The following REQUIRED_USE flag constraints are unsatisfied:
>> client? ( x264? ( dec_av2 ) x265? ( dec_av2 ) )
> 
> It means that if you have client you need x264 and x265 and those both
> require dec_av2, which is the one you don't have set.
> 
> 

I thought it meant that if you have client AND (x264 OR x265) then you
need dec_av2. client doesn't require x264 or x265 by itself.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjg09AAoJEPbOFX/5UlwcFkYP/3YdLVw0ew6Z3Vx3h/jw8rEa
jkMC3ER02mauN0mM+INIqbUZhqV36Oit3SjT+5mula77EGcdpI044AQC+uFgZrOc
dD5xeWP02ky8DNDxYlzGDjO9BanNONp5B774olJG6HpWtHTCmt6ftnqzSJeuDAdZ
WfHmj379BPW406EhfC1pXEsCABuzDZT+fV6QmBHjoUrL1DTZiH0S3H8onXk0mVsJ
rlirU3M/6gGRtLPAcL5e0BHuYObrzR/wYWRmCH084bbUgkTfkBbjXN1Zaol1JvlS
JHBRwPnSX8XuSWM++8NXAzJekfzVDK+njD0bjvcbO4/aGmRTniSACUdoZsMaBPc7
Of7E7oUhJb3Y4AtvPOJ5gYeDAaMuMbumu/fIOQiJBOd+Rm4qELcGUNXB4qwiaoam
WQa/yvQStdLrHuAV3nXBK1g0ionh6174qrtq5suZiRUW7yIsoNqtNmVjz3LcbF8Q
8PpxZ4/XyCvZTzv2VTzkvKsZmGD0Pf0a87xmWEsEFxkmevsAhMIWqE4J10FJIsde
qIUNnNDLPkCTArkOGriABOMISLGWe3OGfllDYT7dn1lwwdwF3HRVvmMJoW8kkzWq
ei+YZVOYpbANESMkfPJFTRwN814CMShOGtEZQ2sGW7Nh1C6hoctqQUSgEoh4+WPc
AIgTk2q5DnArM8XAnPNi
=Rg38
-END PGP SIGNATURE-



Re: [gentoo-user] no sound through headphones (still bad)

2016-07-18 Thread Fernando Rodriguez
On 07/17/2016 01:43 PM, allan gottlieb wrote:
> On Sat, Jul 16 2016, Alec Ten Harmsel wrote:
> 
>> On Sat, Jul 16, 2016 at 04:17:04PM -0400, allan gottlieb wrote:
>>>
>>> To answer Alec's questions this is a 3.5mm jack.  Nothing new in dmesg.
>>> sudo lspci | grep -i audio   shows
>>> 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 
>>> 09)
>>> 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High
>>> Definition Audio Controller (rev 03)
>>>
>>> I think/hope we are getting close and thank everyone for their help.
>>>
>>> allan
>>>
>>
>> Just double checking; what is the value of these config keys in your
>> kernel config?
>>
>> * SND_HDA_INTEL
>> * SND_INTEL* (there are a few of these)
>> * SND_SOC_INTEL* (there are a few of these)
> 
> E7450-wired linux # grep SND_HDA_INTEL .config
> CONFIG_SND_HDA_INTEL=y
> E7450-wired linux # grep 'SND_INTEL*' .config
> # CONFIG_SND_INTEL8X0 is not set
> # CONFIG_SND_INTEL8X0M is not set
> E7450-wired linux # grep 'SND_SOC_INTEL*' .config
> E7450-wired linux # 
> 
> Is this last empty reply significant?

Those are usually for smartphones and other System-On-Chip embedded
system. How about:

# grep CONFIG_SND_HDA_CODEC .config

It is possible that the headset runs off a different chip and
you're missing the codec driver for it. To check enable them all in
the same way you're building your other audio drivers (modules or
builtin). If it works you just need to figure out which one you
need and disable the rest.



>> I'm completely grasping at straws here. Another option may be opening up
>> a terminal and running:
>>
>> pulseaudio --kill
>> pulseaudio --start --daemonize=no --verbose
>>
>> Then try and use audio and see what exactly gets spit out.
>>
>> Audio for me Just Works (tm), so I hope this helps.
>>
>> Alec
> 
> gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --kill
> gottlieb@E7450-wired /local/allan/gottlieb $ pulseaudio --start 
> --daemonize=no --verbose
> I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation 
> not permitted
> I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation 
> not permitted
> I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No 
> such file or directory
> I: [pulseaudio] main.c: This is PulseAudio 8.0
> I: [pulseaudio] main.c: Page size is 4096 bytes
> I: [pulseaudio] main.c: Machine ID is 6089ce1bfebfff5e96a31beb55b51fc9.
> I: [pulseaudio] main.c: Session ID is 1.
> I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
> I: [pulseaudio] main.c: Using state directory /home/gottlieb/.config/pulse.
> I: [pulseaudio] main.c: Using modules directory /usr/lib64/pulse-8.0/modules.
> I: [pulseaudio] main.c: Running in system mode: no
> E: [pulseaudio] pid.c: Daemon already running.
> 
> Starting audio did not cause anything to be printed.
> 
> allan
> 
> 




Re: [gentoo-user] llvm install and python_fix_shebang: EPYTHON unset

2016-07-18 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/18/2016 07:19 AM, Andrew Lowe wrote:
> Hi all,
> I'm attempting to update llvm & clang and am getting a failure. Portage 
> is reporting:
> 
>  * ERROR: sys-devel/llvm-3.8.1::gentoo failed (install phase):
>  *   python_fix_shebang: EPYTHON unset (pkg_setup not called?)
> 
> I've looked in the ebuild and can't even find a mention of EPYTHON. I've 
> tried:
> 
> export EPYTHON=python3.5
> 
> and
> 
> export EPYTHON=python2.7
> 
> and still the fail persists. Anyone got any thoughts on what could be going 
> wrong?
> 
> Regards,
> Andrew
> 
> 

It is set on python-single-r1.eclass. What is the output of these commands?

# eselect python list
# emerge -vp sys-devel/llvm
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjMWcAAoJEPbOFX/5Ulwc32wQAJiC462L8Ql2e31nUuPcQNKu
f6EWtzXXgx48+4PMeEceJ5flDaSSc7ogXq+sgs/rA4r4NR2Khx77/f76dwVrP1UB
5osM3XatgoWancxewjw8HzW3pPrgBYOZN4Qm1ZLfKHEveS3N8LGx2EDIVUC7QDbf
sdEUQ4nWoA/KiMV0V/sFA/3NYsHrH8FRc7mb6HUchyQEitcMIbK3X0OU+r6bBEvc
7kX7j6bpcsM+W/9YF0jFwFtxYU7CwtEcY4cJaqdkMvEj1yaxkJPAPvBrfzenLVog
ZKovil4nk494t4U0niZ7kzBgTjPn3gOBvisGb2YSfeVYX/yYL7zs42ZFh2fcuSwT
DUgvmNMHweqjsj51zZoXxx9dT/bkJJqjXyNdnX0BqIuyQAJ4LITtW412l9/H0VIW
1bybRduZ1aEIeYJovsjgwp/NITMZvBPr1EM0QIGrppnCs45zs3ambcQqNbk0vTc8
3qghaTAcrUX9FMgeuf0k8LUaJPBdjTxFBDMFv7fr4mPpLgr0mWYYN3zgRPM9SDh5
3FC+aXv24T6e+ly96sgluhY05CC18mSEkhUGzJR4qZdIKC2GFl47pNxHWU7T1qsq
wRzIBnfEUI2Y2Cae6lCwHbY3hs+ltUgCUhM2l1z7fAsj4KFnXV6ooa52BEM9dUam
0DxCZMPa4tI+/LjGOee1
=EsNF
-END PGP SIGNATURE-



Re: [gentoo-user] "X11 forwarding" so to say ... but for audio

2016-07-17 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/18/2016 01:16 AM, meino.cra...@gmx.de wrote:
> Hi,
> 
> I am experimenting with microcrontrollers, dev-boards
> and other stuff a lot.
> Nowaday these "post stamps" are quite capable and often
> run linux of some kind.
> 
> The beaglebone and the Orange PI PC are of those, even
> running an X11 server.
> 
> X11 forwarding is quite handy in this cases...but I miss the
> audio.
> 
> I am already tangled up in cables ... and dont want to add
> just another cable to route the audio signal to my PC.
> 
> Is there any other way to get the audio from the (in this case)
> Orange PI PC board to my PC in a way, that dont need cables
> and is easily reconfigurable, if I will change the board
> to something different?
> 
> Thanks a lot in advance for any help!
> 
> Best regards
> Meino
> 
> PS: @James: Do you know the NodeMCU Lua v3 board? ;)

PulseAudio.

https://askubuntu.com/questions/371687/how-to-carry-audio-over-ssh


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXjGfLAAoJEPbOFX/5UlwctQkP/iNU+KqzevUo37aLHe4HMz43
JZR2bVO9noJL+AfFZRfl2Hms7tGL4aUWkBSX/LBK9WUBDb6kn9aoZHGc7TtxPIN/
VpBcDCFseszXiVhp/Dn+Oib/oqr7882z6iHrliir2+BujiRFqK2mmSjvTDjY7Cry
q8ut08mfmTtgfxhfQLGjtuVIFz3VttY3W60pnXjP1hYaNniDK1hV3xiDCC1I2lZy
vKN46BrGiNR2DtdOFSnZ9lCCrC4Ba2R1NbQm1Zren444aVXPwc4tbXIZvSwTNul4
6A2/fxgbPLJe8tAwbv2hMDB/iX1GP9kpi3H2kSYOtVtr1hiksot0Dk7Nr2KcRTVJ
+33UQrbcDO4x0JHVbbXmZJ9H/guSrxpT2TZMFddDAqyvDBcUfxnKe7DFIVsVpxlJ
QivDGmo89gw2gTAk2FPtGBIni4+ycNO9CeCo2jALuK8H7qqokz1zVKiEGYhJP6ya
G3HbQvu6kgBH9QIZTVIOMTLswnyD/+FZ5ltONJ1YWWDzfzgQDC2ZlUlfC98p45RN
871qK2qxGmL4NxIHGyJeLhq8Cg8ejvsvwDgTxIcCz1gwh4AhyKK7lylW6dstqQdn
PpR+b+rh6e0+roVISxxDFbHLxWWUOOcfVzwnrPtZG834VSCfX5djdb5w08X0WPm6
w8CDwi79D064penoyAuU
=zoYi
-END PGP SIGNATURE-



Re: [gentoo-user] Install dkms: which package

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/15/2016 01:20 PM, Facundo Curti wrote:
> Hi there.
> 
> I need dkms to compile a driver. (aziokdb 
> https://bitbucket.org/Swoogan/aziokbd).
> 
> Any way, I cant find the package to do that :S
> 
> I tryed with sys-kernel/dkms and @module-rebuild, none exsists
> 
> Someone can tell me what package I need to install? Thx

None. Just use the Manual Install instructions.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXiWAHAAoJEPbOFX/5UlwcO+wP/ROAhsjIVwSglSScBGLWk1IM
H+o04DngsKS8qSsnqnOJ89z6PQQyNqm0H34gyo9PowYJiRtGtD5ryHFAFzu1P55M
XfX2CY/otzwCZDX8jULO6YL14y7BgMDDgnN1LyHpUu1xKchP8ifXCOHsnGc33atx
7CVgyb+r0PVNtXNynQPO4QOGWepCRaKyDp8CFPDlNQXyemutKdnc1w6Fv8JdQHfF
yJMru1vuiwjWyFaNlEK7yEqtmUEKkGpQzYFTknTIaKNc3qE0bkpOXJJunbreCa9D
mvunrvSLl66xoQMF+o8BTud+KfQOAL72PaFNdBbXCSnZXS8CnUf1mbIFpx1JD14y
kuPpncrYKoyh06U75Rsy9WNHgDFXbG37rV/UuK62O1gacRIWnMG/I7K7iPgOa9y2
JM58K2IVfJ/TN7Z3EoTYkkpJkrvVvegJaLW/NqDJ2Evdsd+BNrck1gD/697eB5Iu
/T/XeKEmMSfwPkF4YD/d6WjvZ87VoI3rGCcx5e28rdXB37RsvUQIOMVeTlHcogw3
4Qmcq5Q235Lrs5NPm2Xl9hwLu/Qfbt/ixOZ08qkKMfsyvHPL4swSXhEx9ayVFN77
reAZJ21ZAl37bV18swjQG5wIgw55VTwNIYjJgXUxs4rhAo9D0opYrgWrhXN2bblU
wYD5rhGbB6ozl5eSDT1w
=W/hy
-END PGP SIGNATURE-



[gentoo-user] Mount UPnP MediaServers as FUSE filesystem

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hello,

I just want to share this project I've been working on. It is a fork of djmount
[1] with the following fixes/improvements:

1. Unbundled and updated library dependencies to recent versions.
2. Multi-home support. The original djmount will run the UPnP client on the
   first interface it sees. If it is disconnected you need to restart the 
daemon 
   or it stops working. This version monitors the networks interface and as soon
   as network connections are up it launches a client on them.
3. More reliable device discovery. Once a device is detected it stays on the
   list as long as it's available. Most UPnP clients drop the devices if UDP
   packets get lost (ie. due to high network traffic).
4. Support for streaming files larger than 2GB.
5. Streaming engine with adaptive buffering.
6. Fixed several quite large memory leaks.

Basicly you just start the daemon and all the UPnP media devices on any 
networks you 
connect to will appear as directories on the mount point them you can use any 
media player 
to play them like a regular file. For best results you should disable all 
buffering on the 
media player.

It comes with a systemd unit (it's installed if the systemd flag is enabled) 
that
mounts it at /media/UPnP. There's no openrc init script but if anyone wants to 
write
one.

The code is on github [2]. You can submit bugs and pull requests there. I've 
also
created an overlay [3] for it. I will soon be adding other related projects 
I've been
working on to that overlay and github organization. To install it just add the
overlay and emerge net-fs/avmount. It requires the FUSE module to be loaded or 
builtin.
To start it with systemd run systemctl start avmount and manually avmount 
.

[1] http://djmount.sourceforge.net/
[2] https://github.com/avbox/avmount
[3] https://github.com/avbox/portage
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXiVV0AAoJEPbOFX/5UlwczvUP/j5yFiRrA7VUgb/mJz1RHKY6
tlJE8gM3mQTqbBJvcMAAz8pUlsc5ZjiOu7aSjxRIQBGdWSdfk3uPYz5dliCRTUvU
KxuNj89LC7MH7b2U3LcfDGnWSOC984MTb8tTieyVouKRXH9zRpYDTDnCyjcJuKWH
ayBUZnjaym26icbHykq8wo6xmyTFLhSneYdmrzCj+HPYEyODxifDwHD5SWtyez8g
6uyYr825CgfQAmYudmqSXOrlMnoRPkT++nxbm31ZShPorcBxdZw8KWeyVCoy7eNt
6f8F0RzfGJelSrYWVipv+MbuUDXmXFiYaUkrZuY+cZ2w8bc61jNJm/+rNwzKGEcA
+FnRVMt5aRiZAvurKL7FY8v7MbXGhuXeMhbz+rnXMWsSrI0LaKagJraKWSdRqeIE
TrNDHbE+i8k6ar3BQVc/cKCvW7oX8YEaH0d73ezlPldMLdJFSxHJVRzYsnW/IH4v
8/0RPzYE2+hV8YZ3spf2rWJRDuEMNH1i4yjBuLWkqVaqMtkuuA5y/zzI5tET3HMe
BgIpubrY8QKS+x6JnvhIk9GSn7qf9qTaVZF/bmOpL44RtCs+U0auB54I81ZQM5rn
FDrHOpfy7WfqjXj+fbRR8pVVaJ9tFOXG6WKlXOKelvfhb0vaIg8mvgYc21zM14Mg
YIzSMOiV9u2sF/2rBor6
=ni2B
-END PGP SIGNATURE-



Re: [gentoo-user] Re: basic grub question

2016-07-15 Thread Fernando Rodriguez
On 06/15/2016 07:58 PM, cov...@ccs.covici.com wrote:
> James  wrote:
> 
>>   ccs.covici.com> writes:
>>
>>
>>> Well, the problemis, I don't know the correct parameters to get the best
>>> resolution -- there is a formula to calculate if I use vga=, but grub
>>> had a way where you specified the mode and it put the screen in graphics
>>> mode and passed it on to linux, which seemed unique to me.
>>
>> vga=  
>> 773  =   1024x768x8
>> 775  =   1280x1024x8
>> 791  =   1024x768x16
>> 794  =   1280x1024x16
>>
>>
>> http://www.sprint.net.au/~terbut/usefulbox/lilovgatable.htm
>>
>> may help.
> Thanks, I will check this out.
> 

For the framebuffer drivers that may not work. For a trident card I use
tridentfb.mode_option=1280x1024@60. The options for the different drivers
can be found on the kernel documentation on Documentation/fb.

What worked best for me with nouveau on recent kernels is to disable all
framebuffer drivers and enable CONFIG_DRM_FBDEV_EMULATION. It will boot into
the framebuffer without flicker.

You can also use the VESA driver to boot and then load the nouveau
module (which udev should do automatically for you). For me this switches
to the fb console as soon as the module loads but it gives me a blank
screen or a panic if any other fb drivers than VESA are builtin or loaded.




Re: [gentoo-user] Re: executing a command as a nologin user

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/15/2016 09:45 AM, Fernando Rodriguez wrote:
> On 07/14/2016 09:36 PM, Jonathan Callen wrote:
>> On 07/14/2016 05:19 PM, Fernando Rodriguez wrote:
>>> On 07/13/2016 01:41 PM, wabe wrote:
>>>> Fernando Rodriguez <cyklon...@gmail.com> wrote:
>>>
>>>>> -BEGIN PGP SIGNED MESSAGE-
>>>>> Hash: SHA256
>>>>>
>>>>> On 07/13/2016 07:10 AM, Alan McKinnon wrote:
>>>>>> On 12/07/2016 03:47, jens w wrote:  
>>>>>>> .procmailrc
>>>>>>> :0 c
>>>>>>> * !^X-Loop: n...@example.com  
>>>>>>> | formail -X "From:" | $HOME/bin/script.sh  
>>>>>>>
>>>>>>> procmail.log
>>>>>>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh
>>>>>>>
>>>>>>> for incoming mail, a script is executed. logfile has the same
>>>>>>> entry as it is in other users. but the script do nothing.
>>>>>>>
>>>>>>> How executing a command as a nologin user?
>>>>>>>  
>>>>>>
>>>>>>
>>>>>> You can't, not the way you are doing it.
>>>>>> You want to launch a shell script for the user, but the user's
>>>>>> shell is /sbin/nologin. This exits immediately without launching
>>>>>> the script.
>>>>>>
>>>>>> Give the user a real shell.
>>>>>>
>>>>>> Alan
>>>>>>   
>>>>>
>>>>> I've been following this thread and thinking the same thing but
>>>>> wasn't sure.
>>>>>
>>>>> What if you invoke the shell directly instead of the script, either:
>>>>> /bin/sh -c "" or /bin/sh -c "$(cat 

Re: [gentoo-user] executing a command as a nologin user

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/13/2016 06:31 AM, jens w wrote:
> Am Wed, 13 Jul 2016 03:02:50 +0200
> schrieb wabe :
> 
>>
>> Are you sure that the HOME envar is defined for the "nologin-user"?
> 
> # getent passwd user
> user:x:1018:1018::'/home/user:/sbin/nologin
> # su -s /bin/bash user -c echo $HOME
> 
> 
> I change $HOME in /home/user, but the script not executed.
> 
>> Is there a existing home directory defined in /etc/passwd for this 
>> user?
> 
> yes, and the mail-delivery to /home/user/.maildir ist ok, also the
> access from roundcube is ok.
> 

Have you tried giving that user a regular shell without changing anything
else? and it works?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXiOo/AAoJEPbOFX/5Ulwcj4oP/RQ5D75FNlJjD3zCcWgvGuT9
M7A34R/YKYszPckOKtQl2+Kc4kzZlO9zXBeFUUSoUZFCSiGZI4RkYpo9zZZXEimW
X1+XHcw4noeoqSj0iX9cGX8p8WZFPz8sj7Ui/raaxdEx5rVt8PySz1jvpCtvunS8
ieLZVmLoOkmDQKHMFx/VpdpSkiD+tH/Y4eb8tgNF3jzf8ODv1u2YjER5WpbFKS/m
vJCKcChbA6nahvk9RCcOthY8SMgR6/VPQSF6SiXHCgNPBgA8zBW9qDrVywpvYoOu
pMF/8U3TdljnrkP3BLrZd0+FyK09992wXSXq3s1Y2cw77FevF3yIuDfefI57t/BS
HfYpKSsWEB5ephaabZi93l0Op9doctAYOQXoJz6L6x/F6RB4eYIHMfXo7mHfYXvx
bBDrYsgpm0zTK44NQbYsrzBHrfKagOCgKIyKgrfkn4VMMap5Rtwa2FIW3LngHdOO
l7BHT0LnMPyT+ieTVkguOcD07THPfWGuONbALHIaTbY10AQyFgvfEY1E6378vETT
LjbC0BPfXOisXlt6nhInJ4prpTrAyZlw57lSzuWE41PO4DCEn+PCmz0tISNpZ4Fk
ML7X9G+WF2fk4MK9MBEeMbWhQ8A2V2K7+AK4FOM2bI2abCsRktWxAYm9J0Bgu1IM
XqDlm1IWPrH5BZvJfIae
=sSxt
-END PGP SIGNATURE-



Re: [gentoo-user] radius use flags

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/15/2016 07:42 AM, hw wrote:
> Hi,
> 
> is this what I should expect:
> 
> 
> equery uses freeradius
> !!! No USE flags found for net-dialup/freeradius-3.0.11-r1
> 
> 
> No use flags?  The wiki page[1] says otherwise?  Or is this
> version too old?
> 
> Does it have mysql support out of the box?
> 
> 
> [1]: https://wiki.gentoo.org/wiki/FreeRADIUS
> 

No.

[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for net-dialup/freeradius-3.0.11-r1:
 U I
 - - debug: Enable extra debug codepaths, like asserts and extra output. If 
you want to get meaningful backtraces see

https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - iodbc: Add support for iODBC library
 + + kerberos : Add kerberos support
 + + ldap : Add LDAP support (Lightweight Directory Access Protocol)
 - - mysql: Add mySQL Database support
 - - odbc : Add ODBC Support (Open DataBase Connectivity)
 - - oracle   : Enable Oracle Database support
 + + pam  : Add support for PAM (Pluggable Authentication Modules) - 
DANGEROUS to arbitrarily flip
 - - pcap : Build the RADIUS sniffer which requires net-libs/libpcap.
 - - postgres : Add support for the postgresql database
 - - python   : Add optional support/bindings for the Python language
 + + readline : Enable support for libreadline, a GNU line-editing library that 
almost everyone wants
 - - sqlite   : Add support for sqlite - embedded sql database
 + + ssl  : Add support for Secure Socket Layer connections

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXiOxFAAoJEPbOFX/5Ulwc3M8P/iY9EHNboTlJvphI1XMqrT6j
c7uFAROWR/O3mqei2tbxv3r55xja4+f1BT5HCJS97EZvSOxzXBmMgVSrOpcLG9lW
qPkEhd9eTtCQaJZ5Zy1qi+M6Bv3N/ou5FTB2SRia6MvRzwB1yxN1t/fyI+NUOjhf
6MrAdOxprcDwxAyKWR+IgQKaMAE3xGqXEBGndOFgtYhhTPHW5ds0PyunkhOA+erx
X7mSz33YTKTxJzzM59U3cKwRI5HG7reGN834KQ8ttnjmB7WW0HGTdmCScBSghLcL
7Wvse9hm65JxRSJZsiLQA2W+S9rItwscQr4oMK7VzrJnhfRKHQlqX1MFG6iY8SIt
CVLsdEc9EonSy0iu2ZPBb41pTmaaGGB4LHE2j+ZO7zVubL1BJS6T3+dc/9kj01M3
SuAlxQuR3/fHPrOUdTSnTHHu+FCvMMLY7bPtv8gCx/OaY5tEEuX8FhuwCsuD3ubC
QvGmg8xdodsbvWGM2eEszFd3/HzDUOE9ixosdqNsv5UO/CHlYAQa4/BGmYSuMEC9
bZjPLWh5uuHS0j0Q/Va9dqi+3gIJMp23APEtAYGAG/SQtNkGiSVHkY0MEXxgqG9a
To/hCx0JPKYb8SepPEHmXYT5fVb5H8uhWM/ryS5h2b/9RaMMmIAJxkWitIYrQMcI
E9cff5ZAKmJUEMEbSPdt
=0u3g
-END PGP SIGNATURE-



Re: [gentoo-user] Re: executing a command as a nologin user

2016-07-15 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/14/2016 09:36 PM, Jonathan Callen wrote:
> On 07/14/2016 05:19 PM, Fernando Rodriguez wrote:
>> On 07/13/2016 01:41 PM, wabe wrote:
>>> Fernando Rodriguez <cyklon...@gmail.com> wrote:
>>
>>>> -BEGIN PGP SIGNED MESSAGE-
>>>> Hash: SHA256
>>>>
>>>> On 07/13/2016 07:10 AM, Alan McKinnon wrote:
>>>>> On 12/07/2016 03:47, jens w wrote:  
>>>>>> .procmailrc
>>>>>> :0 c
>>>>>> * !^X-Loop: n...@example.com  
>>>>>> | formail -X "From:" | $HOME/bin/script.sh  
>>>>>>
>>>>>> procmail.log
>>>>>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh
>>>>>>
>>>>>> for incoming mail, a script is executed. logfile has the same
>>>>>> entry as it is in other users. but the script do nothing.
>>>>>>
>>>>>> How executing a command as a nologin user?
>>>>>>  
>>>>>
>>>>>
>>>>> You can't, not the way you are doing it.
>>>>> You want to launch a shell script for the user, but the user's
>>>>> shell is /sbin/nologin. This exits immediately without launching
>>>>> the script.
>>>>>
>>>>> Give the user a real shell.
>>>>>
>>>>> Alan
>>>>>   
>>>>
>>>> I've been following this thread and thinking the same thing but
>>>> wasn't sure.
>>>>
>>>> What if you invoke the shell directly instead of the script, either:
>>>> /bin/sh -c "" or /bin/sh -c "$(cat 

Re: [gentoo-user] executing a command as a nologin user

2016-07-14 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/13/2016 01:41 PM, wabe wrote:
> Fernando Rodriguez <cyklon...@gmail.com> wrote:
> 
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA256
>>
>> On 07/13/2016 07:10 AM, Alan McKinnon wrote:
>>> On 12/07/2016 03:47, jens w wrote:  
>>>> .procmailrc
>>>> :0 c
>>>> * !^X-Loop: n...@example.com  
>>>> | formail -X "From:" | $HOME/bin/script.sh  
>>>>
>>>> procmail.log
>>>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh
>>>>
>>>> for incoming mail, a script is executed. logfile has the same
>>>> entry as it is in other users. but the script do nothing.
>>>>
>>>> How executing a command as a nologin user?
>>>>  
>>>
>>>
>>> You can't, not the way you are doing it.
>>> You want to launch a shell script for the user, but the user's
>>> shell is /sbin/nologin. This exits immediately without launching
>>> the script.
>>>
>>> Give the user a real shell.
>>>
>>> Alan
>>>   
>>
>> I've been following this thread and thinking the same thing but
>> wasn't sure.
>>
>> What if you invoke the shell directly instead of the script, either:
>> /bin/sh -c "" or /bin/sh -c "$(cat 

Re: [gentoo-user] Re: Portage getting slicker?

2016-07-14 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/13/2016 05:41 PM, James wrote:
> Alan McKinnon  gmail.com> writes:
> 
>>
>> On 13/07/2016 20:25, James wrote:

>>> So, today I ran a sync and upgrade to a gentoo workstation::
>>> emerge -uvDNp world
>>>
>>> These are the packages that would be merged, in order:
>>> Calculating dependencies... done!
>>> Total: 0 packages, Size of downloads: 0 KiB
>>> WARNING: One or more updates/rebuilds have been skipped due to a dependency
>>> conflict:
>>>
>>> media-libs/jasper:0
>>>
>>>(media-libs/jasper-1.900.1-r9:0/0::gentoo, ebuild scheduled for merge)
>>> conflicts with
>>>  media-libs/jasper:0/0=[abi_x86_32(-),abi_x86_64(-)] required by
>>> (x11-libs/gdk-pixbuf-2.32.3:2/2::gentoo, installed)
>>>
>>>  media-libs/jasper:=[abi_x86_32(-),abi_x86_64(-)] required by
>>> (x11-libs/gdk-pixbuf-2.32.3:2/2::gentoo, installed)
>>
>> This is not a blocker.
>>
>> Read the warning, it says an update or rebuild was skipped due to a 
>> dependency conflict. In your casejasper-1.900.1-r9 was not done due to 
>> gdk-pixbuf requirements. Presumably, what you already have keeps pixbuf 
>> happy
>>
>> Blockers in that output usually have "!!" annotations at the beginning.
> 
> Ah excellent point, but the build did not move forward with::
> ' emerge -uvDN world' either. With the --tree it did move forward with
> the build update. In the first attempt usually the packages to be built
> are listed, conflicts or blockers.
> 
> None of these 3 packages where listed in the first attempt to see 
> what needs to be built::
> Not 'sys-devel/llvm', nor 'sys-devel/clang', nor 'media-libs/mesa'.
> 
> 
> 
>> Emerging (1 of 3) sys-devel/llvm-3.7.1-r3::gentoo
> 
>>> I did nothing manual in between. Explanations?
>> portage is doing what's expected. You don't have -a in the command line 
>> and there's nothing stopping portage from moving forward with the build.
>> SO it moved forward with the build.
> 
> Yes, nothing to do with 'media-libs/jasper' nor 'gdk-pixbuf'. So I guess the
> --tree option got rid of the these (conflicts issues. My point is that this
> is remarkably better than how things worked in the past (but not certain
> when these enhancements were made).

The --tree command didn't get rid of them. Those packages that you where able
to build conflict with other packages that would have been considered with the
- --newuse flag. So the conflict is still there waiting to be resolved.

Maybe portage could've been a little smarter and determine on the first command
that yes there is a conflict but I can still build these 3 packages with what
you already have. Or maybe that's a bad idea because you may have to rebuild 
some of those packages once the conflict is resolved and all packages updated.

Maybe the 1st command should've given you a list of skipped packages. That would
make it way less confusing and easier to resolve the conflicts. It is especially
confusing because instinctively you would expect the results with --newuse to be
a superset of the results without it.


 
> Thanks for pointing out blockers vs conflicts...
> 
> James
> 
> 
> 
> 
> 
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXh/zxAAoJEPbOFX/5UlwcsN0P/Rs3PbvPqBVtk5r/q9DdxFpi
ZKCNm+wktkEeCRnPqNaDNQBtyjNz9gbyOn+DFSycETQBejKJ2Stusc3Cdmins9c+
MEVW0yDLz/3moY0UtL7GlQ4uB4YxkILv3dQUIDkYuJ25dIUb3pJvfg456R3xiMG7
XdZqyYYROF5WYaOuiL+c4B6l2sgWRqBpFyEude7oM7az9fNi4O5LbiQTMx+lGG9E
ODZEBYmDBVnmTPh8yZFWCwymUauOzwgEKTThqlykh1xu96LWv2NzkRCEvnnmHtMU
0aydjxpfX/0zdxJjvHbDcyvgyKCbdy6e+baD5GdQQTZe9SjIjJvUvv4PQCRfYhbd
FyaI6lKkGmAw/ONzaMY2pDfuqDfyAk6j1htx9LugYLKWTignUhW4j4F51Fo6C9TS
zKIYk99Ne7ruV8h89HFUqRnGBewUw5rNC0ytOGKucOMy5b2Uef9C8lcikfl2Q0XR
C22oEOjC9pqbuv77l3oawWt0gyOJDIyOpzuFCob2aeEiTGV2Xbo8APKerIiaVT4o
NAxPeSsgtB3ZZv18QaIyUENBaV1U6pVnXe6UszXqo7AjBcKo7LGqSEJZLJKJRgqO
S34ucuXePXeDvXpwu4foF7FwY+EDgJQeVQ59aIjLMBZe6o+Q/4V7mKJFQOmeOwuU
U6GNi/spdojHipzExJiC
=MazA
-END PGP SIGNATURE-



Re: [gentoo-user] Acceptable character encodings for files in /etc/portage?

2016-07-13 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/13/2016 08:08 AM, Fernando Rodriguez wrote:
> On 07/11/2016 12:11 AM, P Levine wrote:
>> Glep 31 states that text files in the portage tree should use UTF-8
> encoding. I see nothing indicating any standard encoding for files in
> the /etc/portage directory. Since everything I have seen in portage's
> python source-code seems to imply Unicode as valid but I can see nothing
> specific to UTF-8, I thought I'd ask.  Is there any official Gentoo standard
> documentation that defines the acceptable set of character encodings for files
> in /etc/portage?
> 
> I just glanced over Glep 31 and it does not say that. It is talking about
> ChangeLogs and metadata.xml (because they contain developer names with unicode
> characters). For patches and such it says to follow upstream suit.
> 
> If you try to use non-ASCII characters on ebuilds repoman will whine so I
> suppose only ascii is supported and likewise there's nothing that I know of on
> /etc/portage that requires non ascii characters.
> 
> 
Actually, it does says it, my bad. But repoman does complains if you use 
non-ASCII
characters and it says not to print non-ASCII so I guess it's talking about 
comments.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXhjCoAAoJEPbOFX/5UlwcFzMP/RUKDiN5Svo8HQAzVm0GxZKd
Mf9tIpDQUiUl+ZudSEVcpB8YdM5mcFY/a2VMLTjanppi6NLdQlDywIOWET7e8uSs
X4qR0D2bxDDs8TtM1aiWSa5EzeJ42eNIN/qLFAImWDluZFNxokXt78aaEX5O1o+u
dYsygCnMzjRFc0y9JxoZpYWKq7tehHdBzxgeOHEzcu0m5DXxqoHWFxkqu1mr5Hjz
lTe91gLsDTmqlttlqCGaac0NZMXZHh1SVtysJBlhryTOMWu/Xh1YQDP6SXX4Mnwi
BvsSMXF4FrMvMaSxnn56DHDssR3fRFx595+DrU26GtNgTdBpmE24ymjsdcSm9Hm9
ovnG0h8Qys+pB15VUioNdR3LZTHMAO2/mx6lMYRdKvv735DEbIwCEXanSB9CG+nI
VpOPaiYGunzDfsnV03ZRVFutbABM+cK70rBQeLUtH5FllDq9g3xEIMpdkradqRXC
uXQTIoFslJxZH/AXGQTFCmIr6RGHdVfmmuHvp+NWGbwy3Q1DOfjcJK533lSoYScZ
8q2FDYdwidTDSCX1TaR5WKMpiwSdVftie9VOyotklk/MVukxHGmi8PH3guYqC3M5
ksy7AA0UrKXDiEaiVoMXNcP3FtJdWC6q+7a8PH59QOPDbZySP/HscGC7raFEMgNv
JZ2NVoGuWXvwJMmJh2x9
=f29Q
-END PGP SIGNATURE-



Re: [gentoo-user] Acceptable character encodings for files in /etc/portage?

2016-07-13 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/11/2016 12:11 AM, P Levine wrote:
> Glep 31 states that text files in the portage tree should use UTF-8
encoding. I see nothing indicating any standard encoding for files in 
the /etc/portage directory. Since everything I have seen in portage's
python source-code seems to imply Unicode as valid but I can see nothing 
specific to UTF-8, I thought I'd ask.  Is there any official Gentoo standard 
documentation that defines the acceptable set of character encodings for files 
in /etc/portage?

I just glanced over Glep 31 and it does not say that. It is talking about
ChangeLogs and metadata.xml (because they contain developer names with unicode
characters). For patches and such it says to follow upstream suit.

If you try to use non-ASCII characters on ebuilds repoman will whine so I
suppose only ascii is supported and likewise there's nothing that I know of on
/etc/portage that requires non ascii characters.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXhi9JAAoJEPbOFX/5UlwcDzEP/iea/YL+ZlyZ9Cg9FuknuxNF
k/CZZFgUcHDfqFQswEsgARTfPEkP9TQkLqg53LswftcvfWcfs020HmOIRWe4h0uI
gBprWHAH1cKb6sN8psEnYNFNgc7UBwguXfLvPOv4kEtsLsYVA+CQ9zj/Y82yGEMu
yPtNXJUvQ1xyFMdWlXOwy0dt3DWcSozVLy8odjO8LP/LFH0c2lTtoY/UrtSFRt/l
ASSbpj6m0A3KvtrQsCxYG1muht4YHePTRQ46vZdr1XbS8SIHhz8au+Ed9e5cK6CH
3+UNh4qKAbgugVxNjp7qnQxyth2yRMTJzyTw6LTk+p/5S2kF0gNmRUBYMgYgJ+KZ
bmI1RsbjDeQXwngl8EA3wkBNOBl/6sq8QCNd7LxoCXGuNDRRDr2Eg2TIpOt90ZdQ
7rrr7G4LlrttByoLGzn85VFePbr8M52GmjN7la5kX+FFMwk+Ynx4HJSwbTHp6tMe
q9ge1JznO6LHhGXzTzoKvY7xzvdEMGLItfSnZxvkD0xrU/hxpkiyoa7Xrmb35UR5
KmcQW7ZuXKYnWTjSCH9BUCNxkdd8z6WyGQUulVhNSn7Zyi7Edc/aP7lpkX5XBE3/
blif32JjinjcmlUSRfY6I+xYGDNfnChrJXq22uXz4laXxjIZ9qyUGsUVhC8s9rl3
W5KDa1rgHbNI7u0xnd/e
=ayxA
-END PGP SIGNATURE-



Re: [gentoo-user] executing a command as a nologin user

2016-07-13 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/13/2016 07:10 AM, Alan McKinnon wrote:
> On 12/07/2016 03:47, jens w wrote:
>> .procmailrc
>> :0 c
>> * !^X-Loop: n...@example.com
>> | formail -X "From:" | $HOME/bin/script.sh
>>
>> procmail.log
>> procmail: Executing " formail -X "From:" | $HOME/bin/script.sh
>>
>> for incoming mail, a script is executed. logfile has the same entry as
>> it is in other users. but the script do nothing.
>>
>> How executing a command as a nologin user?
>>
> 
> 
> You can't, not the way you are doing it.
> You want to launch a shell script for the user, but the user's shell is 
> /sbin/nologin. This exits immediately without launching the script.
> 
> Give the user a real shell.
> 
> Alan
> 

I've been following this thread and thinking the same thing but wasn't sure.

What if you invoke the shell directly instead of the script, either:
/bin/sh -c "" or /bin/sh -c "$(cat 

Re: [gentoo-user] KDE 5

2016-07-12 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/12/2016 01:30 PM, Philip Webb wrote:
> It looks as if in the near future I am going to have to install KDE 5 ,
> if I want to go on using my regular daily apps Konsole Gwenview Okular ;
> yes, I know I can limit exposure to their requirements
> & don't need to install the whole desktop system.
> 
> Before I plunge into that, is anyone else using KDE 5 every day ?
> What are people's experiences with it ?
> 

I haven't fully migrated yet because I like to test this kind of thing on my
test box but it has a very old NV34 (I don't throw good hardware away)
video card and both SDDM and KF5 are useless with it. On SDDM only the user 
icons show, everything else is black. On plasma 5 most images and some UI
elements are garbled or black. So if you have old or rare video card check
that it works with a live CD before you take the plunge.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXhWQhAAoJEPbOFX/5UlwcsMAP/iv8BmepJOKyhKCOvzvRxk8S
h1dtCdFVHc8oJvIf9sBOsprn6mGtlfYSePaPAE50rdJTFvDuXpkvkpfYsVcLTyX8
ssKZDJKdGcDdPOHd0mstjtv4r4xnxc9DjIbhJt55j4O1PTMRY8yEBBWK2BgKykRq
qWpzpH5Xorkg/ZOAU7gu+M3z/dmX0V6UbjgZz7YNDllB4rpHAagM2SArPS8ROJsD
6KYErWEuIFLZVPVgfAHZJswYreS5ZXKBt+KgZHVE4P/YU/yK5EL0qNFlZMdiM5zu
LmYR+zXYhzDm+fZ93i5uJk6V3aifIugn+mpksM3pJrWfNBTM4riLkD9s1x1lar17
mTB7ClgNq330eon8KqAQ124gTbFHu8Y3IoRIUR/fEfRHerdiiAanEqDUvLlaf/Dv
FpgkOWYc6mddthGyzXUXKGWV8qc8kKr+Tl3wpotxPzPOB8ojeVaJxTSdsYyMbpyL
N0yNSYhfY2/6ICJ3CDUpIty9wWL2kKF5IpgVbvNKlCYuv6dGQxXrboPGKZ7TOZIR
B6qWV0DTFOlGj6gFCVFau1yk/NhAnpALrj2tGiw1F1zUyQEy+iHNgcNZJ5WSuBL6
sWpoD003JQVsDo/wh/1+Ch2zS0cjxmTR+y7bXYvQg8OHHX4StiCPYGBELA6Hqzpm
Ts9elhzM2KUNT3TxQsDi
=oPX4
-END PGP SIGNATURE-



Re: [gentoo-user] Is "-fomit-frame-pointer" a gcc default?

2016-07-12 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/11/2016 04:51 PM, J. García wrote:
> El lun, 11-07-2016 a las 16:27 -0400, waltd...@waltdnes.org escribió:
>>   I put it into CFLAGS/CCFLAGS years ago, and left it there.  During
>> a
>> discussion on the Pale Moon forum about build options, the opinion
>> seems
>> to be that "-fomit-frame-pointer" is now the default.  Is that
>> correct?
>> I'd like to simplify my CFLAGS/CCFLAGS both in Gentoo and the Pale
>> Moon
>> build process.
>>
> I think it is, at least here it is a default, you can find out by
> running:
> gcc -c -Q --help=optimizers
> 
> It gets activated with -O, and -O2 is the default in Gentoo, so it
> should be.

No. At least for me it is -O0. I tested by compiling a small program with 
different
options and diffing the binaries. You can get a definitive answer for any gcc 
option
defaults like that. As long as your test program is complex enough to use those 
features.
You can also diff the output of the -f and -fno flags and if they don't differ 
then
either the test program is not complex enough or the feature has not effect on 
your arch
or platform.

> From the gcc manual:
> "-O also turns on -fomit-frame-pointer on machines where doing so does
> not interfere with debugging."
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXhVkRAAoJEPbOFX/5Ulwcpi4P/2btg0u+HquLcpHQnw7Ja/KT
8Y0rOPeU38aL0vbI3Qfc/9cLjlZbdsK7G53GYhdOVMhbO5h8OxZiKQraIErTJmhC
BFR4tZosCft636jsEDD1H5XlmjpeBmvt+YnwnUSXOJe6mjqzpaV1Cyj2ikjQIm3p
etoZQ2odXOCHS4zYA9td1HA6/W3C/frCYXr18w3Nx5qO8BbCzFZx6vxC8ts9krym
xkg3EZhShPnyOIfSkZNq3yotnRoiN1JFZjr1hzfEaMnNlMfn5T6a1hHHUs3/khsP
aQMlLZAbnxpjNQTslLvEsLPhCwqPylJXa28iHD4SvbGrz9PvCWkOsbIB1XN6J0f2
ZYnHBZ0ZGF8CMdLsIF6SEbseIeq41Wxy3iKH5LpP6TWMRL3RGFAHG8VZAJoxH/fI
l2WsVLotAHfdg6Zm2cx/ZxQQyjtQl1lohfhY+NtWHhLymrWpZl5aiiTsty7DBjKa
M3y9kX0q9CcixK868jRgB11wtWGXp0jMzBs052Y0zpB6IPWx/h9Xc5eTqVjKd18Z
teioIIAGUUkIobNuC6Yo9RVSHS7vjVBYSLPD1uiOnxkTFL9zzWvc+gtYRY2NCzhj
ZRg1OPFGgXQW9SoKlpMw6G0nrtx/zO7aQzRWD15JzafdCa9PckegAidpoEJg11cg
VewJz+zagKPgGAl1euw1
=1mBf
-END PGP SIGNATURE-



Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-09 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/09/2016 03:25 PM, Mick wrote:
> On Saturday 09 Jul 2016 11:34:59 Fernando Rodriguez wrote:
>> On 07/09/2016 10:53 AM, Mick wrote:
>>> Hi All,
>>>
>>> I just noticed my resolv.conf is topped up with the nameservers of the
>>> wireless LAN I happen to be associated at the time and my wired ethernet
>>> nameserver(s) are pushed further down.  This happens despite the fact that
>>> I have configured my wired ethernet to have a lesser priority than the
>>> wired NIC.
>>>
>>> For example:
>>>
>>> less /etc/resolv.conf
>>> # Generated by dhcpcd from wlan0.dhcp, enp11s0.dhcp
>>> # /etc/resolv.conf.head can replace this lineL
>>> domain openwifi
>>> nameserver 192.168.22.22
>>> nameserver 192.168.22.23
>>> nameserver 10.10.10.254
>>> # /etc/resolv.conf.tail can replace this line
>>>
>>> The first 3 non-commented entries were produced by wlan0, demoting my
>>> wired
>>> ethernet nameserver.
>>>
>>> ip route show
>>> default via 10.10.10.254 dev enp11s0  metric 10
>>> default via 10.160.95.1 dev wlan0  metric 20
>>> 10.10.10.0/24 dev enp11s0  proto kernel  scope link  src 10.10.10.7 
>>> metric 10 10.160.95.0/29 dev wlan0  proto kernel  scope link  src
>>> 10.160.95.2  metric 20 127.0.0.0/8 dev lo  scope host
>>>
>>> If I am associated, but not authenticated with the wireless LAN, any URLs
>>> I
>>> try to visit will be queried with the 192.168.22.2* nameserver, before it
>>> times out and 10.10.10.254 takes over.
>>>
>>> Waiting for URLs to resolve becomes tedious after a while.  Is there a way
>>> to prioritise nameservers so that the NIC metric is respected, whenever
>>> the resolv.conf content is updated?
>>
>> Look at the -C option on dhcpcd's man page. It is done by a dhcpcd hook that
>> you can disable with that option. Where to specify it depends on what
>> you're using to manage your network connections.
> 
> Thanks, that'll work, but it is a nuclear option because, as I understand it, 
> it will work all the time.  So when the ethernet cable is disconnected the 
> wireless will not be able to obtain nameservers.

Check out net-dns/openresolv [1]. I've never used it but it's mean to solve 
that problem.
If you use NetworkManager I think all you need to do is enable that use flag.

[1] http://roy.marples.name/projects/openresolv/index

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXgVYtAAoJEPbOFX/5Ulwc0MIP/RcyQ6dAed9YAC9KOMwCrfmu
SsONlWAaBgCSrHKGZcI3a4G9WKd8kyGPUM2deSP02JBNTDiHwZxwb494dQk2u2HN
Y6WoHE65F7LE6er5HaPBW28qTSHQ0BaH2SNQzJsId+hl0CnVfFr8t6IU+Qav7W2m
Oyeh3Wph5kDHx2cX80Czs45lWkxIbcsx2bN8a4G9ZjSk23KDtkvG5F5CgZgU/aYK
F0815O0lqzA+CLhSgzQsYOeF5aRBQ1jEh+EHSWC6Py6AuSNHmw5YanrnpelzFNHD
GhG26b2aKuXcUI7DW2MtF3vnMqcQ8nXIZjpkoKF0JAy31ruPvKJVCWMuVUrZD/l1
uTqo1DhfUyaynjG2cX5TZ9+pk8GfAaRG+W9bq/xu/v4zAKxfVZS8DUo2VOMvZqdv
YO8azzbwqyPfG7M6mF6NPLBR4h+EQYpCHoh8B8u+gsXkRxsDB5zlKqaXGO579p15
tvaAxbpW6veDH8taQITEnG7cGLm+cv9raVYmBK2rcOvPSnbfYE/A+UifmQ9gBNp7
CzEpEryIuUIL+ztkgQpLxZY1ldAt3WuiB99i+rcksVvsOO3mSHq10298M+PcfM0g
tvCkL6ttDhPiTQCXvzHuaH8lvxfHdN70LUrKngnC2NtQpzXdgFcSJynJ26wx6xrU
P6Txb5Q7nzPO+bdF7otO
=2Z4B
-END PGP SIGNATURE-



Re: [gentoo-user] Wireless DHCP takes over resolv.conf

2016-07-09 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/09/2016 10:53 AM, Mick wrote:
> Hi All,
> 
> I just noticed my resolv.conf is topped up with the nameservers of the 
> wireless LAN I happen to be associated at the time and my wired ethernet 
> nameserver(s) are pushed further down.  This happens despite the fact that I 
> have configured my wired ethernet to have a lesser priority than the wired 
> NIC.
> 
> For example:
> 
> less /etc/resolv.conf 
> # Generated by dhcpcd from wlan0.dhcp, enp11s0.dhcp
> # /etc/resolv.conf.head can replace this lineL
> domain openwifi
> nameserver 192.168.22.22
> nameserver 192.168.22.23
> nameserver 10.10.10.254
> # /etc/resolv.conf.tail can replace this line
> 
> The first 3 non-commented entries were produced by wlan0, demoting my wired 
> ethernet nameserver.
> 
> ip route show
> default via 10.10.10.254 dev enp11s0  metric 10 
> default via 10.160.95.1 dev wlan0  metric 20 
> 10.10.10.0/24 dev enp11s0  proto kernel  scope link  src 10.10.10.7  metric 
> 10 
> 10.160.95.0/29 dev wlan0  proto kernel  scope link  src 10.160.95.2  metric 
> 20 
> 127.0.0.0/8 dev lo  scope host 
> 
> If I am associated, but not authenticated with the wireless LAN, any URLs I 
> try to visit will be queried with the 192.168.22.2* nameserver, before it 
> times out and 10.10.10.254 takes over.
> 
> Waiting for URLs to resolve becomes tedious after a while.  Is there a way to 
> prioritise nameservers so that the NIC metric is respected, whenever the 
> resolv.conf content is updated?
> 

Look at the -C option on dhcpcd's man page. It is done by a dhcpcd hook that you
can disable with that option. Where to specify it depends on what you're using 
to
manage your network connections.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXgRmiAAoJEPbOFX/5UlwckloP/RS5QM9FrJN/EGk5F2v3vakC
DP5EIqx103d2Qte91zmBPNGpq3PKCDi2aQza3dIspQ6zfR/I4P8u3ODbsclIc1U9
gikAKos+fVB+6nVCAVKKrpyWsDGJ7Qgupu+x1SOP1MDLNBkDnIgS2n72S0Z6FCUF
d5q4lUyp5w8G/+A+m01FnpFZCcBZBfBLQY9cccUR6CkkuJW1+vjPzppJoeQ032CT
FRqebV17htnJzuME85KcVTuawiO8xuHM/Y9tkVupe8fyEPlG8k53WY4XNh3KuuEZ
gIqjsYJWEJeH0HQp9MFM+HBesJrRAgaTT0jAmEXiNcKeVx0UHZppNfSl8q/NKT+o
rChcHJ62lrW8Q4gHtf7I5tkXyZdfLM1TdiViLTKUR9EGkV+lnoQFHDbe0+MCirkC
/2XsbYTUBWb5zMwCH0I9QCjA8LsCD5I4YK+strXld+6+yaGRDNh2XUo36uJCoJNZ
6fbOweDHCV9CMgkHH78swYZa3Fu7z8n4my7i/lEo9L+7r0IIcspDrxhgtP4T7qLu
UYrWoOTALUwiyqtIry7FnciifdlrCoURm9rAp9jZAz8PTha33d2Vhlj/tKiL8v3x
YmuB+Tz9/yLp8VXpR5h2hO4i2WTOQnW+vgugw0v3DJqE3JRKqqGsfhX9gA4JTDz2
Jwp9Faoag1hKEf8Dl8I9
=TqPa
-END PGP SIGNATURE-



Re: [gentoo-user] emerge --resume says "invalid resume list".

2016-07-09 Thread Fernando Rodriguez
On 06/22/2016 09:39 AM, Dan Douglas wrote:
> On Tue, Jun 21, 2016 at 10:04 AM, Neil Bothwick  wrote:
>> On Tue, 21 Jun 2016 09:39:42 -0500, Dan Douglas wrote:
>>
>>> Is something misconfigured on my end or is this just a long-standing
>>> bug? I at least need a way to either recover the list of packages
>>> manually or force portage to continue on because any failure prevents
>>> updating a system.
>>
>> Have you tried the --keep-going option? It causes emerge to automatically
>> continue with what it can after a failed build.
> 
> --keep-going is in EMERGE_DEFAULT_OPTS so the problem is only when
> that fails for whatever reason, --resume (with or without
> --skip-first) always fails too. Usually a package that I already know
> is broken and am working on but is already installed wants to be
> rebuilt will trigger this. The problem is portage doesn't seem to care
> whether any packages in the current resume list actually depend on the
> failing package and this can prevent important installations from
> finishing.
> 

I've had the exact same thing happen a couple of times recently and got around 
it
by running the original command but adding the failed package to the --exclude
list. AFAIU (I maybe wrong) the result of both commands should be the same so it
sounds like a bug to me.



Re: [gentoo-user] [OT?]: CH340 working/not working with ESP286 Node MCU

2016-07-08 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/07/2016 11:22 PM, meino.cra...@gmx.de wrote:
> Hi,
> 
> I have bought an ESP8266 Lua NodeMCU board, which has 
> an FTDI-like chip on board to map USB to serial and
> vice versa. It is an CH340 one.
> There is an according module in the driver (compiled
> and - to get shure - loaded by hand).
> 
> When I connect the ESP8266 board to my Gentoo PC
> nothing happens (dmesg shows nothing).
> When pressing RST on the board, I see this sometimes:
> 
> [ 4340.105221] usb 7-4: new full-speed USB device number 9 using ohci-pci
> [ 4340.630234] usb 7-4: device not accepting address 9, error -62
> 
> (both lines are printed right after another - no delay...)
> 
> or this:
> 
> [ 4473.567739] usb 7-4: new full-speed USB device number 11 using ohci-pci
> [ 4473.712306] usb 7-4: New USB device found, idVendor=1a86, idProduct=7523
> [ 4473.712316] usb 7-4: New USB device strings: Mfr=0, Product=2, 
> SerialNumber=0
> [ 4473.712321] usb 7-4: Product: USB2.0-Serial
> [ 4473.763259] usbcore: registered new interface driver ch341
> [ 4473.763278] usbserial: USB Serial support registered for ch341-uart
> [ 4473.763295] ch341 7-4:1.0: ch341-uart converter detected
> [ 4473.786463] usb 7-4: ch341-uart converter now attached to ttyUSB1
> [ 4473.888987] usb 7-4: USB disconnect, device number 11
> [ 4473.889485] ch341-uart ttyUSB1: ch341-uart converter now disconnected from 
> ttyUSB1
> [ 4473.889511] ch341 7-4:1.0: device disconnected
> [ 4474.292773] usb 7-4: new full-speed USB device number 12 using ohci-pci
> 
> there is no new device under /dev/.
> 
> Do I miss something seriously important here related to using the
> CH340 driver...or is this board simply demaged ???
> 
> Thank you very much in advance for any help!
> 
> Best regards,
> Meino

What's running on the board? I'm not familiar with it or arduinos at all but it 
looks like it's being
detected and then disconnected. Are you trying to program the board through 
USB? If so, and since
it's detected when you reset the board, my guess is that it's got some kind of 
bootloader that is
initializing the UART->USB adapter and passing control to whatever firmware is 
already loaded, and
that firmware is not driving the UART/USB adapter. If that's the case the 
board's manual should tell you how
to program it.

Fernan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXgD6zAAoJEPbOFX/5Ulwc7+QP/3q9pQunL9XJiWounkakNjZe
Yb3jNK0D+G50T2/DGzFSMK/sXsEcTAr/w9Dhm2txwutPf3wGibr8O3gdfneRy/Gm
ImMXAqjL9ag3SFT3o5D7t97qKxRBJKOYa9enzBUDQGpUpQYJPRvn9v7PWJFwEHza
jVZJcW4HfnGeTdDgeqOsM8nbi8GITDd+WOV1tnIv573ifs3TCW5nGisEtCqwoVui
knzOc9I+DLY0QEPEEBnZlmiOQR6nsJQNrX3ixs/2odTO/lX10xmdTSy94yWMBuqY
8d8FYyiizjx9rkJamks5P04Q7hvXZos32EgcWq4jKINL4fyOXhfg9uxNs2366Wwh
bOlvt5wJdwH5ABvEcN71jU8pm9UrrdfDnXgRZY/irGWAxsLSWhftVIAlIz4hTSUa
2uowKMvKULXUJLFdVSltAItuXe2WM0pqEzoKPb9iXFZY88aWvGomrZxlbCtBQ3Gg
t2TYSzOYljnzYs+dVm22JBLtgbrxfaJexisJ3O/7h8gs6ACm0M9zi33Rm1df5Cgp
6o9ihJynW9svsJVab72LsRmbe0lVv+HgNfwKr5O3IEIE1Y7BhPx5EAFrgfE6M/SK
2sKR4YzdRgpxM7Td4wHtiCaROCfGsxK4wd69n2H2bp7cYPofYa48C//wZJWV6gmr
X0oZGic3DDPrR+77Hzi6
=eEG4
-END PGP SIGNATURE-



Re: [gentoo-user] Re: How safe is it to change vanilla-USE-Flag in glibc?

2016-07-06 Thread Fernando Rodriguez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 07/06/2016 01:10 PM, Franz Fellner wrote:
> On Wed, 06 Jul 2016 15:06:20 +, James  wrote:
>> Franz Fellner  gmail.com> writes:
>>
>>
>>> I have issues with some prgrams eating too much memory. This seems to be
>>> related to glibc not trimming as
>>> necessary which results in way too much memory still occupied by the
>>> program after free()ing memory.
>>
>> Perhaps you should file a bug, providing some evidence if other distros are
>> affected (this suggests it might be a gcc issue) or other distros are not
>> affected (this suggests it might be a gentoo pathch issue)?
> 
> I mentioned my issues several times with the answer "can't be, the issue is 
> on your side".
> When I filed a bug against tmux regarding its memory consumption I got told 
> "glibc is known to do bad things" and I was given this patch for tmux which 
> instantenously solved my issue:
> 
> diff --git a/grid.c b/grid.c
> index ef7c374..96385f4 100644
> --- a/grid.c
> +++ b/grid.c
> @@ -113,6 +113,8 @@ grid_destroy(struct grid *gd)
>   free(gd->linedata);
>  
>   
> +
> + malloc_trim(0);
>  }
>  
>  /* Compare grids. */
> @@ -326,6 +328,8 @@ grid_clear_lines(struct grid *gd, u_int py, u_int ny)
>   free(gl->celldata);
>   memset(gl, 0, sizeof *gl);
>   }
> +
> + malloc_trim(0);
>  }
>  
>  /* Move a group of lines. */
> 
> I have some other applications that are unusable to a certain degree. Having 
> to patch every single application isn't possible, I want to get to the root 
> of the issue :) And USE=vanilla is my first attempt.
> 
> Thx
> Franz
> 

Check out the mallopt(3) man page. You can fine-tune glibc heap through 
environment variables without patches. Specifically use MALLOC_TRIM_THRESHOLD_ 
to tell glibc when to trim and MALLOC_MMAP_THRESHOLD_ to tell it to use mmap() 
to allocate large chunks (so they're returned to the kernel when free()d).

Just setting the trim treshold too low or calling malloc_trim(0) may be a bad 
idea. In some cases it will make your process numbers look better but hurt 
performance because malloc() will have to request memory from the kernel more 
often and on a system with swap it will just be swapped out if needed so it 
shouldn't be a problem unless it's a lot. And if it is a lot I think you should 
be looking somewhere else for the source of the problem.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJXfVIcAAoJEPbOFX/5UlwcwT4P/RDvLd6zsvNulN7AYCvPYFr/
2+BZmSSDeKJh5kbdGUzWb8FnqucAeFIBHYdpviEG7umDpZT6RN8MiFeDnK8W8Ww9
jLQyPgSXxTlfFNMGyxnJ/+EphSxPQ0LNjk98etHOKZNx6lM9NSN4kESRpk0LzSEs
Qqp5WWipZU0kMqpfXZDr9U92MFLuSSe/LMRxuovIkz/tqlDHA1HTScob5CCAGmBx
G4m1vxM7dPyv9YDAOELLR2y8CuoJzbiwhxOBAUBFJk3hF9Z1wDW0/8DbcogSwZkd
T4mEQB28zEawjs0aguBXSKYemN3Nik1d1sPokZQ7SKCgVpIT0bHDV/cuoccTsWr0
eliobWgCzipXa15hvccU+xqSD25tZYX3f47T7/IMiwZW4CMFZZtY4X9BX/KTn7/C
Q29M3ZM4NkbmSU27FtpKUQNl4/KrvMypmNBGcqb1BH74Y9Pay0Y9wHb+qeu8eITQ
A07wgCJTtCm0s3dtyU7tu5SU6R2CSbJurJ9pvAHC1qNhQfCQYy3yxOEh0CCrCXC1
5nH94W1W1wjthJzYf728lvFloEpI7uT0RngpTJIR5Fg6Ku5ZA14rv8qANEbLEnTe
hFV32a0cSbp3jMnUyvdYyxx89aOhJ08AU2Wf1L5DF5bMG864E5oH3AZc5a3OeNNu
jJ+zTzNMF2lZ2ePZYcRg
=ALKt
-END PGP SIGNATURE-



Re: [gentoo-user] Miracast from Gentoo PC to TV

2015-11-18 Thread Fernando Rodriguez
On Wednesday, November 18, 2015 5:12:10 PM Mick wrote:
> Hi All,
> 
> Any idea what ebuild I need to connect to a Samsung TV, which uses Miracast.
> 
> 

Do you want to use the TV as a monitor or just stream media to it? If the 
latter, you can use net-misc/mediatomb if the TV supports upnp/dlna. I think 
the only solution for miracast right now is openwfd [1] and it looks like it's 
not in the tree yet.

[1] http://www.freedesktop.org/wiki/Software/openwfd/

-- 
Fernando Rodriguez



Re: [gentoo-user] Portage cleaning up 32bit preserved libs (x86_64/amd64)

2015-11-07 Thread Fernando Rodriguez
On Saturday, November 07, 2015 7:19:22 PM bitlord wrote:
> Hi list,
> I have a problem with cleaning/removing 32bit libraries on my x86_64
> system (amd64 multilib). At one point I needed skype for something, and
> it needs a lot of 32bit libs (abi_x86_32) everything was fine, little
> fight with freetype+harfbuz (circular dep). And after some time I'm
> happy again without need for proprietary closed source software, so I
> wanted to remove it, first thing I did was: 
> # emerge -C skype 
> It was fine, next I wanted to remove unneeded dependencies 
> # emerge --depclean
> and after that I removed package.use file which contained all
> dependencies with USE="abi_x86_32", and did world update 
> # emerge -uND world
> everything was "fine" except it left 'preserved-libs', and told me to
> run 
> # emerge @preserved-rebuild
> which did nothing, so currently I don't need those libs, and don't know
> what is a proper way to get rid of them.
> 
> Here is the list: 
> app-arch/bzip2-1.0.6-r6 /usr/lib32/libbz2.so.1.0.6 /usr/lib32/libbz2.so.1
> dev-libs/glib-2.44.1 /usr/lib32/libglib-2.0.so.0.4400.1 
/usr/lib32/libglib-2.0.so.0
> media-gfx/graphite2-1.2.4-r1 /usr/lib32/libgraphite2.so.3.0.1 
/usr/lib32/libgraphite2.so.3
> media-libs/freetype-2.5.5 /usr/lib32/libfreetype.so.6.11.4 
/usr/lib32/libfreetype.so.6
> media-libs/harfbuzz-0.9.41 /usr/lib32/libharfbuzz.so.0.941.0 
/usr/lib32/libharfbuzz.so.0
> media-libs/libpng-1.6.18 /usr/lib32/libpng16.so.16.18.0 
/usr/lib32/libpng16.so.16
> sys-libs/zlib-1.2.8-r1 /lib32/libz.so.1.2.8 /lib32/libz.so.1
> 
> 
> and this is how they relate to each other:
> !!! existing preserved libs:
> >>> package: media-libs/harfbuzz-0.9.41
>  *  - /usr/lib32/libharfbuzz.so.0
>  *  - /usr/lib32/libharfbuzz.so.0.941.0
>  *  used by /usr/lib32/libfreetype.so.6 (preserved)
>  *  used by /usr/lib32/libfreetype.so.6.11.4 (preserved)
> >>> package: dev-libs/glib-2.44.1
>  *  - /usr/lib32/libglib-2.0.so.0
>  *  - /usr/lib32/libglib-2.0.so.0.4400.1
>  *  used by /usr/lib32/libharfbuzz.so.0 (preserved)
>  *  used by /usr/lib32/libharfbuzz.so.0.941.0 (preserved)
> >>> package: media-libs/freetype-2.5.5
>  *  - /usr/lib32/libfreetype.so.6
>  *  - /usr/lib32/libfreetype.so.6.11.4
>  *  used by /usr/lib32/libharfbuzz.so.0 (preserved)
>  *  used by /usr/lib32/libharfbuzz.so.0.941.0 (preserved)
> >>> package: sys-libs/zlib-1.2.8-r1
>  *  - /lib32/libz.so.1
>  *  - /lib32/libz.so.1.2.8
>  *  used by /usr/lib32/libfreetype.so.6 (preserved)
>  *  used by /usr/lib32/libfreetype.so.6.11.4 (preserved)
>  *  used by /usr/lib32/libpng16.so.16 (preserved)
>  *  used by /usr/lib32/libpng16.so.16.18.0 (preserved)
> >>> package: app-arch/bzip2-1.0.6-r6
>  *  - /usr/lib32/libbz2.so.1
>  *  - /usr/lib32/libbz2.so.1.0.6
>  *  used by /usr/lib32/libfreetype.so.6 (preserved)
>  *  used by /usr/lib32/libfreetype.so.6.11.4 (preserved)
> >>> package: media-libs/libpng-1.6.18
>  *  - /usr/lib32/libpng16.so.16
>  *  - /usr/lib32/libpng16.so.16.18.0
>  *  used by /usr/lib32/libfreetype.so.6 (preserved)
>  *  used by /usr/lib32/libfreetype.so.6.11.4 (preserved)
> >>> package: media-gfx/graphite2-1.2.4-r1
>  *  - /usr/lib32/libgraphite2.so.3
>  *  - /usr/lib32/libgraphite2.so.3.0.1
>  *  used by /usr/lib32/libharfbuzz.so.0 (preserved)
>  *  used by /usr/lib32/libharfbuzz.so.0.941.0 (preserved)
> Use emerge @preserved-rebuild to rebuild packages using these libraries
> 
> 
> So I think this is because of that harfbuzz<->freetype circular
> dependency, which some people/devs on IRC confirm.
> " bitlord: Yes, it seems to be related to that circular
> dependency. libfreetype is being preserved due to libharfbuzz and
> vice-versa."
> 
> So don't know if this is a portage bug (considering circular
> dependencies I guess it is really hard to manage them, so maybe not a
> bug really?). In the end I don't need those libs in /usr/lib32
> (probably just those listed, others are there intentionally (multilib)),
> if I remove them I won't break anything (except maybe package manager
> being confused?).
> 
> Does anyone know how to manage this? :-)

Delete them. I think they're also recorded on /var/lib/portage so delete them 
from there too or they may just get removed from there next time you emerge 
something. I think revdep-rebuild/preserved-libs could do better at detecting 
false positives like this and a few other cases but I wouldn't call it a bug. 
You could file one as an improvement request against portage though. Another 
case where it messes up is when two packages have the same libraries outside 
the search directories and preload them manually, like firefox and thunderbird.

-- 
Fernando Rodriguez



Re: [gentoo-user] Re: problem which makes gnome unusable

2015-11-07 Thread Fernando Rodriguez
On Friday, November 06, 2015 1:46:08 PM walt wrote:
> On Fri, 06 Nov 2015 14:45:43 -0500
> cov...@ccs.covici.com wrote:
> 
> > Hi.  I am having a very bad problem which makes gnome unusable --
> > once I get into the virtual console where the xserver is displaying
> > gnome, console 12 in my case, I can never get out of that console --
> > control-alt-f1 or anything does not work.  If I try to ssh in from
> > somewhere else, I cannot stop gdm because the x server will not stop
> > -- even kill -9 will not stop it and I have to reboot the system.
> 
> The part about kill -9 failing is exactly the problem I had with the
> 3.18.x kernel series a while ago.  I know this problem must be hardware
> specific because some distros are still shipping 3.18 kernels as the
> default, and I'll bet others in this mailing list are using it without
> problems too.  I had some scary problems with that kernel version
> that were very difficult to diagnose until I just rebooted with an
> older kernel and the scary problems vanished.  The 4.2 series seems
> okay so far on my VMs. (Even my gentoo VMs had some minor problems with
> 3.18.x)

I've been using 3.18.x for a while now and I only had a very similar problem 
when I updated to 3.18.23 about a week or so ago. Everytime I ran sudo the 
desktop would become unresponsive and if I tried to switch to another VT it 
would freeze completely. I didn't tried to ssh in, but the SysRq keys worked 
for rebooting. I could reproduce it everytime with 3.18.23 so I went back to 
3.18.22. There where two updates to the sudo package since then and yesterday 
I tried booting 3.18.23 and it worked fine so it was the sudo-1.8.12 and kernel 
3.18.23 combo that caused it. Now I'm using 3.18.24 without problems. I use 
kde and ati-drivers.

-- 
Fernando Rodriguez



Re: [gentoo-user] Endless preserved-rebuild loop, libmozalloc & more

2015-09-24 Thread Fernando Rodriguez
On Tuesday, August 25, 2015 7:58:44 PM Alan McKinnon wrote:
> On 25/08/2015 19:43, Fernando Rodriguez wrote:
> > On Tuesday, August 25, 2015 12:30:09 PM Alan McKinnon wrote:
> >> On 25/08/2015 04:28, Fernando Rodriguez wrote:
> >>> On Monday, August 24, 2015 9:31:38 PM Alan McKinnon wrote:
> >>>> Does anyone have an opinion to offer on bug 501468?
> >>>>
> >>>> https://bugs.gentoo.org/show_bug.cgi?id=501468
> >>>>
> >>>> It's been annoying me for a week now with this message:
> >>>>
> >>>> !!! existing preserved libs:
> >>>>>>> package: www-client/firefox-40.0.2
> >>>>  *  - /usr/lib64/firefox/libmozalloc.so
> >>>>  *  used by /usr/lib64/thunderbird/components/libdbusservice.so
> >>>> (mail-client/thunderbird-38.2.0)
> >>>>  *  used by /usr/lib64/thunderbird/components/libmozgnome.so
> >>>> (mail-client/thunderbird-38.2.0)
> >>>>  *  used by
> >>>> /usr/lib64/thunderbird/distribution/extensions/{e2fda1a4-762b-4020-
b5ad-
> >>> a41df1933103}/components/libcalbasecomps.so
> >>>> (mail-client/thunderbird-38.2.0)
> >>>>  *  used by 4 other files
> >>>>
> >>>>
> >>>> Both Mozilla products ship this file:
> >>>>
> >>>> $ locate libmozalloc
> >>>> /usr/lib64/firefox/libmozalloc.so
> >>>> /usr/lib64/thunderbird/libmozalloc.so
> >>>>
> >>>> and according to preserved libs, thunderbird linked to the firefox copy.
> >>>> The only offered solution on the bug is to use a MASK variable, which
> >>>> seems to me an ugly hammer to swat a fly.
> >>>>
> >>>> I was wondering if there's a better way been developed in the last 
year.
> >>>
> >>> Actually, now I have a general idea of what's going on and that sounds 
> > like an 
> >>> acceptable solution but perhaps I could be better. This is what happens:
> >>>
> >>> 1. revdep-rebuild uses ldd to find breakage. It finds breakage in 
> >>> libdbusservice.so because firefox uses tricks to preload the library from 
> > it's 
> >>> directory.
> >>> 2. revdep-rebuild find that thunderbird provides the library and thinks 
it 
> >>> needs to be rebuild. (And wrongly tells you that firefox links against 
it).
> >>>
> >>> A better way would be:
> >>>
> >>> 1. same as step 1 above
> >>> 2. revdep-rebuild checks the package that provides the broken binary (in 
> > this 
> >>> case the firefox package), if this package also provides the missing 
> > library 
> >>> then it's safe to ignore the problem.
> >>> 3. same as step 2 above.
> >>>
> >>> Another solution is to make patch firefox to use RPATH so ldd can find 
> >>> the 
> >>> labraries, this would also make prelink work better with firefox but it's 
> >>> probably not ideal to mantain.
> >>
> >>
> >> that does make sense. In my case, it's not revdep-rebuild causing
> >> problems, it's the preserved-rebuild message at the end of emerge -v
> >>
> >> At this level is there a difference?
> > 
> > I don't know the details but it seems to me that portage either uses 
revdep-
> > rebuild to find breakage (without scanning the whole system) before 
deleting 
> > the old libs for good or duplicates some of it's logic. Come to think of 
it, 
> > the SEARCH_DIR_MASK may not be ideal because if I understand what it does 
> > correctly then real breakage in firefox won't be detected.
> > 
> 
> My thought too. To me, SEARCH_DIR_MASK is fine for things like
> /opt/skype because it's binary and either works or it doesn't, and when
> it doesn't there's not much I can do about it.
> 
> It may be the least sucky of all available solutions, but it's still
> swatting a fly with a hammer

I may have found  a better solution. I patched my ebuild [1], but you should 
be able to just add the following to LDFLAGS in /etc/portage/env:

Wl,-rpath,/usr/lib/firefox,-rpath,/usr/lib/firefox/components,-
rpath,/usr/lib/browser/components

If you do the same for thunderbird (adjusting the library dirs) you should be 
able to remove the SEARCH_DIR_MASK. I also patched the ebuild not to install 
that file on /etc/revdep-rebuild. If you use prelink firefox will start a 
little 
faster on a slow machine.

You can tell if it worked by running:

# ldd /usr/lib/firefox/components/libdbusservice.so | grep libxul

It should output something like:

libxul.so => /usr/lib64/firefox/libxul.so (0x7fcc22eb8000)

instead of:

libxul.so => not found


[1] 
https://github.com/fernando-rodriguez/portage-overlay/blob/master/www-client/firefox/firefox-41.0.ebuild#L254
-- 
Fernando Rodriguez



Re: [gentoo-user] SystemTap failing on basic check

2015-09-21 Thread Fernando Rodriguez
On Monday, September 21, 2015 7:15:59 AM Lukáš Oliva wrote:
>   Hi,
> I am trying SystemTap - a tool for dynamic tracing on Gentoo and I have
> some troubles to make it working. I followed the guide on
> 
> https://sourceware.org/systemtap/wiki/SystemTapWithSelfBuiltKernel
> 
> and built the kernel with required options:
> 
> zgrep -E
> 'CONFIG_DEBUG_INFO|CONFIG_KPROBES|CONFIG_RELAY|CONFIG_DEBUG_FS|
CONFIG_MODULES|CONFIG_MODULE_UNLOAD|CONFIG_UPROBES|CONFIG_DEBUG_INFO'
> /proc/config.gz
> CONFIG_RELAY=y
> CONFIG_KPROBES=y
> CONFIG_UPROBES=y
> CONFIG_MODULES_USE_ELF_RELA=y
> CONFIG_MODULES=y
> CONFIG_MODULE_UNLOAD=y
> CONFIG_DEBUG_INFO=y
> # CONFIG_DEBUG_INFO_REDUCED is not set
> # CONFIG_DEBUG_INFO_SPLIT is not set
> CONFIG_DEBUG_INFO_DWARF4=y
> CONFIG_DEBUG_FS=y
> # CONFIG_KPROBES_SANITY_TEST is not set
> 
> But even the simplest check fails on:
> 
> stap -r /usr/src/linux -v -e 'probe vfs.read {printf("read performed\n");
> exit()}'
> Pass 1: parsed user script and 122 library script(s) using
> 214692virt/125980res/5604shr/122476data kb, in 450usr/20sys/464real ms.
> Pass 2: analyzed script: 1 probe(s), 1 function(s), 3 embed(s), 0 global(s)
> using 347656virt/260520res/6984shr/255440data kb, in
> 1210usr/250sys/1462real ms.
> Pass 3: translated to C into
> "/tmp/stap2nY7sY/stap_9aad5fb97c53bb7c4bc51dce0ccbb236_1259_src.c" using
> 347656virt/260772res/7236shr/255440data kb, in 0usr/0sys/4real ms.
> In file included from /usr/share/systemtap/runtime/linux/task_finder.c:17:0,
>  from /usr/share/systemtap/runtime/linux/runtime.h:206,
>  from /usr/share/systemtap/runtime/runtime.h:24,
>  from
> /tmp/stap2nY7sY/stap_9aad5fb97c53bb7c4bc51dce0ccbb236_1259_src.c:24:
> /usr/share/systemtap/runtime/linux/task_finder2.c: In function
> '__stp_call_mmap_callbacks_with_addr':
> /usr/share/systemtap/runtime/linux/task_finder2.c:695:24: error: 'struct
> file' has no member named 'f_dentry'
>dentry = vma->vm_file->f_dentry;
> ^
> /usr/share/systemtap/runtime/linux/task_finder2.c: In function
> '__stp_call_mmap_callbacks_for_task':
> /usr/share/systemtap/runtime/linux/task_finder2.c:1198:42: error: 'struct
> file' has no member named 'f_dentry'
> vma_cache_p->dentry = vma->vm_file->f_dentry;
>   ^
> scripts/Makefile.build:258: recipe for target
> '/tmp/stap2nY7sY/stap_9aad5fb97c53bb7c4bc51dce0ccbb236_1259_src.o' failed
> make[1]: ***
> [/tmp/stap2nY7sY/stap_9aad5fb97c53bb7c4bc51dce0ccbb236_1259_src.o] Error 1
> Makefile:1390: recipe for target '_module_/tmp/stap2nY7sY' failed
> make: *** [_module_/tmp/stap2nY7sY] Error 2
> WARNING: kbuild exited with status: 2
> Pass 4: compiled C into "stap_9aad5fb97c53bb7c4bc51dce0ccbb236_1259.ko" in
> 3230usr/260sys/4290real ms.
> Pass 4: compilation failed.  [man error::pass4]
> 
> I am wondering now - is there anything wrong with my aproach? Does anyone
> succesfully use SystemTap on Gentoo? And if so, could you help me to make
> this running?
> 
>   Lukas

It is outdated. It's trying to build a module that was written for an old 
kernel. I remember that change because it broke some module for me, I think it 
was on kernel 3.12.x or 3.14.x

-- 
Fernando Rodriguez



Re: [gentoo-user] File-system mounting questions

2015-09-18 Thread Fernando Rodriguez
On Friday, September 18, 2015 5:14:15 PM Walter Dnes wrote:
>   A while ago, I mentioned that I had problems running cdda2wav as a
> regular user.  While rebuilding cdrtools recently, I noticed that the
> build finished with the following warnings...
> 
> >>> Installing (1 of 1) app-cdr/cdrtools-3.01_alpha17::gentoo
>  * >>> SetUID: [chmod go-r] /usr/sbin/rscsi ...  [ ok 
> ]
>  * >>> SetUID: [chmod go-r] /usr/bin/cdda2wav ...[ ok 
> ]
>  * >>> SetUID: [chmod go-r] /usr/bin/readcd ...  [ ok 
> ]
>  * >>> SetUID: [chmod go-r] /usr/bin/cdrecord ...[ ok 
> ]
>  * Could not set caps on '/usr/bin/cdrecord' due to missing filesystem 
> support:
>  * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable)
>  * * mount the fs with the user_xattr option (if not the default)
>  * * enable the relevant FS_SECURITY option (if configurable)
>  * Could not set caps on '/usr/bin/cdda2wav' due to missing filesystem 
> support:
>  * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable)
>  * * mount the fs with the user_xattr option (if not the default)
>  * * enable the relevant FS_SECURITY option (if configurable)
>  * Could not set caps on '/usr/bin/readcd' due to missing filesystem support:
>  * * enable XATTR support for 'ext2/ext3' in your kernel (if configurable)
>  * * mount the fs with the user_xattr option (if not the default)
>  * * enable the relevant FS_SECURITY option (if configurable)
> >>> Auto-cleaning packages...
> 
>   That might explain my problems.  So I modified my kernel as below...
> 
> <*> Second extended fs support
> [*]   Ext2 extended attributes
> [ ] Ext2 POSIX Access Control Lists
> [ ] Ext2 Security Labels
> <*> Ext3 journalling file system support
> [*]   Default to 'data=ordered' in ext3
> [*]   Ext3 extended attributes
> [ ] Ext3 POSIX Access Control Lists
> [ ] Ext3 Security Labels

You'll also need this ^

> < > The Extended 4 (ext4) filesystem
> 
> ...rebuilt, and rebooted into it.  Still the same warnings on the build.
> So now it appears that I have to...
> > mount the fs with the user_xattr option (if not the default)
> > enable the relevant FS_SECURITY option (if configurable)
> 
>   Can someone point me to an example somewhere of how to do it?  I
> prefer not to muck around blindly with unknown options in /etc/fstab
> BTW, I'm building cdrtools with USE="caps filecaps -acl -nls -unicode"
> if that matters.

Just add the user_xattr unde  column. Like:

UUID=34868f06-d56b-4539-a649-33ec96b50d74   /   ext3
noatime,user_xattr  0 1 

-- 
Fernando Rodriguez

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


Re: [gentoo-user] portage directory ownerships?

2015-09-16 Thread Fernando Rodriguez
On Wednesday, September 16, 2015 8:01:56 AM Alan McKinnon wrote:
> On 16/09/2015 00:36, Fernando Rodriguez wrote:
> > On Tuesday, September 15, 2015 10:25:15 PM Alan McKinnon wrote:
> >> On 15/09/2015 22:09, james wrote:
> >>> Hello,
> >>>
> >>> So looking at /etc/portage/repos.conf, it seems root.root owns these
> >>> files; shouldn't it be portage.portage? and /usr/portage
> >>>
> >>> That got me thinking. Everywhere that portage operates or owns
> >>> things, should the ownership not be portage.portage
> >>> and what would the typical permissions be?
> >>
> >> Here, all of /etc/portage is root:root
> >> The tree and all overlays are portage:portage
> >>
> >> You can make a local overlay owned by user you want, stuff you hack away
> >> at yourself should probably be james:james or james:users
> >>
> >> Typically, permissions in /etc/portage are the usual 755 for dirs and
> >> 644 for files
> >>
> >> I set overlays and the tree to be 2775 for dirs and 664 for files
> >>
> >>>
> >>> Is there a master list I can look at? Surely root not own all
> >>> these dirs, like /usr/portage/* ? My /usr/portage is root.root
> >>> and 755 on permissions, is that right?
> >>
> >> Permissions should be what YOU need them to be on your computer. There's
> >> a default, it's what portage makes them when you install stuff
> >>
> >>>
> >>> If so, why?
> >>
> >> Only root should change the master config files in /etc, just like in
> >> all other apps
> >> IIRC emerge can drop privs to a user account, if that user is portage
> >> then portage must own the files
> > 
> > It is true that portage drops privileges to the portage account (unless 
the 
> > ebuild has RESTRICT="userpriv" or I think FEATURES="-userpriv" on 
make.conf) 
> > but it doesn't need to write to the portage tree except to the distfiles 
> > directory so I don't know of any reason to have everything owned by 
> > portage:portage if the perms are 755/644.
> 
> portage also syncs the tree. For that it needs write perms.
> 
> > 
> > Mine is owned by root:root because it got borked one time after a sync so 
I 
> > deleted it and copied from another box manually. The only problem I ever 
had 
> > is that a fetch failed, and I just chowned the distfiles dir to 
portage:portage 
> > to fix it. Only recently it was pointed to me on this list that it was 
supposed 
> > to be portage:portage. I never changed it back to portage:portage but I 
made a 
> > mental note not to forget about it in case of trouble, that way I'll learn 
why 
> > that's the default if/when something breaks :) Besides it offers some 
(limited) 
> > protection against an ebuild accidentally writing to your portage tree.
> > 
> >>>
> >>> In my /usr/local/portage and it's subdirs where I hack on many 
> >>> ebuild, portage.portage owns everything.?
> >>
> >> Make your life easy, chaown that stuff to james
> > 
> > I personally prefer root:root because I think it is more secure. If you 
let 
> > somebody use your account even for a minute s/he could modify an ebuild 
> > without a password to install whatever s/he wants next time you run an 
update.
> 
> I'll argue that it's less secure. Giving someone else a gap to modify
> your ebuilds when you accidentally leave the computer unlocked is a rare
> event whereas you modifying your own ebuilds like james does is a common
> event.
> 
> If an overlay is root:root then he has to be root every time he works on
> it. If he then commits that rare blunder of leaving the computer
> unlocked, Murphy says he'll do it with a root shell open.

I also have the habit of never opening root shells unless absolutely necessary 
(which is next to never) and when I do I'm very conscious about it so that 
won't be a problem for me. I do a lot of ebuild hacking and that does mean I 
type my password a lot but you get used to it.

> While it is entirely possible to have a rogue colleague install a dodgy
> ebuild, that attacker would have to know exactly what to install where
> and would have to have the ebuild on hand to slip it in during the very
> few minutes available. To my eye that's a very small window of
> opportunity and needs a perfect storm to pull it off = vanishingly small
> risk

If that was my mission I just pick something that I know you run at startup 
like udev (I may pick something more trivial if possible to minimize the 
chance of you noticing). I'd bump the version and have the ebuild install my 
evil program along with it and add a few liner patch to fork() and execve() my 
program or just make my program a patch to the main prog. Then I'll put it on 
a webserver along with a script that does to work for me. Now I just need to 
run a single command to download and execute the script. 

So granted, it takes planning, and maybe some social engineering or other 
methods to get details about your system but once I get the chance it'll take 
only a few seconds and next time you update I'd have root access.

-- 
Fernando Rodriguez



Re: [gentoo-user] Syslog-ng "Failed to seek to the Cursor"

2015-09-16 Thread Fernando Rodriguez
On Wednesday, September 16, 2015 8:52:21 PM Helmut Jarausch wrote:
> On 09/16/2015 06:55:00 PM, Alan McKinnon wrote:
> > On 16/09/2015 17:57, Helmut Jarausch wrote:
> > > I have syslog-ng-3.7.1 installed here.
> > > Syslog-ng fails to start with the message:
> > > Failed to seek to the Cursor cursor='', error='Success (0)'
> > >
> > > Does anybody know what's happening?
> > >
> > > Many thanks for a hint,
> > > Helmut
> > >
> > >
> > 
> > 
> > It has something to do with systemd's log thingy.
> > 
> > The error only appears in one place in the syslog-ng source,
> > in modules/systemd-journal/journal-reader.c:
> > 
> > static inline gboolean
> > __seek_to_saved_state(JournalReader *self)
> > {
> >   JournalReaderState *state =
> > persist_state_map_entry(self->persist_state, self->persist_handle);
> >   gint rc = journald_seek_cursor(self->journal, state->cursor);
> >   persist_state_unmap_entry(self->persist_state,
> > self->persist_handle);
> >   if (rc != 0)
> > {
> >   msg_warning("Failed to seek to the cursor",
> >   evt_tag_str("cursor", state->cursor),
> >   evt_tag_errno("error", errno),
> >   NULL);
> >   return __seek_to_head(self);
> > }
> >   journald_next(self->journal);
> >   return TRUE;
> > }
> > 
> > 
> > First step would appear to be to check systemd's built-in log thingy
> > 
> 
> Thanks Alan,
> 
> but how to do that. I have systemd installed here but I haven't ever used it 
since I'm using openrc.
> So, what can I do?
> 
> Thanks,
> Helmut
> 
> 

Look for file named syslog-ng.persist somewhere in /var and delete it, then try 
restarting syslog-ng.

I also recommend you start playing with journalctl. I hated it for a while but 
mostly because I didn't knew how to use it. Now I love it and got rid of 
syslog-ng.

-- 
Fernando Rodriguez



Re: [gentoo-user] Syslog-ng "Failed to seek to the Cursor"

2015-09-16 Thread Fernando Rodriguez
On Wednesday, September 16, 2015 3:05:55 PM Fernando Rodriguez wrote:
> On Wednesday, September 16, 2015 8:52:21 PM Helmut Jarausch wrote:
> > On 09/16/2015 06:55:00 PM, Alan McKinnon wrote:
> > > On 16/09/2015 17:57, Helmut Jarausch wrote:
> > > > I have syslog-ng-3.7.1 installed here.
> > > > Syslog-ng fails to start with the message:
> > > > Failed to seek to the Cursor cursor='', error='Success (0)'
> > > >
> > > > Does anybody know what's happening?
> > > >
> > > > Many thanks for a hint,
> > > > Helmut
> > > >
> > > >
> > > 
> > > 
> > > It has something to do with systemd's log thingy.
> > > 
> > > The error only appears in one place in the syslog-ng source,
> > > in modules/systemd-journal/journal-reader.c:
> > > 
> > > static inline gboolean
> > > __seek_to_saved_state(JournalReader *self)
> > > {
> > >   JournalReaderState *state =
> > > persist_state_map_entry(self->persist_state, self->persist_handle);
> > >   gint rc = journald_seek_cursor(self->journal, state->cursor);
> > >   persist_state_unmap_entry(self->persist_state,
> > > self->persist_handle);
> > >   if (rc != 0)
> > > {
> > >   msg_warning("Failed to seek to the cursor",
> > >   evt_tag_str("cursor", state->cursor),
> > >   evt_tag_errno("error", errno),
> > >   NULL);
> > >   return __seek_to_head(self);
> > > }
> > >   journald_next(self->journal);
> > >   return TRUE;
> > > }
> > > 
> > > 
> > > First step would appear to be to check systemd's built-in log thingy
> > > 
> > 
> > Thanks Alan,
> > 
> > but how to do that. I have systemd installed here but I haven't ever used 
it 
> since I'm using openrc.
> > So, what can I do?
> > 
> > Thanks,
> > Helmut
> > 
> > 
> 
> Look for file named syslog-ng.persist somewhere in /var and delete it, then 
try 
> restarting syslog-ng.
> 
> I also recommend you start playing with journalctl. I hated it for a while 
but 
> mostly because I didn't knew how to use it. Now I love it and got rid of 
> syslog-ng.

Ops, I missed the part about not using systemd. If deleting that file doesn't 
fix it check if you have the systemd use flag enabled for syslog-ng and disable 
it. Are you using a systemd profile?

-- 
Fernando Rodriguez



Re: [gentoo-user] portage directory ownerships?

2015-09-15 Thread Fernando Rodriguez
On Tuesday, September 15, 2015 10:25:15 PM Alan McKinnon wrote:
> On 15/09/2015 22:09, james wrote:
> > Hello,
> > 
> > So looking at /etc/portage/repos.conf, it seems root.root owns these
> > files; shouldn't it be portage.portage? and /usr/portage
> > 
> > That got me thinking. Everywhere that portage operates or owns
> > things, should the ownership not be portage.portage
> > and what would the typical permissions be?
> 
> Here, all of /etc/portage is root:root
> The tree and all overlays are portage:portage
> 
> You can make a local overlay owned by user you want, stuff you hack away
> at yourself should probably be james:james or james:users
> 
> Typically, permissions in /etc/portage are the usual 755 for dirs and
> 644 for files
> 
> I set overlays and the tree to be 2775 for dirs and 664 for files
> 
> > 
> > Is there a master list I can look at? Surely root not own all
> > these dirs, like /usr/portage/* ? My /usr/portage is root.root
> > and 755 on permissions, is that right?
> 
> Permissions should be what YOU need them to be on your computer. There's
> a default, it's what portage makes them when you install stuff
> 
> > 
> > If so, why?
> 
> Only root should change the master config files in /etc, just like in
> all other apps
> IIRC emerge can drop privs to a user account, if that user is portage
> then portage must own the files

It is true that portage drops privileges to the portage account (unless the 
ebuild has RESTRICT="userpriv" or I think FEATURES="-userpriv" on make.conf) 
but it doesn't need to write to the portage tree except to the distfiles 
directory so I don't know of any reason to have everything owned by 
portage:portage if the perms are 755/644.

Mine is owned by root:root because it got borked one time after a sync so I 
deleted it and copied from another box manually. The only problem I ever had 
is that a fetch failed, and I just chowned the distfiles dir to portage:portage 
to fix it. Only recently it was pointed to me on this list that it was supposed 
to be portage:portage. I never changed it back to portage:portage but I made a 
mental note not to forget about it in case of trouble, that way I'll learn why 
that's the default if/when something breaks :) Besides it offers some (limited) 
protection against an ebuild accidentally writing to your portage tree.

> > 
> > In my /usr/local/portage and it's subdirs where I hack on many 
> > ebuild, portage.portage owns everything.?
> 
> Make your life easy, chaown that stuff to james

I personally prefer root:root because I think it is more secure. If you let 
somebody use your account even for a minute s/he could modify an ebuild 
without a password to install whatever s/he wants next time you run an update.
 
> > Curious, and I cannot remember ever looking at this
> > 
> > 
> > James
> > 
> > 
> > 
> > 
> 
> 
> 

-- 
Fernando Rodriguez



Re: [gentoo-user] OT: GCC 5 Offloading

2015-09-15 Thread Fernando Rodriguez
On Tuesday, September 15, 2015 3:11:37 AM james wrote:
> Fernando Rodriguez  outlook.com> writes:
> 
> > Do you know of any plans to enable offloading on the gentoo toolchain?
> 
> NO, but I'm sure some devs are keenly aware of this feature in gcc-5.
> 
> 
> > I was able to build the offloading compiler using crossdev with a few hacks 
> > and wrote an ebuild for Intel's simulator[2]. I will work on enabling the  
> > host compiler tomorrow and may open a feature request and post patches 
> > once I get it working. The changes needed to enable it on the host are 
> > pretty trivial.
> 
> Sorry Fernando, I just now saw this thread on an old thread. I think that
> 'sys-cluster/ceph' is where I'd like to test your spin on the gcc-5.
> Ceph has RDMA (RoCE) in the 0.94 branch (in portage). You are definately
> ahead of me on practical gcc-5 experiments with offloading and other
> new features.
> 
> You did not list your second reference. Where I can I get/git your
> compiler and some brief suggestions on taking it for a test drive.
> 
> I'm not much interested in the Intel simulator, atm. I like to test on
> old gear running gentoo:: borking is no big deal, if it happens.
> Other codes keen to test gcc-5 (offloading) on are Apache-mesos and
> Apache-spark and mesos-distcc.
> 
> Also, per this doc [1] you can get your own gentoo overlay to put
> things up for wider experimentation, if you like.
> 
> [1] https://wiki.gentoo.org/wiki/Project:Overlays/Dev_Guide
> 
> 
> Very cool, what you have done,
> James

The link was for the emulator ebuild[1]. I got distracted with other stuff and 
didn't make the host compiler, will do it this week. I built the offloading 
(accel) compiler as follows:

1. Use crossdev like when building a regular cross-compiler:

# crossdev -v -t x86_64-intelmicemul-linux-gnu #for intel MIC
or
# crossdev -v -t nvptx-none  # for nvidia ptx

2. As soon as it start building the 1st stage, hit CTRL-C 

3. cd to your crossdev overlay, create an eclass directory and copy the 
attached eclass to it.

4. cd to the category directory for your compiler and delete the gcc symlink 
and copy over the gcc directory from your portage tree.

5. delete all ebuild versions except the one you want to install and apply the 
attached patch to it.

6. Emerge it with crossdev again, it should succeed. Technically you don't 
need to build the whole thing so you can use crossdev options to just build 
the compiler (I didn't try that).

This works for Intel MCI. For nvidia ptx you need to install nvptx-tools and 
tell the compiler how to find it by adding this on line 800 of the eclass: --
with-build-time-tools=[install-nvptx-tools]/nvptx-none/bin --disable-sjlj-
exceptions --enable-newlib-io-long-long. I will patch crossdev to do it 
automatically when I get time. I won't bother with an ebuild for nvptx-tools 
cause I don't have a card to test and don't want to buy one.

For the host compiler, it just need one configure option so it can find the 
offloading/accelerator compiler. I plan to add GCC_OFFLOAD_TARGETS to make.conf 
and patch toolchain.eclass to add it to the configure command. It's not 
something I'll want to put on an overlay because it affects the whole toolchain 
so I'll just make it a patch and apply it to the toolchain.eclass on the 
portage tree when I want to build a compiler.

I want to test with opencv stuff since I got an embedded project that will do a 
lot of it. I'm hoping to use the emulator to get a good idea of how much can 
be offloaded and if it's worth getting one of those.

[1] 
https://github.com/fernando-rodriguez/portage-overlay/tree/master/dev-util/intel-sde-external
[2] https://github.com/MentorEmbedded/nvptx-tools/


-- 
Fernando Rodriguez# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

# Maintainer: Toolchain Ninjas <toolch...@gentoo.org>

DESCRIPTION="The GNU Compiler Collection"
HOMEPAGE="http://gcc.gnu.org/;
RESTRICT="strip" # cross-compilers need controlled stripping

inherit eutils fixheadtails flag-o-matic gnuconfig libtool multilib pax-utils 
toolchain-funcs versionator

if [[ ${PV} == *_pre* ]] ; then
EGIT_REPO_URI="git://gcc.gnu.org/git/gcc.git"
# naming style:
# gcc-4.7.1_pre -> gcc-4_7-branch
#  Note that the micro version is required or lots of stuff will break.
#  To checkout master set gcc_LIVE_BRANCH="master" in the ebuild before
#  inheriting this eclass.
EGIT_BRANCH="${PN}-${PV%.?_pre}-branch"
EGIT_BRANCH=${EGIT_BRANCH//./_}
inherit git-2
fi

FEATURES=${FEATURES/multilib-strict/}

EXPORTED_FUNCTIONS="pkg_setup src_unpack src_compile src_test src_install 
pkg_postinst pkg_postrm"
case ${EAPI:-0} in
  

[gentoo-user] Re: OT: GCC 5 Offloading

2015-09-12 Thread Fernando Rodriguez
On Thursday, September 10, 2015 12:20:39 PM james wrote:
> You are taking a very conservative view of things. Codes being worked
> out now for clusters, will find their way to expand the use of the
> video card resources, for general purpose things. Most of this will
> occur as compiler enhancements, not rewriting by hand or modifying 
> algorithmic designs of existing codes. Granted they are going to
> mostly apply to multi-threaded application codes.

Your being over-optimistic. It seems to me all they're hoping for is to define 
a standardized and portable high-level interface for programming accelerators. 
The ones that will benefit the most is the same applications that can benefit 
from lower level technologies like CUDA. Scientific/number crunching 
applications, some kinds of clustering, etc.

With no synchronization most existing multithreaded designs cannot benefit from 
it. And obviously code running on the accelerator cannot branch into the CPU, 
so no system or library calls. That leaves only purely number crunching loops. 
There's little of that on desktop and few of them can be fully optimized for 
parallelization. And to be worth the overhead of offloading the CPU needs to be 
maxed out. That leaves only the few applications I mentioned before.

I'm looking at Intel MICs[1] and those look a lot more promising though still 
of limited use for desktops. It uses OpenMP so it has a lot less restrictions 
than OpenACC (a few ebuilds in the tree can already benefit from it with minor 
patches) and you can even offload whole proccesses. You can even ssh to the MIC 
since it runs Linux. It's not for the average desktop but they're not too 
expensive either. It may be worth it for high-end gentoo workstation (you can 
offload compile jobs with distcc) and I got a project on the backburner that 
can 
benefit from it.

Do you know of any plans to enable offloading on the gentoo toolchain? I was 
able to build the offloading compiler using crossdev with a few hacks and wrote 
an ebuild for Intel's simulator[2]. I will work on enabling the host compiler 
tomorrow and may open a feature request and post patches once I get it 
working. The changes needed to enable it on the host are pretty trivial.

[1] 
https://software.intel.com/en-us/articles/intel-xeon-phi-coprocessor-codename-knights-corner

-- 
Fernando Rodriguez



Re: [gentoo-user] Re: dec-terminal fonts

2015-09-11 Thread Fernando Rodriguez
On Friday, September 11, 2015 12:07:45 PM Harry Putnam wrote:
> "Walter Dnes" <waltd...@waltdnes.org> writes:
> 
> > On Wed, Sep 09, 2015 at 05:04:30PM -0400, Harry Putnam wrote
> >> I've got to liking this font:
> >>   -dec-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1
> >> 
> >> But, after checking with xlsfonts... I don't see it available
> >> 
> >> Can anyone tell me which font package would have -dec-termainal [...]
> >> fonts?
> >
> >   Maybe media-fonts/font-dec-misc ?  An alternative option might be
> > media-fonts/terminus-font
> 
> Thanks, that first sure looks like it should be the one.  When I
> searched with `eix' looking for dec a couple days ago... I somehow,
> probably thru operator error, did not uncover it ... although I easily
> find it now.
> 
> There must be some other problems
> 
> I happened to have checked the output of xlsfonts|wc -l, which showed
>   1513
> before installing both of those above.
> 
> Once they were installed I do not find any dec-terminal fonts but also
> `xlsfonts|wc -l' still shows 1513
> 
> I thought I had noticed that count staying the same earlier when I
> installed the pkg thelma mentioned; but never verified before and
> after like I did now.
> 
>   qlist font-dec-misc
>   /usr/share/doc/font-dec-misc-1.0.3/ChangeLog.bz2
>   /usr/share/fonts/misc/decsess.pcf.gz
>   /usr/share/fonts/misc/deccurs.pcf.gz
> 
> And terminus-font has too many files to list here
>   qlist terminus-font|wc -l
>288
> 
> Surely the number recorded in xlsfonts should rise eh?
> 
> PS - For the record eix showed neither package you posted to be
> installed prior to the installations I performed a few minutes ago,
> yet no increase in number of fonts
> 
> Am I wrong to expect xslfonts to show what I have installed?

I think that's a console font, not X.

How did you get to liking it?
If from another distro you can:

1. Find the package name on that distro and see if you can find a similar named 
package on portage.
2. Find the upstream package name and grep the portage tree for the name part 
of that file.
3. Grab the font from the other distro and install manually to /usr/local or 
(I think) ~/.local. If you use kde it has a nice interface for managing fonts 
on system settings.
4. Make an ebuild for it.

-- 
Fernando Rodriguez



Re: [gentoo-user] Re: new computer : any advice ?

2015-09-10 Thread Fernando Rodriguez
On Wednesday, September 09, 2015 9:52:55 PM james wrote:
> Jeremi Piotrowski  gmail.com> writes:
> 
> > No, and yes. Compilation is not affected in any way and runtime
> > performance can only be improved _if_ this stuff is explicitly used within
> > the code.
> 
> Yes this is all new and a work in progress. I do not think it will be
> gcc-6 that makes the difference in a few years. But folks should be aware
> and look for codes that are accelerated via usage of GPU resources.
> Remember this all started about hardware purchase and future benefits.
> It's definitely not commodity usage atm.
> 
> 
> > Meaning you would feel a difference in no less then 5 years when gcc-6 is
> > widely used and accelerator support is not restricted to intel MIC and
> > nvidia gpus. James is getting a bit ahead of himself calling this a
> > "game changer" - yeah... not really right now.
> 
> It's not as restricted as you indicate amd, intel, nividia and others like
> arm (Mali and such) are working to support there hardware under the openacc
> code extension now in gcc-5. Granted the more powerful your GPU resources
> are the more they can contribute. This stuff use to only work with
> vendor supplied compilers and sdks, now it's finally available in gcc,
> albeit in it's infancy. Naturally it's going to take a while to 
> become mainstream useful; but that more like a year or 2, at most.

The value I see on that technology for desktop computing is that we get the 
GPUs for what they're made (graphics processing) but their resources go unused 
by most applications, not in buying powerful GPUs for the purpose of offloading 
general purpose code, if that's the goal you're better off investing in more 
general purpose cores that are more suited for the task.

To trully take advantage of the GPU the actual algorithms need to be rewritten 
to use features like SIMD and other advanced parallelization features, most 
desktop workloads don't lend themselves for that kind of parallelization. That 
is why despite similar predictions about how OpenMP-like parallel models would 
obsolete the current threads model since they where first proposed, it hasn't  
happened yet.

Even for the purpose of offloading general purpose code, it seems with all the 
limitations on OpanACC kernels few desktop applications can take advantage of 
it (and noticeably benefit from it) without major rewrites. Off the top of my 
head audio, video/graphics encoders, and a few other things that max out the 
cpu and can be broken into independent execution units.

-- 
Fernando Rodriguez



  1   2   3   4   >