Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HTTPS and winetricks downloads [Solved with ssl USE enable]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sat Dec 30, 2017 10:33 am    Post subject: HTTPS and winetricks downloads [Solved with ssl USE enable] Reply with quote

Hi, trying to get some things straight about the Wine packages, as well as my local chroot that I use to house everything windows related.

1) I noticed that for some reason (even after updating winetricks just now) that the messages I'm getting that are several include errors in sha256sum not matching
2) Another thing that then follows, which I believe is related to that the winetricks packages (DLLs, etc.) won't download and install which is very frustrating
3) A final thing worth mentioning with winetricks is that it complains a lot about the packaging for wine on my system being outdated (at 2.0, or something like that)...here

Code:
jonwine@Machine_West /opt $ wine --version
wine-2.0-rc5


A little background about my system, is that I recently installed wine into a 32-bit chroot environment since my laptop is running a pure 64-bit/no-multilib profile on it. Wine works great and I use it semi-often for various things. It really only seems to work based on local installs, and hence I think this is an issue with some of the packages in that environment, like openssl which is missing.

Could that possibly be 1 reason why winetricks would not work?

Also, when I try using wget with https:// address lookup the output I get is,
Code:
HTTPS support not compiled in.


Of course I am able to use https from within the system (outside of the chroot). Does anyone know what exactly is going on here?


Last edited by LIsLinuxIsSogood on Sun Dec 31, 2017 5:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Sat Dec 30, 2017 5:53 pm    Post subject: Reply with quote

In the chroot environment, what is the output of emerge --pretend --verbose net-misc/wget dev-libs/openssl app-emulation/winetricks? As I understand it, winetricks downloads packages from various sources, then checks the download against a manually maintained list of acceptable digests. This is its equivalent of the Portage ebuild manifests.

Beyond that, it would be helpful to have the exact error output for each of the problems you want to investigate.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sun Dec 31, 2017 2:53 am    Post subject: Reply with quote

Thanks Hu, will do and get back soon about it, this is great troubleshooting idea from within the chroot - thanks.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sun Dec 31, 2017 5:03 am    Post subject: Reply with quote

Code:
Machine_West / # emerge --pretend --verbose net-misc/wget dev-libs/openssl app-emulation/winetricks

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

Calculating dependencies... done!
[ebuild     U  ] dev-libs/openssl-1.0.2n::gentoo [1.0.2m::gentoo] USE="asm sslv3 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs {-test} -vanilla" CPU_FLAGS_X86="-sse2" 5,262 KiB
[ebuild   R    ] net-misc/wget-1.19.1-r2::gentoo  USE="ipv6 nls pcre zlib -debug -gnutls -idn -libressl -ntlm -ssl -static {-test} -uuid" 2,063 KiB
[ebuild     U *] app-emulation/winetricks-99999999::gentoo [20170823::gentoo] USE="gtk -kde -rar*" 0 KiB

Total: 3 packages (2 upgrades, 1 reinstall), Size of downloads: 7,324 KiB



So what do you think do I need to go through with these updates? there's some further output about the Masked packages for winetricks, but do I need to include that?

I get the error message each time that I start winetricks, which looks like this...

Code:
jonwine@Machine_West ~ $ WINEPREFIX="/home/jonwine/wine_testi" /opt/winetricks ------------------------------------------------------
Your version of wine 2.0 is no longer supported upstream. You should upgrade to 2.x
------------------------------------------------------
Using winetricks 20171222-next - sha256sum: 01ebb56d22f54467343700eedfe283d82a47e67bbb6c2d68b7da743f41bb78a3 with wine-2.0-rc5 and WINEARCH=win32
------------------------------------------------------
Github down? version '' doesn't appear to be a valid version
------------------------------------------------------
------------------------------------------------------
You are running winetricks-20171222-next, latest upstream is winetricks-!
------------------------------------------------------
------------------------------------------------------
You should update using your distribution's package manager, --self-update, or manually.
------------------------------------------------------
No protocol specified



Breaking it down, it looks like the sha256sum that is created is the central aspect (or one of them) would you agree? Because the upgrade to 2.x doesn't seem to be the cause, but the connection to github is central to what it needs as winetricks is like you said a way of accessing the information from there. What do you think might help solve this?

Is it just adding ssl to wget? Let me start with that first...

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sun Dec 31, 2017 5:06 am    Post subject: Reply with quote

That was it.

Marking as solved, thanks!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Sun Dec 31, 2017 5:27 am    Post subject: Reply with quote

If winetricks is broken when wget has no TLS support, then the winetricks ebuild should RDEPEND on net-misc/wget[ssl] to enforce that you not install an unusable wget.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Sun Dec 31, 2017 6:02 am    Post subject: Reply with quote

This is true. But maybe the reason that it went overlooked as that most installations of wget will already have it set from whatever standard profile is in use? In my case the chroot kinda changed it all up in terms of the use flags maybe.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Dec 31, 2017 2:48 pm    Post subject: Reply with quote

Neverheless, a bug should be filed. Whether anything actually gets done about it is another story.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Fri Jan 19, 2018 4:52 am    Post subject: Reply with quote

Hey just checking, if this is a report I could still be filing for winetricks to be set for RDEPEND on wget (ssl)

In terms of what I can do before filing the bug, I am going to have a look at the ebuild to see what else is in there, IDK!

If filing a bug seems like a good idea, could someone please help me to make sure I am not submitting it without having done some more debugging of the issue with no ssl use flag for wget, and hopefully the debugging is pretty straightforward, for something like this. So then I'd like to try to have more definitive or comprehensive info to attach to the bug report. Would it be best to maybe replicate the situation I was dealing with in order to provide a thorough bug report?
Back to top
View user's profile Send private message
Slippery Jim
Apprentice
Apprentice


Joined: 08 Jan 2005
Posts: 264

PostPosted: Sat Apr 20, 2019 1:31 pm    Post subject: Reply with quote

I just ran into this same error with firefox-bin-66-0-3. Adding USE=ssl to wget solved it. This seems like the kind of thing that portage could detect automatically by parsing the fetch address, so that ebuild writers wouldn't have to remember to require wget[ssl] somewhere in their ebuild.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Sat Apr 20, 2019 4:28 pm    Post subject: Reply with quote

Portage permits users to choose some other transport command. That command can even be something exotic, like ssh central-file-server wget fetch-arguments, with the expectation that once wget on that server has completed the download, then the file will be visible "locally" via an NFS mount of the file server. I agree that it would be nice if the package manager refused to let you do things that are guaranteed to fail, but there are practical limits to how much environment checking you can do. I expect that wget without SSL support is nearly useless these days, so it's not unreasonable to assume that anyone who disables SSL support on it is doing something very special and has made appropriate arrangements.

It is not actually correct to require wget[ssl], for two reasons. First, if the user provides the file separately, through NFS, sneakernet, etc., then wget will never be called. Second, even if the user expects the ebuild to download the file, the user may not be using wget to do it, so requiring the user to install an SSL-enabled wget that will not be used is wrong.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 422

PostPosted: Sat Mar 28, 2020 6:05 am    Post subject: Reply with quote

FWIW: https://bugs.gentoo.org/611072
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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