Version 27 in Linux Topic is solved

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

Barnaby
Hobby Astronomer
Hobby Astronomer
Posts: 22
Joined: Fri Oct 02, 2015 12:27 pm
Location: United Kingdom

Version 27 in Linux

Postby Barnaby » Tue Nov 22, 2016 8:09 pm

I have been using PM for some time now. Every time I have needed to update, it has worked just fine. I am currently running version 26.5.0. Today I see that there is a new version, 27. I use pminstaller.sh as my installer program. This time, when I try to update the package runs as normal, but I am told that I am already using the most up to date version, and the installer will not do anything. Obviously the new version 27 is newer than the one I have at the moment, so how can that be?

Has anyone else had this problem?

User avatar
Andrew Gilbertson
Fanatic
Fanatic
Posts: 237
Joined: Thu Jul 16, 2015 1:43 pm
Location: US/Tampa

Re: Version 27 in Linux

Postby Andrew Gilbertson » Tue Nov 22, 2016 8:40 pm

As Windows gets far more users, the Windows release of a new version is generally released first. Rest assured that a Linux build of version 27 is coming. (But since I'm not involved in getting that released, I can't say precisely when.)

User avatar
mseliger
Moonbather
Moonbather
Posts: 60
Joined: Wed Feb 17, 2016 10:53 am
Contact:

Re: Version 27 in Linux

Postby mseliger » Tue Nov 22, 2016 8:41 pm

The homepage of Pale Moon shows only version 26.5 for Linux.
http://linux.palemoon.org/download/mainline/
I think the linux version will follow in a few days.
Mit freundlichen Grüßen / Greetings
Maria
---
Free Software Foundation: “Our mission is to preserve, protect and promote the freedom to use,
study, copy, modify, and redistribute computer software, and to defend the
rights of Free Software users.”

Barnaby
Hobby Astronomer
Hobby Astronomer
Posts: 22
Joined: Fri Oct 02, 2015 12:27 pm
Location: United Kingdom

Re: Version 27 in Linux

Postby Barnaby » Tue Nov 22, 2016 8:45 pm

Thanks for the replies. I will try to be more patient. Must look after the Windows users first, I understand that. I'll give it a day or two.

Kunagi7
Apollo supporter
Apollo supporter
Posts: 48
Joined: Fri Oct 09, 2015 5:18 pm
Location: Spain

Re: Version 27 in Linux

Postby Kunagi7 » Tue Nov 22, 2016 8:46 pm

Usually we have to wait a few more hours or days until the Linux version is uploaded.

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1346
Joined: Mon May 20, 2013 6:19 pm
Location: Earth
Contact:

Re: Version 27 in Linux  Topic is solved

Postby trava90 » Tue Nov 22, 2016 9:53 pm

Wait no longer, the Linux version is up and ready for downloading.

Kunagi7
Apollo supporter
Apollo supporter
Posts: 48
Joined: Fri Oct 09, 2015 5:18 pm
Location: Spain

Re: Version 27 in Linux

Postby Kunagi7 » Tue Nov 22, 2016 10:09 pm

Thanks, you all really do a great work :thumbup: .

Barnaby
Hobby Astronomer
Hobby Astronomer
Posts: 22
Joined: Fri Oct 02, 2015 12:27 pm
Location: United Kingdom

Re: Version 27 in Linux

Postby Barnaby » Wed Nov 23, 2016 9:06 am

Thanks for the information. I have now installed version 27 in my Linux computer, and it seems fine.

stevepusser
Lunatic
Lunatic
Posts: 267
Joined: Sat Aug 01, 2015 6:33 pm
Location: California

Re: Version 27 in Linux

Postby stevepusser » Wed Nov 23, 2016 11:23 pm

I'm going to rebuild the source in the OBS repo. Other than the switch back to gstreamer 1.0, were there any other changes in the configuration I should watch out for?

I'll also add Ubuntu 16.10 to that repo to see how it builds with gcc-5.

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1346
Joined: Mon May 20, 2013 6:19 pm
Location: Earth
Contact:

Re: Version 27 in Linux

Postby trava90 » Wed Nov 23, 2016 11:27 pm

stevepusser wrote:Other than the switch back to gstreamer 1.0, were there any other changes in the configuration I should watch out for?

Shouldn't be.

stevepusser wrote:I'll also add Ubuntu 16.10 to that repo to see how it builds with gcc-5.

GCC 5 is not recommended - we encountered some crashing issues during beta testing due to the way GCC 5 performs some optimizations.

stevepusser
Lunatic
Lunatic
Posts: 267
Joined: Sat Aug 01, 2015 6:33 pm
Location: California

Re: Version 27 in Linux

Postby stevepusser » Wed Nov 23, 2016 11:58 pm

trava90 wrote:
stevepusser wrote:Other than the switch back to gstreamer 1.0, were there any other changes in the configuration I should watch out for?

Shouldn't be.

stevepusser wrote:I'll also add Ubuntu 16.10 to that repo to see how it builds with gcc-5.

GCC 5 is not recommended - we encountered some crashing issues during beta testing due to the way GCC 5 performs some optimizations.


Thanks for the info! I'll put the 16.10 version in that separate OBS repo with the instructions to make it build with gcc-4.9.

viewtopic.php?f=37&t=13485

stevepusser
Lunatic
Lunatic
Posts: 267
Joined: Sat Aug 01, 2015 6:33 pm
Location: California

Re: Version 27 in Linux

Postby stevepusser » Thu Nov 24, 2016 2:08 am

I get a build failure now with 27.0.0; it can't find the config.status file that's being created in $(OBJDIR) which on my system is /obj-x86_64-unknown-linux-gnu/. 26.5.0 had no problem doing that. The mozconfig file I'm trying is:

Code: Select all

export MOZILLA_OFFICIAL=1
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-official-branding
ac_add_options --enable-application=browser
ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --enable-optimize=-O2
ac_add_options --disable-tests
ac_add_options --disable-mochitests
ac_add_options --disable-debug
ac_add_options --with-pthreads
ac_add_options --enable-shared-js
ac_add_options --enable-jemalloc
ac_add_options --enable-jemalloc-lib
ac_add_options --enable-gstreamer
ac_add_options --enable-optimize
ac_add_options --enable-strip
ac_add_options --x-libraries=/usr/lib
ac_add_options --prefix=/usr


I also tried it without no mozconfig file at all, and still got the same error. I'm redownloading the source on the off chance that I received a corrupted download.

Edit: redownloading the source didn't help, the missing file seems to not be in js/src:

Code: Select all

js/src> updating cache /home/steve/Desktop/downloads/mozilla-downloads/palemoon-27.0.0/palemoon-27.0.0-source/obj-x86_64-unknown-linux-gnu/config.cache
js/src> creating ./config.status
js/src> /bin/sh: 1: ./config.status: not found


I can manually run the configure script in that folder and have it create the file, so it seems there's something preventing that from happening in the main auto build.

Walter Dnes
Lunatic
Lunatic
Posts: 368
Joined: Thu Jul 30, 2015 8:29 pm
Location: Vaughan, ON, Canada

Re: Version 27 in Linux

Postby Walter Dnes » Thu Nov 24, 2016 3:30 am

stevepusser wrote:I get a build failure now with 27.0.0; it can't find the config.status file that's being created in $(OBJDIR) which on my system is /obj-x86_64-unknown-linux-gnu/. 26.5.0 had no problem doing that.
[...deletia...]
I also tried it without no mozconfig file at all, and still got the same error. I'm redownloading the source on the off chance that I received a corrupted download.

It works for me, both for my personal builds, and for the "SSE for Linux" contributed build. In the past I've occasionally run into source files which should have execute permissions set, but do not. That resulted in the weirdest error messages when the build failed. As a matter of fact, the FAQ at one point told people building from source to...

Code: Select all

chmod -R 755 pmsrc/

I have that command incorporated into my generic "robo-builder" script, just to be safe. Try chmod'ing all source files 755 as above, and see if that helps.

Unix Ronin
Apollo supporter
Apollo supporter
Posts: 38
Joined: Wed Feb 11, 2015 1:31 pm
Location: New Hampshire, USA

