View previous topic :: View next topic |
Author |
Message |
G3nt00 Guru
Joined: 09 Apr 2023 Posts: 337
|
Posted: Thu Aug 03, 2023 12:13 pm Post subject: [Solved] Ancient Firefox... |
|
|
Hi,
I noticed that the Firefox installed through emerge is at v102 only. I need fixes in the very latest version. So I do understand the mechanics in maintaining a stable app etc, as well as testing and what-not, but still, is there a way to at least temporary bump the version?
Thanks
Last edited by G3nt00 on Thu Aug 03, 2023 12:37 pm; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8938
|
Posted: Thu Aug 03, 2023 12:16 pm Post subject: |
|
|
See available versions in Gentoo:
Code: | $ eshowkw firefox
Keywords for www-client/firefox:
| | u |
| a a p s l r a | n |
| m r h p p i o i s l m m | e u s | r
| d a m p p c a x a o s 3 p 6 i | a s l | e
| 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p
| 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o
---------+-------------------------------+-----------+-------
102.13.0 | + o + o o ~ o + o o o o o o o | 8 o esr | gentoo
102.14.0 | + o ~ o o ~ o + o o o o o o o | 8 o | gentoo
---------+-------------------------------+-----------+-------
115.0.2 | ~ o ~ o o ~ o ~ o o ~ o o o o | 8 o rapid | gentoo
---------+-------------------------------+-----------+-------
115.1.0 | o o o o o o o o o o o o o o o | 8 # esr | gentoo
---------+-------------------------------+-----------+-------
116.0 | ~ o ~ o o ~ o ~ o o ~ o o o o | 8 o rapid | gentoo |
Note the difference in + (stable) and ~ (testing) or o (not keyworded) status.
But also note that 102.14.0 is also a "very latest" version, even if it is still at 102, with ESR status (that's upstream speak for LTS). So, not ancient at all. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2727
|
Posted: Thu Aug 03, 2023 12:25 pm Post subject: |
|
|
Yeah 102.14.0 was released a mere two days ago (very latest indeed), and is already stable for amd64.
:esr of course gets security fixes on par with the :rapid channel, so either are fine and it's up to preference (:esr stays the same longer to avoid disruptions, while rapid gives you changes sooner) |
|
Back to top |
|
|
G3nt00 Guru
Joined: 09 Apr 2023 Posts: 337
|
Posted: Thu Aug 03, 2023 12:31 pm Post subject: |
|
|
There you said something... :facepalm:
I'm running ESR, so yes, of course it's older... But I need 117, which aparently is in firefox-beta now so will have to wait a while for that to make it into Gentoo then, but soon! But this gave me a very good picture about the choices at hand.
Thanks both! |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Thu Aug 03, 2023 12:39 pm Post subject: |
|
|
If it's only a fix, can't you just add the relevant commit as a local patch for the time being? _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
G3nt00 Guru
Joined: 09 Apr 2023 Posts: 337
|
Posted: Thu Aug 03, 2023 12:43 pm Post subject: |
|
|
stefan11111 wrote: | If it's only a fix, can't you just add the relevant commit as a local patch for the time being? |
I don't know how, but would probably be a way. I wouldn't know where to start with this though; https://bugzilla.mozilla.org/show_bug.cgi?id=1817723 |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
|
Back to top |
|
|
G3nt00 Guru
Joined: 09 Apr 2023 Posts: 337
|
Posted: Thu Aug 03, 2023 1:16 pm Post subject: |
|
|
Ok, so for the first link it will be 11 .patch files? Have I gotten it right then? And if saved in /etc/portage/patches/, will they be automatically applied on rebuild? |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Thu Aug 03, 2023 1:41 pm Post subject: |
|
|
G3nt00 wrote: | Ok, so for the first link it will be 11 .patch files? Have I gotten it right then? And if saved in /etc/portage/patches/, will they be automatically applied on rebuild? |
You don't have to break them up. If you wanted, you could keep a single huge patch file for all 3 commits.
They will be applied on rebuild, assuming that the patches work with your old esr firefox.
If they don't work, you can try using the patches with the latest packaged version of firefox, which seems to be 116.0. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
G3nt00 Guru
Joined: 09 Apr 2023 Posts: 337
|
Posted: Thu Aug 03, 2023 1:44 pm Post subject: |
|
|
Cool, if it won't work with ESR 102 it'll crash on build, how do I clean after that if it should? |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Thu Aug 03, 2023 1:51 pm Post subject: |
|
|
G3nt00 wrote: | Cool, if it won't work with ESR 102 it'll crash on build, how do I clean after that if it should? |
No need to clean anything. Portage will clean after itself.
If the patches fail to apply, the build will fail early.
It will tell you which patch failed to apply and where. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
G3nt00 Guru
Joined: 09 Apr 2023 Posts: 337
|
Posted: Thu Aug 03, 2023 2:51 pm Post subject: |
|
|
Well, thanks for the lesson! It failed hard and from what I can tell needs a more recent build, 115-6 would perhaps work. For another day to try tho. Thanks for the help! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Thu Aug 03, 2023 4:25 pm Post subject: |
|
|
G3nt00,
Appling patches in the right order matters.
When patch B changes patch A, if patch A is not already applied, patch B will fail to apply.
Patches are applied in lexicographical sort order. Have a look at the patches applied by glibc,
10-<something>
20-<something else>
30- ...
That forces the patch application ordering. I don't know if it matters in your case.
Another trap that I keep getting wrong is that eappy_patch uses -p1 so that throws away the first element in the path name in the patch file.
That tells you no file to patch.
What does actually mean? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
G3nt00 Guru
Joined: 09 Apr 2023 Posts: 337
|
Posted: Thu Aug 03, 2023 4:47 pm Post subject: |
|
|
NeddySeagoon wrote: | G3nt00,
Appling patches in the right order matters.
When patch B changes patch A, if patch A is not already applied, patch B will fail to apply.
Patches are applied in lexicographical sort order. Have a look at the patches applied by glibc,
10-<something>
20-<something else>
30- ...
That forces the patch application ordering. I don't know if it matters in your case.
Another trap that I keep getting wrong is that eappy_patch uses -p1 so that throws away the first element in the path name in the patch file.
That tells you no file to patch.
What does actually mean? |
It means I had no idea they had to go in a certain order, and that it failed miserably (probably because of that). I must attend some other things but will come back to it. Thanks |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54308 Location: 56N 3W
|
Posted: Thu Aug 03, 2023 5:06 pm Post subject: |
|
|
G3nt00,
You can speed up your debugging by running ebuild phases separately by hand.
As root, try Code: | ebuild </path/to/.ebuild file> prepare |
See for the phases.
The messages on the screen will tell you the workidir.
cd there, wherever it is, then use the patch command by hand. Just as portage would do.
Code: | patch -p1 < <path_to _first_.patch> |
The messages will be useful _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|