Re: [gentoo-user] GCC 5.4.0

2017-04-23 Thread Philip Webb
170423 Andreas K. Huettel wrote:
> Am Sonntag, 23. April 2017, 07:45:49 CEST schrieb Philip Webb:
>> What are other users' experiences using GCC 5.4.0 ?
> My personal advice & experience:
> * install the new gcc-5.4
> * switch to it
> * run the revdep-rebuild command from the news item (see above)
> ... and everything should be fine.

I've done that & everything seems to be ok (big smile).

At first, I didn't notice that revdep-rebuild nees to be run with gcc-5.4.0 :
since r-r is written in Python, the version of Gcc seems irrelevant.

After noticing that, there was no problem.  r-r announced no problems.
I tested the new Gcc by finishing updating KDE (which I had started)
& everything went thro' efficiently & a bit faster, if I'm not mistaken.

Thanks as always to the Gentoo devs, who rarely make mistakes
& provide us users with the best distro for serious desktop work ;
also, no doubt, to the people who are working hard improving Gcc.

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




[gentoo-user] How to get rid of sys-fs/static-dev, or do I really need it?

2017-04-23 Thread wabe
Hi folks,

tried to do an "emerge -eav world" but it didn't even start, because of:

INFO: pretend
Package:sys-fs/static-dev-0.1
Repository: gentoo
Maintainer: base-sys...@gentoo.org
USE:abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
ERROR: pretend
We have detected that you currently use udev or devfs or devtmpfs
and this ebuild cannot install to the same mount-point.
ERROR: sys-fs/static-dev-0.1::gentoo failed (pretend phase):
  Cannot install on udev/devfs tmpfs.

Call stack:
  ebuild.sh, line 115:  Called pkg_pretend
  static-dev-0.1.ebuild, line  38:  Called abort
  static-dev-0.1.ebuild, line  22:  Called die
The specific snippet of code:
die "Cannot install on udev/devfs tmpfs."



I'm using sys-fs/eudev and no static /dev. So I tried to deplcean 
sys-fs/static-dev but this failed because of:

!!! 'sys-fs/static-dev' (virtual/dev-manager) is part of your system profile.
!!! Unmerging it may be damaging to your system.


What can I do to solve this problem? Is it safe when I just unmerge 
sys-fs/static-dev?

--
Regards
wabe



Re: [gentoo-user] encrypting file for Windows users

2017-04-23 Thread thelma

On 04/23/2017 05:13 PM, R0b0t1 wrote:
> On Sun, Apr 23, 2017 at 5:42 PM,   wrote:
>> I'm looking for a solution to encrypt and attachment to Windows users.
>> gpg does not support "sda" Self Decrypting Archives.
>>
>> Occasionally I have to send an attachment via email and would prefer if
>> the file was encrypted.  Asking Windows users to use PGP is almost
>> impossible.
>> Sending them txt.exe and asking the to run it will not go well.
>>
>> --
>> Thelma
>>
> 
> 7zip can create AES256 encrypted archives, and the majority of Windows
> "power users" will have it installed already.
> 
> Unfortunately if you want asymmetric encryption there is not much else
> besides GnuPG. Gpg4Win offers a GUI and might be more friendly. There
> is also the Enigmail plugin for Mozilla Thunderbird.
> 
> As strange as this might sound, you should also consider telling your
> recipient to install Cygwin and GnuPG, as often times (at least in my
> experience) the main problem with using GPG on Windows is buggy
> wrapper layers. If it is used directly there are next to no issues.
> Should your recipients be at all inclined the necessary commands can
> be remembered easily and don't need much modification.

Thanks, yes p7zip worked OK.
7za a myfile.zip Customer_152149.pdf IMG_0125.JPG -tzip -mem=AES256 -mx9 -p123
 
extracting: 
7z e  myfile.zip

--
Thelma



Re: [gentoo-user] encrypting file for Windows users