Re: Version 27 in Linux

Postby Unix Ronin » Fri Nov 25, 2016 8:35 pm

I'm trying to update my Gentoo ebuild (which works fine up to 26.5.0) to 27.0.0, and it's completely failing. So to verify that it would actually build and see if I could get a better feel for what needs to happen, with the intention of starting the ebuild over from scratch, I tried checking out from git and following the official build instructions at http://developer.palemoon.org/Developer ... Moon/Linux. And that didn't work either, with multiple Python errors that I don't know enough about Python to troubleshoot.

Is the 27.0.0 Linux source considered release-stable at this point, and are there any changes to the recommended build procedure for 27.0.0 that I should know about?


(The ebuild I'm using is based on one from a different maintainer who stopped maintaining it, and I don't understand why it does a lot of the things it does, so I'm leaning strongly towards starting over and trying to make the ebuild as clean and as straightforward as possible. There's only one other overlay that offers a Gentoo ebuild for PaleMoon, it's a binary ebuild, and every release in it is masked anyway.)

Walter Dnes
Lunatic
Lunatic
Posts: 368
Joined: Thu Jul 30, 2015 8:29 pm
Location: Vaughan, ON, Canada

Re: Version 27 in Linux

Postby Walter Dnes » Fri Nov 25, 2016 11:15 pm

Unix Ronin wrote:I'm trying to update my Gentoo ebuild (which works fine up to 26.5.0) to 27.0.0, and it's completely failing. So to verify that it would actually build and see if I could get a better feel for what needs to happen, with the intention of starting the ebuild over from scratch, I tried checking out from git and following the official build instructions at http://developer.palemoon.org/Developer ... Moon/Linux. And that didn't work either, with multiple Python errors that I don't know enough about Python to troubleshoot.

I hate to say this, but ALWAYS

Code: Select all

chmod -R 755 pmsrc/

It seems that every major release has a few scripts sneak through without executable bits set. This ripples down to config files not being created, and the strangest error messages result..

Unix Ronin wrote:Is the 27.0.0 Linux source considered release-stable at this point, and are there any changes to the recommended build procedure for 27.0.0 that I should know about?

Hi. I run Gentoo at home. IANAD (I am not a developer), but I do a contributed Pale Moon build for SSE-only (Pentium 3 class) machines viewtopic.php?f=40&t=13530 The build is done via a script in a CentOS VM. But I've run into just about all the booby-traps there are to run into. While I'm not a developer/programmer, I may be able to help you with your questions "why it does a lot of the things it does". Maybe you should start a separate thread "Working on a Gentoo ebuild" in this forum. I also do a personal "-march=native" build for my desktop and a "-march=bonnell" build for my ancient netbook.

To answer your 2 immediate questions...
  1. The developers are working on moving HTML5 audio/video away from Gstreamer, and instead talking directly to ffmpeg
  2. The build procedure now uses "./mach" instead of "make".

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1346
Joined: Mon May 20, 2013 6:19 pm
Location: Earth
Contact:

Re: Version 27 in Linux

Postby trava90 » Sat Nov 26, 2016 2:37 am

What error message are you getting?

stevepusser
Lunatic
Lunatic
Posts: 267
Joined: Sat Aug 01, 2015 6:33 pm
Location: California

Re: Version 27 in Linux

Postby stevepusser » Sat Nov 26, 2016 5:52 pm

Walter Dnes wrote:
stevepusser wrote:I get a build failure now with 27.0.0; it can't find the config.status file that's being created in $(OBJDIR) which on my system is /obj-x86_64-unknown-linux-gnu/. 26.5.0 had no problem doing that.
[...deletia...]
I also tried it without no mozconfig file at all, and still got the same error. I'm redownloading the source on the off chance that I received a corrupted download.

It works for me, both for my personal builds, and for the "SSE for Linux" contributed build. In the past I've occasionally run into source files which should have execute permissions set, but do not. That resulted in the weirdest error messages when the build failed. As a matter of fact, the FAQ at one point told people building from source to...

Code: Select all

chmod -R 755 pmsrc/

I have that command incorporated into my generic "robo-builder" script, just to be safe. Try chmod'ing all source files 755 as above, and see if that helps.


I've seen build errors every time with the unmodified .7z source download, so have to run that chmod command every time, but will now try a tar.gz of the new github 27.0.1 release, which (github) I should have been using all along. I'll also chmod it, just to make sure.

First I'll have to see if this is the one using ffmpeg instead of gstreamer, and how to configure that. Does it build an internal version like Google Chrome?

Walter Dnes
Lunatic
Lunatic
Posts: 368
Joined: Thu Jul 30, 2015 8:29 pm
Location: Vaughan, ON, Canada

Re: Version 27 in Linux

Postby Walter Dnes » Sat Nov 26, 2016 6:11 pm

stevepusser wrote:First I'll have to see if this is the one using ffmpeg instead of gstreamer, and how to configure that. Does it build an internal version like Google Chrome?

I don't think ffmpeg is in use yet. A change like that would probably trigger an announcement.

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1346
Joined: Mon May 20, 2013 6:19 pm
Location: Earth
Contact:

Re: Version 27 in Linux

Postby trava90 » Sat Nov 26, 2016 6:47 pm

stevepusser wrote:First I'll have to see if this is the one using ffmpeg instead of gstreamer, and how to configure that.

This is planned for 27.1.0. We are still using GStreamer 1.x for the moment.

Unix Ronin
Apollo supporter
Apollo supporter
Posts: 38
Joined: Wed Feb 11, 2015 1:31 pm
Location: New Hampshire, USA

Re: Version 27 in Linux

Postby Unix Ronin » Sat Nov 26, 2016 7:25 pm

I don't see a pmsrc/ directory. I'm assuming it's a shorthand for "whatever directory you git cloned into", and did the chmod on that basis. I've made sure to eselect python-2.7 before starting. (I have 2.7 and 3.4 installed, with 3.4 my normal default.)

This is my working-draft .mozconfig:

Code: Select all

# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
ac_add_options --enable-official-branding
export MOZILLA_OFFICIAL=1

mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser

mk_add_options MOZ_OBJDIR=/home/$USER/Pale-Moon/pmbuild/

ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --disable-pulseaudio
ac_add_options --disable-debug

ac_add_options --enable-release
ac_add_options --enable-jemalloc
ac_add_options --enable-jemalloc-lib
ac_add_options --enable-shared-js
ac_add_options --enable-gstreamer
ac_add_options --prefix=/usr

ac_add_options --enable-strip
ac_add_options --enable-optimize="-march=amdfam10 -g -pipe -mfpmath=sse -mcx16 -mpopcnt"
ac_add_options --with-pthreads

ac_add_options --x-libraries=/usr/lib64


And this is the result of attempting to configure:

Code: Select all

babylon5:alaric:~/Pale-Moon:6 $ ./mach configure
Error running mach:

    ['configure']

The error occurred in mach itself. This is likely a bug in mach itself or a
fundamental problem with a loaded module.

Please consider filing a bug against mach by going to the URL:

    https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&component=mach


If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

AssertionError

  File "/home/alaric/Pale-Moon/python/mach/mach/main.py", line 344, in run
    return self._run(argv)
  File "/home/alaric/Pale-Moon/python/mach/mach/main.py", line 432, in _run
    instance = cls(context)
  File "/home/alaric/Pale-Moon/python/mozbuild/mozbuild/base.py", line 583, in __init__
    detect_virtualenv_mozinfo=detect_virtualenv_mozinfo)
  File "/home/alaric/Pale-Moon/python/mozbuild/mozbuild/base.py", line 165, in from_environment
    config = loader.read_mozconfig(mozconfig, moz_build_app=current_project)
  File "/home/alaric/Pale-Moon/python/mozbuild/mozbuild/mozconfig.py", line 237, in read_mozconfig
    parsed = self._parse_loader_output(output)
  File "/home/alaric/Pale-Moon/python/mozbuild/mozbuild/mozconfig.py", line 347, in _parse_loader_output
    assert not in_variable


This is in a brand new clean git clone.


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: No registered users and 5 guests