Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onedrive broken #94

Open
latot opened this issue Apr 28, 2022 · 7 comments
Open

onedrive broken #94

latot opened this issue Apr 28, 2022 · 7 comments

Comments

@latot
Copy link

latot commented Apr 28, 2022

Hi hi, I try to install one drive, but the sources of dmd does not exist any more.

Tested with dmd_2_096 to 2_093.

Thx!

@the-horo
Copy link
Contributor

I'm not sure to what problem you are refering. For my test bench both onedrive versions compile fine with the specified DLANG_VERSION_RANGE.

Could you post a log or detail a little more on the issue, specifically on what you mean by the sources of dmd does not exist anymore?

@latot
Copy link
Author

latot commented Apr 28, 2022

Yes, that can be because you have already downloaded it from the sources, so to test it, you should empty your distfiles:

>>> Emerging (1 of 2) dev-lang/dmd-2.093.1::dlang
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
>>> Downloading 'http://downloads.dlang.org.s3.amazonaws.com/releases/2020/dmd.2.093.1.linux.tar.xz'
--2022-04-28 11:56:51--  http://downloads.dlang.org.s3.amazonaws.com/releases/2020/dmd.2.093.1.linux.tar.xz
Resolving downloads.dlang.org.s3.amazonaws.com... 52.218.201.50
Connecting to downloads.dlang.org.s3.amazonaws.com|52.218.201.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24506488 (23M) [application/x-tar]
Saving to: ‘/usr/portage/distfiles/dmd.2.093.1.linux.tar.xz.__download__’

/usr/portage/distfi   0%[                    ]       0  --.-KB/s    in 1,9s    

2022-04-28 11:56:54 (0,00 B/s) - Connection closed at byte 0. Retrying.

--2022-04-28 11:56:55--  (try: 2)  http://downloads.dlang.org.s3.amazonaws.com/releases/2020/dmd.2.093.1.linux.tar.xz
Connecting to downloads.dlang.org.s3.amazonaws.com|52.218.201.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24506488 (23M) [application/x-tar]
Saving to: ‘/usr/portage/distfiles/dmd.2.093.1.linux.tar.xz.__download__’

/usr/portage/distfi   0%[                    ]       0  --.-KB/s    in 1,9s    

2022-04-28 11:56:58 (0,00 B/s) - Connection closed at byte 0. Retrying.

--2022-04-28 11:57:00--  (try: 3)  http://downloads.dlang.org.s3.amazonaws.com/releases/2020/dmd.2.093.1.linux.tar.xz
Connecting to downloads.dlang.org.s3.amazonaws.com|52.218.201.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24506488 (23M) [application/x-tar]
Saving to: ‘/usr/portage/distfiles/dmd.2.093.1.linux.tar.xz.__download__’

/usr/portage/distfi   0%[                    ]       0  --.-KB/s    in 1,9s    

2022-04-28 11:57:02 (0,00 B/s) - Connection closed at byte 0. Giving up.

!!! Couldn't download 'dmd.2.093.1.linux.tar.xz'. Aborting.
 * Fetch failed for 'dev-lang/dmd-2.093.1', Log file:
 *  '/var/tmp/portage/dev-lang/dmd-2.093.1/temp/build.log'

@the-horo
Copy link
Contributor

This doesn't seem to be a problem with the ebuilds as I think something is up with https://downloads.dlang.org.s3.amazonaws.com/ (note the https://) as it seems to give a ssl cerificate error.

However, I don't really know why your system doesn't download the files whereas mine does.

For a quick fix get the url for the dmd version you want to download, you can do that with emerge --fetchonly <your-dmd-version> and then:

cd /var/cache/distfiles
wget "<the-url-from-the-output>"

And then proceed with the installation as normal.

@latot
Copy link
Author

latot commented Apr 28, 2022

Hi, is not working, the same error with wget, and from firefox, maybe the source is not there anymore.

The http, redirects to https.

@the-horo
Copy link
Contributor

No, the source is still there. The problem is that in your set up all the http requests get redirected to https. To get past that with wget you can wget --no-check-certificate, or with firefox try to see if there is an Advanced/Accept risk and continue or something similar and go with that.

@latot
Copy link
Author

latot commented Apr 28, 2022

The same thing:

localhost /var/cache/distfiles # wget --no-check-certificate "http://downloads.dlang.org.s3.amazonaws.com/releases/2021/dmd.2.096.1.linux.tar.xz"
--2022-04-28 16:32:35--  http://downloads.dlang.org.s3.amazonaws.com/releases/2021/dmd.2.096.1.linux.tar.xz
Resolving downloads.dlang.org.s3.amazonaws.com... 52.218.242.115
Connecting to downloads.dlang.org.s3.amazonaws.com|52.218.242.115|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22825496 (22M) [application/x-tar]
Saving to: ‘dmd.2.096.1.linux.tar.xz.3’

dmd.2.096.1.linux.tar.xz.3                             0%[                                                                                                                      ]       0  --.-KB/s    in 1.9s    

2022-04-28 16:32:38 (0.00 B/s) - Connection closed at byte 0. Retrying.

@the-horo
Copy link
Contributor

That seems to be something particular with your setup. Try to force https:// maybe: wget --no-check-certificate "https://downloads.dlang.org.s3.amazonaws.com/releases/2021/dmd.2.096.1.linux.tar.xz", or from a browser.

If that doesn't work either, try http://downloads.dlang.org/releases/2021/dmd.2.096.1.linux.tar.xz (it should be the same file). If that fails as well, I am out of ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants