Re: [gentoo-user] Any way to automate login to host and su to root?

2022-07-14 Thread Francisco Ares
Em qui., 14 de jul. de 2022 11:48, Neil Bothwick 
escreveu:

> On Thu, 14 Jul 2022 11:54:46 +0200, J. Roeleveld wrote:
>
> > For security reasons, I do not want direct login to root under any
> > circumstances. This is disabled on all systems and will stay this way.
> >
> > Currently, to login as root, you need to know:
> > - admin user account name
> > - admin user account password
> > - root user account password
> >
> > I do not want to reduce this to a single ssh-key-passphrase.
>
> Is this user only used as a gateway to root access, or can you set up such
> a user? If so you could use key-based authentication for that user, with
> a passphrase, and add command="/bin/su --login" to the authorized_keys
> line. That way you still need three pieces of information, replacing the
> user's password with the user's key passphrase.
>
>
> --
> Neil Bothwick
>
> 30 minutes of begging is not considered foreplay.
>

Or you might consider creating a ssh key pair for the remote root and login
directly to root with no password, only using the ssh keys.

>


Re: [gentoo-user] Re: Reinstall

2022-06-19 Thread Francisco Ares
Em dom., 19 de jun. de 2022 às 14:33, Michael
 escreveu:
>
> On Sunday, 19 June 2022 18:22:34 BST Grant Edwards wrote:
> > On 2022-06-19, Francisco Ares  wrote:
> > > Just for the sake of preventing a future failure, besides personal
> > > files (minimum and obvious) the "world" file and the binary packages,
> > > built along with the package installation, what else should I backup
> > > so that I would be able to quickly restore the same full working
> > > Gentoo in a new hardware without having to work from stage3 up? The
> > > portage tree is one of those items, for sure. But what else?
> >
> > Make a backup copy of everything under /etc.
> >
> > I used to try to backup individual /etc/... files that I would need,
> > but I always forgot something.
> >
> > --
> > Grant
>
> Yes, besides /var/lib/portage/world and /etc/ you may also want to back up
> your /boot and kernel config, assuming the hardware (MoBo & peripherals) is 
> the
> same (same drivers).  I wouldn't bother backing up portage, a resync will
> download it afresh.  You might want to save /distfiles if you're on a slow
> Internet link, but it has to be a copy of the current versions, otherwise the
> latest version of each package source will have to be downloaded anyway.
>
> If you're running databases you'll also want to keep a backup of the
> respective /var/lib/*sql directory and if you're running a webserver /var/www/
> * - but you would be aware of the need to keep a fresh backup of all this data
> anyway.

Also good point, one can always do a "make oldconfig" on a new kernel
to recover specific tweaks.

Regarding backing up the portage tree, the binary packages won't do
much if the last sync is, say, one or two months old or even worse if
older. To use "emerge -K" one must have the same package version built
in the binary package as the one present in portage. That's what I'm
facing right now, it seems my binary packages won't be so helpful
after all - I'm beginning to think I'll have to go back to stage-3...

Thanks!
Francisco



Re: [gentoo-user] Re: Reinstall

2022-06-19 Thread Francisco Ares
Em dom., 19 de jun. de 2022 às 14:22, Grant Edwards
 escreveu:
>
> On 2022-06-19, Francisco Ares  wrote:
>
> > Just for the sake of preventing a future failure, besides personal
> > files (minimum and obvious) the "world" file and the binary packages,
> > built along with the package installation, what else should I backup
> > so that I would be able to quickly restore the same full working
> > Gentoo in a new hardware without having to work from stage3 up? The
> > portage tree is one of those items, for sure. But what else?
>
> Make a backup copy of everything under /etc.
>
> I used to try to backup individual /etc/... files that I would need,
> but I always forgot something.
>
> --
> Grant
>
>
>
>

Good point, thanks!

Francisco



Re: [gentoo-user] Reinstall

2022-06-19 Thread Francisco Ares
Good day!

First of all, sorry for the late reply. I had to attend to a course a
bit far away from home and it was pretty intense.

Now, back home, I'll try the suggestions, thanks!

Just for the sake of preventing a future failure, besides personal
files (minimum and obvious) the "world" file and the binary packages,
built along with the package installation, what else should I backup
so that I would be able to quickly restore the same full working
Gentoo in a new hardware without having to work from stage3 up? The
portage tree is one of those items, for sure. But what else?

Thank you all and a good sunday.
Francisco



[gentoo-user] Reinstall

2022-05-11 Thread Francisco Ares
Hello

After a main HD failure, I'll have to reinstall Gentoo from almost zero - I
have a full and recent copy of the /etc directory and the file
/var/lib/portage/world in a secondary HD (along many personal backups).

Installation basics done, now it is time for an emerge world.

Although the emerge lists is as huge as expected, it doesn't even start,
portage says there are cyclic USE flags that I should avoid at the first
moment, but may restore afterwards.

But it doesn't say which are those USE flags that block each other.

Is there any way to find those better than brute force?

By the way, I also have a copy of all binary packages (I always use the -b
flag while emerging any package) in that second disk. But that didn't help
so far, even trying to use the -K flag. I thought on un-tar'ing those
binary packages by hand, but portage will be unaware of this, not knowing
the packages are installed.

Any hint will be greatly appreciated!

Thanks

Francisco


Re: [gentoo-user] Anyone seeing tons of build errors while compiling sys-devel/autogen ?

2020-05-27 Thread Francisco Ares
Em qua., 27 de mai. de 2020 às 09:49, Ashley Dixon  
escreveu:
>
> On Wed, May 27, 2020 at 09:22:25AM -0300, Francisco Ares wrote:
> > In fact they are really errors, not warnings. It doesn't build to the end.
> > But that's something weird, the compilation don't stop at the first error.
> >
> > Here is the set of files recommended in such cases, including the build
> > log, environment, etc.:
>
> Please attach logs and extra information directly to the e-mail, compressing  
> if
> necessary.  Google Drive is very inconvenient for those not running a  
> windowing
> environment.
>
> > [G. Drive link clipped] - they are just plain text files, just the build log
> > contains escape characters to show colors in a terminal.
>
> You can use `app-text/ansifilter` to remove those if the command doesn't 
> support
> a "no colour" argument (such as the `script` utility). Example usage (-T 
> outputs
> control-code-free text): `ansifilter -i infile -o outfile -T`. The same tool 
> can
> also output (La)TeX, H.T.M.L., and various other rich formats;  it  has  a  
> very
> comprehensive man page.
>
> > I suppose I should fill out a bug report.
>
> Yes, please do. Looking at your logs, something is seriously wrong.
>
> --
>
> Ashley Dixon
> suugaku.co.uk
>
> 2A9A 4117
> DA96 D18A
> 8A7B B0D2
> A30E BF25
> F290 A8AA
>

Sorry!  And thanks a lot for the tips.

Best regards,
Francisco


autogen_emerge_results.tbz
Description: application/bzip-compressed-tar


Re: [gentoo-user] Anyone seeing tons of build errors while compiling sys-devel/autogen ?

2020-05-27 Thread Francisco Ares
Em qua., 27 de mai. de 2020 às 00:04, Ashley Dixon 
escreveu:

> On Tue, May 26, 2020 at 11:31:57PM -0300, Francisco Ares wrote:
> > Just to make sure this ain't purely local: while building
> > sys-devel/autogen, the build process shows a lot (really) of error
> messages
> > from the compiler.
> >
> > Is there anyone seeing something like this?
>
> Which version of autogen ?  Are these build errors preventing the
> package  from
> being installed, or are they merely errors ?  The fact you are seeing a
> lot  of
> them suggests  they're  not  fatal.   Building  5.18.16-r1  with
> {-libopts  and
> -static-libs}, I get a few warnings on amd64, but nothing I would
> interpret  as
> severely unusual.
>
> The build script is attached.
>
> --
>
> Ashley Dixon
> suugaku.co.uk
>
> 2A9A 4117
> DA96 D18A
> 8A7B B0D2
> A30E BF25
> F290 A8AA
>
>
Thank you for your reply, Ashley.

In fact they are really errors, not warnings. It doesn't build to the end.
But that's something weird, the compilation don't stop at the first error.

Here is the set of files recommended in such cases, including the build
log, environment, etc.:

https://drive.google.com/open?id=1puc5-tj1a1-joQ0dDiL5ls17BOjjhwzh - they
are just plain text files, just the build log contains escape characters to
show colors in a terminal.

I suppose I should fill out a bug report.

Thank you all for viewing
Francisco


[gentoo-user] Anyone seeing tons of build errors while compiling sys-devel/autogen ?

2020-05-26 Thread Francisco Ares
Hi all,

Just to make sure this ain't purely local: while building
sys-devel/autogen, the build process shows a lot (really) of error messages
from the compiler.

Is there anyone seeing something like this?

Thanks!
Francisco Ares


Re: [gentoo-user] Pre-merge checks

2020-01-29 Thread Francisco Ares
Em sáb, 25 de jan de 2020 21:34, Adam Carter 
escreveu:

> On Sat, Jan 25, 2020 at 12:48 AM Francisco Ares  wrote:
>
>> Hi, All.
>>
>> I would like to see all pre-merge checks prior to build a new kernel,
>> just to make sure all kernel configurations needed até satisfied.
>>
>> I thought on issuing an "emerge -e world" then interrupting the process
>> at the beguinning of the first package build.  But this looks a weird way
>> of doing things.
>>
>> Is there any other way?
>>
>>
> The command looks through the ebuilds of installed packages and dumps a
> list of of the kernel options that the ebuilds are looking for, so its a
> start. You'll then need to check this against your .config file.
>
> If you're not using the new $PORTDIR of /var/db/repos/gentoo you'll need
> to change that of course.
>
> for pak in $(qlist -ICv | sed
> 's/\(.*\)\(\/.*\)\(-[0-9].*\)/\1\2\2\3.ebuild/g' ); do grep -s -H
> 'CONFIG_CHECK="' /var/db/repos/gentoo/$pak ; done
>
>
>
> This is awesome!

Thank you!

To check out what the developer think it is really important, there's the
ERROR_ string to grep for.

Best Regards,
Francisco

>
>


Re: [gentoo-user] Pre-merge checks

2020-01-24 Thread Francisco Ares
Em sex, 24 de jan de 2020 13:21, Neil Bothwick  escreveu:

> On 24 January 2020 13:48:23 GMT, Francisco Ares  wrote:
>>
>> Hi, All.
>>
>> I would like to see all pre-merge checks prior to build a new kernel,
>> just to make sure all kernel configurations needed até satisfied.
>>
>> I thought on issuing an "emerge -e world" then interrupting the process
>> at the beguinning of the first package build.  But this looks a weird way
>> of doing things.
>>
>> Is there any other way?
>>
>> Thanks!
>> Francisco
>>
>>
> If you use make oldconfig, this shouldn't be necessary as all the checks
> have already been made.
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>

This system has quite an old Gentoo instalation, and some packages show
complaints about kernel features.  So I thought on doing an overall check.

Thanks!


[gentoo-user] Pre-merge checks

2020-01-24 Thread Francisco Ares
Hi, All.

I would like to see all pre-merge checks prior to build a new kernel, just
to make sure all kernel configurations needed até satisfied.

I thought on issuing an "emerge -e world" then interrupting the process at
the beguinning of the first package build.  But this looks a weird way of
doing things.

Is there any other way?

Thanks!
Francisco


Re: [gentoo-user] External hard drive and idle activity

2020-01-02 Thread Francisco Ares
Em qui., 2 de jan. de 2020 às 07:49, Dale  escreveu:

> Neil Bothwick wrote:
> > On Wed, 1 Jan 2020 20:27:34 -0600, Dale wrote:
> >
> >>> If you wait for a few seconds after the backup is completed before
> >>> you unmount the drive, you should be OK.  Although it may slow down
> >>> or any LEDs flash less frequently the drive may not stop spinning,
> >>> unless there is some power save process taking control of it.
> >>>
> >> Given the speed, it is likely done when I tell the KDE thingy to
> >> unmount.  Usually, I start the backup and walk away for a few minutes.
> >> I do it with one of my scripts, if one can call what I do a script, and
> >> it does the date command at the end.
> > Add a sync command to the end of the script to make sure all filesystem
> > buffers are flushed to disk before it finishes.
> >
> >
>
> Now there's a idea.  Between the sync command and the unmount process,
> it should be safe for sure.  You made good use of those brain cells.
> lol  I didn't think of that and I don't recall anyone else thinking of
> it either.  Still wonder what the heck it is doing sometimes tho.
>
> Dale
>
> :-)  :-)
>
>
Another thing to be considered is S.M.A.R.T. activity, that is proper to
the hard drive firmware.  Don't know if it is safe or not to power it down
during that process though.  I would wait until it really finishes all
activity.

But do you really need to power it down?  Mechanic (magnetic) hard drives
are known to have shorter lives if they are turned on and off frequently.
My desk computer is rarely turned off, I have 4 hard drives, the oldest is
close to 10 years old and SMART diagnostics are always good.

Best regards,
Francisco


[gentoo-user] Can't "emaint sync -A" successfully

2018-12-10 Thread Francisco Ares
Hi guys.

For some days now (can't say how many) I have been unable to get "emaint
sync -A". At the end, it says something like this:


sent 116.30K bytes  received 23.70M bytes  266.06K bytes/sec
total size is 218.86M  speedup is 9.19
 * Manifest timestamp: 2018-12-10 18:38:44 UTC
 * Valid OpenPGP signature found:
 * - primary key: DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D
 * - subkey: E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
 * - timestamp: 2018-12-10 18:38:44 UTC
 * Verifying /usr/portage/.tmp-unverified-download-quarantine ...!!!
Manifest verification failed:
Manifest mismatch for metadata/md5-cache/media-gfx/pdf2svg-0.2.3
  BLAKE2B: expected:
10d29df75f139b4c2c0335a2fc179b656fddba63ce5eb744a357601e22ba8691d03837845e39c8a080657fa22e533321476ab66205cbd5318ec1cd9d7492fdd2,
have:
98555069f2ba50b4820c4a86525e1c8a2d8789de76b7cc0ba353f8edafd8df28d02585bb175b010d234b9ce055ecfd977a824ed8a55036923e79396bb9eeaa5d
  SHA512: expected:
2f4c6dd0052d813dfd07620bd4222d840784b76b066ca4e4ec87e9fd4d0be329060a143f1392cc8a6925126f65d2ffccef92e873a734b61565fedd949a7ee353,
have:
a46ef274a60bce0ee5a08022f85c769121fe6dc7c83560c5a57a09cf74a2cbd29bd8fd41602ffba2b72ea473800a9e5fff57dc104931b0d773a3003b9a2500c0
q: Updating ebuild cache in /usr/portage ...
q: Finished 35801 entries in 0.098986 seconds

Action: sync for repo: gentoo, returned code = 1


The manifest mismatch, for a few days, has been "pdf2svg", but it has
changed from a few days ago, it was another manifest mentioned at the error
message.

So, I have had to update using /usr/bin/emerge-webrsync .

That's not big deal, but I really would like to understand a bit more,
like, am I doing something wrong?

Thank you!
Francisco


Re: [gentoo-user] is anyone using Nouveau graphics driver ?

2018-07-23 Thread Francisco Ares
Em seg, 23 de jul de 2018 às 11:47, Andrey F.  escreveu:

> My experience is the same. Things are super fast with Nouveau, but the
> random system-wide lock ups were unbearable. I'm a KDE plasma user as well.
> My last experience was about 6 months ago.
>
> I wonder if there is anything we can do to help solve the lockup issues in
> the long run with Nouveau.
>
> On Mon, Jul 23, 2018, 04:20 Davyd McColl  wrote:
>
>> For what it's worth, my experience with Nouveau has been dismal.
>>
>> I use KDE plasma, which runs everything via accelerated graphics and I
>> would encounter system-wide lockups within 2 hours, often much closer to
>> within 10 minutes.
>> Nouveau has better terminal support though, supporting the higher
>> resolutions that the proprietary driver can't be bothered to support. So
>> if
>> you have a vt-only use-case, it's a win. But otherwise, I'm very wary.
>> Granted, the last time I tried was about a year ago, but the troubles I
>> had
>> been experiencing were common with other users for long before that.
>>
>> You could give it a try and see.
>>
>> As for usage, iirc, if it's enabled in your kernel config, it's loaded by
>> default, even if the proprietary drivers are installed. I blacklisted the
>> Nouveau module to get the proprietary one loaded (so that I could switch
>> back after a kernel update to see if it worked properly then). Again,
>> things may have changed from when I last tried, but I think you should be
>> able to enable, build and reboot to have it loaded already (obviously,
>> you
>> could rmmod and modprobe if the idea of a reboot doesn't sit well)
>>
>> -d
>>
>>
>> On July 23, 2018 12:17:53 Philip Webb  wrote:
>>
>> > Among my efforts to get scanning working again with Gentoo,
>> > I've encountered another problem in a different area.
>> > Recently, I sent a message to this list re Nvidia-drivers
>> > -- that 396.24-r1 wouldn't start with my 4.14.52 kernel,
>> > so I started using 390.67 -- & I've now discovered that there's a
>> problem
>> > with any version of Nvidia & my previous 4.9.16 & 4.2.0-r1 kernels.
>> >
>> > Might I be better off, if I used Nouveau instead ?
>> > It is what Mint 17 & 19 seem to use, so must be fairly stable.
>> > So a few questions :
>> >
>> > (1) What are people's experiences with Nouveau ?
>> > -- does it work easily with various kernels ?
>> > -- does it manage graphics stably & reliably ?
>> > -- I don't do much with video (a few newsreels) & don't use sound.
>> >
>> > (2) If I install it, how do I switch between Nouveau & Nvidia ?
>> >
>> > (3) Sadly, I didn't make a Quickpkg of the Nvidia version I was using
>> > when my scanner was working with Gentoo (last time 180626).
>> > I have the distfiles, but not the ebuilds :
>> > is there anywhere I can find ebuilds for Nvidia-Drivers 390.42 390.48 ?
>> >
>> > --
>> > ,,
>> > SUPPORT ___//___,   Philip Webb
>> > ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
>> > TRANSIT`-O--O---'   purslowatchassdotutorontodotca
>> >
>> >
>>
>>
>>
>>
Here goes my "me too". Nouveau drivers causing locks in the graphics
environment, locking also the keyboard, disallowing me to switch to a
common non-graphic terminal to try something.  I had to install a ssh
client app in my smart phone so I could try to unlock the system (with no
success) and, at least, shut it down gracefully.

I'm also a KDE user.  I've noticed more locks while using "chromium", but
this might have been a coincidence.

Best Regards,
Francisco


Re: [gentoo-user] Epson L380 scanner+ printer

2018-04-19 Thread Francisco Ares
2018-04-19 10:36 GMT-03:00 Francisco Ares <fra...@gmail.com>:

>
>
> 2018-04-17 18:29 GMT-03:00 Heiko Baums <li...@baums-on-web.de>:
>
>> Am Tue, 17 Apr 2018 17:20:21 +
>> schrieb Francisco Ares <fra...@gmail.com>:
>>
>> > Can anyone tell me how to set up the scanner part of an Epson L380?
>>
>> It's most likely done this way (at least for printers which need the
>> open source driver ESC/P-R):
>>
>> - Install sane.
>> - In /etc/sane.d/dll.conf uncomment the line epson2.
>> - In /etc/sane.d/epson2.conf set or uncomment those lines:
>>
>> usb
>> usb  
>> net 
>>
>> If you have it connected via Wifi you probably need to configure it for
>> USB, too. At least you can configure it for both connection types at
>> the same time.
>>
>> Just in case, you won't be able to use this printer with a Raspberry Pi,
>> because it needs the proprietary ESC/P driver. If you consider
>> connecting an EPSON printer to a Raspberry Pi you would need a printer
>> which needs the open source driver ESC/P-R.
>>
>> Heiko
>>
>>
> Regarding the printer part of the Epson L380, the
> package net-print/gutenprint does the job, so this part is solved.
>
> The question remains regarding the scanner part.  I'll try your
> suggestions, then I get back with the results.
>
> Thanks!
>
> Francisco
>


It works, thank you!

Francisco


Re: [gentoo-user] Epson L380 scanner+ printer

2018-04-19 Thread Francisco Ares
2018-04-17 18:29 GMT-03:00 Heiko Baums <li...@baums-on-web.de>:

> Am Tue, 17 Apr 2018 17:20:21 +
> schrieb Francisco Ares <fra...@gmail.com>:
>
> > Can anyone tell me how to set up the scanner part of an Epson L380?
>
> It's most likely done this way (at least for printers which need the
> open source driver ESC/P-R):
>
> - Install sane.
> - In /etc/sane.d/dll.conf uncomment the line epson2.
> - In /etc/sane.d/epson2.conf set or uncomment those lines:
>
> usb
> usb  
> net 
>
> If you have it connected via Wifi you probably need to configure it for
> USB, too. At least you can configure it for both connection types at
> the same time.
>
> Just in case, you won't be able to use this printer with a Raspberry Pi,
> because it needs the proprietary ESC/P driver. If you consider
> connecting an EPSON printer to a Raspberry Pi you would need a printer
> which needs the open source driver ESC/P-R.
>
> Heiko
>
>
Regarding the printer part of the Epson L380, the
package net-print/gutenprint does the job, so this part is solved.

The question remains regarding the scanner part.  I'll try your
suggestions, then I get back with the results.

Thanks!

Francisco


[gentoo-user] Epson L380 scanner+ printer

2018-04-17 Thread Francisco Ares
Hi!

Can anyone tell me how to set up the scanner part of an Epson L380?

The printer part is up and running.

Thanks!
Francisco


Re: [gentoo-user] Re: CONFIG_COMPAT_VDSO

2018-02-22 Thread Francisco Ares
Em 21 de fev de 2018 11:23 AM, "Nikos Chantziaras" <rea...@gmail.com>
escreveu:

On 21/02/18 15:27, Francisco Ares wrote:

> It's been a long since I've noticed something about this kernel option.
>
> What about it nowadays?  Should I set or unset it?  Or does it depend on
> which profile and/or packages?
>

It's completely useless today. Unless you have some binaries from 15 years
ago or so that you're still using, which I assume is not the case.




Thank you.

Francisco


[gentoo-user] CONFIG_COMPAT_VDSO

2018-02-21 Thread Francisco Ares
Hi!

It's been a long since I've noticed something about this kernel option.

What about it nowadays?  Should I set or unset it?  Or does it depend on
which profile and/or packages?

Thanks a lot!
Francisco


Re: [gentoo-user] How to resume 'emerge -e @world' after grub fails?

2017-12-18 Thread Francisco Ares
2017-12-18 17:02 GMT-02:00 David Haller :

> Hello,
>
> On Mon, 18 Dec 2017, Mick wrote:
> >On Monday, 18 December 2017 16:14:42 GMT Dale wrote:
> >> Grant Edwards wrote:
> >> > I tried following the profile 17 upgrade instructions but now I'm
> >> > stuck.  After running for a day or so, the 'emerge -e @world' command
> >> > stopped when grub-0.97 failed to build.
> >> >
> >> > How do I skip grub and continue?
> >> >
> >> > Or do I have to tell emerge to start over from the beginning (skipping
> >> > grub)?  Assuming there are other packages that are going to fail also,
> >> > that could take weeks...
> >>
> >> emerge --resume --skipfirst
> >>
> >> That should work.  If forced, using --exclude grub might could be
> >> added.  I've never tried that with the --resume command tho.
> >>
> >> Dale
> >>
> >Let's not forget the '--keep-going y' option too.  At the end it will
> print a
> >list of all the packages that failed to emerge.
>
> Well, there's a catch though. I did:
>
> $ emerge -e --keep-going @world
> [some failed pkg(s)]
> [Ctrl-C due to going to sleep etc.]
> $ emerge -e --keep-going --resume @world
> [Ctrl-C due to going to sleep etc.]
> [some failed pkg(s)]
> $ emerge -e --keep-going --resume @world
> [Ctrl-C due to going to sleep etc.]
> [2 more failed pkg(s)]
> [emerge prints just those two failed pkgs that failed since the last
> resume]
>
> And no "failed pgks" were printed at those Ctrl-C...
>
> Only trace was probably deep in the emerge logs and the leftovers in
> /var/tmp/portage (-> you should not these down before you shut down if
> that's a tmpfs ...)
>
> I think something about this should be done / documented.
>
> Luckily, it was no big deal, as I did a switch to gcc-7.2 / -pie at
> the same time, so I ran my "check-pie" script (pie-only check
> extracted from checksec) to find the packages that (might) need a
> recompile. I've just a few biggies leftover to compile and a couple I
> want to mess with. But those have updates pending anyway. So, I'm
> about done.
>
> BTW: in the process, I've collected binaries/packages that won't get
> compiled as pie... e.g. gcc itself, grub and most (all?) haskell
> stuff. ATM, it's a pretty badly ad-hoc script, but I could amend that.
> Or at least share the list of "known non-pie-able" binaries, I guess.
> Hm. One could also add an output that can be fed to emerge via xargs.
>
> -dnh
>
> --
> "As a sysadmin, I suppose you're familiar with something called a
>   'worst-case scenario'?"
> "Isn't that what we call, "having a good day for a change"?"
>(Rik Steenwinkel and Graham Reed)
>
>

I have a script for "-e" :


#! /bin/bash
LOG=/tmp/update.log
date > $LOG
echo   Starting... >> $LOG

#looking for active gcc
N=1
A=`gcc-config -c`
B=$A
while [ $B != `echo $B | sed s/-//` ]
do
   N=$(( $N + 1 ))
   B=`echo $B | sed s/-//`
done
A=`echo $A | cut -d- -f$N-`
GCC_VER=`equery l sys-devel/gcc | grep $A`

nice -n 10 emerge -1v --keep-going --quiet-build =$GCC_VER
sys-devel/libtool 1>> $LOG 2>> $LOG && \
nice -n 10 emerge -1v --keep-going --quiet-build dev-libs/glib
sys-libs/glibc 1>> $LOG 2>> $LOG && \
nice -n 10 emerge -1vb --keep-going --quiet-build =$GCC_VER
sys-devel/libtool 1>> $LOG 2>> $LOG && \
nice -n 10 emerge -vbe --keep-going --quiet-build world 1>> $LOG 2>> $LOG
echo   Resuming... >> $LOG
nice -n 10 emerge -vb --resume --keep-going --quiet-build 1>> $LOG 2>> $LOG
echo   Resuming... >> $LOG
nice -n 10 emerge -vb --resume --keep-going --quiet-build 1>> $LOG 2>> $LOG
echo   Resuming... >> $LOG
nice -n 10 emerge -vb --resume --skip-first --keep-going --quiet-build 1>>
$LOG 2>> $LOG
echo   Resuming... >> $LOG
nice -n 10 emerge -vb --resume --keep-going --quiet-build 1>> $LOG 2>> $LOG
echo   Resuming... >> $LOG
nice -n 10 emerge -vb --resume --skip-first --keep-going --quiet-build 1>>
$LOG 2>> $LOG
echo   Finishing. >> $LOG
date >> $LOG
echo -n  >> $LOG
cat $LOG | mail -b -c -s "emerge -e results" your-email@your-domain



This usually ends up with too many resumes, but at least it gets to the end
of the builds as deep as possible.

Please note the "-b" flag, as I keep binary packages for an emergency.

Hope this helps,
Francisco


[gentoo-user] xinput_calibrator on ARM (Odroid XU4) refuses to output to xinput

2017-12-18 Thread Francisco Ares
Hi,

I'm trying to use an eGalax touch screen in this Odroid, using
xinput_calibrator like this:

$DEVICE_NAME=`xinput_calibrator --list | grep "eGalax" | cut -d\" -f2`
/usr/bin/xinput_calibrator --misclick 0 --device "$DEVICE_NAME" --output-type
xinput

doesnt work, xinput_calibrator outputs an error after the apparently
successful calibration screen:

ERROR: XorgPrint Calibrator does not support the supplied --output-type
Error: unable to apply or save configuration values

Any hints?  Is it expected on an ARM CPU?  I use it the same way in a x86
machine, and it works perfectly...

Thanks a lot!
Francisco


Re: [gentoo-user] strange behaviour in quite special case

2017-09-19 Thread Francisco Ares
2017-09-18 19:56 GMT-03:00 Peter Humphrey <pe...@prh.myzen.co.uk>:

> On Monday, 18 September 2017 14:13:44 BST Francisco Ares wrote:
>
> > After days and days struggling,
>
> I know what you mean. I've spent weeks wrestling with KMail. That included
> losing e-mails, falling behind in conversations and so on.
>
> > I finally upgraded to the newest stable kernel and updated every package
> > with a "emerge -e", just in case, twice! Then, rebuilt the kernel again.
> >
> > So, like a charm, everything got back to work as before.
>
> My technique in such cases is to emerge @system, then recompile the kernel,
> reboot on it and emerge -e world --exclude="gcc gentoo-sources". Seems to
> have worked out all right so far. You could omit the exclusion if you're
> even more paranoid than KMail has made me.
>
> --
> Regards,
> Peter.
>
>
>

Hi, Peter.

Thank you for your experience.  In fact, as an "emerge -e" is quite
automatic, and I could let the system alone a whole weekend, I didn't worry
(nor had the time) to do it in parts to try to figure out which one would
succeed, in special because on the following monday it just _should_ be
working, or the launch of the new program version would be delayed (for
who-knows how much time) and would put my neck at risk ;-).

Best Regards,
Francisco


Re: [gentoo-user] strange behaviour in quite special case

2017-09-18 Thread Francisco Ares
2017-08-31 4:47 GMT-03:00 Andrew Savchenko <birc...@gentoo.org>:

> Hi,
>
> On Thu, 24 Aug 2017 18:27:22 -0300 Francisco Ares wrote:
> > Hi, All.
> >
> > This is a rather special case, so I don't expect much, but who knows?
> >
> > I've built a Gentoo x86-64 system for an embedded application.
> >
> > Just after a lot of updates, which I am unable to track, it stopped
> working
> > as usual.
> >
> > There is the development system, fully loaded of a lot of packages used
> for
> > development, and the production system, that don't need all of those.
> >
> > There is a line in both systems in /etc/iniitab responsible for
> auto-login
> > the production system user and the programs we need running (in its
> > ".bash_profile" and ".xinitrc"):
> >
> > c6:2345:respawn:/sbin/agetty -a production-user 38400 tty6 linux
> >
> > The development system starts a WindowMaker session, and the production
> > system starts a program that controls the rest of the hardware of this
> > embedded system, with an X11 graphical interface.  That runs normally
> when
> > simulated at the development system.
> >
> > The development system runs smoothly.  The production system, after
> > removing the files from undesirable packages and creating a squashfs
> image
> > of the ripped-off root partition behaves strangely at boot:
> >
> > It shows the initialization messages as expected, but when the auto-login
> > and the controller program start should take place, it completely stalls
> up
> > to I plug a USB keyboard and issue some times some of the key
> combinations
> > to change to a text console and back to X11 (Ctrl-Alt-F1 and
> Ctrl-Alt-F6);
> >  only then the things resume as expected.
> >
> > As you might suspect, there is no keyboard for the production system ;-)
> .
> >
> > As a matter of fact, I don't know where the stall take place, as when I
> try
> > to switch to a text console to see the logs, it switches back to X11 and
> > starts our program.  By the way, the logs just show that the events
> > occurred at latter times than expected.
> >
> > Although the squashfs is read-only, some main directories are arranged
> in a
> > way that, using tmpfs mounts and unionfs with the read-only directory to
> > the read-write tmpfs directory to that main directory provide a way of
> > creating temporary files that has been working for a few years now.
> >
> > For instance, in "/etc/fstab":
> >
> > tmpfs   /.etc.rwtmpfs   defaults,mode=755
> > 0 0
> > union   /etcunionfs
> > default_permissions,allow_other,use_ino,nonempty,suid,
> cow,dirs=/.
> > etc.rw=rw:/.etc.ro=ro  0 0
> >
> > And there is a "/.etc.ro" with a copy of all files present in regular
> > "/etc" , a "/.etc.rw" directory to be mounted tmpfs, and the original
> > "/etc" directory, that needs to be there at boot, even before mounting
> all
> > this.
> >
> > Does anyone have a clue?
>
> Try to dissect your problem. Start with removing squashfs and all
> tmpfs/unionfs manipulations. Create the same image, but on "normal"
> writable file system and see how it goes. It may be fs-related bug,
> may be you removed too many files and some "undesired" packages are
> actually mandatory.
>
> If you have some form on snapshots of your changes, you can try to
> bisect them in a git bisect way.
>
> Another approach is to run X server (or any other app suspected as
> a troublemaker) under strace (or attach strace to a running process)
> and see what is going on. You will have a lot of low level
> information and extensive filtering will be required; strace is
> capable of that, but you will need to dig into its documentation.
>
> Best regards,
> Andrew Savchenko
>


Hi All,

After days and days struggling, I finally upgraded to the newest stable
kernel and updated every package with a "emerge -e", just in case, twice!
Then, rebuilt the kernel again.

So, like a charm, everything got back to work as before.

Unfortunately, will never know what piece of code that issue was.

Thank you, and

Best Regards,
Francisco


[gentoo-user] strange behaviour in quite special case

2017-08-24 Thread Francisco Ares
Hi, All.

This is a rather special case, so I don't expect much, but who knows?

I've built a Gentoo x86-64 system for an embedded application.

Just after a lot of updates, which I am unable to track, it stopped working
as usual.

There is the development system, fully loaded of a lot of packages used for
development, and the production system, that don't need all of those.

There is a line in both systems in /etc/iniitab responsible for auto-login
the production system user and the programs we need running (in its
".bash_profile" and ".xinitrc"):

c6:2345:respawn:/sbin/agetty -a production-user 38400 tty6 linux

The development system starts a WindowMaker session, and the production
system starts a program that controls the rest of the hardware of this
embedded system, with an X11 graphical interface.  That runs normally when
simulated at the development system.

The development system runs smoothly.  The production system, after
removing the files from undesirable packages and creating a squashfs image
of the ripped-off root partition behaves strangely at boot:

It shows the initialization messages as expected, but when the auto-login
and the controller program start should take place, it completely stalls up
to I plug a USB keyboard and issue some times some of the key combinations
to change to a text console and back to X11 (Ctrl-Alt-F1 and Ctrl-Alt-F6);
 only then the things resume as expected.

As you might suspect, there is no keyboard for the production system ;-) .

As a matter of fact, I don't know where the stall take place, as when I try
to switch to a text console to see the logs, it switches back to X11 and
starts our program.  By the way, the logs just show that the events
occurred at latter times than expected.

Although the squashfs is read-only, some main directories are arranged in a
way that, using tmpfs mounts and unionfs with the read-only directory to
the read-write tmpfs directory to that main directory provide a way of
creating temporary files that has been working for a few years now.

For instance, in "/etc/fstab":

tmpfs   /.etc.rwtmpfs   defaults,mode=755
0 0
union   /etcunionfs
default_permissions,allow_other,use_ino,nonempty,suid,cow,dirs=/.
etc.rw=rw:/.etc.ro=ro  0 0

And there is a "/.etc.ro" with a copy of all files present in regular
"/etc" , a "/.etc.rw" directory to be mounted tmpfs, and the original
"/etc" directory, that needs to be there at boot, even before mounting all
this.

Does anyone have a clue?

Thanks!
Francisco


Re: [gentoo-user] cleaning /var/lib/portage/world

2017-08-16 Thread Francisco Ares
2017-08-16 10:40 GMT-03:00 Arve Barsnes <arve.bars...@gmail.com>:

> On 16 August 2017 at 13:32, Francisco Ares <fra...@gmail.com> wrote:
>
>> But, after backing up the original "world" file and replacing with the
>> one built by the script, things don't work as expected, as a lot of
>> packages were orphaned, by checking with "depclean".
>>
>> Anyone could tell me what did I miss?
>>
>
> You're probably getting false positives from equery, as you haven't taken
> USE flags into consideration.
>
> An example:
> # equery d unrar
> app-arch/rar-5.5.0_p20170811 (all_sfx ? app-arch/unrar)
> app-emulation/winetricks-20170614 (rar ? app-arch/unrar)
>
> I don't have the USE="rar" set on winetricks, so although it is correct
> that rar would keep unrar available, since I have USE="all_sfx" set, your
> script will make the wrong choice if I don't have rar installed.
>
> Cheers,
> Arve
>

Good point!  Back to work.

Thanks,
Francisco


[gentoo-user] cleaning /var/lib/portage/world

2017-08-16 Thread Francisco Ares
Hello,

During the process of learning how to manage packages in our beloved distro
- and even after knowing how to, but due to being in a hurry - I have my
"world" package set a bit cumbered with package names that would not need
to be there, as they are dependencies of other packages, as some libraries,
for instance.

So I thought on finding out which of those packages could be removed from
"world", and I have come up with the following script, which results in 3
files in the "/tmp" directory:

- world_remove_candidates
- world_remove_candidates_reasons
- world

- the first is a simple list of packages found in "world" that _probably_
could be removed from "world";
- the second includes which packages depends on each of the above mentioned
packages;
- the third, the cleaned up "world", without overwriting the original.

But, after backing up the original "world" file and replacing with the one
built by the script, things don't work as expected, as a lot of packages
were orphaned, by checking with "depclean".

Anyone could tell me what did I miss?

Here is the script:

#---
#! /bin/bash
cd /tmp
if [ -e world_remove_candidate ]
then
rm -f world_remove_candidate
fi
if [ -e world_remove_candidate_reasons ]
then
rm -f world_remove_candidate_reasons
fi
for i in `cat /var/lib/portage/world`
do
A=`equery d $i`
if [ "a$A" != "a" ]
then
echo $i >> world_remove_candidate
echo "* * * * * * * * * * * * * "$i >>
world_remove_candidate_reasons
for j in $A
do
echo $j >> world_remove_candidate_reasons
done
fi
done

cp -a /var/lib/portage/world .
for i in `cat world_remove_candidate`
do
S=`echo $i | sed s+/+/+`  # this is to format the string
accorgingly to 'sed' (ugly, isn't it?)
cat world | sed -e /"$S"/d > world.x
rm -f world
mv world.x world
done

# the following loop is for announcing it has finished.
A=20
while [ "$A" != "0" ]
do
A=$(( $A - 1 ))
sleep 1
echo -n -e \\a
done

ls -halF world*
#---


Thanks!
Francisco


Re: [gentoo-user] a bit off-topic - minimalist Gentoo: X needs a kick to start

2017-08-14 Thread Francisco Ares
2017-08-14 14:55 GMT-03:00 R0b0t1 <r03...@gmail.com>:

> On Mon, Aug 14, 2017 at 12:12 PM, Francisco Ares <fra...@gmail.com> wrote:
> > Hi,
> >
> > I'm trying to build a minimal Gentoo image for an embedded appliance.
> > Everything - AFAIK - works good, but I need to key in Ctrl-Alt-F5  /
> > Ctrl-Alt-F7 a couple of times  (F5 is just an example, just have to
> switch
> > off of X and back again), just then X shows up.
> >
> > I have removed a lot of packages, in special the ones used in
> development.
> > GCC is still there, though.
> >
> > Any ideas?  I know this is hugely vague, but, who knows if someone out
> there
> > hasn't gone through this before?
> >
> > Thanks!
> > Francisco
>
> What is the hardware? Are you sure X is starting as quickly as you
> assume it is? Are you using the software rasterizer? I have
> experienced similar issues intermittently on my RPi/RPi3 but not
> regularly enough to diagnose it.
>
>
Thanks for answering.

The hardware is a x86-64 mini-ITX board, nothing unusual.  Besides this,
I'm working also in a Odroid XU-4, but this is not the issue.

I'm using regular X11 video drivers, as this board has a regular Intel
chipset.

Explaining a bit deeper:

There is a development equipment, with dozens of development aids. As I
don't want those in the disk image for production equipments, I have
managed to do this by making a copy of the working root partition
directories and files, remove portage related files and directories from
this copy and, using the working partition as reference, rip-off unneeded
packages files, like this:

for i in `equery -C f dev-qt/qt-creator` ; do if [ ! -d "$i" ] ; then rm -f
/mnt/aux/gentoo/$i ; fi ; done

Where /mnt/aux/gentoo/ contains that mentioned copy of all files of the
development root partition.

The package "dev-qt/qt-creator" is just an example, there are several
others which have their files removed from the copy of the root partition.

Thanks and
Best Regards,
Francisco


[gentoo-user] a bit off-topic - minimalist Gentoo: X needs a kick to start

2017-08-14 Thread Francisco Ares
Hi,

I'm trying to build a minimal Gentoo image for an embedded appliance.
Everything - AFAIK - works good, but I need to key in Ctrl-Alt-F5  /
 Ctrl-Alt-F7 a couple of times  (F5 is just an example, just have to switch
off of X and back again), just then X shows up.

I have removed a lot of packages, in special the ones used in development.
GCC is still there, though.

Any ideas?  I know this is hugely vague, but, who knows if someone out
there hasn't gone through this before?

Thanks!
Francisco


[gentoo-user] [OT] build programs in other distros

2017-07-28 Thread Francisco Ares
Hi, All.

I've used a few distros, but mostly for curiosity. Being a Gentoo user for
... well, more than a decade, I'm used to build binaries in a very simple
way, that simply works for me.

So, I probably learned the way to do it using Gentoo, and nothing else.

Recently I tried to build one of my programs in an Ubuntu distro, and it
didn't build at all, messing library and include files names and locations.

How do real developers manage this? And why this difference happens, in the
first place?  Why mangle uper/lower case characters in library file names?

I guess that's why "autoconf" "configure" et al exists...  But never tried
to learn about them, so perhaps it's time now?

Thanks!

Best regards,
Francisco


[gentoo-user] GPU closed source libraries

2017-07-13 Thread Francisco Ares
Hi, All.

I'm trying to get Gentoo and xorg in an Odroid XU4 (hardkernel.com).

Most things are done, but there are a few glitches. I'm using the open
source xf86-video-armsoc, which does not provide GPU acceleration.

So, for instance, dev-qt/qtgui with USE="gles2" (just an example), it will
pull media-libs/mesa for 3d acceleration, although the proprietary library
(Mali drivers) would do so.

How would I avoid emerging media-libs/mesa in this example?

Thank you,
Francisco


Re: [gentoo-user] mixing predictable with old style network interface naming

2017-07-07 Thread Francisco Ares
2017-07-06 18:39 GMT-03:00 R0b0t1 <r03...@gmail.com>:

> On Thu, Jul 6, 2017 at 2:44 PM, Francisco Ares <fra...@gmail.com> wrote:
> >
> >
> > 2017-07-06 13:07 GMT-03:00 R0b0t1 <r03...@gmail.com>:
> >>
> >> On Thu, Jul 6, 2017 at 10:51 AM, Francisco Ares <fra...@gmail.com>
> wrote:
> >> > Hi, All.
> >> >
> >> > This is a bit odd, because of a non conventional hardware platform:
> >> > Odroid
> >> > (Hardkernel).
> >> >
> >> > But I guess overall rules apply to all.
> >> >
> >> > I need a second network interface, the original and single one present
> >> > on
> >> > the board is to be connected to a GigE camera, so I use a USB/ethernet
> >> > adapter to have SSH remote access.
> >> >
> >> > I have set up the boot manager so that network interfaces would be
> named
> >> > according to the predictable names rules. If not, the USB/eth adapter
> >> > gets
> >> > "eth0" if the device is present at boot, otherwise, it is "eth1".
> >> >
> >> > But if I disconnect the USB/ethernet adapter to leave the system
> alone,
> >> > and
> >> > after a while I need to take a look on what's going on and plug back
> the
> >> > USB/ethernet adapter, it comes up as "eth0" again.
> >> >
> >> > Anyone could give me a hint on where to look at it?  Why the new
> >> > interface
> >> > is named in a way during boot and another during normal use?
> >> >
> >> > Thank you!
> >>
> >> Your question doesn't seem to involve any mixing of the naming schemes
> >> at all, and it looks like the kernel you are using simply uses the old
> >> style names. Can you compile your own kernel which supports the new
> >> naming convention, remove net.ifnames=0 from the kernel command line
> >> if it is present, or check for udev rules that perform naming that
> >> overrides the default? You may wish to refer to
> >>
> >> https://wiki.gentoo.org/wiki/Handbook:X86/Networking/
> Advanced#Network_interface_naming
> >> though it is not very information dense.
> >>
> >> Unfortunately my experience with hardkernel devices is that the
> >> developers put most of their effort behind the Android release and
> >> will make an Ubuntu release, if it exists, barely work. I would
> >> strongly recommend not buying their devices. They barely support them
> >> and without their help the devices are unsupportable.
> >>
> >> R0b0t1.
> >>
> >
> >
> > Thanks for the tip.  I've checked in /etc/udev files and directories, and
> > there is no rule for naming interfaces.
> >
> > Instead of removing "net.ifnames=0" from the kernel command line, I have
> > altered it to "net.ifnames=1". Gonna try removing it at once.
> >
>
> I would expect that to work as you did, are you using their kernel? If
> you are I believe there is an option to force the old-style naming by
> effectively removing the code which does the new-style naming. That's
> why I asked.
>
> > But, imho, Odroid is a good hardware, and I have learned a lot about
> Linux -
> > not Android - in their Odroid magazine. And their Ubuntu image works very
> > good. And, as always, there are a lot of guys in the community.
> >
>
> It is some of the best available hardware, but the support its
> manufacturer provides isn't amazing. It's the bare minimum to get it
> to work. Admittedly they did have a bit more customer involvement than
> I've seen elsewhere at first (e.g. signing user-provided code with
> Samsung keys to enable ARM TrustZone for QEMU) but they are still
> focused on making money, and sell whatever it is they can as quickly
> as possible and then move on to the next thing and avoid supporting
> past products.
>
> R0b0t1.
>
>
I have cloned their git kernel repository, and built a new kernel (not yet
the initrd) as from here:

https://wiki.gentoo.org/wiki/Xu4#Installing_Gentoo_on_an_Odroid-XU4
(already updated a few details here, too)

The "boot.ini" configuration for the boot loader did present a
"net.ifnames=0".  Now I have removed it, but still could not reboot, I'm in
the middle of a "emerge -e world", as many files got corrupted because of a
power failure during a move operation from a media to another. Now building
also binary packages to keep them safe in another device.  And using a UPS
;-)

On that article about net interfaces naming, I found a workaround using
udev rules just for this period of implementation.

Thanks for your point of view about hardkernel, I'll keep an eye on them.

Thank you, again,
Francisco


Re: [gentoo-user] mixing predictable with old style network interface naming

2017-07-06 Thread Francisco Ares
2017-07-06 13:07 GMT-03:00 R0b0t1 <r03...@gmail.com>:

> On Thu, Jul 6, 2017 at 10:51 AM, Francisco Ares <fra...@gmail.com> wrote:
> > Hi, All.
> >
> > This is a bit odd, because of a non conventional hardware platform:
> Odroid
> > (Hardkernel).
> >
> > But I guess overall rules apply to all.
> >
> > I need a second network interface, the original and single one present on
> > the board is to be connected to a GigE camera, so I use a USB/ethernet
> > adapter to have SSH remote access.
> >
> > I have set up the boot manager so that network interfaces would be named
> > according to the predictable names rules. If not, the USB/eth adapter
> gets
> > "eth0" if the device is present at boot, otherwise, it is "eth1".
> >
> > But if I disconnect the USB/ethernet adapter to leave the system alone,
> and
> > after a while I need to take a look on what's going on and plug back the
> > USB/ethernet adapter, it comes up as "eth0" again.
> >
> > Anyone could give me a hint on where to look at it?  Why the new
> interface
> > is named in a way during boot and another during normal use?
> >
> > Thank you!
>
> Your question doesn't seem to involve any mixing of the naming schemes
> at all, and it looks like the kernel you are using simply uses the old
> style names. Can you compile your own kernel which supports the new
> naming convention, remove net.ifnames=0 from the kernel command line
> if it is present, or check for udev rules that perform naming that
> overrides the default? You may wish to refer to
> https://wiki.gentoo.org/wiki/Handbook:X86/Networking/
> Advanced#Network_interface_naming
> though it is not very information dense.
>
> Unfortunately my experience with hardkernel devices is that the
> developers put most of their effort behind the Android release and
> will make an Ubuntu release, if it exists, barely work. I would
> strongly recommend not buying their devices. They barely support them
> and without their help the devices are unsupportable.
>
> R0b0t1.
>
>

Thanks for the tip.  I've checked in /etc/udev files and directories, and
there is no rule for naming interfaces.

Instead of removing "net.ifnames=0" from the kernel command line, I have
altered it to "net.ifnames=1". Gonna try removing it at once.

But, imho, Odroid is a good hardware, and I have learned a lot about Linux
- not Android - in their Odroid magazine. And their Ubuntu image works very
good. And, as always, there are a lot of guys in the community.

Thank you!
Francisco


[gentoo-user] mixing predictable with old style network interface naming

2017-07-06 Thread Francisco Ares
Hi, All.

This is a bit odd, because of a non conventional hardware platform: Odroid
(Hardkernel).

But I guess overall rules apply to all.

I need a second network interface, the original and single one present on
the board is to be connected to a GigE camera, so I use a USB/ethernet
adapter to have SSH remote access.

I have set up the boot manager so that network interfaces would be named
according to the predictable names rules. If not, the USB/eth adapter gets
"eth0" if the device is present at boot, otherwise, it is "eth1".

But if I disconnect the USB/ethernet adapter to leave the system alone, and
after a while I need to take a look on what's going on and plug back the
USB/ethernet adapter, it comes up as "eth0" again.

Anyone could give me a hint on where to look at it?  Why the new interface
is named in a way during boot and another during normal use?

Thank you!


Re: [gentoo-user] texlive-basic-2016 - Failed to build: 1 (luajittex/luajittex)

2017-06-29 Thread Francisco Ares
2017-06-29 14:53 GMT-03:00 :

> I'm getting an error when trying to compile texlive-basic-2016
>
> 50 preloaded fonts
> No pages of output.
> Transcript written on dviluatex.log.
> fmtutil [INFO]: /var/tmp/portage/dev-texlive/
> texlive-basic-2016/work/texmf-var/web2c/luatex/dviluatex.fmt installed.
> fmtutil [ERROR]: running `luajittex -ini   -jobname=luajittex
> -progname=luajittex luatex.ini  fmtutil [ERROR]: return error due to options --strict
> fmtutil [INFO]: Successfully rebuilt formats: 7
> fmtutil [INFO]: Failed to build: 1 (luajittex/luajittex)
> fmtutil [INFO]: Total formats: 8
> fmtutil [INFO]: exiting with status 1
>  * ERROR: dev-texlive/texlive-basic-2016::gentoo failed (compile phase):
>  *   failed to build format texmf-dist/fmtutil/format.texlive-basic.cnf
>  *
>  * Call stack:
>  * ebuild.sh, line  115:  Called src_compile
>  *   environment, line 2032:  Called texlive-module_src_compile
>  *   environment, line 2848:  Called die
>  * The specific snippet of code:
>  *   VARTEXFONTS="${T}/fonts" 
> TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var"
> env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c"
> --all || die "failed to build format ${i}";
>
> emerge --info
> Portage 2.3.3 (python 3.4.5-final-0, default/linux/x86/13.0/desktop,
> gcc-4.9.3, glibc-2.23-r3, 4.1.15-gentoo-r1 i686)
> =
> System uname: Linux-4.1.15-gentoo-r1-i686-AMD_Athlon-TM-_XP_2500+-with-
> gentoo-2.3
> KiB Mem: 1033780 total,302456 free
> KiB Swap:2008120 total,   1969328 free
> Timestamp of repository gentoo: Thu, 29 Jun 2017 16:00:01 +
> sh bash 4.3_p48-r1
> ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
> ccache version 3.2.4 [disabled]
> app-shells/bash:  4.3_p48-r1::gentoo
> dev-java/java-config: 2.2.0-r3::gentoo
> dev-lang/perl:5.22.3_rc4::gentoo
> dev-lang/python:  2.7.12::gentoo, 3.4.5::gentoo
> dev-util/ccache:  3.2.4::gentoo
> dev-util/cmake:   3.7.2::gentoo
> dev-util/pkgconfig:   0.28-r2::gentoo
> sys-apps/baselayout:  2.3::gentoo
> sys-apps/openrc:  0.23.2::gentoo
> sys-apps/sandbox: 2.10-r3::gentoo
> sys-devel/autoconf:   2.13::gentoo, 2.69::gentoo
> sys-devel/automake:   1.11.6-r1::gentoo, 1.15::gentoo
> sys-devel/binutils:   2.26.1::gentoo
> sys-devel/gcc:4.8.5::gentoo, 4.9.3::gentoo, 4.9.4::gentoo
> sys-devel/gcc-config: 1.7.3::gentoo
> sys-devel/libtool:2.4.6-r3::gentoo
> sys-devel/make:   4.2.1::gentoo
> sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
> sys-libs/glibc:   2.23-r3::gentoo
> Repositories:
>
> gentoo
> location: /usr/portage
> sync-type: rsync
> sync-uri: rsync://rsync.gentoo.org/gentoo-portage
> priority: -1000
>
> local
> location: /usr/local/portage
> masters: gentoo
> priority: 100
>
> ACCEPT_KEYWORDS="x86"
> ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Oracle-BCLA-JavaSE"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/gnupg/qualified.txt
> /var/spool/fax/etc"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
> /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/
> /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
> /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
> /etc/texmf/updmap.d /etc/texmf/web2c"
> CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=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://distro.ibidio.org/pub/linux/distributions/gentoo/
> ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
> http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo
> http://gentoo.binarycompass.org;
> LANG="en_US.UTF-8"
> LC_ALL="en_US.UTF-8"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> MAKEOPTS="-j1"
> 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 berkdb bluetooth branding bzip2 cairo
> cdda cdr cgi cleartype cli consolekit corefonts cracklib crypt cups cxx
> dbus dri dts dvd dvdr emboss encode exif fam 

Re: [gentoo-user] multi-region OCR

2016-11-30 Thread Francisco Ares
2016-11-30 16:28 GMT-02:00 Michael Mol :

> On Wednesday, November 30, 2016 05:34:25 PM J. Roeleveld wrote:
> > On November 30, 2016 6:03:36 PM GMT+01:00, Michael Mol <
> mike...@gmail.com>
> wrote:
> > >On Wednesday, November 30, 2016 10:43:13 AM J. Roeleveld wrote:
> > >> On Tuesday, November 29, 2016 11:18:36 PM k...@aspodata.se wrote:
> > >> > Michael Mol:
> > >> > ...
> > >> >
> > >> > > xsane would have let me do it during the scan process if I'd
> > >
> > >thought of
> > >
> > >> > > it
> > >> > > then, but the scans are done, drives aren't there any more.
> > >
> > >Something
> > >
> > >> > ...
> > >> >
> > >> > If xsane solves your need why don't you just print your scans so
> > >
> > >xsane
> > >
> > >> > can do its job ?
> > >>
> > >> There has to be a way to do this without killing an entire forest...
> > >
> > >And big chunks of ink cartridges. The scans stretched the contrast so I
> > >can
> > >clearly read the drive labels through the translucent anti-static bags,
> > >which
> > >means a huge chunk of the image (what's outside the labels) is pure
> > >black.
> > >
> > >Which I could get around by spending fifteen minutes munging things in
> > >the Gimp
> > >before printing, but at that point, I may as well just transcribe
> > >things
> > >manually at that point.
> > >
> > >Looking for something reasonably simple to improve the general
> > >workflow. I'd
> > >have hoped something would have already been available on Linux; it'd
> > >be easy
> > >enough to copy the scans to my phone and feed them through Google
> > >Goggles for
> > >the desired output, but then I'm deliberately filtering company data
> > >through an
> > >outside entity.
> >
> > Did you manage to use that link I sent?
>
> I did. tesseract almost worked, even separating the regions cleanly in its
> output, but it seems, sadly, that the 300dpi scans were insufficient to
> get a
> good read; lots of clear corruption of the text, so things like serial
> numbers, model numbers, version numbers--everything you'd care
> about--would be
> highly suspect.
>
> The next tool that looked like it might work, gscan2pdf, wasn't in portage,
> and with the semi-garbled output from tesseract suggesting the scans were
> too
> poor quality, I didn't pursue further.
>
> --
> :wq


Well, I've had similar issue. I had gimp to resize the image to its double
(width and height, of course), filtered it a bit (edge enhancement) and
split the image in several ones for the regions of interest.

Of course, there might be an easier way ;-)

Francisco


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

2016-08-01 Thread Francisco Ares
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


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

2016-07-28 Thread Francisco Ares
Hello, all.

Interesting thing: running QtCreator in another machine with no KDE (using
WindowMaker) it runs as expected.

On another machine, the main one I use, with KDE, QtCreator (and other
program, as stated on the subject) eats CPU resources and behaves real slow.

On this KDE machine, connecting to the first one via ssh and running its
QtCreator, it starts to behave like the original one from this machine.

Starting QtCreator from a terminal, it says:

libEGL warning: DRI2: failed to authenticate

Starting QtCreator directly on that other machine, that warning does not
show up.

Any hints?

Both machines run the latest stable versions of QtCreator, Qt:4 and Qt:5

Thanks!
Francisco


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

2016-07-21 Thread Francisco Ares
Thanks Alec.

No unstable KDE nor Qt.

>From the output of "equery l kde-plasma/plasma*"

[IP-] [  ] kde-plasma/plasma-desktop-5.5.5-r1:5
[IP-] [  ] kde-plasma/plasma-mediacenter-5.5.5:5
[IP-] [  ] kde-plasma/plasma-meta-5.5.5:5
[IP-] [  ] kde-plasma/plasma-nm-5.5.5:5
[IP-] [  ] kde-plasma/plasma-pa-5.5.5:5
[IP-] [  ] kde-plasma/plasma-workspace-5.5.5-r2:5
[IP-] [  ] kde-plasma/plasma-workspace-wallpapers-5.5.5:5

... and from the output of "equery l dev-qt/qtcore"

[IP-] [  ] dev-qt/qtcore-4.8.6-r2:4
[IP-] [  ] dev-qt/qtcore-5.5.1-r1:5

>From /etc/portage/package.use :

dev-qt/qt-creator   -android -cmake -doc subversion valgrind
-debug python -webkit
dev-qt/qtcore   icu -debug
dev-qt/qtgui-debug

Best Regards,
Francisco


2016-07-20 16:31 GMT-03:00 Alec Ten Harmsel <a...@alectenharmsel.com>:

> On Wed, Jul 20, 2016 at 03:59:27PM -0300, 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.
>
> Which versions of Qt/KDE? I just installed stable KDE 5 on unstable Qt
> 5, as tiling window managers are not great all the time. I have not
> noticed any problems so far related to rendering.
>
> I can test this in a little while, but I'm busy working on some stuff
> right now while logged in to i3.
>
> Alec
>
>


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

2016-07-20 Thread Francisco Ares
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 up 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


Re: [gentoo-user] Re: blank (black) screen on kde 5

2016-04-16 Thread Francisco Ares
2016-04-15 20:54 GMT-03:00 Jonathan Callen <jcal...@gentoo.org>:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> On 04/15/2016 12:44 PM, Mick wrote:
> > On Friday 15 Apr 2016 12:24:46 Francisco Ares wrote:
> >> Hi, alll.
> >>
> >> After upgrading to kde 5 (plasma), there is a big problem.
> >>
> >> No matter if I use sddm to manage user authentication, or common
> >> console login to bash and then to X and kde, the result is the
> >> same, a black screen with the mouse on it.
> >
> > Just in case you missed it and this applies to your problem, it was
> > explained recently on this M/L if you are using NVidia then you
> > need to add sddm to the video group.
> >
>
> Note that your own user account must *also* be in the video group if
> you are using the NVIDIA driver (and any other account used to run
> applications that link against libGL.so.1).
>
> - --
> Jonathan Callen
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
>
> iQIcBAEBCgAGBQJXEX8hAAoJEEIQbvYRB3mg+D8P/0YKxk2S/tp4lBxxOWsOT+xr
> WUVbbFnP0ok50BE2C7ijtYZOSGxDmYPJC4glNaggP1JtWOm9UbkU4Q9XJa6PR6bP
> GFx/5fnyIP7rnBwIlpliM5vHcbDW+cT+IoKmelWcmK/sMVB5n+uLXUOCBj9Kf7Xm
> v+vDVL8BsCqMowX2djMDnsNDbgPEF+TqT21iOccHHYF5VcWDeOdU7ChvLX3Wi/Ni
> cDLdwn9fLcjW3E70/HLP9Pgs/iSyxlKDXCeoXxqJ15XfnTubCUfpnuK5JGQPvvmV
> qLH+lpVQ0ZTJBX5rkGiInOsFkn9dN03otMN31xS0tIB/5LRJV4bjyerfE4t/KT3S
> 3ky5lROsYA+8pJ0jN9tstTwyVle4GGuZggDo1y+uU/3ehyE25bnkbR1WYT+8pCHh
> s3GS9XMbcFexl+URyGclGX3THWtnnoZKCdGFYrBBJ05Jy6UsUOvGQJKyz2FX8/yI
> vVkq4qdjNU3uHYgaMgGdWJrlo4FKb+sRw8E2sxnYdGvqYV5GG13yjupbJKmOJC4H
> nMDs9WL4sy/sO8II6mMu5GBaB3XtBcBdXNQR0BlKDWTLRn5nVD7aiVqsyJAMqzgx
> uL67DaRlvMgKxLt65Xuwcgf4Di+AisBOJYFduNkU1kjLVd1Mv1Q2ZcgTxn3x+Y7K
> r2RLDCG9MFjlsEpTuuEr
> =8coN
> -END PGP SIGNATURE-
>
>

Yes, all users were already added to "video" and "plugdev" groups (and many
others, like "audio", "usb", "cdrom", "games", "mysql", "scanner" ...).  I
don't touch this file for almost a year.

Still blackness...

Thanks!
Francisco


Re: [gentoo-user] blank (black) screen on kde 5

2016-04-16 Thread Francisco Ares
2016-04-15 19:51 GMT-03:00 Mick <michaelkintz...@gmail.com>:

> On Friday 15 Apr 2016 14:11:18 Francisco Ares wrote:
>
> > > hmmm, I am using gnome and also get the blank screen, and I don't have
> > > an sddm user at all, so I wonder if its a bit more basic.
>
> OK, is x11-misc/sddm installed?
>
> Did you create a config file as advise by the elog?
> --
> Regards,
> Mick


Yes, I was not sure on how to do that, so I used kcmshell5 kcm_sddm (inside
another window manager) to get to the same point.  Now it seems to me like
going round the Earth just to get to the other side of the block, but it
worked.

Thanks,
Francisco


Re: [gentoo-user] kde 5 and portable media mounting

2016-04-16 Thread Francisco Ares
2016-04-16 14:52 GMT-03:00 Dale <rdalek1...@gmail.com>:

> Francisco Ares wrote:
> > Hi, All.
> >
> > After some issues (some not yet solved, but on the way...), there is
> > one pretty annoying: regular users have to provide root password in
> > order to mount a flash drive, for instance.
> >
> > Am I missing something?  Found some posts on the net, but none has
> > given enough light on the subject.
> >
> > Thank you,
> > Francisco
>
>
> I just plugged a couple sticks into mine.  It didn't even recognize one
> and the other gave me a permission error.  It says I am not authorized
> to mount the device.  So, same problem as you.  As someone else posted,
> I suspect this is a problem with a group setting.  The only new group I
> have listed is sddm which is the display manager.  Surely that wouldn't
> have anything to do with this.  I might add, my camera works.  I have
> uploaded some pics just yesterday.  Could this be device specific?
> Also, my phone is recognized as well.  It seems only USB sticks are
> affected here.
>
> Dale
>
> :-)  :-)
>
>
>
On KDE 4, it was ok, it mounted removable media in
/run/[username]/[medialabel] , as the users were already in "plugdev" group
and, just in case, the "disk" group as well - and they are there up to now.

Talking about "plugdev" could it be that removing parts of KDE4 in order to
replace them with parts of KDE5 removed any udev rules?

Going to look into this.

Thanks!
Francisco


[gentoo-user] kde 5 and portable media mounting

2016-04-16 Thread Francisco Ares
Hi, All.

After some issues (some not yet solved, but on the way...), there is one
pretty annoying: regular users have to provide root password in order to
mount a flash drive, for instance.

Am I missing something?  Found some posts on the net, but none has given
enough light on the subject.

Thank you,
Francisco


Re: [gentoo-user] blank (black) screen on kde 5

2016-04-15 Thread Francisco Ares
Em 15/04/2016 14:02, <cov...@ccs.covici.com> escreveu:
>
> Mick <michaelkintz...@gmail.com> wrote:
>
> > On Friday 15 Apr 2016 12:24:46 Francisco Ares wrote:
> > > Hi, alll.
> > >
> > > After upgrading to kde 5 (plasma), there is a big problem.
> > >
> > > No matter if I use sddm to manage user authentication, or common
console
> > > login to bash and then to X and kde, the result is the same, a black
screen
> > > with the mouse on it.
> >
> > Just in case you missed it and this applies to your problem, it was
explained
> > recently on this M/L if you are using NVidia then you need to add sddm
to the
> > video group.
>
> hmmm, I am using gnome and also get the blank screen, and I don't have
> an sddm user at all, so I wonder if its a bit more basic.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>  John Covici
>  cov...@ccs.covici.com
>

WindowMaker works just fine, though.

Thanks,
Francisco


Re: [gentoo-user] blank (black) screen on kde 5

2016-04-15 Thread Francisco Ares
Em 15/04/2016 13:45, "Mick" <michaelkintz...@gmail.com> escreveu:
>
> On Friday 15 Apr 2016 12:24:46 Francisco Ares wrote:
> > Hi, alll.
> >
> > After upgrading to kde 5 (plasma), there is a big problem.
> >
> > No matter if I use sddm to manage user authentication, or common console
> > login to bash and then to X and kde, the result is the same, a black
screen
> > with the mouse on it.
>
> Just in case you missed it and this applies to your problem, it was
explained
> recently on this M/L if you are using NVidia then you need to add sddm to
the
> video group.
>
> --
> Regards,
> Mick

Sorry, forgot to add that have already done that.

But, as mentioned, even from bash, using "startx", the black screen is
there.

Thank you.
Francisco


[gentoo-user] blank (black) screen on kde 5

2016-04-15 Thread Francisco Ares
Hi, alll.

After upgrading to kde 5 (plasma), there is a big problem.

No matter if I use sddm to manage user authentication, or common console
login to bash and then to X and kde, the result is the same, a black screen
with the mouse on it.

If I right-click on that blackness, a menu appears, the standard desktop
menu, offering so set up the desktop. If I choose this option, a title bar
with borders around more blackness appears. I am able to move that window,
but can't see anything in ou outside of it.

I have tried to setup kde 5 look and feel with every modules "kcmshell5"
could list, but no success.

I have seen several messages on the net with people having the same issues,
but no final solution to me. Have already created a brand new user, with no
possible wrong configurations from the past, and even so, just blackness.

At least, I could direct the X error messages to a file, and here it is:




xauth:  file /home/vision/.serverauth.6010 does not exist
xauth:  file /home/vision/.Xauthority does not exist
xauth:  file /home/vision/.Xauthority does not exist


X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.1.15-gentoo-r1 x86_64 Gentoo
Current Operating System: Linux altdimtzlgt002 4.1.15-gentoo-r1 #1 SMP
PREEMPT Fri Feb 19 15:49:26 BRST 2016 x86_64
Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-4.1.15-gentoo-r1
root=UUID=344e9bbc-b03e-45ca-ad76-701859d077d1 ro root=/dev/ram0
init=/linuxrc real_root=/dev/sda4 dolvm vga=791
video=uvesafb:1280x1024-32,mtrr:3,ywrap console=tty1 nodevfs udev
devfs=nomount CONSOLE=/dev/tty1 quiet splash=silent,theme:natural-altec
Build Date: 14 April 2016  12:47:38AM

Current version of pixman: 0.32.8
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 14 12:01:43 2016
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Loading stage  "initial" 90
startkde: Starting up...
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Recreating ksycoca file
("/home/vision/.cache/ksycoca5_pt_uedM+Wnke9ZQrAkvHyaCXN3e2xs=", version
303)
Waiting for already running kbuildsycoca5 to finish.
Menu "applications-kmenuedit.menu" not found.
Saving
Initializing  "kcm_kgamma" :  "kcminit_kgamma"
Initializing  "kcm_style" :  "kcminit_style"
2016-04-14T12:01:45 Checking update-file
'/usr/share/kconf_update/disable_kmix.upd' for new updates
Initializing  "kcm_input" :  "kcminit_mouse"
Initializing  "kcm_access" :  "kcminit_access"
2016-04-14T12:01:45 disable_kmix.upd: Found new update
'PlasmaVolume_DisableKMixAutostart'
2016-04-14T12:01:45 disable_kmix.upd: File 'kmixrc' does not exist or
empty, skipping
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
Qt: Session management error: networkIdsList argument is NULL
Configuring Lock Action
XSync seems available and ready
XSync Inited
Supported, init completed
Created alarm 18874369
ksmserver: "/var/run/user/600/KSMserver"
ksmserver: KSMServer: SetAProc_loc: conn  0 , prot= local , file=
@/tmp/.ICE-unix/6232
ksmserver: KSMServer: SetAProc_loc: conn  1 , prot= unix , file=
/tmp/.ICE-unix/6232
ksmserver: KSMServer::restoreSession  "saved at previous logout"
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it
was ':1.8'
detected kglobalaccel restarting, re-registering all shortcut keys
Session path: "/org/freedesktop/ConsoleKit/Session33"
completeShutdownOrCheckpoint called
completeShutdownOrCheckpoint called
2016-04-14T12:01:45 Checking update-file
'/usr/share/kconf_update/frameworksintegration-5.16-font.upd' for new
updates
2016-04-14T12:01:45 frameworksintegration-5.16-font.upd: Found new update '
frameworksintegration-5.16-font.sh'
2016-04-14T12:01:45 frameworksintegration-5.16-font.upd: Running script '
frameworksintegration-5.16-font.sh'
completeShutdownOrCheckpoint called
Already running
New PolkitAgentListener  0x684f20
Adding new listener  PolkitQt1::Agent::Listener(0x6978b0) for  0x684f20
Listener online
Authentication agent result: true
Invalid service name "/org/kde/polkit-kde-authentication-agent-1" using:
"/org/kde/polkitkdeauthenticationagent1"
ksmserver: Autostart 0 done
kcminit not running? If we are running with mobile profile or in another
platform other than X11 this is normal.
ksmserver: Kcminit phase 1 done
ksmserver: Autostart 1 done
2016-04-14T12:01:45 Checking update-file
'/usr/share/kconf_update/kde4breeze.upd' for new updates
2016-04-14T12:01:45 kde4breeze.upd: Found new update '5.0KDE4Breeze_2'

Re: [gentoo-user] Package 'dev-perl/Net-DNS-1.40.0' NOT merged due to file collisions.

2016-04-12 Thread Francisco Ares
2016-04-12 2:17 GMT-03:00 Dale :

> J. Roeleveld wrote:
> > On April 11, 2016 11:04:59 AM GMT+02:00, Dale 
> wrote:
> >> Howdy,
> >>
> >> I did a google search and it had zero results.  Long time since I seen
> >> that happen.  Anyone else run into this?  Basically, portage says it is
> >> about to clobber some files it shouldn't so it puked out all this
> >> mess.:/
> >>
> >>
> >>
> >>  large snip >>>
> >>
> >>
> >>
> >> Thoughts?
> >>
> >> Dale
> >>
> >> :-)  :-)
> > It conflicts with "dev-perl/Net-DNS-SEC-0.220.0:0::gentoo".
> >
> > (See full text you quoted)
> >
> > Check for an existing bug and file one if there isn't any yet. Listing
> both packages.
> >
> > --
> > Joost
>
> Yea, it was.  I haven't seen that happen in AGES.  I was sort of shocked
> that I got that and was mostly wondering if anyone else ran into it or
> is it just me.  If someone else had, I would file a roach report but
> since it appears to be just me, it is likely something that only
> affected me somehow.  It's not like that hasn't happened before either.
> lol
>
> Anyway, I -C'd the thing and then deleted the files it listed.  After
> that, emerge stopped puking at me.  ;-)
>
> Thanks.
>
> Dale
>
> :-)  :-)
>
>
Same issue here, I 've just un-merged the package containing those files,
then the automatic update took care of everything else - as it seems up to
now.

Best regards,
Francisco


Re: [gentoo-user] Keyboard is dead after emerge-update

2016-03-21 Thread Francisco Ares
2016-03-21 11:52 GMT-03:00 Alan Grimes :

> Anyone who boots directly to X'doze without first going through a safe
> console login is a raging mad lunatic who needs his head examined. This
> is linux we are talking about. It's crap. It always has been crap, and
> it always will be crap. Never ever ever trust it. I leave my computer on
> continuously because booting it is such a risk. Every single time I load
> X'doze and find that my keyboard and mouse are working I ghasp with
> surprise. The linux developers, or the penguins as I like to call them
> are so smug on the sublime superiority of the open source approach that
> they never bother to design essential things such as fail-safe design,
> fallback drivers, stable apis so that it doesn't just die if it's not
> compiled against this specific point release. ... You know, the kind of
> things that any competent programmer would think about. =|
>
>
> Bertram Scharpf wrote:
> > Hi,
> >
> > since an emerge-update-world on my notebook the keyboard
> > does no longer respond in X. This is extremely annoying
> > because when I have xdm in rc-update, X is started right at
> > boot. I have no chance to get back to the console using
> > Ctrl-Alt-F1, and the device in unusable.
> >
> > Yet, this is only a problem of the boot process. At home,
> > when I ssh into the system, I can do an
> >
> >   # /etc/init.d/xdm restart
> >
> > and from that point on the keyboard works. It is even
> > possible to disable xdm in rc-update and start it after the
> > boot process has completed. I solved the problem temporarily
> > this way, but the problem probably is a bug and should be
> > reported.
> >
> > So I have a closer look. When I diff "Xorg.0.log" and
> > "Xorg.0.log.old" (after removing the time stamps) I find one
> > line that doesn't appear in the log of the working X.
> >
> >   (EE) kbd: Keyboard0: failed to set us as foreground pgrp
> (Inappropriate ioctl for device)
> >
> > What does this mean? I estimate that "us" is the personal
> > pronoun and not a keyboard layout, and that the server tries
> > to do some chgrp on some /dev/*. I have no clue what to try
> > next.
> >
> > Thanks in advance.
> >
>
> --
> IQ is a measure of how stupid you feel.
>
> Powers are not rights.
>
>
>

... or you may provide checking points, like a script to run all "emerge
world" processes automatically,

Open source and Linux' software begins with the premisse you know what you
are doing, as if you issue a "rm -fR /" you will get exactly what you have
asked for, a dead system, no "are you sure?" questions will ring.

Those "craps" made me learn a lot!

Best regards,
Francisco


Re: [gentoo-user] Re: Keyboard is dead after emerge-update

2016-03-21 Thread Francisco Ares
2016-03-21 11:25 GMT-03:00 Nikos Chantziaras :

> On 21/03/16 13:52, Bertram Scharpf wrote:
>
>> Hi,
>>
>> since an emerge-update-world on my notebook the keyboard
>> does no longer respond in X. This is extremely annoying
>> because when I have xdm in rc-update, X is started right at
>> boot. I have no chance to get back to the console using
>> Ctrl-Alt-F1, and the device in unusable.
>>
>
> After xorg-server updates, it's recommended to run:
>
>   emerge @x11-module-rebuild
>
> This will automatically rebuild xorg-modules.
>
>
>
This tip is much better, need to learn more about emerge ...

Best regards,
Francisco


Re: [gentoo-user] Keyboard is dead after emerge-update

2016-03-21 Thread Francisco Ares
2016-03-21 9:59 GMT-03:00 Bertram Scharpf :

> On Monday, 21. Mar 2016, 12:37:07 +, Ian Bloss wrote:
> > Did you update your kernel in the process as well?
> >
> > On Mon, Mar 21, 2016, 07:53 Bertram Scharpf 
> wrote:
> > > since an emerge-update-world on my notebook the keyboard
> > > does no longer respond in X. [...]
>
> No. The emerge-update did not install new kernel sources and
> therefore I found no need to reconfigure or to compile the
> old ones.
>
> Bertram
>
>
> --
> Bertram Scharpf
> Stuttgart, Deutschland/Germany
> http://www.bertram-scharpf.de
>
>
For my experience, if the X server was rebuilt (either a new version, or a
simple rebuild because of many possible triggers, including USE flags
change, for example), then you need to rebuild all X drivers as well.

After I issue a complete emerge update, I run the following script (I have
a nVidia card) as root:

GentooSystem ~ $ cat ~/bin/xorg_rebuild
#! /bin/bash
if ! [ -e /root/.working ]
then
touch /root/.working

XORG_SERVER=`equery l xorg-server`
if [ "$XORG_SERVER" != "`cat /root/xorg-server.txt`" ]
then
EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l
--format='$name' "xorg*"`" "`equery l --format='$name' nvidia-drivers`
# EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l
--format='$name' "xorg*"`
emerge -vD --with-bdeps=y --keep-going --quiet-build
$EMERGE_LIST && \
echo $XORG_SERVER>/root/xorg-server.txt && \
echo $NVIDIA_DRVR>/root/nvidia-drvr.txt && \
rmmod nvidia 2>/dev/null && modprobe nvidia
fi

DRIVER="nvidia-drivers"
MOD="nvidia"
VIDEO_DRIVR=`equery l $DRIVER`
if [ "$VIDEO_DRIVR" != "`cat /root/video-drv.txt`" ]
then
EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l
--format='$name' "xorg*"`" "`equery l --format='$name' $DRIVER`
emerge -vD --with-bdeps=y --keep-going --quiet-build
$EMERGE_LIST && \
echo $XORG_SERVER>/root/xorg-server.txt && \
echo $VIDEO_DRIVR>/root/video-drv.txt && \
rmmod $MOD 2>/dev/null && modprobe $MOD
fi

rm -f /root/.working
fi


It uses three files, the first is used to signal to other scripts (that
uses emerge for some reason) to not try to do anything while other of those
scripts, including this one, is being run. That is "/root/working".

Another file is "/root/xorg-server.txt", that keeps the output of 'equery l
xorg-server', which is compared with up to date result of the same command.
If it is different, the script lists all installed drivers and re-emerges
them. Finally this same file is updated.

The same happens with the nVidia proprietary driver, using file
"/root/video-drv.txt".

Hope this helps.

Best regards,
Francisco


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

2016-03-19 Thread Francisco Ares
2016-03-18 14:41 GMT-03:00 Dale :

> Neil Bothwick wrote:
> >
> >
> > Why ask the same question again when you got an answer last time?
> >
> > Hint: look at the output for asciidoc.
> > --
> > Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>
> I have to add this.  From what I understand about the scripts he is
> using, he is blindly letting emerge do updates without checking to see
> if the updates fall into line with what he *needs*.  If I read it
> correctly, any USE flag change will be missed until it hits the fan and
> is broken.  That would then mean taking a lot of time to go back through
> logs and figuring out just when it went wrong and most importantly, what
> caused it and how to fix it.  Since the change could have happened
> several updates ago, that could involve some work and a lot of rebuilding.
>
> Doing the sync in a script and even getting a email or something with
> the -p output is fine but updating blindly is not a good idea.
>
> At this point, I think I understand why he is having so much trouble.
> At the very least, check to see what USE flags are changing before doing
> updates.  There are other things that are important but that is one that
> changes a good bit.
>
> Dale
>
> :-)  :-)
>
>
>

My  $0.02.  Three scripts, at different cron entries:


$  cat update
#! /bin/bash
if ! [ -e /root/.working ]
then
touch /root/.working
LOG=/tmp/update.log
LOG_TEMP=`/bin/tempfile`
date > $LOG
umount /usr/portage/distfiles 2> /dev/null
mount /usr/portage/distfiles/
/usr/sbin/emaint sync -a 1>> $LOG 2>> $LOG && \
/usr/bin/layman -S 1>> $LOG 2>> $LOG && \
/usr/bin/emerge -fvuDN --with-bdeps=y --complete-graph=y --backtrac=100
world 1>> $LOG 2>> $LOG && \
/usr/bin/emerge -pvuDN --with-bdeps=y --complete-graph=y --backtrac=100
world 1>> $LOG_TEMP 2>> $LOG_TEMP && \
cat $LOG_TEMP >> $LOG
date >> $LOG
echo -e \\n >> $LOG
rm -f /root/.working
cat $LOG_TEMP | mail -b -c -s "update system" email_addr...@domain.com
rm -f $LOG_TEMP
fi





$ cat emerg
#! /bin/bash
LOG=/tmp/update.log
GREP_PATTERN="[<>=\*][<>=\*][<>=\*] [eEuUcCM(rN]"
if ! [ -e /root/.working ]
then
date > $LOG
touch /root/.working
echo   >> $LOG
nice -n 10 emerge -vuDN --with-bdeps=y --complete-graph=y
--backtrac=100 --keep-going --quiet-build world 1>> $LOG 2>> $LOG
echo   >> $LOG
nice -n 10 revdep-rebuild -q -i -- --quiet-build --keep-going 1>>
$LOG 2>> $LOG
echo   >> $LOG
nice -n 10 emerge -vuDN --with-bdeps=y --complete-graph=y
--backtrac=100 --keep-going --quiet-build world 1>> $LOG 2>> $LOG
echo   >> $LOG
nice -n 10 revdep-rebuild -q -i -- --quiet-build --keep-going 1>>
$LOG 2>> $LOG
echo   >> $LOG
nice -n 10 /root/bin/xorg_rebuild 1>> $LOG 2>> $LOG
echo   >> $LOG
nice -n 10 revdep-rebuild -q -i -- --quiet-build --keep-going 1>>
$LOG 2>> $LOG
echo   >> $LOG

nice -n 10 /root/bin/xorg_rebuild 1>> $LOG 2>> $LOG
echo   >> $LOG
nice -n 10 revdep-rebuild -q -i -- --quiet-build --keep-going 1>>
$LOG 2>> $LOG
echo   >> $LOG
nice -n 10 /usr/sbin/rkhunter --propupd 1>> $LOG 2>> $LOG
date >> $LOG
echo -n ^D >> $LOG ; cat $LOG | mail -b -c -s "emerge
altdimtzlgt002" francisco.ares.al...@gmail.com
rm -f /root/.working
fi

if ! [ -e /root/.workhours ]
then
shutdown -h +1
fi


$ cat bin/xorg_rebuild
#! /bin/bash
if ! [ -e /root/.working ]
then
touch /root/.working

XORG_SERVER=`equery l xorg-server`
if [ "$XORG_SERVER" != "`cat /root/xorg-server.txt`" ]
then
EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l
--format='$name' "xorg*"`" "`equery l --format='$name' nvidia-drivers`
# EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l
--format='$name' "xorg*"`
emerge -vD --with-bdeps=y --keep-going --quiet-build
$EMERGE_LIST && \
echo $XORG_SERVER>/root/xorg-server.txt && \
echo $NVIDIA_DRVR>/root/nvidia-drvr.txt && \
rmmod nvidia 2>/dev/null && modprobe nvidia
fi

DRIVER="nvidia-drivers"
MOD="nvidia"
VIDEO_DRIVR=`equery l $DRIVER`
if [ "$VIDEO_DRIVR" != "`cat /root/video-drv.txt`" ]
then
EMERGE_LIST=`equery l --format='$name' xf86*`" "`equery l
--format='$name' "xorg*"`" "`equery l --format='$name' $DRIVER`
emerge -vD --with-bdeps=y --keep-going --quiet-build
$EMERGE_LIST && \
echo $XORG_SERVER>/root/xorg-server.txt && \
echo $VIDEO_DRIVR>/root/video-drv.txt && \
rmmod $MOD 2>/dev/null && modprobe $MOD
fi
rm -f /root/.working
fi




Cron entries:

$ crontab -l
# DO NOT EDIT THIS FILE - edit the master 

Re: [gentoo-user] 200+ package updates!

2016-03-08 Thread Francisco Ares
2016-03-08 10:53 GMT-03:00 Andrew Tselischev <andre...@farlander.net>:

> On Tue, Mar 08, 2016 at 10:06:32AM -0300, Francisco Ares wrote:
> > Hi, All.
> >
> > This is just to say "Congrats!"  to all developers of our beloved distro.
> > All individual package maintenance tasks and overall coordination efforts
> > are, as always, from my point of view, fantastic, but this orchestration
> > exceeds all I've seen.
> >
> > Congratulations!
> >
> > And, please, keep the good work.
> >
> > Best Regards,
> > Francisco
>
> i'm sorry, but i feel a very strong urge to crarify a couple of points:
> how do you define 'package update' and how did you count them?
>
>
Hi, Andrew.

A cron job starts a "emaint sync" every day, by the morning, sends an
e-mail about what's new, and later on, another cron job starts a "emerge
world", and also sends an e-mail with the emerge log.

Yesterday, all of this went fine, all updates were built and installed just
as expected.

Now, by the morning, I've got an e-mail showing 216 possible updates. Some
regarding the new stable branch of Qt, but most regarding KDE.

Best regards,
Francisco


[gentoo-user] 200+ package updates!

2016-03-08 Thread Francisco Ares
Hi, All.

This is just to say "Congrats!"  to all developers of our beloved distro.
All individual package maintenance tasks and overall coordination efforts
are, as always, from my point of view, fantastic, but this orchestration
exceeds all I've seen.

Congratulations!

And, please, keep the good work.

Best Regards,
Francisco


[gentoo-user] Qt5 X Qt4

2016-03-07 Thread Francisco Ares
Hello All.

Although Qt 5 is at a stable version, not so many things have already
migrated to this newer version.

Even the new USE flags, qt4 and qt5 are still not completely capable to
switch to the desired Qt version prior to building, as, for instance,
"dev-util/cmake" and "app-doc/doxygen", I had to manually switch
"qtchooser" set up back to Qt4 before correctly re-building those, even
placing a set of "qt4 -qt5" use flags for both.

Another detail is the eselect module for qt graphics system. An application
built using Qt5 complains about OpenGL issues, and up to now I could not
find how to set up Qt5 to use raster mode, instead of OpenGL.

So, as far as my experience says, it is not a good idea to switch to Qt5 at
this moment.

Any thoughts on these (or other Qt related) issues ?

Thanks!
Francisco


Re: [gentoo-user] TOR-Browser Bundle: And the rest was silence...

2016-02-07 Thread Francisco Ares
Em 06/02/2016 16:09,  escreveu:
>
> Hi,
>
> I got a interesting problem:
>
> When using Firefox 44, I can watch Videos for
> example from YouTube and can hear the audio.
>
> When using the newest TOR-Browser bundle, videos
> are playing fine...but without any sound.
>
> I have no clue, what happens here.
>
> Any help to fix that is very appreciated...
> thank you very much in advance!
>
> Best regards,
> Meino
>
>

I use Tor and Privoxy, so regular browsers work just fine after setting up
their proxy settings, of course.

Good luck,
Francisco


Re: [gentoo-user] *dev-less gentoo

2016-01-18 Thread Francisco Ares
2016-01-18 15:15 GMT-02:00 :

> # emerge -auDN @system
> ...
> [ebuild  N ] virtual/dev-manager-0
>
> How can I get rid of dev-manager-0 from @system ?
>
> Regards,
> /Karl Hammar
>
> ---
> Aspö Data
> Lilla Aspö 148
> S-742 94 Östhammar
> Sweden
> +46 173 140 57
>
>
>
Try updating to a new kernel.

I'm saying this because of the output of equery d  virtual/dev-manager on
my system:

 ~ $ equery d virtual/dev-manager
 * These packages depend on virtual/dev-manager:
sys-kernel/gentoo-sources-3.18.9 (virtual/dev-manager)
sys-kernel/gentoo-sources-3.18.12 (virtual/dev-manager)


~ $ equery l gentoo-sources
 * Searching for gentoo-sources ...
[I--] [??] sys-kernel/gentoo-sources-3.18.9:3.18.9
[I--] [??] sys-kernel/gentoo-sources-3.18.12:3.18.12
[I--] [??] sys-kernel/gentoo-sources-4.0.5:4.0.5
[IP-] [  ] sys-kernel/gentoo-sources-4.0.9:4.0.9
[IP-] [  ] sys-kernel/gentoo-sources-4.1.12:4.1.12

Best regards,
Francisco


Re: [gentoo-user] Why sci-libs/vtk asks for media-video/nvidia-settings ?

2016-01-06 Thread Francisco Ares
2016-01-05 16:39 GMT-02:00 Neil Bothwick <n...@digimed.co.uk>:

> On Tue, 5 Jan 2016 14:35:52 -0200, Francisco Ares wrote:
>
> > What should I do?  Although not entirely satisfied in using a
> > closed-source driver, and as far as I know, the alternative
> > xf86-video-nouveau isn't as complete.
>
> What's wrong with trying nouveau? It works fine for me but you can
> always switch back if it doesn't suit you.
>
>
> --
> Neil Bothwick
>
> I distinctly remember forgetting that.
>

Thanks, Neil.

According to this site:

http://nouveau.freedesktop.org/wiki/FeatureMatrix/

nouveau is not complete on OpenCL (not OpenGL) implementation.

Not sure if it could be enough, though.  Gonna do some tests...

Best regards,
Francisco


[gentoo-user] Why sci-libs/vtk asks for media-video/nvidia-settings ?

2016-01-05 Thread Francisco Ares
Hi, and happy new year to all.

I have a not so old nvidia video board, but the recent closed source driver
complains, saying that I should stick to an earlier version:

x11-drivers/nvidia-drivers-340.93-r1 (it is recommended if I unmask it and
emerge a new one)

Then, in an excerpt from emerge -tpvuDN world:

...
[nomerge   ] media-gfx/freecad-0.15.4671::gentoo
 PYTHON_TARGETS="python2_7"
[nomerge   ]  sci-libs/opencascade-6.9.0:6.9.0::gentoo  USE="qt4 tbb
vtk -debug -doc -examples -freeimage -gl2ps -java"
[nomerge   ]   sci-libs/vtk-6.1.0-r1::gentoo  USE="X ffmpeg qt4 theora
-R -all-modules (-aqua) -boost -cg -doc (-examples) -gdal -imaging -java
-json -kaapi -mpi -mysql -odbc -offscreen -postgres -python -rendering -smp
-tbb -tcl {-test} -tk -views -web -xdmf2" PYTHON_TARGETS="python2_7"
VIDEO_CARDS="nvidia"
[ebuild  N ]media-video/nvidia-settings-340.58::gentoo
 USE="-examples" 0 KiB
...
...
[ebuild U  ]   media-libs/libjpeg-turbo-1.4.2::gentoo [1.3.1::gentoo]
USE="static-libs -java" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 10 packages (6 upgrades, 2 new, 3 reinstalls), Size of downloads: 0
KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency
conflict:

x11-drivers/nvidia-drivers:0

  (x11-drivers/nvidia-drivers-340.96:0/340::gentoo, ebuild scheduled for
merge) conflicts with
~x11-drivers/nvidia-drivers-340.93 required by
(media-video/nvidia-settings-340.58:0/0::gentoo, ebuild scheduled for merge)
^   ^^



What should I do?  Although not entirely satisfied in using a closed-source
driver, and as far as I know, the alternative xf86-video-nouveau isn't as
complete.

Any ideas?

Thanks a lot and best regards,
Francisco


Re: [gentoo-user] [SOLVED] LINGUAS issue

2015-11-12 Thread Francisco Ares
2015-11-12 16:27 GMT-02:00 <waben...@gmail.com>:

> Francisco Ares <fra...@gmail.com> wrote:
>
> > Hi, all.
> >
> > My locale language is "pt_BR" (Brazilian Portuguese), and many
> > applications now support native translations.
> >
> > And there is the "pt" possible LINGUAS entry, and there is no "pt_PT"
> > (Portugal spoken Portuguese), for instance, neither any derivatives
> > for other Portuguese speaking countries, which possibly have their
> > own regional differences.
>
> You can add locales by editing /etc/locale.gen and running locale-gen.
> As i saw in /usr/share/i18n/SUPPORTED, pt_PT is supported.
>
> > There are a few applications that do not distinguish "pt_BR" from
> > "pt" and treat Portuguese language as simply "pt". An example is the
> > OCR program "tesseract", that builds language specifics according to
> > the LINGUAS environment variable.
> >
> > Is there a way for specifying particular "LINGUAS" for individual
> > packages?  I would not like to have to build dozens of applications to
> > include "pt" to my "LINGUAS" definition just to have "tesseract" to
> > include my native language support.  I've found some old messages
> > about this on the net, but did not get any real solution.
>
> You can define package specific environment variables for package
> builds in /etc/portage/env/
>
> If you need package specific environment variables for runtime you
> could create simple scripts to set the env and start the program.
>
> #!/bin/sh
> #
> # start_tesseract.sh
> #
> LINGUAS="pt"
> tesseract
>
> Then modify the according menu entries / starter buttons to use the
> script.
>
> > Or should I ask the "tesseract" package maintainer to add "pt_BR" to
> > the available options?
>
> That's a good idea.
>
> --
> Regards
> wabe
>
>

Thanks Florian, Jörg and wabe, it is finally solved.

It happens that I also had LINGUAS set in /etc/profile

So, as it seems, this setting bypasses all others.  I've had found that
"LINGUAS_pt" use flag trick before, in an old post, but as it didn't work
at a first attempt, and as the post was a bit old, I supposed that this
feature was not in portage anymore.

But now with 3 persons saying basically the same thing, I went deeper in my
/etc files.

The trick brought up by wabe was crucial, as I tried to include another USE
flag on the same "env" configuration; when I asked to rebuild tesseract,
the USE flag was there, but the LINGUAS wasn't. So I started to look for
other instances and found it in that /etc/profile file, edited in 2012,
probably when I first installed Gentoo on this machine as a newbie.

Going now into a full revision into /etc .

Thanks a lot!
Francisco


[gentoo-user] LINGUAS issue

2015-11-12 Thread Francisco Ares
Hi, all.

My locale language is "pt_BR" (Brazilian Portuguese), and many applications
now support native translations.

And there is the "pt" possible LINGUAS entry, and there is no "pt_PT"
(Portugal spoken Portuguese), for instance, neither any derivatives for
other Portuguese speaking countries, which possibly have their own regional
differences.

There are a few applications that do not distinguish "pt_BR" from "pt" and
treat Portuguese language as simply "pt". An example is the OCR program
"tesseract", that builds language specifics according to the LINGUAS
environment variable.

Is there a way for specifying particular "LINGUAS" for individual
packages?  I would not like to have to build dozens of applications to
include "pt" to my "LINGUAS" definition just to have "tesseract" to include
my native language support.  I've found some old messages about this on the
net, but did not get any real solution.

Or should I ask the "tesseract" package maintainer to add "pt_BR" to the
available options?

Thanks a lot for your time,
Francisco


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

2015-09-08 Thread Francisco Ares
2015-09-08 12:51 GMT-03:00 Stefan G. Weichinger :

> Am 2015-09-08 um 17:32 schrieb James:
>
> > So I'm not really pushing any sort of hardware. But things are changing
> > with gcc-5.x
>
> could you detail this a bit?
> Does it need less RAM or what?
>
> I also consider getting a new system later this year, maybe a
> core-i7-6xxx or so ...
>
>
>

Just my 2 cents:

IMHO, high end video cards, OpenCL capable (CUDA for nVidia), will be more
and more used for intensive and massive data manipulation, like audio and
video (image) recognition, which will be (I guess) the base of the future
user interfaces.

So why not get ready right now?  ;-)

Best regards,
Francisco


Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-04 Thread Francisco Ares
2015-09-03 3:28 GMT-03:00 Mihamina Rakotomandimby <
mihamina.rakotomandi...@rktmb.org>:

> In order to complete other answers, I woul like to point out a test
> environment that would be nice:
> https://en.wikipedia.org/wiki/Marionnet
>
>
>

Thanks, Mihamina, I've being looking to Marionet, and it looks great!
Probably in a few months of study, it will be a good way to play around
with bits and bytes.

Best Regards,
Francisco


Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-03 Thread Francisco Ares
2015-09-02 21:30 GMT-03:00 David M. Fellows <fell...@unb.ca>:

> On Wed, 2 Sep 2015 14:19:24 -0300
> Francisco Ares wrote -
> > --089e013a029e929a39051ec6e045
> > Content-Type: text/plain; charset=UTF-8
> >
> > Hi,
> >
> > Sorry for such WAY out of topic message, but Gentoo users are also way
> out
> > of regular computer users.
> >
> > I intend to learn more deep details about networking intrinsics,
> (packets,
> > ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> > protocols, and so on) so I decided to recur to this list.  Googling the
> > terms, just gets me to network administration and equipment
> interconnection.
> >
> > Any hints on web resources for this research?
>
> W. Richard Stevens wrote *the* books on internet protocols back in the days
> when the world was young.  He died in 1999, so they are a bit dated, but
> most
> are available online as free pdfs. They are voluminous.
>
> Try google searchs
>   "Richard Stevens" tcp
>   and "Richard Stevens" unix network programming
> for links.
> Dave F
>


That looks promissing, thanks Dave

Best Regards,
Francisco


Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals

2015-09-03 Thread Francisco Ares
2015-09-03 6:51 GMT-03:00 Alan McKinnon :

> On 03/09/2015 03:16, James wrote:
> > Alan McKinnon  gmail.com> writes:
> >
> >
> >>> Last, I suggest a parallel learning of C/C++ as it really helps
> >
> >> ^this^, after the basics are fully mastered.
> >
> >> netmasks make no sense at all until bitwise operators are fully
> >> understood. Even CIDR notation is not really obvious until you
> >> understand what languages like C do with the 32 bit words we call IP
> >> addresses. All x10 when IPv6 comes into play
> >
> >
> > Huh. I find teaching networking, including the intricacies  of advanced
> > protocol design, implementation and debugging, are far simpler if
> > folks know at least one programming language. Bit manipulations
> > are but one part of logic, sequential circuits timing and such
> > of the Computer Engineer's domain.  In my experience, if folks read too
> > much, but do not play with some codes  on actual hardware, it all
> becomes a
> > giant nebula. I guess I just like the practical side of these issues, to
> get
> > folks hooked on hardware.
>
> Yes, knowing at least one language is key
>
> >
> >
> > How a serial port (rs_232) works and the putting ppp over that is very
> > keen for teaching networking. ymmv. You can also use a protocol analyzer
> to
> > see some cool things. Many codes are published and looking at how a
> > microprocessor handles basic packets is very stimulating and encouraging.
> > Too bad most kids now days do not get to work on embedded hardware and
> build
> > up an executive or state machine and send/recieve data over interfaces.
> > Granted I worked in the world where assembler was
> > king (embedded) and assembler folks learning C and tcp/ip were easily
> amazed
> > and happy to migrate from assembler to C.
>
> I think the critical thing is to have a good grasp of what the
> technology you use is built on.
>
> C is a thin wrapper around assembly so to master C you should know cpu
> instructions, logic and at lest something about hardware. I don't
> believe it's possible or desirable to completely abstract something like
> C away from those things and still use it well. It's C, not the ISO 7
> layer model
>
> >
> > As Joost pointed out, I guess it really depends on the background of
> > the student. Being a hardware guy, I guess my focus is tainted
>
> I'm a hardware and electronics guy too. I spent hours in college
> building circuits with breadboards, 74xx TTL chips and bits of wire
> before they'd let me move onto the next thing
>
> >
> > So, fair enough, but how long (exactly what are the basics) do you
> > read before you go to the lab and play? Labs are always more fun
> > than classrooms, lectures and stuffy old farts.(gotcha!) ?
>
> The raspberry pi was specifically built to get back to those old days,
> the main designers were from the BBC micro era.
>
> Which I think is a wonderful idea.
>
> >
> >
> > cheers,
> > James
> >
> >
> >
> >
> >
> >
>
>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>
>
Me, too, a hardware guy, but having to learn high level stuff. Here at the
company that work for, we had a programmer a couple of years ago, that has
gone for a better opportunity. So I got his load.

Blinking a bunch of LEDs is where I started. The first ones with simple
transistors, resistors and capacitors, TTLs were next, and then, finally, a
Z80 with an UV EPROM, having to be programmed at the university lab in a
terribly monstrous gig - there was a teletype (remember those?) where a
paper tape had to be punched with the byte codes, hand assembled from
mnemonics, the tape transferred to another part where it was read while the
bytes been burnt to the EPROM; if one missed or twisted a byte, everything
had to be done again, program tapes being literally patched over and over.
Nowadays it all look very funny, but not at all on those days with a final
degree project deadline approaching ;-)

Thanks for the opportunity for an old story to be remembered.
Francisco


Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-03 Thread Francisco Ares
2015-09-02 17:23 GMT-03:00 Alan McKinnon <alan.mckin...@gmail.com>:

> On 02/09/2015 21:43, J. Roeleveld wrote:
> > On Wednesday, September 02, 2015 02:19:24 PM Francisco Ares wrote:
> >> Hi,
> >>
> >> Sorry for such WAY out of topic message, but Gentoo users are also way
> out
> >> of regular computer users.
> >>
> >> I intend to learn more deep details about networking intrinsics,
> (packets,
> >> ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> >> protocols, and so on) so I decided to recur to this list.  Googling the
> >> terms, just gets me to network administration and equipment
> interconnection.
> >>
> >> Any hints on web resources for this research?
> >
> > It would depend on the level you are at now. :)
> >
> > Generally, I know more than enough about how it all works to do my job
> and
> > keep my own systems running reliably.
> >
> > But generally I simply listen when the likes of Alan McKinnon start
> talking
> > about networking.
>
> Hey, that's me!
>
> As it turns out, I got a call last week from an old mate who needed
> someone to deliver his 2-day TCP/IP course on short notice. I had 2 days
> free anyway so I help out.
>
> It all went well till we got into the dirty details of TCP header
> fields. You know how that stuff works - a whole bunch of fields that we
> mostly ignore and concentrate on just the few we know are important.
> Anyway, there was me standing in front of a class going down the list.
> And all I could think of was "WTF is most of this stuff??? Half of these
> fields I've never heard of!"
>
> There was more fun to come. Someone asked to clarify the exact
> differences between unicast, multicast, anycast and any other *cast that
> happens to be. Holy cow. Try explain that off the cuff without having
> time to think the answer through first :-)
>
> To the OP:
>
> Someone suggested RUTE. That's a good one, it may be 14 years old, but
> networking basics have not changed. The Linux Network Administrator's
> Guide available at tldp.org is also worth reading.
>
> And then wikipedia too. Technical facts are usually reliable there and
> most articles give you nice pictures and tables without assuming you
> already know it all anyway.
>
> Finally you already have Gentoo, which is probably the best tool you
> could have to find out such stuff. Read up on a topic, grasp the basic
> theory, then follow it all through on Gentoo seeing how the bits fit
> together.
>
> For the full picture in strict technical language, nothing beats the
> proper Internet RFCs. They are not for the faint-hearted though.
>
> I don't want to scare you off but working in spare time it probably
> takes something like a year to go from networking user to having a
> decent depth of knowledge about it. It's all logical, all the info is
> there, and it can be understood. There's just so much of it :-)
>
>
> >
> > You could start with sites like:
> >
> >
> http://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm
> >
> > --
> > Joost
> >
>
>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>
>
Thanks, Alan.

Well, I have noticed that, for the few details I got an eye on, it will
take a good time for an deep dive in.

I will start to look into some RFCs and see how much can be digested. Also,
downloaded RUTE to read during lunch, alternating with some RFCs ;-)

Best Regards,
Francisco


Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals

2015-09-03 Thread Francisco Ares
Thanks, James.

I already know C and a bit of C++, and that's why I want to understand
deeply about networking protocols, there are some tricks that I see some
device's closed source SDKs doing that I would like to reproduce. And
probably - if they worth it - publish as open source, of course.

Best Regards,
Francisco



2015-09-02 17:57 GMT-03:00 James <wirel...@tampabay.rr.com>:

> Francisco Ares  gmail.com> writes:
>
> >
> > Hi,
> > Sorry for such WAY out of topic message, but Gentoo users are also way
> out
> of regular computer users.
> >
> > I intend to learn more deep details about networking intrinsics,
> (packets,
> ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> protocols,
> and so on) so I decided to recur to this list.  Googling the terms, just
> gets me to network administration and equipment interconnection.
> >
> > Any hints on web resources for this research?
> >
> > Thanks a lot and
> >
> > Best Regards,
> > Francisco
> >
>
>
> You can always build your own router, and learn about those internals
> as they come up while setting up your home router. All you need
> are some old PC parts laying around, gentoo and this guide [1].
> Iptables if a really cool network applications as is Network Address
> Translation (NAT).
>
>
> Also reading key "RFCs" is the way to go [2]. But try not to get hung up
> On the really cool RFCs like OSPF or SIP, as they are ever evolving
> and looking at sources it actually better.
>
>
> Last, I suggest a parallel learning of C/C++ as it really helps with
> unix/linux/networking if can look at software sources and see what is going
> on. Bash and Python are really important too. It's a lifelong journey, so
> relax and enjoy the experiences and try not to get frustrated.
>
>
> hth,
> James
>
> [1] https://wiki.gentoo.org/wiki/Home_Router
>
> [2] https://en.wikipedia.org/wiki/List_of_RFCs


Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals

2015-09-03 Thread Francisco Ares
2015-09-02 18:14 GMT-03:00 Alan McKinnon :

> On 02/09/2015 22:57, James wrote:
> > Last, I suggest a parallel learning of C/C++ as it really helps with
> > unix/linux/networking if can look at software sources and see what is
> going
> > on.
>
> ^this^, after the basics are fully mastered.
>
> netmasks make no sense at all until bitwise operators are fully
> understood. Even CIDR notation is not really obvious until you
> understand what languages like C do with the 32 bit words we call IP
> addresses. All x10 when IPv6 comes into play
>
>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>
>
Hi again, Alan.

Those basics are already well understood, and for now IPv6 is not even
being considered ;-)  Let me get the second level first.

Thanks.


Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals

2015-09-03 Thread Francisco Ares
2015-09-03 3:20 GMT-03:00 J. Roeleveld :

> On Thursday, September 03, 2015 01:16:47 AM James wrote:
> > Alan McKinnon  gmail.com> writes:
> > > > Last, I suggest a parallel learning of C/C++ as it really helps
> > >
> > > ^this^, after the basics are fully mastered.
> > >
> > > netmasks make no sense at all until bitwise operators are fully
> > > understood. Even CIDR notation is not really obvious until you
> > > understand what languages like C do with the 32 bit words we call IP
> > > addresses. All x10 when IPv6 comes into play
> >
> > Huh. I find teaching networking, including the intricacies  of advanced
> > protocol design, implementation and debugging, are far simpler if
> > folks know at least one programming language. Bit manipulations
> > are but one part of logic, sequential circuits timing and such
> > of the Computer Engineer's domain.  In my experience, if folks read too
> > much, but do not play with some codes  on actual hardware, it all
> becomes a
> > giant nebula. I guess I just like the practical side of these issues, to
> get
> > folks hooked on hardware.
> >
> >
> > How a serial port (rs_232) works and the putting ppp over that is very
> > keen for teaching networking. ymmv. You can also use a protocol analyzer
> to
> > see some cool things. Many codes are published and looking at how a
> > microprocessor handles basic packets is very stimulating and encouraging.
> > Too bad most kids now days do not get to work on embedded hardware and
> build
> > up an executive or state machine and send/recieve data over interfaces.
> > Granted I worked in the world where assembler was
> > king (embedded) and assembler folks learning C and tcp/ip were easily
> amazed
> > and happy to migrate from assembler to C.
> >
> > As Joost pointed out, I guess it really depends on the background of
> > the student. Being a hardware guy, I guess my focus is tainted
> >
> > So, fair enough, but how long (exactly what are the basics) do you
> > read before you go to the lab and play? Labs are always more fun
> > than classrooms, lectures and stuffy old farts.(gotcha!) ?
> >
> >
> > cheers,
> > James
>
> If you want to base it on programming, I would recommend the following as
> well:
> http://beej.us/guide/bgnet/
>
> --
> Joost
>
>
Thanks again, Joost, that also looks quite promising.

Best Regards,
Francisco


Re: [gentoo-user] Re: [WAY OT] wanna learn networking internals

2015-09-03 Thread Francisco Ares
2015-09-03 11:31 GMT-03:00 James <wirel...@tampabay.rr.com>:

> Francisco Ares  gmail.com> writes:
>
>
> > Sorry for such WAY out of topic message, but Gentoo users are also way
> > out of regular computer users.
>
> Far out man. some psychedelic mood music, say Pink Floyd Ummagumma::
> Several Species of Small Furry Animals Gathered Together in a Cave...[2]
> (now that we got the proper 'grove on'.let's roll!
>
>
> > I intend to learn more deep details about networking intrinsics,
> > (packets, ports, negotiation, UDP, multicast, unicast, TCP, ethernet,
> > DHCP, protocols, and so on) so I decided to recur to this list.
> > Francisco
>
>
> Well, if you really want to 'Get Smart'  as in get to 'the edge' of all of
> this, why not just jump straight to (SDN) Software Defined Networks and
> such
> things as OpenVswitch on a cluster? [1]. Our good friends at Rackspace are
> very progressive in their ideas and systems development. As you learn about
> SDN, you can backfill what the old farts have done in the past and be
> an active part of the future? Just search out SDN as it's a revolution in
> networking that just may be the disruptive thang that is so desperately
> needed.
>
>
> PS::I bet McKinnon can build a buffered serial port sniffer out of those
> old
> 74LSxx chips! I have a wide selection of those old 74LS chips in
> tubes, just in case you get an itch you need to scratch...
> The date codes have fadedall I can make out is you old fart.
>
>
>
> cheers,
> James
>
>
> [1] https://www.pytexas.org/2015/talk/45
>
> [2] https://www.youtube.com/watch?v=YrRhnaFaBsA



Thanks for the tip and for the video, those glory days of progressive rock
still amazes old and new generations.

To jump right now on a project like the ones you mentioned is, for now, out
of scope. But as more depth can be reached, well, who knows?

Best Regards,
Francisco


[gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Francisco Ares
Hi,

Sorry for such WAY out of topic message, but Gentoo users are also way out
of regular computer users.

I intend to learn more deep details about networking intrinsics, (packets,
ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
protocols, and so on) so I decided to recur to this list.  Googling the
terms, just gets me to network administration and equipment interconnection.

Any hints on web resources for this research?

Thanks a lot and

Best Regards,
Francisco


Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Francisco Ares
2015-09-02 16:43 GMT-03:00 J. Roeleveld <jo...@antarean.org>:

> On Wednesday, September 02, 2015 02:19:24 PM Francisco Ares wrote:
> > Hi,
> >
> > Sorry for such WAY out of topic message, but Gentoo users are also way
> out
> > of regular computer users.
> >
> > I intend to learn more deep details about networking intrinsics,
> (packets,
> > ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> > protocols, and so on) so I decided to recur to this list.  Googling the
> > terms, just gets me to network administration and equipment
> interconnection.
> >
> > Any hints on web resources for this research?
>
> It would depend on the level you are at now. :)
>
> Generally, I know more than enough about how it all works to do my job and
> keep my own systems running reliably.
>
> But generally I simply listen when the likes of Alan McKinnon start talking
> about networking.
>
> You could start with sites like:
>
>
> http://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm
>
> --
> Joost
>
>

Thank you, going to check that, too.

Best Regards,
Francisco


Re: [gentoo-user] [WAY OT] wanna learn networking internals

2015-09-02 Thread Francisco Ares
Thanks, gonna check!

Best Regards,
Francisco

2015-09-02 15:50 GMT-03:00 Emanuele Rusconi <ema...@gmail.com>:

> On 2 September 2015 at 19:19, Francisco Ares <fra...@gmail.com> wrote:
> > Hi,
> >
> > Sorry for such WAY out of topic message, but Gentoo users are also way
> out
> > of regular computer users.
> >
> > I intend to learn more deep details about networking intrinsics,
> (packets,
> > ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP,
> protocols,
> > and so on) so I decided to recur to this list.  Googling the terms, just
> > gets me to network administration and equipment interconnection.
> >
> > Any hints on web resources for this research?
> >
> > Thanks a lot and
> >
> > Best Regards,
> > Francisco
>
> The "Rute User's Tutorial and Exposition"[1] has some chapters about
> IP, TCP, UDP and DNS.
>
> If you can read Italian, there's also "a2 - appunti di informatica
> libera"[2][3].
>
> I've never been interested in the specific subject, so I don't know
> about better sources.
> I'd probably start from Wikipedia :)
>
> [1] http://rute.2038bug.com/index.html.gz
> [2] http://appuntilinux.mirror.garr.it/mirrors/appuntilinux/a2/
> [3] http://a2.pluto.it/a2/
>
> -- Emanuele Rusconi
>
>


Re: [gentoo-user] [SOLVED] nepomuk gone, baloo enters

2015-08-25 Thread Francisco Ares
2015-08-24 15:57 GMT-03:00 Fernando Rodriguez 
frodriguez.develo...@outlook.com:

 On Monday, August 24, 2015 11:31:04 AM Francisco Ares wrote:
  2015-08-24 10:13 GMT-03:00 Francisco Ares fra...@gmail.com:
 
  
  
   2015-08-24 9:14 GMT-03:00 Francisco Ares fra...@gmail.com:
  
   Thanks, Dale, for your point of view.
  
   But since I'm not the only user (my wife is forced to use it, too ;-)
   )and I am the only one that knows how to use a command line session,
 for
   instance, I still want to try to make this semantic desktop thing to
 work.
  
   Thanks, again, and
   Best Regards
   Francisco
  
   2015-08-21 22:36 GMT-03:00 Dale rdalek1...@gmail.com:
  
   Fernando Rodriguez wrote:
On Friday, August 21, 2015 6:27:36 PM Dale wrote:
Francisco Ares wrote:
Hi,
   
In fact, I can only suppose there's something related to changing
   from
nepomuk to baloo:
   
Now, every time I log in, a window pops up asking for root
 password.
The window title is PolicyKit - KDE and pressing the button
Details, it shows:
   
Action: Folder Watch Limit
polkit.subject-pid:5254
polkit.caller-pid: 6699
   
Looking for those PIDs:
   
~ $ ps -A | grep 5254
 5254 ?00:00:07 baloo_file
   
and PID 6699 doesn't show up any more, probably the process has
already ended.
   
Did I miss something? How do I set up Baloo? Looking on the net,
 I
only found how to set up a file
 ~/.kde4/share/config/nepomukserverrc
(that was nonexistent, which seemed strange), is there something
 else
regarding the database it might be willing to use?
   
Thank you all.
Francisco
   
   
Reading your posts, it seems you don't really want this feature
 of
KDE.  Why not disable the thing?  I have this in make.conf:
   
-nepomuk  -semantic-desktop
   
So far, that has disabled the whole desktop search thingy, that I
 also
found to be a pest and never needed.
   
Just a thought, in case you wasn't aware.
   
Dale
   
:-)  :-)
Do you use kmail? I disabled nepomuk at one point and I wasn't
 able to
   access
my contacts on kmail. I think it's the same with baloo. And from
 what
   I've
read the plan is for more applications to use it so you may miss
   important
features. They recommend just disabling file indexing or adding
 your
   home
directory to the exclusion list on system settings, But after doing
   that I
still got that popup a few times until I okay'd it.
   
  
  
   I used to use Kmail until all this mess started.  I think the last I
   used Kmail was back in KDE3.  When I saw all this mess coming, I
   switched to Seamonkey.  Seamonkey does all my email stuff and I'm
 happy
   with it.  I do wish the sound notification thingy would work tho.
 Maybe
   I just need to sit down one day and try to figure out why it doesn't
   work.  Sound works everywhere else.  Still, it does what I really
 need
   without to much bloat.
  
   I installed KDE with the kde-meta.  It basically installs everything
 but
   the kitchen sink.  To be honest tho, I could likely install it in a
   better way that leaves out TONS of stuff I never use.  This file
 indexer
   thingy is one of the ones I have never had a need for.  If I want to
   find some file, locate, find and etc works for those rare
 occasions.  It
   is rare since I'm fairly well organized with my stuff.  Well,
 computer
   files at least.  My closet and shop is a different matter tho.  lol
  
   My point was that this can be disabled IF it is not needed.  If it is
   needed, then fixing it is the solution.  If it is not, disable it and
   shove the problem into the trash can.  ;-)
  
   Dale
  
   :-)  :-)
  
  
  
  
   Thanks to all that have posted.
  
   I tried a clean start:  I've deleted all related (at least all that I
   could find) files used by baloo (just kept some backup copies in a ZIP
   file, just in case).
  
   As expected, all of them are back, and also that popup window,
 requiring
   root password.
  
   I guess, now, I am (we are) looking on the wrong place, perhaps this
 is a
   global setting, not a user one.
  
   Going to check this out.
  
   Thanks again, and
   Best Regards
   Francisco
  
 
 
  Found this:
 
  ~ # cat /etc/dbus-1/system.d/org.kde.baloo.filewatch.conf
  !DOCTYPE busconfig PUBLIC
   -//freedesktop//DTD D-BUS Bus Configuration 1.0//EN
   http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd;
  busconfig
 
!-- Only user root can own the foo helper --
policy user=root
  allow own=org.kde.baloo.filewatch/
/policy
 
  /busconfig
 
 
  Looks like there might be something related to what I am facing, isn't
 it?
 
  Googling the file name, I got this:
 
  https://bugs.kde.org/show_bug.cgi?id=339465
 

 https://www.reddit.com/r/kde/comments/2ibdf7/what_is_baloo_file_watch_and_why_does_it_need/
 
 http://www.linuxquestions.org/questions/slackware-14/kde-4-13-3-%5Balien%5D-annoying-kde

Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-24 Thread Francisco Ares
Thanks, Dale, for your point of view.

But since I'm not the only user (my wife is forced to use it, too ;-) )and
I am the only one that knows how to use a command line session, for
instance, I still want to try to make this semantic desktop thing to work.

Thanks, again, and
Best Regards
Francisco

2015-08-21 22:36 GMT-03:00 Dale rdalek1...@gmail.com:

 Fernando Rodriguez wrote:
  On Friday, August 21, 2015 6:27:36 PM Dale wrote:
  Francisco Ares wrote:
  Hi,
 
  In fact, I can only suppose there's something related to changing from
  nepomuk to baloo:
 
  Now, every time I log in, a window pops up asking for root password.
  The window title is PolicyKit - KDE and pressing the button
  Details, it shows:
 
  Action: Folder Watch Limit
  polkit.subject-pid:5254
  polkit.caller-pid: 6699
 
  Looking for those PIDs:
 
  ~ $ ps -A | grep 5254
   5254 ?00:00:07 baloo_file
 
  and PID 6699 doesn't show up any more, probably the process has
  already ended.
 
  Did I miss something? How do I set up Baloo? Looking on the net, I
  only found how to set up a file ~/.kde4/share/config/nepomukserverrc
  (that was nonexistent, which seemed strange), is there something else
  regarding the database it might be willing to use?
 
  Thank you all.
  Francisco
 
 
  Reading your posts, it seems you don't really want this feature of
  KDE.  Why not disable the thing?  I have this in make.conf:
 
  -nepomuk  -semantic-desktop
 
  So far, that has disabled the whole desktop search thingy, that I also
  found to be a pest and never needed.
 
  Just a thought, in case you wasn't aware.
 
  Dale
 
  :-)  :-)
  Do you use kmail? I disabled nepomuk at one point and I wasn't able to
 access
  my contacts on kmail. I think it's the same with baloo. And from what
 I've
  read the plan is for more applications to use it so you may miss
 important
  features. They recommend just disabling file indexing or adding your home
  directory to the exclusion list on system settings, But after doing that
 I
  still got that popup a few times until I okay'd it.
 


 I used to use Kmail until all this mess started.  I think the last I
 used Kmail was back in KDE3.  When I saw all this mess coming, I
 switched to Seamonkey.  Seamonkey does all my email stuff and I'm happy
 with it.  I do wish the sound notification thingy would work tho.  Maybe
 I just need to sit down one day and try to figure out why it doesn't
 work.  Sound works everywhere else.  Still, it does what I really need
 without to much bloat.

 I installed KDE with the kde-meta.  It basically installs everything but
 the kitchen sink.  To be honest tho, I could likely install it in a
 better way that leaves out TONS of stuff I never use.  This file indexer
 thingy is one of the ones I have never had a need for.  If I want to
 find some file, locate, find and etc works for those rare occasions.  It
 is rare since I'm fairly well organized with my stuff.  Well, computer
 files at least.  My closet and shop is a different matter tho.  lol

 My point was that this can be disabled IF it is not needed.  If it is
 needed, then fixing it is the solution.  If it is not, disable it and
 shove the problem into the trash can.  ;-)

 Dale

 :-)  :-)





Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-24 Thread Francisco Ares
2015-08-24 9:14 GMT-03:00 Francisco Ares fra...@gmail.com:

 Thanks, Dale, for your point of view.

 But since I'm not the only user (my wife is forced to use it, too ;-) )and
 I am the only one that knows how to use a command line session, for
 instance, I still want to try to make this semantic desktop thing to work.

 Thanks, again, and
 Best Regards
 Francisco

 2015-08-21 22:36 GMT-03:00 Dale rdalek1...@gmail.com:

 Fernando Rodriguez wrote:
  On Friday, August 21, 2015 6:27:36 PM Dale wrote:
  Francisco Ares wrote:
  Hi,
 
  In fact, I can only suppose there's something related to changing from
  nepomuk to baloo:
 
  Now, every time I log in, a window pops up asking for root password.
  The window title is PolicyKit - KDE and pressing the button
  Details, it shows:
 
  Action: Folder Watch Limit
  polkit.subject-pid:5254
  polkit.caller-pid: 6699
 
  Looking for those PIDs:
 
  ~ $ ps -A | grep 5254
   5254 ?00:00:07 baloo_file
 
  and PID 6699 doesn't show up any more, probably the process has
  already ended.
 
  Did I miss something? How do I set up Baloo? Looking on the net, I
  only found how to set up a file ~/.kde4/share/config/nepomukserverrc
  (that was nonexistent, which seemed strange), is there something else
  regarding the database it might be willing to use?
 
  Thank you all.
  Francisco
 
 
  Reading your posts, it seems you don't really want this feature of
  KDE.  Why not disable the thing?  I have this in make.conf:
 
  -nepomuk  -semantic-desktop
 
  So far, that has disabled the whole desktop search thingy, that I also
  found to be a pest and never needed.
 
  Just a thought, in case you wasn't aware.
 
  Dale
 
  :-)  :-)
  Do you use kmail? I disabled nepomuk at one point and I wasn't able to
 access
  my contacts on kmail. I think it's the same with baloo. And from what
 I've
  read the plan is for more applications to use it so you may miss
 important
  features. They recommend just disabling file indexing or adding your
 home
  directory to the exclusion list on system settings, But after doing
 that I
  still got that popup a few times until I okay'd it.
 


 I used to use Kmail until all this mess started.  I think the last I
 used Kmail was back in KDE3.  When I saw all this mess coming, I
 switched to Seamonkey.  Seamonkey does all my email stuff and I'm happy
 with it.  I do wish the sound notification thingy would work tho.  Maybe
 I just need to sit down one day and try to figure out why it doesn't
 work.  Sound works everywhere else.  Still, it does what I really need
 without to much bloat.

 I installed KDE with the kde-meta.  It basically installs everything but
 the kitchen sink.  To be honest tho, I could likely install it in a
 better way that leaves out TONS of stuff I never use.  This file indexer
 thingy is one of the ones I have never had a need for.  If I want to
 find some file, locate, find and etc works for those rare occasions.  It
 is rare since I'm fairly well organized with my stuff.  Well, computer
 files at least.  My closet and shop is a different matter tho.  lol

 My point was that this can be disabled IF it is not needed.  If it is
 needed, then fixing it is the solution.  If it is not, disable it and
 shove the problem into the trash can.  ;-)

 Dale

 :-)  :-)




Thanks to all that have posted.

I tried a clean start:  I've deleted all related (at least all that I
could find) files used by baloo (just kept some backup copies in a ZIP
file, just in case).

As expected, all of them are back, and also that popup window, requiring
root password.

I guess, now, I am (we are) looking on the wrong place, perhaps this is a
global setting, not a user one.

Going to check this out.

Thanks again, and
Best Regards
Francisco


Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-24 Thread Francisco Ares
2015-08-24 10:13 GMT-03:00 Francisco Ares fra...@gmail.com:



 2015-08-24 9:14 GMT-03:00 Francisco Ares fra...@gmail.com:

 Thanks, Dale, for your point of view.

 But since I'm not the only user (my wife is forced to use it, too ;-)
 )and I am the only one that knows how to use a command line session, for
 instance, I still want to try to make this semantic desktop thing to work.

 Thanks, again, and
 Best Regards
 Francisco

 2015-08-21 22:36 GMT-03:00 Dale rdalek1...@gmail.com:

 Fernando Rodriguez wrote:
  On Friday, August 21, 2015 6:27:36 PM Dale wrote:
  Francisco Ares wrote:
  Hi,
 
  In fact, I can only suppose there's something related to changing
 from
  nepomuk to baloo:
 
  Now, every time I log in, a window pops up asking for root password.
  The window title is PolicyKit - KDE and pressing the button
  Details, it shows:
 
  Action: Folder Watch Limit
  polkit.subject-pid:5254
  polkit.caller-pid: 6699
 
  Looking for those PIDs:
 
  ~ $ ps -A | grep 5254
   5254 ?00:00:07 baloo_file
 
  and PID 6699 doesn't show up any more, probably the process has
  already ended.
 
  Did I miss something? How do I set up Baloo? Looking on the net, I
  only found how to set up a file ~/.kde4/share/config/nepomukserverrc
  (that was nonexistent, which seemed strange), is there something else
  regarding the database it might be willing to use?
 
  Thank you all.
  Francisco
 
 
  Reading your posts, it seems you don't really want this feature of
  KDE.  Why not disable the thing?  I have this in make.conf:
 
  -nepomuk  -semantic-desktop
 
  So far, that has disabled the whole desktop search thingy, that I also
  found to be a pest and never needed.
 
  Just a thought, in case you wasn't aware.
 
  Dale
 
  :-)  :-)
  Do you use kmail? I disabled nepomuk at one point and I wasn't able to
 access
  my contacts on kmail. I think it's the same with baloo. And from what
 I've
  read the plan is for more applications to use it so you may miss
 important
  features. They recommend just disabling file indexing or adding your
 home
  directory to the exclusion list on system settings, But after doing
 that I
  still got that popup a few times until I okay'd it.
 


 I used to use Kmail until all this mess started.  I think the last I
 used Kmail was back in KDE3.  When I saw all this mess coming, I
 switched to Seamonkey.  Seamonkey does all my email stuff and I'm happy
 with it.  I do wish the sound notification thingy would work tho.  Maybe
 I just need to sit down one day and try to figure out why it doesn't
 work.  Sound works everywhere else.  Still, it does what I really need
 without to much bloat.

 I installed KDE with the kde-meta.  It basically installs everything but
 the kitchen sink.  To be honest tho, I could likely install it in a
 better way that leaves out TONS of stuff I never use.  This file indexer
 thingy is one of the ones I have never had a need for.  If I want to
 find some file, locate, find and etc works for those rare occasions.  It
 is rare since I'm fairly well organized with my stuff.  Well, computer
 files at least.  My closet and shop is a different matter tho.  lol

 My point was that this can be disabled IF it is not needed.  If it is
 needed, then fixing it is the solution.  If it is not, disable it and
 shove the problem into the trash can.  ;-)

 Dale

 :-)  :-)




 Thanks to all that have posted.

 I tried a clean start:  I've deleted all related (at least all that I
 could find) files used by baloo (just kept some backup copies in a ZIP
 file, just in case).

 As expected, all of them are back, and also that popup window, requiring
 root password.

 I guess, now, I am (we are) looking on the wrong place, perhaps this is a
 global setting, not a user one.

 Going to check this out.

 Thanks again, and
 Best Regards
 Francisco



Found this:

~ # cat /etc/dbus-1/system.d/org.kde.baloo.filewatch.conf
!DOCTYPE busconfig PUBLIC
 -//freedesktop//DTD D-BUS Bus Configuration 1.0//EN
 http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd;
busconfig

  !-- Only user root can own the foo helper --
  policy user=root
allow own=org.kde.baloo.filewatch/
  /policy

/busconfig


Looks like there might be something related to what I am facing, isn't it?

Googling the file name, I got this:

https://bugs.kde.org/show_bug.cgi?id=339465
https://www.reddit.com/r/kde/comments/2ibdf7/what_is_baloo_file_watch_and_why_does_it_need/
http://www.linuxquestions.org/questions/slackware-14/kde-4-13-3-%5Balien%5D-annoying-kde-polkit-and-wallet-prompts-4175517244/

So, got back to the first and (as it seems) proper solution, but with no
effects, for now.

Perhaps I'll just wait and see future upgrades on baloo.  Meanwhile I will
try to filter more directories not to be indexed, and/or increasing the
limit on /etc/sysctl.d/97-kde-baloo-filewatch-inotify.conf by hand.

Thanks!
Francisco


Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-21 Thread Francisco Ares
2015-08-21 10:31 GMT-03:00 J. Roeleveld jo...@antarean.org:

 On Friday, August 21, 2015 10:06:15 AM Francisco Ares wrote:
  Hi,
 
  In fact, I can only suppose there's something related to changing from
  nepomuk to baloo:
 
  Now, every time I log in, a window pops up asking for root password.  The
  window title is PolicyKit - KDE and pressing the button Details, it
  shows:
 
  Action: Folder Watch Limit
  polkit.subject-pid:5254
  polkit.caller-pid: 6699
 
  Looking for those PIDs:
 
  ~ $ ps -A | grep 5254
   5254 ?00:00:07 baloo_file
 
  and PID 6699 doesn't show up any more, probably the process has already
  ended.
 
  Did I miss something? How do I set up Baloo? Looking on the net, I only
  found how to set up a file ~/.kde4/share/config/nepomukserverrc (that was
  nonexistent, which seemed strange), is there something else regarding the
  database it might be willing to use?


 Nepomuk, and now Baloo, want to open file-watchers on your system to get
 change-notifications directly from the kernel (filesystem driver), instead
 of
 polling the filesystem.
 This is actually better, performance wise.

 To avoid these message, I created the following file a long time ago:

 % cat /etc/sysctl.d/97-kde-nepomuk-filewatch-inotify.conf
 fs.inotify.max_user_watches = 65536

 Guess I will need to change the name of that file now :)

 Kind regards,

 Joost



Thank you, Joost.

Best Regards,
Francisco


Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-21 Thread Francisco Ares
2015-08-21 11:30 GMT-03:00 Francisco Ares fra...@gmail.com:

 2015-08-21 11:02 GMT-03:00 J. Roeleveld jo...@antarean.org:

 On Friday, August 21, 2015 10:56:58 AM Francisco Ares wrote:
  2015-08-21 10:49 GMT-03:00 Francisco Ares fra...@gmail.com:
   2015-08-21 10:31 GMT-03:00 J. Roeleveld jo...@antarean.org:
   On Friday, August 21, 2015 10:06:15 AM Francisco Ares wrote:
Hi,
   
In fact, I can only suppose there's something related to changing
 from
nepomuk to baloo:
   
Now, every time I log in, a window pops up asking for root
 password.
  
   The
  
window title is PolicyKit - KDE and pressing the button
 Details, it
shows:
   
Action: Folder Watch Limit
polkit.subject-pid:5254
polkit.caller-pid: 6699
   
Looking for those PIDs:
   
~ $ ps -A | grep 5254
   
 5254 ?00:00:07 baloo_file
   
and PID 6699 doesn't show up any more, probably the process has
 already
ended.
   
Did I miss something? How do I set up Baloo? Looking on the net, I
 only
found how to set up a file ~/.kde4/share/config/nepomukserverrc
 (that
  
   was
  
nonexistent, which seemed strange), is there something else
 regarding
  
   the
  
database it might be willing to use?
  
   Nepomuk, and now Baloo, want to open file-watchers on your system to
 get
   change-notifications directly from the kernel (filesystem driver),
   instead of
   polling the filesystem.
   This is actually better, performance wise.
  
   To avoid these message, I created the following file a long time ago:
  
   % cat /etc/sysctl.d/97-kde-nepomuk-filewatch-inotify.conf
   fs.inotify.max_user_watches = 65536
  
   Guess I will need to change the name of that file now :)
  
   Kind regards,
  
   Joost
  
   Thank you, Joost.
  
   Best Regards,
   Francisco
 
  Checking on the file pointed by Joost, I've found it on my filesystem),
 but
  there is another file, an almost exact copy, for baloo:
 
  ~ # l /etc/sysctl.d/
  total 28K
  drwxr-xr-x   2 root root 4,0K Ago 21 10:50 ./
  drwxr-xr-x 160 root root  12K Ago 21 10:22 ../
  -rw-r--r--   1 root root   36 Ago 21 09:16
  97-kde-baloo-filewatch-inotify.conf
 
  -rw-r--r--   1 root root   36 Mai  7  2014
  97-kde-nepomuk-filewatch-inotify.conf
 
 
  ~ # cat /etc/sysctl.d/97-kde-*
  fs.inotify.max_user_watches = 65536
  fs.inotify.max_user_watches = 32768
 
 
 
  The first value (65536) is from 97-kde-baloo-filewatch-inotify.conf .
 The
  second (32768) is from 97-kde-nepomuk-filewatch-inotify.conf.
 
  So, the mystery goes on...
 
  Thanks,
  Francisco

 what does:
 % cat /proc/sys/fs/inotify/max_user_watches
 give you?

 My guess: 32768 (as that's the last one it will find)
 On my system I get 65536.

 I think if you were to remove the nepomuk file, it should work.

 --
 Joost



 Unexpected:

 ~ $ cat /proc/sys/fs/inotify/max_user_watches
 131072

 both as a regular user an as root.

 Going to search for this number on config files.

 Thanks for the clue.

 Francisco




Also unexpected:

~ # cd /etc
etc # fgrep -R 131072 * 2 /dev/null
apache2/modules.d/10_mod_mem_cache.conf:MCacheSize 131072
sane.d/sharp.conf:option buffersize 131072
sysctl.d/97-kde-baloo-filewatch-inotify.conf:fs.inotify.max_user_watches =
131072


I have logged out and back in, to check for the effects on that window
asking for root password.  It did show up again, and now the
file 97-kde-baloo-filewatch-inotify.conf has been changed.

Going to try again, after removing 97-kde-nepomuk-filewatch-inotify.conf.
Back soon...


Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-21 Thread Francisco Ares
2015-08-21 11:02 GMT-03:00 J. Roeleveld jo...@antarean.org:

 On Friday, August 21, 2015 10:56:58 AM Francisco Ares wrote:
  2015-08-21 10:49 GMT-03:00 Francisco Ares fra...@gmail.com:
   2015-08-21 10:31 GMT-03:00 J. Roeleveld jo...@antarean.org:
   On Friday, August 21, 2015 10:06:15 AM Francisco Ares wrote:
Hi,
   
In fact, I can only suppose there's something related to changing
 from
nepomuk to baloo:
   
Now, every time I log in, a window pops up asking for root password.
  
   The
  
window title is PolicyKit - KDE and pressing the button
 Details, it
shows:
   
Action: Folder Watch Limit
polkit.subject-pid:5254
polkit.caller-pid: 6699
   
Looking for those PIDs:
   
~ $ ps -A | grep 5254
   
 5254 ?00:00:07 baloo_file
   
and PID 6699 doesn't show up any more, probably the process has
 already
ended.
   
Did I miss something? How do I set up Baloo? Looking on the net, I
 only
found how to set up a file ~/.kde4/share/config/nepomukserverrc
 (that
  
   was
  
nonexistent, which seemed strange), is there something else
 regarding
  
   the
  
database it might be willing to use?
  
   Nepomuk, and now Baloo, want to open file-watchers on your system to
 get
   change-notifications directly from the kernel (filesystem driver),
   instead of
   polling the filesystem.
   This is actually better, performance wise.
  
   To avoid these message, I created the following file a long time ago:
  
   % cat /etc/sysctl.d/97-kde-nepomuk-filewatch-inotify.conf
   fs.inotify.max_user_watches = 65536
  
   Guess I will need to change the name of that file now :)
  
   Kind regards,
  
   Joost
  
   Thank you, Joost.
  
   Best Regards,
   Francisco
 
  Checking on the file pointed by Joost, I've found it on my filesystem),
 but
  there is another file, an almost exact copy, for baloo:
 
  ~ # l /etc/sysctl.d/
  total 28K
  drwxr-xr-x   2 root root 4,0K Ago 21 10:50 ./
  drwxr-xr-x 160 root root  12K Ago 21 10:22 ../
  -rw-r--r--   1 root root   36 Ago 21 09:16
  97-kde-baloo-filewatch-inotify.conf
 
  -rw-r--r--   1 root root   36 Mai  7  2014
  97-kde-nepomuk-filewatch-inotify.conf
 
 
  ~ # cat /etc/sysctl.d/97-kde-*
  fs.inotify.max_user_watches = 65536
  fs.inotify.max_user_watches = 32768
 
 
 
  The first value (65536) is from 97-kde-baloo-filewatch-inotify.conf .
 The
  second (32768) is from 97-kde-nepomuk-filewatch-inotify.conf.
 
  So, the mystery goes on...
 
  Thanks,
  Francisco

 what does:
 % cat /proc/sys/fs/inotify/max_user_watches
 give you?

 My guess: 32768 (as that's the last one it will find)
 On my system I get 65536.

 I think if you were to remove the nepomuk file, it should work.

 --
 Joost



Unexpected:

~ $ cat /proc/sys/fs/inotify/max_user_watches
131072

both as a regular user an as root.

Going to search for this number on config files.

Thanks for the clue.

Francisco


[gentoo-user] nepomuk gone, baloo enters

2015-08-21 Thread Francisco Ares
Hi,

In fact, I can only suppose there's something related to changing from
nepomuk to baloo:

Now, every time I log in, a window pops up asking for root password.  The
window title is PolicyKit - KDE and pressing the button Details, it
shows:

Action: Folder Watch Limit
polkit.subject-pid:5254
polkit.caller-pid: 6699

Looking for those PIDs:

~ $ ps -A | grep 5254
 5254 ?00:00:07 baloo_file

and PID 6699 doesn't show up any more, probably the process has already
ended.

Did I miss something? How do I set up Baloo? Looking on the net, I only
found how to set up a file ~/.kde4/share/config/nepomukserverrc (that was
nonexistent, which seemed strange), is there something else regarding the
database it might be willing to use?

Thank you all.
Francisco


Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-21 Thread Francisco Ares
2015-08-21 10:49 GMT-03:00 Francisco Ares fra...@gmail.com:

 2015-08-21 10:31 GMT-03:00 J. Roeleveld jo...@antarean.org:

 On Friday, August 21, 2015 10:06:15 AM Francisco Ares wrote:
  Hi,
 
  In fact, I can only suppose there's something related to changing from
  nepomuk to baloo:
 
  Now, every time I log in, a window pops up asking for root password.
 The
  window title is PolicyKit - KDE and pressing the button Details, it
  shows:
 
  Action: Folder Watch Limit
  polkit.subject-pid:5254
  polkit.caller-pid: 6699
 
  Looking for those PIDs:
 
  ~ $ ps -A | grep 5254
   5254 ?00:00:07 baloo_file
 
  and PID 6699 doesn't show up any more, probably the process has already
  ended.
 
  Did I miss something? How do I set up Baloo? Looking on the net, I only
  found how to set up a file ~/.kde4/share/config/nepomukserverrc (that
 was
  nonexistent, which seemed strange), is there something else regarding
 the
  database it might be willing to use?


 Nepomuk, and now Baloo, want to open file-watchers on your system to get
 change-notifications directly from the kernel (filesystem driver),
 instead of
 polling the filesystem.
 This is actually better, performance wise.

 To avoid these message, I created the following file a long time ago:

 % cat /etc/sysctl.d/97-kde-nepomuk-filewatch-inotify.conf
 fs.inotify.max_user_watches = 65536

 Guess I will need to change the name of that file now :)

 Kind regards,

 Joost



 Thank you, Joost.

 Best Regards,
 Francisco



Checking on the file pointed by Joost, I've found it on my filesystem), but
there is another file, an almost exact copy, for baloo:

~ # l /etc/sysctl.d/
total 28K
drwxr-xr-x   2 root root 4,0K Ago 21 10:50 ./
drwxr-xr-x 160 root root  12K Ago 21 10:22 ../
-rw-r--r--   1 root root   36 Ago 21 09:16
97-kde-baloo-filewatch-inotify.conf

-rw-r--r--   1 root root   36 Mai  7  2014
97-kde-nepomuk-filewatch-inotify.conf


~ # cat /etc/sysctl.d/97-kde-*
fs.inotify.max_user_watches = 65536
fs.inotify.max_user_watches = 32768



The first value (65536) is from 97-kde-baloo-filewatch-inotify.conf .  The
second (32768) is from 97-kde-nepomuk-filewatch-inotify.conf.

So, the mystery goes on...

Thanks,
Francisco


Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-21 Thread Francisco Ares
2015-08-21 11:56 GMT-03:00 J. Roeleveld jo...@antarean.org:

 On 21 August 2015 16:39:12 CEST, Francisco Ares fra...@gmail.com wrote:
 2015-08-21 11:30 GMT-03:00 Francisco Ares fra...@gmail.com:
 
  2015-08-21 11:02 GMT-03:00 J. Roeleveld jo...@antarean.org:
 
  On Friday, August 21, 2015 10:56:58 AM Francisco Ares wrote:
   2015-08-21 10:49 GMT-03:00 Francisco Ares fra...@gmail.com:
2015-08-21 10:31 GMT-03:00 J. Roeleveld jo...@antarean.org:
On Friday, August 21, 2015 10:06:15 AM Francisco Ares wrote:
 Hi,

 In fact, I can only suppose there's something related to
 changing
  from
 nepomuk to baloo:

 Now, every time I log in, a window pops up asking for root
  password.
   
The
   
 window title is PolicyKit - KDE and pressing the button
  Details, it
 shows:

 Action: Folder Watch Limit
 polkit.subject-pid:5254
 polkit.caller-pid: 6699

 Looking for those PIDs:

 ~ $ ps -A | grep 5254

  5254 ?00:00:07 baloo_file

 and PID 6699 doesn't show up any more, probably the process
 has
  already
 ended.

 Did I miss something? How do I set up Baloo? Looking on the
 net, I
  only
 found how to set up a file
 ~/.kde4/share/config/nepomukserverrc
  (that
   
was
   
 nonexistent, which seemed strange), is there something else
  regarding
   
the
   
 database it might be willing to use?
   
Nepomuk, and now Baloo, want to open file-watchers on your
 system to
  get
change-notifications directly from the kernel (filesystem
 driver),
instead of
polling the filesystem.
This is actually better, performance wise.
   
To avoid these message, I created the following file a long
 time ago:
   
% cat /etc/sysctl.d/97-kde-nepomuk-filewatch-inotify.conf
fs.inotify.max_user_watches = 65536
   
Guess I will need to change the name of that file now :)
   
Kind regards,
   
Joost
   
Thank you, Joost.
   
Best Regards,
Francisco
  
   Checking on the file pointed by Joost, I've found it on my
 filesystem),
  but
   there is another file, an almost exact copy, for baloo:
  
   ~ # l /etc/sysctl.d/
   total 28K
   drwxr-xr-x   2 root root 4,0K Ago 21 10:50 ./
   drwxr-xr-x 160 root root  12K Ago 21 10:22 ../
   -rw-r--r--   1 root root   36 Ago 21 09:16
   97-kde-baloo-filewatch-inotify.conf
  
   -rw-r--r--   1 root root   36 Mai  7  2014
   97-kde-nepomuk-filewatch-inotify.conf
  
  
   ~ # cat /etc/sysctl.d/97-kde-*
   fs.inotify.max_user_watches = 65536
   fs.inotify.max_user_watches = 32768
  
  
  
   The first value (65536) is from
 97-kde-baloo-filewatch-inotify.conf .
  The
   second (32768) is from 97-kde-nepomuk-filewatch-inotify.conf.
  
   So, the mystery goes on...
  
   Thanks,
   Francisco
 
  what does:
  % cat /proc/sys/fs/inotify/max_user_watches
  give you?
 
  My guess: 32768 (as that's the last one it will find)
  On my system I get 65536.
 
  I think if you were to remove the nepomuk file, it should work.
 
  --
  Joost
 
 
 
  Unexpected:
 
  ~ $ cat /proc/sys/fs/inotify/max_user_watches
  131072
 
  both as a regular user an as root.
 
  Going to search for this number on config files.
 
  Thanks for the clue.
 
  Francisco
 
 
 
 
 Also unexpected:
 
 ~ # cd /etc
 etc # fgrep -R 131072 * 2 /dev/null
 apache2/modules.d/10_mod_mem_cache.conf:MCacheSize 131072
 sane.d/sharp.conf:option buffersize 131072
 sysctl.d/97-kde-baloo-filewatch-inotify.conf:fs.inotify.max_user_watches
 =
 131072
 
 
 I have logged out and back in, to check for the effects on that window
 asking for root password.  It did show up again, and now the
 file 97-kde-baloo-filewatch-inotify.conf has been changed.
 
 Going to try again, after removing
 97-kde-nepomuk-filewatch-inotify.conf.
 Back soon...

 Just a guess.
 I think when you provide the root password 2 things happen:
 That value gets increased on the fly (inside /proc/sys/)
 And the baloo-file gets updated as well.

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


Most probably, I also suppose so.  Given root password, the system may do
anything, and that's what scares me ;-)

Best Regards,
Francisco


Re: [gentoo-user] nepomuk gone, baloo enters

2015-08-21 Thread Francisco Ares
2015-08-21 11:39 GMT-03:00 Francisco Ares fra...@gmail.com:

 2015-08-21 11:30 GMT-03:00 Francisco Ares fra...@gmail.com:

 2015-08-21 11:02 GMT-03:00 J. Roeleveld jo...@antarean.org:

 On Friday, August 21, 2015 10:56:58 AM Francisco Ares wrote:
  2015-08-21 10:49 GMT-03:00 Francisco Ares fra...@gmail.com:
   2015-08-21 10:31 GMT-03:00 J. Roeleveld jo...@antarean.org:
   On Friday, August 21, 2015 10:06:15 AM Francisco Ares wrote:
Hi,
   
In fact, I can only suppose there's something related to changing
 from
nepomuk to baloo:
   
Now, every time I log in, a window pops up asking for root
 password.
  
   The
  
window title is PolicyKit - KDE and pressing the button
 Details, it
shows:
   
Action: Folder Watch Limit
polkit.subject-pid:5254
polkit.caller-pid: 6699
   
Looking for those PIDs:
   
~ $ ps -A | grep 5254
   
 5254 ?00:00:07 baloo_file
   
and PID 6699 doesn't show up any more, probably the process has
 already
ended.
   
Did I miss something? How do I set up Baloo? Looking on the net,
 I only
found how to set up a file ~/.kde4/share/config/nepomukserverrc
 (that
  
   was
  
nonexistent, which seemed strange), is there something else
 regarding
  
   the
  
database it might be willing to use?
  
   Nepomuk, and now Baloo, want to open file-watchers on your system
 to get
   change-notifications directly from the kernel (filesystem driver),
   instead of
   polling the filesystem.
   This is actually better, performance wise.
  
   To avoid these message, I created the following file a long time
 ago:
  
   % cat /etc/sysctl.d/97-kde-nepomuk-filewatch-inotify.conf
   fs.inotify.max_user_watches = 65536
  
   Guess I will need to change the name of that file now :)
  
   Kind regards,
  
   Joost
  
   Thank you, Joost.
  
   Best Regards,
   Francisco
 
  Checking on the file pointed by Joost, I've found it on my
 filesystem), but
  there is another file, an almost exact copy, for baloo:
 
  ~ # l /etc/sysctl.d/
  total 28K
  drwxr-xr-x   2 root root 4,0K Ago 21 10:50 ./
  drwxr-xr-x 160 root root  12K Ago 21 10:22 ../
  -rw-r--r--   1 root root   36 Ago 21 09:16
  97-kde-baloo-filewatch-inotify.conf
 
  -rw-r--r--   1 root root   36 Mai  7  2014
  97-kde-nepomuk-filewatch-inotify.conf
 
 
  ~ # cat /etc/sysctl.d/97-kde-*
  fs.inotify.max_user_watches = 65536
  fs.inotify.max_user_watches = 32768
 
 
 
  The first value (65536) is from 97-kde-baloo-filewatch-inotify.conf .
 The
  second (32768) is from 97-kde-nepomuk-filewatch-inotify.conf.
 
  So, the mystery goes on...
 
  Thanks,
  Francisco

 what does:
 % cat /proc/sys/fs/inotify/max_user_watches
 give you?

 My guess: 32768 (as that's the last one it will find)
 On my system I get 65536.

 I think if you were to remove the nepomuk file, it should work.

 --
 Joost



 Unexpected:

 ~ $ cat /proc/sys/fs/inotify/max_user_watches
 131072

 both as a regular user an as root.

 Going to search for this number on config files.

 Thanks for the clue.

 Francisco




 Also unexpected:

 ~ # cd /etc
 etc # fgrep -R 131072 * 2 /dev/null
 apache2/modules.d/10_mod_mem_cache.conf:MCacheSize 131072
 sane.d/sharp.conf:option buffersize 131072
 sysctl.d/97-kde-baloo-filewatch-inotify.conf:fs.inotify.max_user_watches =
 131072


 I have logged out and back in, to check for the effects on that window
 asking for root password.  It did show up again, and now the
 file 97-kde-baloo-filewatch-inotify.conf has been changed.

 Going to try again, after removing 97-kde-nepomuk-filewatch-inotify.conf.
 Back soon...



It took a while longer, but there it is, asking for root password.  After
removing 97-kde-nepomuk-filewatch-inotify.conf and
adjusting 97-kde-baloo-filewatch-inotify.conf contents to the suggested by
Joost, there it is again, asking for root password.

Now, before hitting the OK button:

polkit.subject.pid 24276
polkit.caller.pid:  25543


~ # ps -ejH
  PID  PGID   SID TTY  TIME CMD
2 0 0 ?00:00:00 kthreadd
3 0 0 ?00:00:01   ksoftirqd/0
5 0 0 ?00:00:00   kworker/0:0H
 ...
25528 0 0 ?00:00:00   kworker/3:2
25536 0 0 ?00:00:00   kworker/1:2
1 1 1 ?00:00:00 init
 1761  1761  1761 ?00:00:00   systemd-udevd
 ...
24173 24173 24173 ?00:00:00   dbus-daemon
24220 24220 24220 ?00:00:00   kdeinit4
24221 24220 24220 ?00:00:00 klauncher
 ...
24247 24220 24220 ?00:00:00   kactivitymanage
24270 24220 24220 ?00:00:17   plasma-desktop
24272 24220 24220 ?00:00:00 ksysguardd
24276 24220 24220 ?00:00:25   baloo_file
 ...
25543  3972  3972 ?00:00:00   kde_baloo_filew


So, they are part of the same tree, but there is no parent-child
relationship among them - as far as I understand this listing.

Thanks!
Francisco


Re: [gentoo-user] Re: Gentoo on Android and the problem of space

2015-07-31 Thread Francisco Ares
2015-08-01 0:09 GMT-03:00 meino.cra...@gmx.de:

 James wirel...@tampabay.rr.com [15-08-01 04:28]:
   Meino.Cramer at gmx.de writes:
 
   on my tablet PC I used an Android App called Linux deploy
   to install an chroot-environment for - guess - Gentoo. :)
 
   The tablet has a SDcard slot and recognizes any FAT32 formatted
   SDcard automatically. Anything else will silently be ignored.
 
   Furthermore Linux deploy uses a single file when it is
   pointed to an external SDcard (with FAT32) which is mounted
   via a loop device, formatted ext4, and then populated with
   the Gentoo Linux files.
 
 
  Hello Meino,
 
  I'm not sure tinhat will suit your needs.
  I'm not sure this will work, but if it does it might jubt be very
  cool and quick:
 
 
  http://opensource.dyc.edu/tinhat
 
 
  I'd be curious if anyone has uploaded such to an existing tablet
  computer.
 
 
 
  hth,
  James
 
 


 Hi James,

 Thank you for the link, James ! :)

 But I am not in search of a totally different distribution...I am
 looking for more space for my current one... :)

 Best regards,
 Meino




Hi,

Just my 2 cents: my tablet knows about NTFS; it reads and writes in an 8G
portable flash drive formated that way. It is slow, but it works.

Best regards,
Francisco


Re: [gentoo-user] Re: Resizing a FAT partition?

2015-07-30 Thread Francisco Ares
2015-07-30 16:26 GMT-03:00 Grant Edwards grant.b.edwa...@gmail.com:

 On 2015-07-30, Neil Bothwick n...@digimed.co.uk wrote:
  On Thu, 30 Jul 2015 20:32:05 +0200, meino.cra...@gmx.de wrote:
 
  Firstly I want to shrink the first partition and secondly it is a
  plain FAT32 partition not ext-something. I did not find a
  resizefat32 or similiar.
 
  You need fatresize, which doesn't appear to be in portage. The approach
  when reducing a partition's size is to first reduce the size of the
  filesystem, to slightly less than the final partition size for safety.
  Then delete and recreate the partition, with the same starting point.
  Finally resize the filesystem to fill the new partition.
 
  What tools do I need?
 
  The easiest way is probably to use GParted, which does all the hard work
  for you, just tell it the new size of the partition. It will also create
  the second partition for you, as a bonus.

 I've read good things about Parted Magic:

   https://partedmagic.com/

 AFAICT, it's a friendly front-end to parted (as is GParted), but also
 includes some extra abilities like cloning partitions and disks for
 backup purposes.

  (beside the way to backup the SDcard, reinitialize it, put 2
  partitions on it and copy back the stuff.)
 
  Given that you should backup any important data before resizing any
  filesystem, this may be the easiest method.

 I've had resize operations go pear-shaped on me.  I haven't seen it
 often, but I wouldn't attempt a resize without a backup copy of the
 partition involved.

 --
 Grant Edwards   grant.b.edwardsYow! Did YOU find a
   at   DIGITAL WATCH in YOUR
 box
   gmail.comof VELVEETA?



Flash memory devices are tricky when you try do defrag, as there is extra
logic inside them to do the opposite: spread as much data as possible, as
to equalize the number of write operations - the main limit for flash
memory - for all sectors.

Most defrag tools do this by reading files to RAM, reordering them, erasing
the originals from the media, then writing them again, using no direct
sector access, leaving that to the operating system. And it works on
magnetic media, as it creates empty spaces suitable for continuous files.

So that extra logic may fool you, making you believe it worked, when it
didn't.

Considering this, as already said, I would copy everything to another
media, set up a new partition layout, format the new partitions as desired,
then get all data back to the new layout.

Just my 2 cents, of course.

Good luck
Francisco


Re: [gentoo-user] Securely deletion of an HDD

2015-07-12 Thread Francisco Ares
Em 12/07/2015 10:03, Mick michaelkintz...@gmail.com escreveu:

 On Sunday 12 Jul 2015 13:35:25 Marc Joliet wrote:
  Hi,
 
  I have to failed drives that I want to give away for recycling purposes,
  but want to be sure to properly clear them first.  They used be part of
a
  btrfs RAID10 array, but needed to be replaced (with btrfs replace).
(In
  the meantime I converted the array to RAID1 with only two drives.)
 
  My question is how precisely the disks should be cleared.  From various
  sources I know that overwriting them with random data a few times is
  enough to render old versions of data unreadable.  I'm guessing 3 times
  ought to be enough, but maybe even that small amount is overly paranoid
  these days?
 
  As to the actual command, I would suspect something like dd
  if=/dev/urandom of=/dev/sdx bs=4096 should suffice, and according to
 
https://wiki.archlinux.org/index.php/Random_number_generation#.2Fdev.2Furan
  dom, /dev/urandom ought to be random enough for this task.  Or are
cat/cp
  that much faster?
 
  Any thoughts?
 
  Greetings

 I use urandom a couple of times (3 to 5), because random takes too long
and I
 don't store state secrets on my disks.  Then I dd onto it a final round of
 /dev/zero.  Finally, run hdparm to securely erase it for good
measure.[1]  All
 of this could be an overkill, but do it out of habit these days.

 It is worth saying that I use haveged to increase entropy:

 [I] sys-apps/haveged
  Available versions:
 1.5
~1.7a
 1.7a-r1
~1.9.1
  Installed versions:  1.7a-r1(12:46:23 04/21/14)
  Homepage:http://www.issihosts.com/haveged/
  Description: A simple entropy daemon using the HAVEGE
algorithm

 I should clarify that disks which contained financial data are dealth
with a
 high speed angle grinder, after I remove the outer casing of the drive
and don
 a pair of goggles.[2]  *Only then* do I recycle the bits left.  ;-)


 [1] https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase

 [2] You can also use a hammer, a drill, or any similar implement which
will
 completely break the physical disk platters to bits.

 --
 Regards,
 Mick

A physical damage is what I guess be the best choice for sensitive data.

I use to disassemble the HDD and rub a strong magnet over the disks'
surfaces.

Just my 2c.

Best regards,
Francisco


[gentoo-user] Re: [OT} Intel D2700 processor + NM10 chipset - how to kernel config?

2015-06-23 Thread Francisco Ares
Hi again.

I've found something, it looks like Intel had outsourced the video graphics
part of this family of processors to Imagination Technologies, using their
PowerVR technology.

Besides this, there are recent posts in a few forums that talks about an
open source driver, on the way.

In Intel's website, I could only find a 32-bit driver, and the hint that it
was extracted from an older SDK.

Meanwhile:

http://community.imgtec.com/developers/powervr/graphics-sdk/

I guess that inside the SDK package there might be its driver also, as
suggested by Intel, going to try it right now.

Best regards,
Francisco


2015-06-23 8:40 GMT-03:00 Francisco Ares fra...@gmail.com:

 Hi,

 I have bought a cheap mini ITX board with an embedded Intel D2700
 processor and NM10 chipset, and the kernel I have built a few months ago
 doesn't even allow text mode console - meanwhile, among other things, I'm
 trying to find and strip out any frame buffer entries in the kernel
 configuration, so that at least a plain text console might be visible.

 Also meanwhile, a live CD (kubuntu) managed to get a VGA KDE running (no
 pure text mode console), but only using a large screen monitor, and
 exclusively using HDMI port (the same monitor did not work on VGA, and the
 board does not support DVI), so that at least I could check the full
 specification of the processor (`cat /proc/cpuinfo`) and all of the
 peripherals (`lspci -k`), so that I could build a better suited kernel.

 Any specifics on your minds about this hardware?

 Thanks!
 Francisco



[gentoo-user] [OT} Intel D2700 processor + NM10 chipset - how to kernel config?

2015-06-23 Thread Francisco Ares
Hi,

I have bought a cheap mini ITX board with an embedded Intel D2700 processor
and NM10 chipset, and the kernel I have built a few months ago doesn't even
allow text mode console - meanwhile, among other things, I'm trying to find
and strip out any frame buffer entries in the kernel configuration, so that
at least a plain text console might be visible.

Also meanwhile, a live CD (kubuntu) managed to get a VGA KDE running (no
pure text mode console), but only using a large screen monitor, and
exclusively using HDMI port (the same monitor did not work on VGA, and the
board does not support DVI), so that at least I could check the full
specification of the processor (`cat /proc/cpuinfo`) and all of the
peripherals (`lspci -k`), so that I could build a better suited kernel.

Any specifics on your minds about this hardware?

Thanks!
Francisco


Re: [gentoo-user] Hard drive storage questions

2015-04-28 Thread Francisco Ares
2015-04-28 5:39 GMT-03:00 Dale rdalek1...@gmail.com:

 Howdy,

 I have a 3TB hard drive that I use for my /home partition.  I'm going to
 be having to expand this before to long, lots of videos on there.  The
 4TB is a bit pricey and I would end up having to expand that to before
 to long.  So, I got to thinking, why not buy another 3TB drive and just
 add that which would double my space.  I use LVM by the way.  I may try
 BTFS, (sp?).   Either way, adding a drive shouldn't be to much of a
 problem.

 On one hand, adding a drive would double my space.  It would also spread
 out my stuff in the event a drive failed.  On the other hand, one more
 drive to have spinning that could fail too.  These large drives makes me
 wonder sometimes.

 What do you guys, gals too, think about this?  Just add a drive or buy a
 larger drive and move things over?  Or is this a six of one and half
 dozen of the other thing?

 Dale



 P. S.


 Filesystem   Size  Used AvailUse% Mounted on
 /dev/mapper/Home2-Home2  2.7T 1.8T  945G  66% /home




I've already had my /home partition filled up, and it was just one of the
partitions on the only hard drive inside this machine.

Nowadays I have 3 more hard drives on this same machine, which makes 4
drives in total. None of them so big, though, the newest one is 1TB.

Now, talking about redundancy, if you worry about many - or all - of your
files, perhaps you should consider a RAID. Although expensive, it makes
one's mind more relaxed ;-) .  Basically, what I have seen is that many
people worry about backing up files when at work, but completely forget
about it on personal computers.

Best regards, and good luck!
Francisco


Re: [gentoo-user] [SOLVED] Java VM and SDK: icedtea X oracle's

2015-04-23 Thread Francisco Ares
2015-04-23 10:52 GMT-03:00 J. Roeleveld jo...@antarean.org:

 On Thursday, April 23, 2015 08:41:42 AM Francisco Ares wrote:
  2015-04-22 14:10 GMT-03:00 Francisco Ares fra...@gmail.com:

 snipped

   Thanks for the tip, gonna try to understand everything from that
 thread,
   but meanwhile I'm going to do what Alon has suggested.
  
   Best Regards,
   Francisco
 
  Hi, again.
 
  Both approaches have worked out. Masking Oracle's JDK and JRE was a good
  starting point, and later on, having icedtea-bin and icedtea-web marked
 as
  ~arch (and removing the mask for JDK and JRE) did the final trick.
 
  Thanks and Best Regards,
  Francisco

 If you really don't want the Oracle JDK/JRE, leave the mask in place.

 --
 Joost



Thank you.
Francisco


Re: [gentoo-user] [SOLVED] Java VM and SDK: icedtea X oracle's

2015-04-23 Thread Francisco Ares
2015-04-22 14:10 GMT-03:00 Francisco Ares fra...@gmail.com:



 2015-04-22 10:54 GMT-03:00 Neil Bothwick n...@digimed.co.uk:

 On Wed, 22 Apr 2015 10:34:05 -0300, Francisco Ares wrote:

  A few months ago I got rid of oracle's java jre and jdk in favor of
  icedtea.
 
  Now, when issuing an emerge -tpvuDN world, oracle's jre is about to be
  installed again on this system:

 See the thread from earlier this week stable java virtuals require
 unstable java packages.


 --
 Neil Bothwick

 Mac screen message: Like, dude, something went wrong.



 Thanks for the tip, gonna try to understand everything from that thread,
 but meanwhile I'm going to do what Alon has suggested.

 Best Regards,
 Francisco


Hi, again.

Both approaches have worked out. Masking Oracle's JDK and JRE was a good
starting point, and later on, having icedtea-bin and icedtea-web marked as
~arch (and removing the mask for JDK and JRE) did the final trick.

Thanks and Best Regards,
Francisco


[gentoo-user] Re: Java VM and SDK: icedtea X oracle's

2015-04-22 Thread Francisco Ares
P.S.: icedtea-bin is already selected as the system wide VM.

2015-04-22 10:34 GMT-03:00 Francisco Ares fra...@gmail.com:

 Hi.

 A few months ago I got rid of oracle's java jre and jdk in favor of
 icedtea.

 Now, when issuing an emerge -tpvuDN world, oracle's jre is about to be
 installed again on this system:

 
 ...
 [nomerge   ] dev-java/jdom-1.0-r4:1.0  USE=-doc -examples -source
 [nomerge   ]  dev-java/jdom-jaxen-1.0-r1:1.0
 [nomerge   ]   dev-java/jaxen-1.1.1:1.1  USE=-doc -examples -source
 {-test}
 [nomerge   ]dev-java/dom4j-1.6.1-r4:1  USE=-doc -source {-test}
 [nomerge   ] dev-java/xpp2-2.1.10-r1  USE=-doc -source
 [nomerge   ]  dev-java/xerces-2.11.0:2  USE=-doc -examples
 -source
 [nomerge   ]   dev-java/xml-commons-resolver-1.2  USE=-doc
 -source
 [ebuild  NS]virtual/jre-1.7.0:1.7 [1.6.0-r1:1.6] 0 KiB
 [ebuild  NS] virtual/jdk-1.7.0:1.7 [1.6.0-r2:1.6] 0 KiB
 [ebuild  N F   ]  dev-java/oracle-jdk-bin-1.7.0.80:1.7  USE=X
 alsa fontconfig nsplugin (-aqua) -derby -doc -examples -jce -pax_kernel
 (-selinux) -source 149.933 KiB
 ...
 

 Looking for packages that need jdom as a dependency, and after a chain of
 equery d commands, icedtea-bin itself, on its own dependency chain, needs
 jdom, which, in turn, needs oracle-jdk-bin.

 Is there a way around this?

 Thanks!
 Francisco



Re: [gentoo-user] Java VM and SDK: icedtea X oracle's

2015-04-22 Thread Francisco Ares
2015-04-22 10:37 GMT-03:00 Alon Bar-Lev alo...@gentoo.org:

 Set the following for now:

 /etc/portage/package.mask/java.conf
 ---
 dev-java/oracle-jdk-bin
 =virtual/jdk-1.8.0
 =virtual/jre-1.8.0
 ---

 I am unsure why none free alternatives were added before the free
 alternatives.

 Regards,
 Alon

 On 22 April 2015 at 16:34, Francisco Ares fra...@gmail.com wrote:

 Hi.

 A few months ago I got rid of oracle's java jre and jdk in favor of
 icedtea.

 Now, when issuing an emerge -tpvuDN world, oracle's jre is about to be
 installed again on this system:

 
 ...
 [nomerge   ] dev-java/jdom-1.0-r4:1.0  USE=-doc -examples -source
 [nomerge   ]  dev-java/jdom-jaxen-1.0-r1:1.0
 [nomerge   ]   dev-java/jaxen-1.1.1:1.1  USE=-doc -examples -source
 {-test}
 [nomerge   ]dev-java/dom4j-1.6.1-r4:1  USE=-doc -source {-test}
 [nomerge   ] dev-java/xpp2-2.1.10-r1  USE=-doc -source
 [nomerge   ]  dev-java/xerces-2.11.0:2  USE=-doc -examples
 -source
 [nomerge   ]   dev-java/xml-commons-resolver-1.2  USE=-doc
 -source
 [ebuild  NS]virtual/jre-1.7.0:1.7 [1.6.0-r1:1.6] 0 KiB
 [ebuild  NS] virtual/jdk-1.7.0:1.7 [1.6.0-r2:1.6] 0 KiB
 [ebuild  N F   ]  dev-java/oracle-jdk-bin-1.7.0.80:1.7  USE=X
 alsa fontconfig nsplugin (-aqua) -derby -doc -examples -jce -pax_kernel
 (-selinux) -source 149.933 KiB
 ...
 

 Looking for packages that need jdom as a dependency, and after a chain of
 equery d commands, icedtea-bin itself, on its own dependency chain, needs
 jdom, which, in turn, needs oracle-jdk-bin.

 Is there a way around this?

 Thanks!
 Francisco



Thanks, gonna try this right away, just to update the system for now.

Best regards
Francisco


Re: [gentoo-user] Java VM and SDK: icedtea X oracle's

2015-04-22 Thread Francisco Ares
2015-04-22 10:54 GMT-03:00 Neil Bothwick n...@digimed.co.uk:

 On Wed, 22 Apr 2015 10:34:05 -0300, Francisco Ares wrote:

  A few months ago I got rid of oracle's java jre and jdk in favor of
  icedtea.
 
  Now, when issuing an emerge -tpvuDN world, oracle's jre is about to be
  installed again on this system:

 See the thread from earlier this week stable java virtuals require
 unstable java packages.


 --
 Neil Bothwick

 Mac screen message: Like, dude, something went wrong.



Thanks for the tip, gonna try to understand everything from that thread,
but meanwhile I'm going to do what Alon has suggested.

Best Regards,
Francisco


[gentoo-user] Java VM and SDK: icedtea X oracle's

2015-04-22 Thread Francisco Ares
Hi.

A few months ago I got rid of oracle's java jre and jdk in favor of icedtea.

Now, when issuing an emerge -tpvuDN world, oracle's jre is about to be
installed again on this system:


...
[nomerge   ] dev-java/jdom-1.0-r4:1.0  USE=-doc -examples -source
[nomerge   ]  dev-java/jdom-jaxen-1.0-r1:1.0
[nomerge   ]   dev-java/jaxen-1.1.1:1.1  USE=-doc -examples -source
{-test}
[nomerge   ]dev-java/dom4j-1.6.1-r4:1  USE=-doc -source {-test}
[nomerge   ] dev-java/xpp2-2.1.10-r1  USE=-doc -source
[nomerge   ]  dev-java/xerces-2.11.0:2  USE=-doc -examples
-source
[nomerge   ]   dev-java/xml-commons-resolver-1.2  USE=-doc
-source
[ebuild  NS]virtual/jre-1.7.0:1.7 [1.6.0-r1:1.6] 0 KiB
[ebuild  NS] virtual/jdk-1.7.0:1.7 [1.6.0-r2:1.6] 0 KiB
[ebuild  N F   ]  dev-java/oracle-jdk-bin-1.7.0.80:1.7  USE=X alsa
fontconfig nsplugin (-aqua) -derby -doc -examples -jce -pax_kernel
(-selinux) -source 149.933 KiB
...


Looking for packages that need jdom as a dependency, and after a chain of
equery d commands, icedtea-bin itself, on its own dependency chain, needs
jdom, which, in turn, needs oracle-jdk-bin.

Is there a way around this?

Thanks!
Francisco


[gentoo-user] multilib - do I need it?

2015-04-02 Thread Francisco Ares
Hi,

How does one know previously which packages will require 32 bit ABI ?

I have two systems (among others) to consider: one is very simple, built
using as fewer packages as possible, it is the development system for an
embedded equipment, and it is 64 bit ABI only - no multilib;  the other is
a general purpose workstation, with lots of packages, and someday, by some
forgotten reason, I needed to install emul-linux-* .

Now I'm willing to change the profile to no-multilib, I have found that a
lot of packages require to be rebuilt for 32 bit ABI. Is there a way of
checking which are the packages requiring 32 bit ABI?


Thanks,
Francisco


Re: [gentoo-user] Re: How to poweroff the system from user?

2015-03-26 Thread Francisco Ares
2015-03-26 13:13 GMT-03:00 Hans li...@interworld.net.au:

 On 22/03/15 05:26, German wrote:

 If I run poweroff from root, the system shuts down, however when I run
 poweroff from user -- command not found. How to shut down the system from
 user? Thanks

  If nothing works, I use the big red switch at the front of my box to
 poweroff.



I don't know if this has been already answered:

edit /etc/sudoers to include a line like the one bellow:


your_user_name
 ALL=NOPASSWD:/sbin/halt,NOPASSWD:/sbin/reboot,NOPASSWD:/sbin/poweroff,


Then log off and log in again, and it should work.

Hope this helps,
Francisco


[gentoo-user] [OFF TOPIC] Qt Creator unable to access containers in debug mode

2015-03-24 Thread Francisco Ares
Hi,

Recently - but can't figure out exactly when - Qt Creator has become unable
to access Qt containers (where the STL ones work as expected) on the debug
panel.  It shows not accessible in place of the expected item quantity
for a QList, for instance, but for a std::vectorstd::string, it works,
allowing inspection of all items.

Any hints on what I may be doing wrong? The headers are all accessible, for
instance. Should I build Qt with debug symbols enabled, as recommended for
glibc?

Using current Qt 4.8.5, Qt Creator 2.8.1, gdb 7.7.1, gcc 4.8.3

Thanks!
Francisco


Re: [gentoo-user] Re: [OFF TOPIC] Qt Creator unable to access containers in debug mode

2015-03-24 Thread Francisco Ares
Thank you, gonna play a bit around  gdb.

Best regards,
Francisco

2015-03-24 10:52 GMT-03:00 Nikos Chantziaras rea...@gmail.com:

 On 24/03/15 15:07, Francisco Ares wrote:

 Hi,

 Recently - but can't figure out exactly when - Qt Creator has become
 unable to access Qt containers (where the STL ones work as expected) on
 the debug panel.  It shows not accessible in place of the expected
 item quantity for a QList, for instance, but for a
 std::vectorstd::string, it works, allowing inspection of all items.

 Any hints on what I may be doing wrong? The headers are all accessible,
 for instance. Should I build Qt with debug symbols enabled, as
 recommended for glibc?

 Using current Qt 4.8.5, Qt Creator 2.8.1, gdb 7.7.1, gcc 4.8.3


 I remember having a problem with old Creator that had to do with showing
 contents of variables. I don't remember the details though. I only remember
 that the issue was gdb. I was using a version that was not working
 correctly with Creator 2.8. I had to downgrade to an old gdb. 7.5.1, I
 think.

 I can't reproduce the problem anymore, since I've since switched to
 Creator 3 (now on 3.3.2.) This is rather easy to upgrade to now, as Qt5 is
 now in portage (although in ~arch.) If you want to upgrade, note that you
 can still develop for Qt4 just fine. Qt5 is only used to run Creator
 itself, it doesn't have any effect on the version of Qt you want to develop
 for.





Re: [gentoo-user] Re: [OFF TOPIC] Qt Creator unable to access containers in debug mode

2015-03-24 Thread Francisco Ares
Thank you all for those clues, pretty interesting.

For now I suppose it is a gdb thing, as QtCreator is able to show details
about STL containers as expected.

Going to fiddle in gdb a bit more...


2015-03-24 17:07 GMT-03:00 Fernando Rodriguez 
frodriguez.develo...@outlook.com:

 On Tuesday, March 24, 2015 9:32:07 PM Nikos Chantziaras wrote:
  On 24/03/15 21:12, Fernando Rodriguez wrote:
   On Tuesday, March 24, 2015 10:07:56 AM Francisco Ares wrote:
   Hi,
  
   Recently - but can't figure out exactly when - Qt Creator has become
 unable
   to access Qt containers (where the STL ones work as expected) on the
 debug
   panel.  It shows not accessible in place of the expected item
 quantity
   for a QList, for instance, but for a std::vectorstd::string, it
 works,
   allowing inspection of all items.
  
   Any hints on what I may be doing wrong? The headers are all
 accessible,
 for
   instance. Should I build Qt with debug symbols enabled, as recommended
 for
   glibc?
  
   Using current Qt 4.8.5, Qt Creator 2.8.1, gdb 7.7.1, gcc 4.8.3
  
   Thanks!
   Francisco
  
   Try to print it from gdb cli, if it works you'll know the issue
 QtCreator,
   otherwise you're likely missing some symbols. You should always compile
 any
   development libraries with debug symbols.
 
  You don't need debug symbols for inspecting containers. They are not
  needed. The only reason for enabling debug symbols in Qt is if you want
  to step into Qt's code.

 Thank you. You do need symbols though, just not Qts for this specific case.
 There are many reasons why you should compile your development libraries
 with
 symbols besides stepping into the code. Such as getting a backtrace. Even
 proprietary (closed-source) libraries often make the symbols available for
 this reason.

 --
 Fernando Rodriguez




  1   2   3   >