On 12/10/20 8:43 PM, Ken Moffat via blfs-dev wrote:
I must have been evil in a previous existence, because I'm not
trying to use jhalfs to build kde.
In kf5 I stopped the build after a bit over an hour because nothing
was happening. The log said:
URL transformed to HTTPS due to an HSTS policy
--2020-12-11 02:14:37-- https://download.kde.org/stable/frameworks/5.73/
Resolving download.kde.org (download.kde.org)... 168.119.32.158,
2a01:4f8:242:1ed5::3
Connecting to download.kde.org (download.kde.org)|168.119.32.158|:443...
connected.
HTTP request sent, awaiting response... 302 Found
Location: https://download.kde.org/Attic/frameworks/5.73/ [following]
--2020-12-11 02:14:38-- https://download.kde.org/Attic/frameworks/5.73/
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html.tmp’
0K .......... .......... .......... .......... .......... 686K
50K .......... .......... ........ 24.3M=0.07s
2020-12-11 02:14:38 (1.04 MB/s) - ‘index.html.tmp’ saved [80331]
Removing index.html.tmp since it should be rejected.
FINISHED --2020-12-11 02:14:38--
Total wall clock time: 0.3s
Downloaded: 1 files, 78K in 0.07s (1.04 MB/s)
renamed '/opt/kf5' -> '/opt/kf5.old/kf5'
install: creating directory '/opt/kf5'
install: creating directory '/opt/kf5/etc'
install: creating directory '/opt/kf5/share'
'/opt/kf5/etc/dbus-1' -> '/etc/dbus-1'
'/opt/kf5/share/dbus-1' -> '/usr/share/dbus-1'
- - -
If I change the url to
https://download.kde.org/Attic/frameworks/5.73/
it then downloaded 101 files.
But of course, it then failed. The log ended:
--2020-12-11 02:16:45--
https://download.kde.org/Attic/frameworks/5.73/portingAids/?C=D;O=D
Reusing existing connection to download.kde.org:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html?C=D;O=D.tmp’
0K .......... ..... 21.1M=0.001s
2020-12-11 02:16:45 (21.1 MB/s) - ‘index.html?C=D;O=D.tmp’ saved [16145]
Removing index.html?C=D;O=D.tmp since it should be rejected.
FINISHED --2020-12-11 02:16:45--
Total wall clock time: 57s
Downloaded: 101 files, 266M in 33s (7.96 MB/s)
mv: cannot move '/opt/kf5' to '/opt/kf5.old/kf5': Directory not empty
'/opt/kf5/etc/dbus-1' -> '/etc/dbus-1'
'/opt/kf5/share/dbus-1' -> '/usr/share/dbus-1'
I'm inclined to say that the URL needs to be changed, but what do I
know ? Anyway, I cleaned out /opt/kf5-5.73.0/kf5 and tried again.
No joy:
- - -
FINISHED --2020-12-11 02:29:31--
Total wall clock time: 57s
Downloaded: 101 files, 266M in 35s (7.68 MB/s)
renamed '/opt/kf5' -> '/opt/kf5.old'
install: creating directory '/opt/kf5'
install: creating directory '/opt/kf5/etc'
install: creating directory '/opt/kf5/share'
'/opt/kf5/etc/dbus-1' -> '/etc/dbus-1'
'/opt/kf5/share/dbus-1' -> '/usr/share/dbus-1'
- - -
Now, a little of that last one might be me misunderstanding what
jhalfs is doing, but downloading from Attic definitely works (I've
just downloaded all of them again). And I now see that they got
downloaded by jhalfs to my work directory rather than to /sources.
But I'm ******ed if I can persuade it to do anything with the
tarballs.
I think I'll need to review whether trying to see if the
book's instructions work (to catch regressions caused by apparently
unrelated updates) is going to do anything useful for me, because at
the moment it just looks like a vale of tears.
The reason the download failed was because the upstream website changed.
They now only have versions 5.74 through 5.76 at
https://download.kde.org/stable/frameworks/.
I do not know when they made the change, but at one time they had at
least 10 versions on that site. I note that they update the version
once a month. I was going to update KDE this month and that would bring
it back into a valid URL, but I suppose it would also be best to add a
note about the availability of the version.
I'm not sure how this should be handled by jhalfs. The stable book
would be wrong half the time between releases.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page