2017-04-23 Thread thelma
On 04/23/2017 05:12 PM, Mick wrote:
> On Sunday 23 Apr 2017 16:42:12 the...@sys-concept.com wrote:
>> I'm looking for a solution to encrypt and attachment to Windows users.
>> gpg does not support "sda" Self Decrypting Archives.
>>
>> Occasionally I have to send an attachment via email and would prefer if
>> the file was encrypted.  Asking Windows users to use PGP is almost
>> impossible.
>> Sending them txt.exe and asking the to run it will not go well.
> 
> 
> What is it you want to encrypt?  An email?  An attachment?  Both?
> 
> For email inc. attachments you can use SSL Certificates with S/MIME.  MS 
> Outlook can handle S/MIME encrypted emails natively and you can get SSL 
> Certificates from a variety of CAs, some of them free for personal use.  You 
> can always use self-signed certificates, but initially you will have to guide 
> your recipients to store the self-signed certificates and mark them as 
> trusted 
> on their PCs.
> 
> Alternatively, you can install gpg4Win on MS PCs and use that to exchange PGP 
> encrypted messages and attachments.  Your recipients may need some training 
> to 
> familiarize themselves with the gpg4Win interface, but it is not that 
> dissimilar to MS Outlook's S/MIME GUI.
> 
> Thunderbird can deal with both PGP & S/MIME using Enigmail.
> 
> If you only need to encrypt attachments (files/directories) besides the above 
> solutions (gpg4win will also encrypt/decrypt files separately to emails), you 
> can use zip/7zip and encrypt with a symmetric key the contents of the 
> generated archive.  You will need of course to share the encryption password 
> for the zipped archive with your recipients securely off line.
> 
> PS. 7z can create self-extracting archives and I had looked into this in the 
> past, but I was not able to make it work off the peg in Gentoo.  It kept 
> asking about /usr/lib64/p7zip/7z.sfx which is not installed by default with 
> 7zip.  After some failed attempts I gave up and sought alternatives.

I think mostly they will be sending some pdf files + some images.
After sending the encrypted file they will follow with a call to provide
"password" this shouldn't be a problem.

I'll try 7zip, see if it works already.

--
Thelma




Re: [gentoo-user] encrypting file for Windows users

2017-04-23 Thread Herminio Hernandez Jr
On 04/23/2017 04:13 PM, R0b0t1 wrote:

> On Sun, Apr 23, 2017 at 5:42 PM,   wrote:
>> I'm looking for a solution to encrypt and attachment to Windows users.
>> gpg does not support "sda" Self Decrypting Archives.
>>
>> Occasionally I have to send an attachment via email and would prefer if
>> the file was encrypted.  Asking Windows users to use PGP is almost
>> impossible.
>> Sending them txt.exe and asking the to run it will not go well.
>>
>> --
>> Thelma
>>
> 7zip can create AES256 encrypted archives, and the majority of Windows
> "power users" will have it installed already.
>
> Unfortunately if you want asymmetric encryption there is not much else
> besides GnuPG. Gpg4Win offers a GUI and might be more friendly. There
> is also the Enigmail plugin for Mozilla Thunderbird.
>
> As strange as this might sound, you should also consider telling your
> recipient to install Cygwin and GnuPG, as often times (at least in my
> experience) the main problem with using GPG on Windows is buggy
> wrapper layers. If it is used directly there are next to no issues.
> Should your recipients be at all inclined the necessary commands can
> be remembered easily and don't need much modification.
>
If they are Win10 users you also have them install the windows subsystem
for linux, then you will have GNUPG already installed. The one thing you
need to know is that the ~/ in bash is not the windows home directory.
You will need to cd to /mnt/c/Users/.


0x94ED40A1.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] encrypting file for Windows users

2017-04-23 Thread R0b0t1
On Sun, Apr 23, 2017 at 5:42 PM,   wrote:
> I'm looking for a solution to encrypt and attachment to Windows users.
> gpg does not support "sda" Self Decrypting Archives.
>
> Occasionally I have to send an attachment via email and would prefer if
> the file was encrypted.  Asking Windows users to use PGP is almost
> impossible.
> Sending them txt.exe and asking the to run it will not go well.
>
> --
> Thelma
>

7zip can create AES256 encrypted archives, and the majority of Windows
"power users" will have it installed already.

Unfortunately if you want asymmetric encryption there is not much else
besides GnuPG. Gpg4Win offers a GUI and might be more friendly. There
is also the Enigmail plugin for Mozilla Thunderbird.

As strange as this might sound, you should also consider telling your
recipient to install Cygwin and GnuPG, as often times (at least in my
experience) the main problem with using GPG on Windows is buggy
wrapper layers. If it is used directly there are next to no issues.
Should your recipients be at all inclined the necessary commands can
be remembered easily and don't need much modification.



