Upgrade to Python 3 and newer Autoconf version #1878

Closed
opened 2 years ago by Ghost · 4 comments
Ghost commented 2 years ago

Hello,

Recently I tried to build Pale Moon 29 on Gentoo.
However, the build process fails early because the Pale Moon build scripts (mach) still use Python 2.7 and an old Autoconf syntax.

In particular, Python 2.7 has been deprecated for more than a year.
On the other hand, the issue I'm having with Autoconf is the --localdir flag, which is not recognised on newer versions.

The latest version of Autoconf is 2.71 for Gentoo, and 2.69 for Debian, meanwhile I've seen mach is still set to Autoconf 2.13.

TL;DR Is it possible to switch to Python 3 and use a newer version of Autoconf (one that does not support the --localdir flag), and/or provide a way to choose between Python 2/3 and old/new Autoconf syntax?

Below is a screenshot of Autoconf 2.71 under Gentoo.

Preview

Hello, Recently I tried to build Pale Moon 29 on Gentoo. However, the build process fails early because the Pale Moon build scripts (mach) still use **Python 2.7** and an old **Autoconf** syntax. In particular, **Python 2.7** has been deprecated for more than a year. On the other hand, the issue I'm having with **Autoconf** is the `--localdir` flag, which is not recognised on newer versions. The latest version of **Autoconf** is _2.71_ for Gentoo, and _2.69_ for Debian, meanwhile I've seen mach is still set to Autoconf _2.13_. **TL;DR** Is it possible to switch to **Python 3** and use a newer version of **Autoconf** (one that does not support the `--localdir` flag), and/or provide a way to choose between **Python** 2/3 and old/new **Autoconf** syntax? Below is a screenshot of **Autoconf** 2.71 under Gentoo. ![Preview](https://repo.palemoon.org/attachments/a7f1cafe-1d7f-4639-8043-bd0acd9db0aa)
Ghost added the
Invalid
label 2 years ago
Poster

Build System issues should be made against the UXP Repo. RESOLVED INVALID for this repo.

However, please don't create a UXP issue for this as it is RESOLVED WONTFIX.

Build System issues should be made against the UXP Repo. `RESOLVED INVALID` for this repo. However, please don't create a UXP issue for this as it is `RESOLVED WONTFIX`.
Moonchild closed this issue 2 years ago
Poster

So what am I supposed to do @mattatobin @Moonchild

So what am I supposed to do @mattatobin @Moonchild
Poster

Get exactly autoconf-2.13 and python2.7 ;)

Get exactly `autoconf-2.13` and `python2.7` ;)
Owner

use deu's overlay or follow the build instructions.

Please go to the forum if you need specific help.

use deu's overlay or follow the build instructions. Please go to the forum if you need specific help.
Moonchild locked as Resolved and limited conversation to collaborators 2 years ago
Moonchild added the
Redirected to forum
label 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: MoonchildProductions/Pale-Moon#1878
Loading…
There is no content yet.