Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: zaoqi on March 28, 2017, 04:41:30 AM

Title: firefox-ESR
Post by: zaoqi on March 28, 2017, 04:41:30 AM
firefox-ESR depends on gtk3, not gtk2./firefox-ESR实际依赖gtk3,不是gtk2。
Title: Re: firefox-ESR
Post by: coreplayer2 on March 28, 2017, 11:47:35 AM
Thanks for reporting
:)
Title: Re: firefox-ESR
Post by: coreplayer2 on March 28, 2017, 01:53:55 PM
Also, did you try firefox_getLatest.tcz?  run it to keep updating with latest version or simply to get firefox extension 
Title: Re: firefox-ESR
Post by: thane on April 19, 2017, 03:13:20 PM
Using firefox_getLatest.tcz, I was unable to get Firefox version 53.0, but unfortunately wiped out my 52.x version with the alternate 43.x version.

I'm not clear from the release notes if the 32-bit linux version of Firefox is no longer available, or if there's some glitch in the way Mozilla set up the update.

I'm switching to the ESR version of Firefox in the repo (45.6.0). Per the Mozilla website there is a 52.0esr version available. If indeed 53.0 and subsequent versions no longer support 32-bit linux 52.x will be the latest version I can use.

Maybe time for a hardware upgrade (currently running TC on a 2010 box)!
Title: Re: firefox-ESR
Post by: coreplayer2 on April 19, 2017, 05:10:51 PM
really?  ok let me check..

Update,  ok no problems here other than the connection being slow as molasses.

Maybe try again when the servers are not so busy??

Code: [Select]
Repo in use: http://repo.tinycorelinux.net/7.x/x86/tcz
 TCE directory in use: /mnt/sda2/tc7-x86/optional
 sda2 has: 496 MB free space remaining
===============================================================================

 Fetching dependencies..
 Verifying connection to server, please wait...
 connection ok
squashfs-tools is already downloaded.
squashfs-tools is already installed!
curl is already downloaded.
curl is already installed!
wget is already downloaded.
pcre.tcz: OK
libtasn1.tcz: OK
p11-kit.tcz: OK
nettle.tcz: OK
gnutls.tcz: OK
wget.tcz: OK
bzip2 is already downloaded.
bzip2.tcz: OK
file is already downloaded.
file is already installed!
gtk3 is already downloaded.
gtk3 is already installed!
libasound is already downloaded.
libasound is already installed!
dbus-glib is already downloaded.
dbus-glib is already installed!
hicolor-icon-theme is already downloaded.
hicolor-icon-theme is already installed!
cairo is already downloaded.
cairo is already installed!
gamin is already downloaded.
gamin is already installed!

 Acquiring latest version..

 The Latest version is 53.0
 
--2017-04-19 17:12:10--  http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/53.0/linux-i686/en-US/firefox-53.0.tar.bz2
Resolving download.cdn.mozilla.net (download.cdn.mozilla.net)... 23.215.101.96,23.215.101.112, 2600:1406:28::b833:e8, ...
Connecting to download.cdn.mozilla.net (download.cdn.mozilla.net)|23.215.101.96|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60504818 (58M) [application/x-tar]
Saving to: '/tmp/firefox.tar.bz2'

/tmp/firefox.tar.bz 100%[===================>]  57.70M  2.13MB/s    in 36s     

2017-04-19 17:12:46 (1.60 MB/s) - '/tmp/firefox.tar.bz2' saved [60504818/60504818]



Yes thanks for the reminder, I need to update ESR versions, but only tc-8.x repo will be updated with ESR

BTW you know you can download any firefox version using firefox_getLatest :)  use " firefox_getLatest.sh -m " and type any version esr, beta or other at the prompt
Title: Re: firefox-ESR
Post by: thane on April 19, 2017, 08:05:45 PM
Thanks for the reply. I was able to download version 53.0 using the -m option in a terminal (re-ran the script in usr/local/bin after running the app from the OnDemand menu, which still downloaded version 43.0).
Title: firefox-ESR
Post by: coreplayer2 on April 19, 2017, 10:31:17 PM
Thane,  ok I think you must have been having an internet issue..  Because in case firefox_getLatest could not determine the latest firefox version it searches elsewhere as a last resort for the version number.

v43.0.4 was a fallback version number which I keep online in case all else fails (normally updated but had forgot, my bad...), usually caused by some internet outage or change of http address.  I have updated the fallback to 53.0 now.  Thanks for the reminder.

The real problem is the internet connection, since I am able to access the official firefox version web site without issue and your script is searching for and using the fallback file.
Title: Re: firefox-ESR
Post by: thane on April 20, 2017, 12:08:18 AM
I agree it's not a problem with firefox_getLatest, which I've used to get a number of earlier updates. I've occasionally seen a little flakiness in Firefox updates (e.g. Help/About Firefox indicating updates are available, but the download site not having them) so I'm inclined to think something's out of whack on Mozilla's end. I'll try the default getLatest processing again when the next update comes out (likely a .0.1 coming soon if past upgrades are true to form). Thanks for your help.
Title: Re: firefox-ESR
Post by: coreplayer2 on April 25, 2017, 05:27:49 AM
Thane, guess what?

I've never seen the alternate method used for real, but while testing WiFi adapters on TC-8 this occured
Code: [Select]
Acquiring latest version..
 Version not found,
 attempting alternate method..

 The Latest version is 53.0
 
--2017-04-25 05:20:34--  http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/53.0/linux-i686/en-US/firefox-53.0.tar.bz2
Resolving download.cdn.mozilla.net (download.cdn.mozilla.net)... 23.215.100.138, 23.215.100.147, 2600:1406:28::b833:f8, ...
Connecting to download.cdn.mozilla.net (download.cdn.mozilla.net)|23.215.100.138|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60504818 (58M) [application/x-tar]
Saving to: '/tmp/firefox.tar.bz2'

/tmp/firefox.tar.bz2                     100%[================================================================================>]  57.70M  3.23MB/s    in 18s     

2017-04-25 05:20:52 (3.22 MB/s) - '/tmp/firefox.tar.bz2' saved [60504818/60504818]


Looking into this further...
Title: Re: firefox-ESR
Post by: simonc_67 on May 04, 2017, 01:53:26 AM
I downloaded fresh TinyCore 8.0. Used Apps to get firefox-ESR. It only works after you pull in gtk2 as well.

Without it you get a message XPCOMGlueLoad error for file /tmp/tcloop/firefox-ESR/usr/local/firefox-ESR/libxu1.so:
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory couldn't load XPCOM.

Dep file needs changing? or dependancy removing from binary?
Title: Re: firefox-ESR
Post by: 47dc7a6a on May 22, 2017, 05:54:12 AM
I had the same issue as simonc_67 with a fresh install of TinyCore 8.0.  Pulling gtk2 also fixed it for me.
Title: Re: firefox-ESR
Post by: coreplayer2 on May 22, 2017, 12:13:58 PM
I downloaded fresh TinyCore 8.0. Used Apps to get firefox-ESR. It only works after you pull in gtk2 as well.

Without it you get a message XPCOMGlueLoad error for file /tmp/tcloop/firefox-ESR/usr/local/firefox-ESR/libxu1.so:
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory couldn't load XPCOM.

Dep file needs changing? or dependancy removing from binary?

Quote
I had the same issue as simonc_67 with a fresh install of TinyCore 8.0.  Pulling gtk2 also fixed it for me.

In my tests with TC-7.2 base install, I downloaded firefox-ESR from the repo and it ran perfectly without GTK2
This screenshot from today's (GTK3 only) test:
(https://dl.dropboxusercontent.com/u/35323031/tinycore_photos/screenshot_0522115718.png)


UPDATE:  On further investigation looks like firefox-ESR in TC-8.x repo is an older version (didn't get updated), so I'll submit an update asap.  In the meantime you can update your copy of firefox-ESR using "firefox_getLatest extension; load the extension and run
Code: [Select]
firefox_getLatest.sh -mThen enter 52.1.2esr  at the prompt

Then you'll have the very latest :)

Title: Re: firefox-ESR
Post by: coreplayer2 on May 22, 2017, 02:08:47 PM
More testing of the latest Firefox and Firefox-ESR revealed on TC-8.x using Xvesa (not Xorg) the library "libGLESv2" is missing..
So i'll add libGLESv2.tcz to the firefox deps
GTK3 is standard on the latest firefox versions, so no change there..

I'll update the info file with other optional deps like
adwaita-icon-theme.tcz, and
libavcodec.tcz
Title: Re: firefox-ESR
Post by: tcFan on June 17, 2017, 02:47:14 PM
Also having problems with FF:

"firefox: symbol lookup error: /usr/local/lib/libgtk-3.so.0: undefined symbol: g_log_structured"

The following Refs[1][2][3] seem to suggest the version of gtk need be 3.4? the one I get from the tc repo are 3.2 (22?). I'm on TC 8, 32 bit.

So my only guess is that the latest version (I don't use ESR) began to use something that the tc version doesn't have anymore and it went unnoticed until now.

Pretty much only that installed. (gtk2 didn't help) Any ideas?

Refs.:
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1272982
[2] https://bugs.archlinux.org/task/51432
[3] https://stackoverflow.com/questions/14993659/ubuntu-12-10-libgtk-3-0-missing-symbols
Title: Re: firefox-ESR
Post by: coreplayer2 on June 17, 2017, 03:07:28 PM
Gtk2 not required with latest submission but gtk2 is required for Flash

Latest Firefox-ESR was tested with default tc-7.2 and tc-8.x x86 & x86_64 with Xvesa and Xorg

However I'll check again incase some dep has changed
Thanks


Sent from my iPhone using Tapatalk
Title: Re: firefox-ESR
Post by: tcFan on June 17, 2017, 06:59:42 PM
Just to clarify, I meant I'm trying to use the "get-latest" script, it fails to start (with the error above) after installation. I'll try the pre-made package (the ESR if I'm not misunderstanding it?) but it'll probably work.
Title: Re: firefox-ESR
Post by: coreplayer2 on June 17, 2017, 07:12:27 PM
Also having problems with FF:

"firefox: symbol lookup error: /usr/local/lib/libgtk-3.so.0: undefined symbol: g_log_structured"
The following Refs[1][2][3] seem to suggest the version of gtk need be 3.4? the one I get from the tc repo are 3.2 (22?). I'm on TC 8, 32 bit.
So my only guess is that the latest version (I don't use ESR) began to use something that the tc version doesn't have anymore and it went unnoticed until now.
Pretty much only that installed. (gtk2 didn't help) Any ideas?
(https://u35323031.dl.dropboxusercontent.com/u/35323031/tinycore_photos/screenshot_0617180707.png)
(https://u35323031.dl.dropboxusercontent.com/u/35323031/tinycore_photos/screenshot_0617184828.png)
As you can see the first example Firefox (ESR) appears to run fine in TC-8.x x86 Base install using Xvesa.
Second example is the latest Firefox v54.0 (from firefox_getLatest extension) also on TC-8.x x86 Base install using Xvesa.

the runtime warnings shown asui are trivial and are because of running on Xvesa. 

So tcFan,  it looks to me that gtk3 is missing from your installation.  You shouldn't have an old version of firefox_getlatest,  have you recently updated firefox_getLatest which will have created the dep file to install gtk3 ? 


Title: Re: firefox-ESR
Post by: coreplayer2 on June 17, 2017, 07:14:56 PM
Just to clarify, I meant I'm trying to use the "get-latest" script, it fails to start (with the error above) after installation. I'll try the pre-made package (the ESR if I'm not misunderstanding it?) but it'll probably work.

Just to clarify,  are you referring to a "get-latest" script 
or the firefox_getLatest extension ??
Title: Re: firefox-ESR
Post by: tcFan on June 18, 2017, 05:36:05 PM
> or the firefox_getLatest extension ??

yes, sorry, I mean the extension.

> As you can see

What do you mean? is there an image there, maybe its getting blocked...

>  it looks to me that gtk3 is missing from your installation.

system stats say it's installed..

> have you recently updated firefox_getLatest

this is pretty much a fresh "install" (I do it manually, maybe it's a permission thing again, but all this worked with the previous version), just went for firefox_getLatest, and it installed fine.. I try loading it and the icon shows up but FF never starts. trying from the console gives that message I pasted.

Just tried ESR now and, also same problem so, indeed, this is pretty much something missing here. Tried both with the radeon and with the Xvesa drivers... should I check missing deps or something? but it's all out of the box, so to speak.. maybe the link to that shared library is the problem, I installed gtk2 but put it onDemand for a different purpose, could that interfere somehow?
Title: Re: firefox-ESR
Post by: gerald_clark on June 18, 2017, 06:01:23 PM
You cannot run gtk2 as a program, so it should never be on-demand.
It is a dependency, and will only be loaded when you load a program that depends on it.
Title: Re: firefox-ESR
Post by: coreplayer2 on June 18, 2017, 08:01:38 PM
> As you can see

What do you mean? is there an image there, maybe its getting blocked...
Yes there are two images showing Firefox and firefox-ESR being installed, loaded and running with GTK3 from a default tinycore onboot.lst from iso.   Firefox-ESR was installed with APPS as shown and latest firefox was installed using firefox_getLatest extension.

Anybody else not see the posted images?  the screenshots are made public, but there have been some permission changes recently
http://forum.tinycorelinux.net/index.php/topic,20883.msg132298.html#msg132298 (http://forum.tinycorelinux.net/index.php/topic,20883.msg132298.html#msg132298)

Note: gtk2.tcz is not required for current Firefox versions

please show contents of "onboot.lst"  thanks

Don't worry, I'm sure we'll get to the bottom of this..
Title: Re: firefox-ESR
Post by: Rich on June 18, 2017, 08:45:33 PM
Hi coreplayer2
Quote
Anybody else not see the posted images?
The problem must be at his end. I see the images just fine.
Title: Re: firefox-ESR
Post by: coreplayer2 on June 18, 2017, 08:57:36 PM
Thank you Rich for confirming 
Title: Re: firefox-ESR
Post by: coreplayer2 on June 18, 2017, 09:05:17 PM
While I'm here,  because I had to verify if this issue was systemic or just effecting the OP; I downloaded the latest tinycore.iso, burned it to a CD and booted it.  I used APPS to download and install firefox-ESR and it runs just fine,  actually fine enough to post this reply.  So all is good afaik.
 :P
Title: Re: firefox-ESR
Post by: polikuo on June 18, 2017, 10:01:09 PM
How about libXt.tcz ?
I believe it's a dependence of firefox which is not listed in the dep file.
Title: Re: firefox-ESR
Post by: coreplayer2 on June 19, 2017, 12:06:41 AM
How about libXt.tcz ?
I believe it's a dependence of Firefox which is not listed in the dep file.
Thanks, however I think he would receive an "error while loading shared libraries: libXt.so*: cannot open shared object file: No such file or directory" message, but that was not the case afaik

Besides, isn't libXt an Xorg  widget toolkit and a dep of Xorg.7.7-lib which is a dep of Firefox-ESR but not of firefox if installed via firefox-getLatest.

Perhaps tcFan could load Xorg.7.7-lib extension and give feedback please?
Title: Re: firefox-ESR
Post by: coreplayer2 on June 19, 2017, 12:43:10 AM
@ tcFan
I don't know the history of the function "g_log_structured ()"  like when it was introduced, but clearly there's a version conflict here.

So if loading Xorg.7.7-lib.tcz doesn't resolve your issue, post the entire error message here.

Then try this please:
  download the latest tinycore.iso, burned it to a CD and boot it.  use APPS to download and install firefox-ESR and try to run it please..

Title: Re: firefox-ESR
Post by: tcFan on June 19, 2017, 02:56:48 PM
> so it should never be on-demand.

Here's the thing, I have to run another application from the console and this was the only thing that worked. (something about libxul, which was mentioned on 1 of those refs I placed) Btw, this makes your forum really difficult to access and most other ways, when they are not super slow or blocked, don't show the images there (dropbox is blocking). This application is supposedly stand-alone but obviously depends on some things, it also complained about not finding "file", bash (it has an explicit clause on the start script not to be run by things like "sh <cmd>") but those 2 .tcz now seem to load at boot (I think checking for unneeded said it was Xorg7.7 which is loading them now, i dont remember, I have to boot into something else to come here.. btw, it also said Xorg-lib is unneeded (and it is already loaded)), though it still complains about not finding getconf (although it runs now, after I load gtk2, onDemand). I have not checked libXt.

I don't have an optical drive here. I extract into a partition planning to use install but, up 'til now, I just end up using the thing itself and never run install. Here's the onboot.lst:

Code: [Select]
firmware-radeon.tcz
xf86-video-ati.tcz
aterm.tcz
flwm_topside.tcz
wbar.tcz
kmaps.tcz
wifi.tcz
iw.tcz
pci-utils.tcz
graphics-4.8.17-tinycore.tcz
Xorg-7.7.tcz

Something strange I notice is that Xorg-7.7 loads xf86-vesa as a dep, even though I placed the radeon and ati blobs at the top. Maybe try updating something? like gtk3.. what is your version of gtk3? The ref I posted mentioned at the end that glib version was the problem.
Title: Re: firefox-ESR
Post by: coreplayer2 on June 19, 2017, 11:34:12 PM
...
This application is supposedly stand-alone but obviously depends on some things, it also complained about not finding "file", bash (it has an explicit clause on the start script not to be run by things like "sh <cmd>") but those 2 .tcz now seem to load at boot
...
I'm sorry, what application are you referring to?


Quote
Quote
> so it should never be on-demand.
btw, it also said Xorg-lib is unneeded (and it is already loaded)), though it still complains about not finding getconf (although it runs now, after I load gtk2, onDemand)

Sorry my friend but you can't continue like this..
Please do not use the unneeded feature until your system is up and running 100% for a good period of time.    In today's machines there is no need for any extension to be loaded via OnDemand, imo unless your machine is more than 20 years old I believe it's more a personal preference.   aiui libraries will never be run from ondemand, though you can install from ondemand manually.      Besides that, unless gtk2 is needed for your special application why is gtk2 installed on your system at all?  If really needed then list gtk2 in onboot.lst or better still list in your application's dep file.    If firefox needs components of gtk2 they are already included within the Firefox extension,  Firefox has been built with GTK3 for some time in any case.
The way I see it..  you've attempted to make your system as efficient as possible but in the process have uninstalled required components, while all required extensions are likely present they're just not installed and or updated.     Additionally at least one extension is installed inappropriately via OnDemand..   Please familiarize yourself with the APPS > update feature for regular updates of all extensions and the Update deps feature, might come in handy..

Quote
what is your version of gtk3?
Same as yours; gtk3.0.22 on all tinycore 8.x installations and the latest CD i just created and ran with firefox-ESR and booted again this time ran firefox_getlatest all downloaded each time direct from the repo without any issue or error message at runtime.

Quote
Something strange I notice is that Xorg-7.7 loads xf86-vesa as a dep, even though I placed the radeon and ati blobs at the top.
It's a fallback to use if Xorg is unable to use any other driver in the list.

Quote
I don't have an optical drive here. I extract into a partition planning to use install but, up 'til now, I just end up using the thing itself and never run install. Here's the onboot.lst:

Code: [Select]
firmware-radeon.tcz
xf86-video-ati.tcz
aterm.tcz
flwm_topside.tcz
wbar.tcz
kmaps.tcz
wifi.tcz
iw.tcz
pci-utils.tcz
graphics-4.8.17-tinycore.tcz
Xorg-7.7.tcz



Here is the default onboot.lst 
Code: [Select]
aterm.tcz
fltk-1.3.tcz
flwm_topside.tcz
freetype.tcz
imlib2-bin.tcz
imlib2.tcz
libfontenc.tcz
libICE.tcz
libjpeg-turbo.tcz
libpng.tcz
libSM.tcz
libX11.tcz
libXau.tcz
libxcb.tcz
libXdmcp.tcz
libXext.tcz
libXfont.tcz
libXi.tcz
libXmu.tcz
libXpm.tcz
libXrandr.tcz
libXrender.tcz
wbar.tcz
Xlibs.tcz
Xprogs.tcz
Xvesa.tcz

I realize that some of the above extensions maybe deps of Xorg, however rather than chasing your tail, for now maybe best to start over with a clean install from the latest tincore.iso, if you install manually remember to change the cde directory name to tce   then if wifi is needed to connect; install wifi and firmware  I don't see wifi adapter firmware in your onboot.lst?).  Then use firefox_getLatest to install firefox, there should be no errors or missing files.   Then when firefox is running as expected install Xorg

Title: Re: firefox-ESR
Post by: polikuo on June 20, 2017, 02:18:28 AM
I think checking for unneeded said it was Xorg7.7 which is loading them now, i dont remember, I have to boot into something else to come here.. btw, it also said Xorg-lib is unneeded (and it is already loaded)

Something strange I notice is that Xorg-7.7 loads xf86-vesa as a dep, even though I placed the radeon and ati blobs at the top

You misunderstood.

The onboot-unneeded checks for redundant tczs that will be loaded after boot whether it is listed in onboot.lst or not.

Most tcz has it's own dep file.

Every time TC loads an extension, tce-load recursively checks for the dependencies and loads them along with the extension you specified.
Title: Re: firefox-ESR
Post by: tcFan on June 20, 2017, 02:56:30 PM
>  Maybe try updating something? The ref I posted mentioned at the end that glib version was the problem.

Updating glib2 fixedit. :)  Sorry for any exasperation..

> You misunderstood.

I placed them on the .lst for this sole purpose.

Cheers!
Title: Re: firefox-ESR
Post by: coreplayer2 on June 20, 2017, 05:16:00 PM
Glad you updated your system and fixed the issue.   

Title: Re: firefox-ESR
Post by: tcFan on June 21, 2017, 04:42:15 PM
Thanks man.

Maybe APPS could have a reminder to upgrade everything after a fresh install. : -)