Re: [gentoo-user] encrypting file for Windows users

2017-04-23 Thread Mick
On Sunday 23 Apr 2017 16:42:12 the...@sys-concept.com wrote:
> I'm looking for a solution to encrypt and attachment to Windows users.
> gpg does not support "sda" Self Decrypting Archives.
> 
> Occasionally I have to send an attachment via email and would prefer if
> the file was encrypted.  Asking Windows users to use PGP is almost
> impossible.
> Sending them txt.exe and asking the to run it will not go well.


What is it you want to encrypt?  An email?  An attachment?  Both?

For email inc. attachments you can use SSL Certificates with S/MIME.  MS 
Outlook can handle S/MIME encrypted emails natively and you can get SSL 
Certificates from a variety of CAs, some of them free for personal use.  You 
can always use self-signed certificates, but initially you will have to guide 
your recipients to store the self-signed certificates and mark them as trusted 
on their PCs.

Alternatively, you can install gpg4Win on MS PCs and use that to exchange PGP 
encrypted messages and attachments.  Your recipients may need some training to 
familiarize themselves with the gpg4Win interface, but it is not that 
dissimilar to MS Outlook's S/MIME GUI.

Thunderbird can deal with both PGP & S/MIME using Enigmail.

If you only need to encrypt attachments (files/directories) besides the above 
solutions (gpg4win will also encrypt/decrypt files separately to emails), you 
can use zip/7zip and encrypt with a symmetric key the contents of the 
generated archive.  You will need of course to share the encryption password 
for the zipped archive with your recipients securely off line.

PS. 7z can create self-extracting archives and I had looked into this in the 
past, but I was not able to make it work off the peg in Gentoo.  It kept 
asking about /usr/lib64/p7zip/7z.sfx which is not installed by default with 
7zip.  After some failed attempts I gave up and sought alternatives.
-- 
Regards,
Mick

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


[gentoo-user] encrypting file for Windows users

2017-04-23 Thread thelma
I'm looking for a solution to encrypt and attachment to Windows users.
gpg does not support "sda" Self Decrypting Archives.

Occasionally I have to send an attachment via email and would prefer if
the file was encrypted.  Asking Windows users to use PGP is almost
impossible.
Sending them txt.exe and asking the to run it will not go well.

-- 
Thelma



Re: [gentoo-user] GCC 5.4.0

2017-04-23 Thread Andreas K. Huettel
Am Sonntag, 23. April 2017, 18:59:16 CEST schrieb Andreas K. Huettel:
>
> > What are other users' experiences using GCC 5.4.0 ?
> 
> My personal advice & experience:
> * install the new gcc-5.4
> * switch to it
> * run the revdep-rebuild command from the news item (see above)
> ... and everything should be fine.
> 

PS. Note that I did immediately switch to the new compiler. 

I dont know how well "having the new gcc around but not using it" works, since 
its standard libraries are not affected by the gcc-config mechanism (and thus 
a gcc-4.* will happily use the libraries installed by gcc-5). 

If you want to keep your system gcc-4 only (which is only going to work for a 
very limited time), you should locally mask the newer versions. Offhand I see 
no real reason to do that though. As somebody said, "2014 called - it wants 
its compiler back!"


-- 
Andreas K. Hüttel
dilfri...@gentoo.org
Gentoo Linux developer (council, perl, libreoffice)

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


Re: [gentoo-user] GCC 5.4.0

2017-04-23 Thread Andreas K. Huettel
Am Sonntag, 23. April 2017, 07:45:49 CEST schrieb Philip Webb:
> I've been following the thread re GCC 5.4.0 & after 'eix-sync' installed it.
> There's a news item warning that there's a new ABI
> & it mb necessary to run 'revdep-rebuild' if it fails with a linking error.
> 
> The first pkg I tried to compile with 5.4.0 indeed failed at that point,
> so I followed the advice & ran
> 'revdep-rebuild --library 'llibstdc++.so.6' -- --exclude gcc'.
> 
> What are other users' experiences using GCC 5.4.0 ?

My personal advice & experience:
* install the new gcc-5.4
* switch to it
* run the revdep-rebuild command from the news item (see above)
... and everything should be fine.

To be absolutely sure I've run an "emerge -eav world" on most machines 
sometime afterwards, but that shouldnt be strictly necessary. (It helps though 
if the revdep-rebuild command doesnt finish for some reasons.)

Somehow the 5.4 stabilization got stuck and/or forgotten, it's been overdue 
for a while now. Many devs (including me) use 6.3 on their main machine 
already, without any too big problems. gcc-6 is already used by the big binary 
distros. (-> Expect 6.3 to get keywords sometime soon.)

-- 
Andreas K. Hüttel
dilfri...@gentoo.org
Gentoo Linux developer (council, perl, libreoffice)

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


Re: [gentoo-user] GCC 5.4.0

2017-04-23 Thread Marc Joliet
On Sonntag, 23. April 2017 07:45:49 CEST Philip Webb wrote:
> I've been following the thread re GCC 5.4.0 & after 'eix-sync' installed it.
> There's a news item warning that there's a new ABI
> & it mb necessary to run 'revdep-rebuild' if it fails with a linking error.

While it does read like that, I would think that it's safer to just do the 
revdep-rebuild.

> The first pkg I tried to compile with 5.4.0 indeed failed at that point,
> so I followed the advice & ran
> 'revdep-rebuild --library 'llibstdc++.so.6' -- --exclude gcc'.
> It wanted to rebuild  223  pkgs & stalled with an unfound ebuild.
> 
> I went back to GCC 4.9.3 & the pkg merged without any problem.
> 
> What are other users' experiences using GCC 5.4.0 ?

I followed the instructions and everything went fine, albeit it took about 2 
days on my desktop just for the revdep-rebuild.  I had a few build failures, 
but almost all of them were from packages in the proaudio and my personal 
overlay.  The only package from the main Gentoo tree that failed was 
libsidplay, but that was due to a bash/dash compatibility problem that causes 
the configure step to produce broken Makefiles.  *double checks* No, sorry, on 
my desktop the following also failed to build:
- games-emulation/nestopia, 
- games-emulation/mupen64plus,
- media-sound/ams
- media-sound/seq24,

For the first two, I wouldn't be surprised if their ~arch versions work.  The 
latter two are probably unmaintained upstream and need to be patched.

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


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


Re: [gentoo-user] Re: How to set size to windows in Openbox in local config [SOLVED]

2017-04-23 Thread Miroslav Rovis
Hi Floyd!

This is just an interim notice-reply. I need a few days to find a couple
of hours time to study the links you gave. I only wish to express my
appreciation, as the links look interesting and to the point, as well as
the rest of your reply.

On 170422-04:35+0200, Floyd Anderson wrote:
> On Fr, 21 Apr 00:12:28 +0200
> Miroslav Rovis  wrote:
> >On 170420-05:57+0200, Floyd Anderson wrote:
> >> On Do, 13 Apr 21:55:29 +0200
> >> Miroslav Rovis  wrote:
...
> >> back from some computer-free holidays,
> >I hope you had good and restful time!
...
> >[2]  openbox window positions
> > https://lists.gt.net/gentoo/user/325342
> > (and my reply to it contains digressions, but also simple
> > questions...)
> >
> Your plan with the Apache cgit repo seems to be a nice challenge to 
> learn something but as I noted above, creating and maintaining an 
> overlay for so tiny things is a little bit overkill in my opinion. 
> Fetching the related Git repository from time to time and you are done 
> while an overlay needs probably more significant work.
> 
> As an example, I am currently just imagine I have to create overlays for 
> my favourite Vim plugins instead of using well known manager like 
> Vundle, NeoBundle, Dein or what else. That were a lot of work for the 
> overlay solution or did I miss the point?
> 
> 
> References:
> [1] 
> 
> 
> -- 
> Regards,
> floyd

-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] crypto with dolphin:5

2017-04-23 Thread J. Roeleveld
On April 23, 2017 10:04:50 AM GMT+02:00, Marc Joliet  wrote:
>On Sonntag, 23. April 2017 07:56:05 CEST J. Roeleveld wrote:
>> Ok. /etc/portage/package.use.unmask doesn't work.
>
>First, there is no package.use.unmask (although I'll grant that that
>would be 
>the intuitive name for such a file).  There is only package.use.mask
>and 
>package.use.stable.mask, which can reside in the portage tree and in
>/etc/
>portage/profile/.  portage(5) has this to say (see especially the
>second 
>example):
>
>package.use.mask and package.use.stable.mask
> Per-package USE flag masks.
>
>Note: In a cascading profile setup, you can remove USE 
>flags in children profiles which were added by parent profiles by
>prefixing 
>the flag with a '-'.
>
> Format:
> - comments begin with # (no inline comments)
>  - one DEPEND atom per line with space-delimited USE flags
>
> Example:
> # mask docs for GTK 2.x
> =x11-libs/gtk+-2* doc
> # unmask mysql support for QT
> x11-libs/qt -mysql
>
>In this particular case, both files can be used, it seems (I'm not sure
>what 
>the "stable" refers to in this case, it's probably explained on the
>Gentoo 
>wiki somewhere or in the developer documentation).
>
>HTH

Thanks. This worked.

I have been using the kde/plasma version for kmail for a while. After the 
gcc5.4 upgrade, I wanted to rebuild everything and encountered this issue.

I'll need to read up on the profile directory options.

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



Re: [gentoo-user] crypto with dolphin:5

2017-04-23 Thread Marc Joliet
On Sonntag, 23. April 2017 07:56:05 CEST J. Roeleveld wrote:
> Ok. /etc/portage/package.use.unmask doesn't work.

First, there is no package.use.unmask (although I'll grant that that would be 
the intuitive name for such a file).  There is only package.use.mask and 
package.use.stable.mask, which can reside in the portage tree and in /etc/
portage/profile/.  portage(5) has this to say (see especially the second 
example):

package.use.mask and package.use.stable.mask
 Per-package USE flag masks.

 Note: In a cascading profile setup, you can remove USE 
flags in children profiles which were added by parent profiles by prefixing 
the flag with a '-'.

 Format:
 - comments begin with # (no inline comments)
 - one DEPEND atom per line with space-delimited USE flags

 Example:
 # mask docs for GTK 2.x
 =x11-libs/gtk+-2* doc
 # unmask mysql support for QT
 x11-libs/qt -mysql

In this particular case, both files can be used, it seems (I'm not sure what 
the "stable" refers to in this case, it's probably explained on the Gentoo 
wiki somewhere or in the developer documentation).

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


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


Re: [gentoo-user] broadwell for kaby lake?

2017-04-23 Thread Jorge Almeida
On Sat, Apr 22, 2017 at 4:31 PM, Adam Carter  wrote:
>> Thanks. I suppose it's just a gcc thing, then. I just emerged
>> gcc-5.4.0 and the output is the same, though.
>
>
> My skylake comes up as broadwell too, with gcc 5.4
>
> Looks like gcc 6 has a skylake arch, but not a kabylake.
> https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/x86-Options.html#x86-Options
>
Thanks!



Jorge



Re: [gentoo-user] GCC 5.4.0

2017-04-23 Thread Adam Carter
> I went back to GCC 4.9.3 & the pkg merged without any problem.
>
> What are other users' experiences using GCC 5.4.0 ?
>

~amd64 users have been using it for ages, with no problems. I have one
system that seems to need me to run ldconfig when i update gcc, but the
others are fine.


Re: [gentoo-user] GCC 5.4.0

2017-04-23 Thread Daniel Frey
On 04/22/2017 10:45 PM, Philip Webb wrote:
> I've been following the thread re GCC 5.4.0 & after 'eix-sync' installed it.
> There's a news item warning that there's a new ABI
> & it mb necessary to run 'revdep-rebuild' if it fails with a linking error.
> 
> The first pkg I tried to compile with 5.4.0 indeed failed at that point,
> so I followed the advice & ran
> 'revdep-rebuild --library 'llibstdc++.so.6' -- --exclude gcc'.
> It wanted to rebuild  223  pkgs & stalled with an unfound ebuild.
> 
> I went back to GCC 4.9.3 & the pkg merged without any problem.
> 
> What are other users' experiences using GCC 5.4.0 ?
> 

I'm currently rebuilding 304 packages. However, last time I updated
major versions of gcc I had weird issues, an `emerge -e world` fixed
that. Some packages have already been built with the new gcc version, so
I plan to exclude those from --emptytree.

Dan