Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem installing openssl.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
stefbon
n00b
n00b


Joined: 03 Dec 2018
Posts: 18

PostPosted: Mon Dec 03, 2018 8:40 am    Post subject: Problem installing openssl. Reply with quote

Hi,

I'm Stef Bon, living in the Netherlands, and a new user of Gentoo. Earlier I've been using LinuxFromScratch and ArchLinux. Due to different ideas about what respect means, I've abandoned the latest.

Futher I'm working on a project to mount remote services like ssh-sftp on the fly using FUSE, libgcrypt and Avahi, for Linux.
It works, but not bugfree yet.

I'm planning:
- UDP support using libudt, not ready yet
- I've written my own ssh client, already a server, but not standalone. This is what I want.
- backup support on server

See:

https://github.com/stefbon/fs-workspace

Now backup to Gentoo. The installtion is a feast. Every smooth, emerge is really powerfull!
But now I'm stuck, I cannot install openssl. It says:
Code:

ws-001 / # emerge --ask =dev-libs/openssl-1.1.1a

 * IMPORTANT: 21 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    #] dev-libs/openssl-1.1.1a  USE="asm zlib -bindist -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)"

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by =dev-libs/openssl-1.1.1a (argument)
=dev-libs/openssl-1.1.1a ~amd64

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by =dev-libs/openssl-1.1.1a (argument)
# /usr/portage/profiles/package.mask:
# Lars Wendler <polynomial-c@gentoo.org> (26 Aug 2016)
# Masked while being tested and reverse deps aren't fully compatible
=dev-libs/openssl-1.1.1a


I do not know how to go futher. I've created different files in /etc/portage/savedconfig/dev-libs/ like

Code:

cat openssl-1.1.1a
=dev-libs/openssl-1.1.1a bindist ~amd64


Do have any advice for me?

Stef Bon
Voorburg
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21779
Location: here

PostPosted: Mon Dec 03, 2018 8:51 am    Post subject: Reply with quote

stefbon welcome to gentoo forum!

openssl 1.1.x is hard masked and it's not recommended to install.
In your case is bindist use flag that create the issue, for solve problem remove bindist use flag (usefull only if you ridistribute compiled package) from make.conf remove also, if there are, entry in pakage.use that enable/disable bindist and then run
Code:
# emerge -UD @world --autounmask=n

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
stefbon
n00b
n00b


Joined: 03 Dec 2018
Posts: 18

PostPosted: Mon Dec 03, 2018 9:12 am    Post subject: Reply with quote

Ok, but now I get this reply:

Code:

emerge --autoumask=n -UD @world
!!! '--autoumask=n' is not a valid package atom.
!!! Please check ebuild(5) for full details.


Ok it should be --autounmaks, but then everything is fine.
It just takes the latest version.

Thanks,
Stef
Back to top
View user's profile Send private message
stefbon
n00b
n00b


Joined: 03 Dec 2018
Posts: 18

PostPosted: Mon Dec 03, 2018 9:24 am    Post subject: Reply with quote

I do not want to use openssl, (I prefer libgcrypt) but are there alternatives for openssh and qtnetwork, to name two?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21779
Location: here

PostPosted: Mon Dec 03, 2018 10:30 am    Post subject: Reply with quote

stefbon wrote:
I do not want to use openssl, (I prefer libgcrypt) but are there alternatives for openssh and qtnetwork, to name two?

For qtnetwork no only openssh is available and for openssh you can choose between openssh and libressl,but if you choose libressl you should it for all system because you cannot have openssl and libressl installed at same time (and sincerly libressl is not yet 100% usable with all package for example with qtnetwork)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Mon Dec 03, 2018 10:47 pm    Post subject: Reply with quote

OpenSSH doesn't really need USE=ssl unless interacting with ancient servers, unfortunately github is one of those.

But you can still use libressl, the libressl overlay contains patched versions of things like qtnetwork. It's no more effort than it'd be to use OpenSSL 1.1.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21779
Location: here

PostPosted: Tue Dec 04, 2018 6:06 am    Post subject: Reply with quote

Ant P. wrote:
But you can still use libressl, the libressl overlay contains patched versions of things like qtnetwork. It's no more effort than it'd be to use OpenSSL 1.1.

You right, the problem that libressl overlay insn't official supported and it can cause some problem (an outdated package is enough to cause blocker)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum