You are not logged in.

#1 2022-08-17 18:16:46

cocon42
Member
Registered: 2022-03-09
Posts: 9

[solved] building torbrowser for pentium4 fails

in past i used torbrowser-launcher to access the tor network on my Archlinux32 machine but
since the last "pacman -Syu" it is broken. I tried also a direct download from torproject.org for 32bit
archs but there is the same error at startup of torbrowser. So i tried to build it from source with makepkg,
all compiling flags match with the pentium4 arch in /etc/makepkg.conf. The source code is downloaded with an snapshot from the archlinux AUR.
The compiling process is stopped and the error (translate it from german) "cannot compile for pentium 4 architecture" is displayed.
Did anybody build the torbrowser for this arch with success or is there a way to force the build from source for the pentium 4 architecture?

p.s. the errors i got with torbrowser-launcher and the precompiled from torproject is better discussed in an another thread

Last edited by cocon42 (2022-08-19 12:48:54)

Offline

#2 2022-08-17 19:35:02

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [solved] building torbrowser for pentium4 fails

I think the error you get from makepkg is down to you not editing the PKGBUILD before doing it and editing the arch line.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2022-08-17 23:10:54

cocon42
Member
Registered: 2022-03-09
Posts: 9

Re: [solved] building torbrowser for pentium4 fails

Levi, you where right! I had a wrong letter in the arch line of PKGBUILD.
Now a new error happens. I have to translate it from the german console output.

...
-->start package()...
install: cannot call stat for 'tor-browser-linux32-11.5.1-de.tar.xz': file or
directory not found.
-->ERROR: an error occurred in package().
break...
[user@distro ]$

in fact i can't find the .xz archive in the whole directory tree.

Any idea what's wrong here?

Offline

#4 2022-08-17 23:16:39

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [solved] building torbrowser for pentium4 fails

I suspect you've only picked up the latter error series there.  I'd expect there to be more helpful errors occurring earlier there.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#5 2022-08-18 07:55:20

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,032
Website

Re: [solved] building torbrowser for pentium4 fails

I can build torbrowser-launcher with the devtools and I'll give it a rebuild.

Offline

#6 2022-08-18 16:00:54

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,032
Website

Re: [solved] building torbrowser for pentium4 fails

torbrowser installs and launches fine for me now..

Offline

#7 2022-08-18 16:01:38

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,032
Website

Re: [solved] building torbrowser for pentium4 fails

Extracting tor-browser-linux32-11.5.1_en-US.tar.xz
Running /home/abaumann/.local/share/torbrowser/tbb/i686/tor-browser_en-US/start-tor-browser.desktop
Launching './Browser/start-tor-browser --detach'...

uh. don't know what it is doing there, but then in crashes..

Offline

#8 2022-08-18 19:15:47

cocon42
Member
Registered: 2022-03-09
Posts: 9

Re: [solved] building torbrowser for pentium4 fails

abaumann wrote:

Extracting tor-browser-linux32-11.5.1_en-US.tar.xz
Running /home/abaumann/.local/share/torbrowser/tbb/i686/tor-browser_en-US/start-tor-browser.desktop
Launching './Browser/start-tor-browser --detach'...

uh. don't know what it is doing there, but then in crashes..

actually i wanted to start a separate thread for this method but maybe it helps to get on the track of this behavior.
Extracting tor-browser-linux32-11.5.1_en-US.tar.xz and running
.../tor-browser_en_US/start-tor-browser.desktop --log gives me:

XPCOMGlueLoad error for file /home/user/Downloads/tor-browser_en-US/Browser/libmozgtk.so:
./TorBrowser/Tor/libstdc++/libstdc++.so.6: version 'GLIBCXX_3.4.30' not found (required
by /usr/lib/libicuuc.so.71)
Couldn't load XPCOM.

That is funny, because all libs are on the right place in this folder.

I don't know if it's important for this error, i'm running an openbox-session
started with a lxdm display manager.

Offline

#9 2022-08-18 20:11:09

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [solved] building torbrowser for pentium4 fails

Snap, I'm also using openbox, although I prefer to start it as a user, so I log into the text mode console first, fix my networking then startx.

I'll just note that I don't use torbrowser, it's easy enough to turn anything firefox based into a tor accessor, just go into settings and tell it use a socks proxy v5 to 127.0.0.1 port 9050. I think tor browser also ships with noscript, so that's probably the next thing to install, even though I'm mostly moved on to using uMatri these days.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#10 2022-08-19 05:40:29

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,032
Website

Re: [solved] building torbrowser for pentium4 fails

XPCOMGlueLoad error for file /home/user/Downloads/tor-browser_en-US/Browser/libmozgtk.so:
./TorBrowser/Tor/libstdc++/libstdc++.so.6: version 'GLIBCXX_3.4.30' not found (required
by /usr/lib/libicuuc.so.71)
Couldn't load XPCOM.

This indicates that the tor/firefox browser (which is downloaded by the launcher) is linked against icu 71, which is linked against a different
C++ runtime. The browser comes with it's own C++ runtime (./TorBrowser/Tor/libstdc++/libstdc++.so.6) but then uses icu of the system
(which is linked against a different C++ runtime). I had some success by copying /usr/lib/libstdc++.so.6 to ./TorBrowser/Tor/libstdc++/libstdc++.so.6),
at least the torbrowser appeared and showed me a webpage.

Also I noticed that this browser requires SSE2, so it will run on the pentium4 subarchitecture only (hence I blacklisted the package for i686 and i486).

I personally have some problems with a package which is using tor and downloading arbitrary binary artifacts from the web. :-)

Offline

#11 2022-08-19 12:39:36

cocon42
Member
Registered: 2022-03-09
Posts: 9

Re: [solved] building torbrowser for pentium4 fails

Excellent, copying the system's libstdc++.so.6 from /usr/lib into the torbrowsers directory tree has solved the problem!
To my knowledge i only recognized that the .so file was present in the system and also in the torbrowser.tar.xz. The error message was then a bit cryptic for me.

thanks for solving the problem, i learned something again!

Offline

#12 2022-08-20 06:41:23

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,032
Website

Re: [solved] building torbrowser for pentium4 fails

you are welcome. :-)

Offline

Board footer

Powered by FluxBB