Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: cute curtis on October 30, 2023, 07:47:42 AM

Title: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on October 30, 2023, 07:47:42 AM
Hi, I tried to port this browser to tcz but I got problems. It is corrupted. I've installed onboot all necessary dep and build files including gtk3. The logo is not appearing upon loading/installing. I have to put it on onboot.lst and then reboot. Then upon running in the command line some weird text blobs appeared in my explorer.

P.S. I got same error with Telegram and Chromium binaries similar to line:16 syntax error "(" unexpected

Code: [Select]
tc@box:~$ seamonkey
/usr/local/bin/seamonkey: line 1: ELF: not found
/usr/local/bin/seamonkey: line 2: can't open ƒg: no such file
/usr/local/bin/seamonkey: line 3: q‚D: not found
/usr/local/bin/seamonkey: line 4: $…¤0È •EAF,‚¨X$Ì: not found^[[?1;2c
/usr/local/bin/seamonkey: line 5: ís†Ëëu}•¥“ÌëΪtNyUwKÅf•óæõúÌ𐹍ñ´ãÕ›Ô: not found
 BA$‘4gijkotuvxyz|~€ƒ…†‰Ž’–—˜™šž ¤¥§¨©«¬­®²´µ¸º»¿ÀÁÄÆÇÈÉÌÎÏÑÓÕÖØÛÝßãäæèéíîðóöøùúüþ
ÊÞھː/ûµ¾çØ?˜¨pHfZbü }Ôžß)Nˆ¶ÆÓ³z’›þ²ŽR§: not found
/usr/local/bin/seamonkey: line 4: —æxŠ…: not found
/usr/local/bin/seamonkey: line 14: ÆåÅêQ5ÛÍãž®€ÏwuL æiCäE«9°ÊÓÀïNK!’JôÕ~QFԐ°¾ßY‘çn›5ˆŽ‹ppy•-0î^Ÿ9ǁvþˆàQþήg78¨KNf¾õ@å:S;ú5—è÷³M‚±¨"+u¦/d¡Fùýoè<FÙs‹2bÛ휸ŠZlÓsg©8ì³_¼ñP     ŒÌÙ¨&3}Iƒ¿è©ÖÙ¿ÓÌë•(Lþ‚1ì6•Ïé¨08úÊ3¦›“¯ÔöB6sî³áÆK.H‡§ZX_à(z‚cOtb4öòÕ¿;U‡Õ;6ò†z
               8OÛŠV²Ç·"™úÙqXP¨fÚôÈN„áé×úó¤ô#k[        É÷+
7Eå:ãn5VÍå:üṉ{~9L
                   >¯á ÚmGíÉà_k•ÉB´s‹3!6bZ
                                          6e£(ó5Í4Îò)¾íÉÀ#Æ®¶P¶A®÷{9Ò²†èô½ƒ€dD12¿£%Þ@m¬KãÀÜF)¥£‚
                  s»ã’|lä¬a·~kôêÓï41‚Ëëbà      Q²‹Êw°³¯Ähg–öÈr„ù×E
                                                                   ¯FµRo‚b•CEÕì
                                                                               â:—Ñ~”«<°zΙh=­9
  Ó¸‡ð–|ŠjUYËm·4…mŽo<óÑI·H§å\c¼ÃiJcaŒr>jÏÙÃBÆà=us€†¤‘CµõÌvâØ¹òJ¦Õõq§#—Ñå:Od=ˆñÉàæšiKç8"Èö
³ñEÌ|ª>LôXRO76ÑVíW8™ÛX5­êm»k   CÖòµ¼á{$½(Šƒ!Y’“Õ¤ê8PHjÂå[Ä ý§D2`¨rеšÈ ~n»"úÁ(ÛM†ï„ñA/_Ó7
|ÇK%óù§ÞžX´u­¨ ª+TY…>áè¢ÖQÛÜpfm?"Ó›æ)·^ù‹Øs
 ì@¦x ƒ¦                                     
pvC¬Ì   
 A?!
Pî@WÍ
à"BH#
     ˜N@
`JCS‘ƒdx
Y@Á¦/    †d@
P£CŸ†dŸ
ÀB
ÀJCJ³–ƒdÆ
PBE: not found
^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c A‚yÇ;2c^[[?1;2c/usr/local/bin/seamonkey: line 15:
þ@²Ø: not found
/usr/local/bin/seamonkey: line 16: syntax error: unexpected "("
tc@box:~$ ?1;2c?1;2c?1;2c?1;2c?1;2c?1;2c?1;2c

Regards,
Curtis


https://drive.google.com/file/d/12iJe4CXIQLIFHym4ORb5TEoTktP4zScu/view?usp=sharing
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on October 30, 2023, 07:51:55 AM
Which version and architecture of tinycore are you using?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on October 30, 2023, 12:15:44 PM
Sorry, I'm using Tinycore 14 x64 and building with same architecture.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on October 30, 2023, 12:23:19 PM
The pre-compiled version of seamonkey you’re using expects the loader to be found in /lib64 - did you make a symlink /lib64 -> /lib?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on October 31, 2023, 06:45:16 AM
I can't find lib64 folder should I make it first, what is the full path?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on October 31, 2023, 06:57:49 AM
Code: [Select]
sudo ln -s /lib /lib64
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 02, 2023, 12:52:37 AM
Still corrupted

(https://i.imgur.com/diEEdbM.png)

(https://i.imgur.com/k5wRFPy.png)

Code: [Select]
tc@box:~$ sudo find / -name lib64
/lib64
tc@box:~$ cd /lib64
tc@box:/lib64$ ls
ld-linux.so.2           libe2p.so.2             libnss_hesiod.so.2
libBrokenLocale.so.1    libe2p.so.2.3           libpcprofile.so
libanl.so.1             libext2fs.so.2          libpthread.so.0
libblkid.so.1           libext2fs.so.2.4        libresolv.so.2
libblkid.so.1.1.0       libm.so.6               librt.so.1
libc.so.6               libmemusage.so          libthread_db.so.1
libc_malloc_debug.so.0  libnsl.so.1             libutil.so.1
libcom_err.so.2         libnss_compat.so.2      libuuid.so.1
libcom_err.so.2.1       libnss_db.so.2          libuuid.so.1.3.0
libcrypt.so.1           libnss_dns.so.2         modules/
libdl.so.2              libnss_files.so.2       udev/

tc@box:~/lab/redpack/seamonkey-2.53.17.1-en-US.linux-x86_64$ cd /
tc@box:/$ tce-load -i seamonkey.tcz
seamonkey.tcz: OK
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 02, 2023, 01:13:51 AM
Hi cute curtis
It looks like the system is unaware of the symlink.
Try this:
Code: [Select]
hash -r
seamonkey

Or start a new terminal and try launching seamonkey from that.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 03, 2023, 02:06:34 AM
Still to no avail, btw Gconf is the only prerequisite I have not installed because there's no tcz extension available.

Linux Build Prerequisites
The following packages are required:
autoconf-2.13, python-2.7.18, python-3.6.6, nasm-2.14.x, clang-5, gcc-7, rustc-1.61.0, unzip-6.0 and zip-3.0
Note: For 2.53.x even though 1.61.0 is the minimum rustc version, 1.66.1 is the preferred one. We also recommend using at least gcc 8.3.1 or clang 9 for building.

The following development packages are required:
alsa-lib, dbus-glib, GConf2, gtk+-3.24.x, libXt, pulseaudio-libs and yasm-1.3.0


(https://i.imgur.com/vs3PROf.png)
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 03, 2023, 05:14:54 AM
Are you trying to compile seamonkey from source or package an already built version of seamonkey?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 03, 2023, 05:48:39 AM
First I was trying locally compile by trying to execute the seamonkey executable in the tar.bz2 package but the result is like what in the images - a corrupted message. Then I try the second method which was replacing the content of the existing tcz which is the seamonkey-noSSE2.tcz in this case but the result is the same.


P.S. I see that the latest version has no gtk folder
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 03, 2023, 12:25:12 PM
See here for how to compile seamonkey: https://www.linuxfromscratch.org/blfs/view/svn/xsoft/seamonkey.html
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 03, 2023, 06:31:30 PM
1)I have question, is the mozconfig different from executable ./configure file? I don't see any executable ./configure file

Code: [Select]
tc@box:~/lab/redpack/seamonkey-2.53.17.1$ ls
AUTHORS              gfx/                 mozilla-config.h.in
GNUmakefile          gradle/              netwerk/
LEGAL                gradle.properties    nsprpub/
LICENSE              gradlew              old-configure.in
README.txt           hal/                 other-licenses/
accessible/          image/               package-lock.json
addon-sdk/           intl/                parser/
browser/             ipc/                 python/
build/               js/                  rdf/
caps/                layout/              security/
chrome/              media/               services/
config/              memory/              servo/
devtools/            mfbt/                startupcache/
docshell/            mobile/              storage/
dom/                 modules/             test.mozbuild
editor/              moz.build            testing/
extensions/          mozglue/             third_party/
tc@box:~/lab/redpack/seamonkey-2.53.17.1$


2) What is the difference between these two links, the first one is what I have and I also don't see any executable ./configure file:

https://archive.mozilla.org/pub/seamonkey/releases/2.53.17.1/linux-x86_64/en-US/seamonkey-2.53.17.1.en-US.linux-x86_64.tar.bz2 (https://archive.mozilla.org/pub/seamonkey/releases/2.53.17.1/linux-x86_64/en-US/seamonkey-2.53.17.1.en-US.linux-x86_64.tar.bz2)

https://archive.mozilla.org/pub/seamonkey/releases/2.53.17.1/source/seamonkey-2.53.17.1.source.tar.xz (https://archive.mozilla.org/pub/seamonkey/releases/2.53.17.1/source/seamonkey-2.53.17.1.source.tar.xz)


3) Should I make this patch file executable or just rename it with .patch suffix?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 03, 2023, 08:02:21 PM
Hi cute curtis
... 2) What is the difference between these two links, the first one is what I have and I also don't see any executable ./configure file: ...
The first link points to a pre-compiled package.
The second link points to a source code package which does contain a  ./configure  file.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 04, 2023, 05:29:01 AM
3) Should I make this patch file executable or just rename it with .patch suffix?

No need to make the patch file executable and it already has a .patch suffix: https://www.linuxfromscratch.org/patches/blfs/svn/seamonkey-2.53.17.1-consolidated_fixes-1.patch
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 04, 2023, 09:30:48 AM
Should I first have to make mozconfig file before compiling? Where should I place it?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 04, 2023, 09:52:56 AM
Yes, you need to create a mozconfig and place it In the seamonkey-2.53.17.1 directory.

Note that you need prefix=/usr/local and to make a decision about alsa or pulseaudio.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 06, 2023, 11:48:12 AM
Hi, which one of the configure files should I execute?

Code: [Select]
tc@box:~$ cd /home/tc/seamonkey-2.53.17.1
tc@box:~/seamonkey-2.53.17.1$ sudo find / -name configure
/home/tc/seamonkey-2.53.17.1/media/libvpx/libvpx/configure
/home/tc/seamonkey-2.53.17.1/js/src/configure
/home/tc/seamonkey-2.53.17.1/js/src/ctypes/libffi/configure
/home/tc/seamonkey-2.53.17.1/intl/icu/source/configure
tc@box:~/seamonkey-2.53.17.1$ ls
AUTHORS              config/              image/
GNUmakefile          devtools/            intl/
LEGAL                docshell/            ipc/
LICENSE              dom/                 js/
README.txt           editor/              layout/
accessible/          extensions/          media/
addon-sdk/           gfx/                 moz.build
browser/             gradle/              mozilla-config.h.in
build/               gradle.properties    package-lock.json
caps/                gradlew
chrome/              hal/


Also is the config.mk the equivalent of make?

Code: [Select]
tc@box:~/seamonkey-2.53.17.1$ cd config
tc@box:~/seamonkey-2.53.17.1/config$ ls
AB_rCD.mk
Makefile.in
Moz/
MozZipFile.py
__pycache__/
autoconf-js.mk.in
autoconf.mk.in
baseconfig.mk
check_js_msg_encoding.py
check_js_opcode.py
check_macroassembler_style.py
check_source_count.py
check_spidermonkey_style.py
check_vanilla_allocations.py
[b]config.mk[/b]
createprecomplete.py
emptyvars-js.mk.in
emptyvars.mk.in
external/
faster/
find_OOM_errors.py
gcc-stl-wrapper.template.h
gcc_hidden.h
install.bat
make-stl-wrappers.py
make-system-wrappers.py
makefiles/
milestone.txt
moz.build
mozunit/
msvc-stl-wrapper.template.h
nsinstall.c
nsinstall.py
pathsub.c
pathsub.h
printconfigsetting.py
printprereleasesuffix.py
rebuild_check.py
recurse.mk
rules.mk
run-and-prefix.py
run_spidermonkey_checks.py.1463425needs1063728.later
static-checking-config.mk
stl-headers.mozbuild
system-headers.mozbuild
tests/
version.mk
version_win.pl
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 06, 2023, 11:53:31 AM
Did you read the blfs instructions?

Assuming you applied the patch and executed the sed command, then:
Code: [Select]
./mach configure
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 11, 2023, 08:33:11 AM
hi, should I also place this in mozconfig file?

Quote
Suggested compiler flags on x86_64 (for compatibility; see also the forum thread):

export CFLAGS="-mtune=generic -Os -pipe"
export CXXFLAGS="-mtune=generic -Os -pipe"
export LDFLAGS="-Wl,-O1"
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 11, 2023, 08:44:13 AM
Those go in the terminal window - the blfs instructions recommend using clang instead of gcc and I’m not sure if they would be used/accepted by clang.

I can post a seamonkey extension if you’d like?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 11, 2023, 08:59:19 AM
Well I'm not really in a hurry but that would be great! Actually I'm going to try port Chromium next. Just need to learn how to port extensions to tinycore. If this is not much maybe you could send me a share screen tutorial.

I appreciate all the support. Thanks!
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 11, 2023, 09:54:13 AM
seamonkey posted - the build notes are here: http://tinycorelinux.net/14.x/x86_64/tcz/src/seamonkey/compile_seamonkey
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 11, 2023, 12:08:00 PM
ok thanks!
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 11, 2023, 12:14:17 PM
I have question, why there's no --prefix=/usr/local in this line?

Code: [Select]
CC=clang CXX=clang++ ./mach configure
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 11, 2023, 12:21:27 PM
It’s in mozconfig.

See: http://www.tinycorelinux.net/14.x/x86_64/tcz/src/seamonkey/
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 19, 2023, 09:29:58 AM
Hi, I've got error both in patching and sed

Code: [Select]
tc@box:~/lab$ patch -Np1 -i seamonkey-2.53.17.1-consolidated_fixes-1.patch
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Submitted By:            Douglas R. Reno <renodr at linuxfromscratch dot org>
|Date:                    2023-10-16
|Initial Package Version: 2.53.17.1
|Origin:                  Upstream (in https://gitlab.com/frg/seamonkey-253-patches)
|Upstream Status:         Applied
|Description:             Fixes several CVEs in Seamonkey's bundled copy of libvpx,
|                         including CVE-2023-44488, CVE-2023-5217, CVE-2019-9232,
|                         CVE-2019-9325, CVE-2023-9371, and CVE-2023-9433.
|                         Thank you Ken for the original patches, yours are almost
|                         identical to what upstream has in the imminent 2.53.18
|                         release.
|
|diff -Naurp seamonkey-2.53.17.1.orig/media/libvpx/libvpx/test/decode_api_test.cc seamonkey-2.          53.17.1/media/libvpx/libvpx/test/decode_api_test.cc
|--- seamonkey-2.53.17.1.orig/media/libvpx/libvpx/test/decode_api_test.cc       2020-10-20 14:          17:58.000000000 -0500
|+++ seamonkey-2.53.17.1/media/libvpx/libvpx/test/decode_api_test.cc    2023-10-16 12:39:06.94          7145620 -0500
--------------------------
File to patch:

Code: [Select]
tc@box:~$ cd /home/tc/lab
tc@box:~/lab$ sed -e '1012 s/stderr=devnull/stderr=subprocess.DEVNULL/' -e '1013
 s/OSError/(OSError, subprocess.CalledProcessError)/' -i third_party/python/dist
ro/distro.py
sed: can't read third_party/python/distro/distro.py: No such file or directory
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 20, 2023, 04:50:16 AM
You need to be in the correct place in the directory structure, then download the source code and the patch:
Code: [Select]
cd /home/tc/lab
wget https://archive.mozilla.org/pub/seamonkey/releases/2.53.17.1/source/seamonkey-2.53.17.1.source.tar.xz
wget https://www.linuxfromscratch.org/patches/blfs/svn/seamonkey-2.53.17.1-consolidated_fixes-1.patch

..then untar the source code and change directory into the top level of the source:
Code: [Select]
tar xf seamonkey-2.53.17.1.source.tar.xz
cd seamonkey-2.53.17.1

..now apply the patch and sed commands:
Code: [Select]
patch -Np1 -i ../seamonkey-2.53.17.1-consolidated_fixes-1.patch
sed -e '1012 s/stderr=devnull/stderr=subprocess.DEVNULL/' -e '1013 s/OSError/(OSError, subprocess.CalledProcessError)/' -i third_party/python/distro/distro.py
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 21, 2023, 03:44:15 AM
I've got error with mozconfig

Code: [Select]
tc@box:~$ cd /home/tc/lab/seamonkey-2.53.17.1
tc@box:~/lab/seamonkey-2.53.17.1$ patch -Np1 -i ../seamonkey-2.53.17.1-consolida
ted_fixes-1.patch
patching file media/libvpx/libvpx/test/decode_api_test.cc
patching file media/libvpx/libvpx/third_party/libwebm/mkvparser/mkvparser.cc
patching file media/libvpx/libvpx/vp8/decoder/dboolhuff.h
patching file media/libvpx/libvpx/vp8/encoder/onyx_if.c
patching file media/libvpx/libvpx/vp9/common/vp9_alloccommon.c
patching file media/libvpx/libvpx/vp9/encoder/vp9_encoder.c
patching file media/libvpx/libvpx/vp9/vp9_dx_iface.c
patching file media/libvpx/libvpx/vpx_dsp/bitreader_buffer.c
patching file media/libvpx/libvpx/vpx_dsp/bitreader.h
tc@box:~/lab/seamonkey-2.53.17.1$ sed -e '1012 s/stderr=devnull/stderr=subproces
s.DEVNULL/' -e '1013 s/OSError/(OSError, subprocess.CalledProcessError)/' -i thi
rd_party/python/distro/distro.py
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
Error loading mozconfig: /home/tc/lab/seamonkey-2.53.17.1/mozconfig

Evaluation of your mozconfig exited with an error. This could be triggered
by a command inside your mozconfig failing. Please change your mozconfig
to not error and/or to catch errors in executed commands.

mozconfig output:

/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig_loader: /home/tc/lab/seamonkey-2.53.17.1/mozconfig: line 2:
: not found
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 21, 2023, 04:44:34 AM
Did you make the symlink:
Code: [Select]
sudo ln -s /lib /lib64
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 21, 2023, 01:47:49 PM
Yes, I did followed your build notes

Code: [Select]
sudo cp /tmp/tcloop/llvm15-dev/usr/local/bin/llvm-config /usr/local/bin
sudo ln -s /lib /lib64
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 22, 2023, 07:54:08 AM
Ok I've repeated the procedure still got error at line 2 of Juanito's mozconfig

Code: [Select]
tc@box:~$ tce-load -i python3.6.tcz compiletc.tcz autoconf2.13.tcz cbindgen.tcz
gtk3-dev.tcz node-dev.tcz zip-unzip.tcz yasm-dev.tcz icu70-dev.tcz libevent-dev.
tcz libwebp1-dev.tcz llvm15-dev.tcz clang.tcz nasm.tcz nss-dev.tcz pulseaudio-de
v.tcz alsa-dev.tcz dbus-glib-dev.tcz libstartup-notification-dev.tcz wget.tcz
ncursesw.tcz: OK
readline.tcz: OK
gdbm.tcz: OK
python3.6.tcz: OK
glibc_add_lib.tcz: OK
zlib_base-dev.tcz: OK
util-linux_base-dev.tcz: OK
linux-6.1_api_headers.tcz: OK
glibc_base-dev.tcz: OK
e2fsprogs_base-dev.tcz: OK
sed.tcz: OK
pkg-config.tcz: OK
patch.tcz: OK
make.tcz: OK
m4.tcz: OK
grep.tcz: OK
gmp.tcz: OK
isl.tcz: OK
mpfr.tcz: OK
mpc.tcz: OK
flex.tcz: OK
binutils.tcz: OK
gcc_libs.tcz: OK
gcc_libs-dev.tcz: OK
gcc_base-dev.tcz: OK
gcc.tcz: OK
gawk.tcz: OK
findutils.tcz: OK
file.tcz: OK
diffutils.tcz: OK
gettext.tcz: OK
bison.tcz: OK
compiletc.tcz: OK
perl5.tcz: OK
perl_xml_parser.tcz: OK
autoconf2.13.tcz: OK
libssh2.tcz: OK
llvm-lib.tcz: OK
rust.tcz: OK
cbindgen.tcz: OK
bzip2.tcz: OK
bzip2-dev.tcz: OK
pcre-dev.tcz: OK
libogg.tcz: OK
libogg-dev.tcz: OK
libvorbis.tcz: OK
libvorbis-dev.tcz: OK
libltdl.tcz: OK
libtool.tcz: OK
libtool-dev.tcz: OK
libcanberra.tcz: OK
libcanberra-dev.tcz: OK
libffi-dev.tcz: OK
glib2-python.tcz: OK
glib2-dev.tcz: OK
json-glib.tcz: OK
json-glib-dev.tcz: OK
ncursesw-dev.tcz: OK
libunistring.tcz: OK
libunistring-dev.tcz: OK
libidn2.tcz: OK
libidn2-dev.tcz: OK
libtasn1.tcz: OK
libtasn1-dev.tcz: OK
p11-kit.tcz: OK
p11-kit-dev.tcz: OK
gmp-dev.tcz: OK
nettle3.tcz: OK
nettle3-dev.tcz: OK
gnutls3.6.tcz: OK
gnutls3.6-dev.tcz: OK
expat2-dev.tcz: OK
dbus-dev.tcz: OK
nss-mdns.tcz: OK
libdaemon.tcz: OK
avahi.tcz: OK
avahi-dev.tcz: OK
Xorg-fonts.tcz: OK
qpdf.tcz: OK
cups-filters.tcz: OK
cups.tcz: OK
cups-dev.tcz: OK
fribidi-dev.tcz: OK
xtrans.tcz: OK
util-macros.tcz: OK
xorg-proto.tcz: OK
xcb-proto.tcz: OK
libXdmcp-dev.tcz: OK
libXau-dev.tcz: OK
libxcb-dev.tcz: OK
libX11-dev.tcz: OK
libXrender-dev.tcz: OK
libpng-dev.tcz: OK
freetype-dev.tcz: OK
fontconfig-dev.tcz: OK
libXft-dev.tcz: OK
graphite2-dev.tcz: OK
harfbuzz-bin.tcz: OK
harfbuzz-dev.tcz: OK
liblzma-dev.tcz: OK
elfutils.tcz: OK
elfutils-dev.tcz: OK
libxshmfence-dev.tcz: OK
udev-dev.tcz: OK
libdrm-dev.tcz: OK
libGL-dev.tcz: OK
libGLESv2-dev.tcz: OK
libXext-dev.tcz: OK
libvdpau.tcz: OK
libvdpau-dev.tcz: OK
liblz4.tcz: OK
liblz4-dev.tcz: OK
zstd.tcz: OK
zstd-dev.tcz: OK
readline-dev.tcz: OK
libxml2-python.tcz: OK
libxml2-bin.tcz: OK
libxml2-dev.tcz: OK
llvm15-lib.tcz: OK
llvm15-bin.tcz: OK
llvm15-dev.tcz: OK
font-util.tcz: OK
libxcvt.tcz: OK
libxcvt-dev.tcz: OK
pixman-dev.tcz: OK
openssl-1.1.1-dev.tcz: OK
libepoxy.tcz: OK
libepoxy-dev.tcz: OK
libfontenc-dev.tcz: OK
libXfont2.tcz: OK
libXfont2-dev.tcz: OK
libEGL-dev.tcz: OK
xorg-server.tcz: OK
xorg-server-dev.tcz: OK
xbitmaps.tcz: OK
libxkbfile.tcz: OK
libxkbfile-dev.tcz: OK
libpciaccess-dev.tcz: OK
libXxf86vm-dev.tcz: OK
libXxf86dga.tcz: OK
libXxf86dga-dev.tcz: OK
libXv.tcz: OK
libXv-dev.tcz: OK
libXvmc.tcz: OK
libXvmc-dev.tcz: OK
libXi.tcz: OK
libXi-dev.tcz: OK
libXtst.tcz: OK
libXtst-dev.tcz: OK
libXss.tcz: OK
libXss-dev.tcz: OK
libXres.tcz: OK
libXres-dev.tcz: OK
libXrandr-dev.tcz: OK
libXinerama-dev.tcz: OK
libXfixes-dev.tcz: OK
libXdamage-dev.tcz: OK
libXcursor-dev.tcz: OK
libXcomposite-dev.tcz: OK
libXpm.tcz: OK
libXpm-dev.tcz: OK
libSM-dev.tcz: OK
libICE-dev.tcz: OK
libXt-dev.tcz: OK
libXmu-dev.tcz: OK
libXaw.tcz: OK
libXaw-dev.tcz: OK
libFS.tcz: OK
libFS-dev.tcz: OK
makedepend.tcz: OK
Xorg-7.7-dev.tcz: OK
xkeyboard-config.tcz: OK
xf86-video-vesa.tcz: OK
xf86-video-fbdev.tcz: OK
libwacom.tcz: OK
libevdev.tcz: OK
mtdev.tcz: OK
libinput.tcz: OK
xf86-input-libinput.tcz: OK
xcursor-themes.tcz: OK
Xorg-7.7-lib.tcz: OK
Xorg-7.7-bin.tcz: OK
Xorg-7.7.tcz: OK
Xorg-7.7-3d.tcz: OK
Xorg-7.7-3d-dev.tcz: OK
cairo-dev.tcz: OK
pango-dev.tcz: OK
atk-dev.tcz: OK
at-spi2-core.tcz: OK
at-spi2-core-dev.tcz: OK
at-spi2-atk.tcz: OK
at-spi2-atk-dev.tcz: OK
libjpeg-turbo-dev.tcz: OK
libtiff-bin.tcz: OK
libtiff-dev.tcz: OK
gdk-pixbuf2-dev.tcz: OK
gtk3.tcz: OK
gtk3-dev.tcz: OK
icu70.tcz: OK
icu70-bin.tcz: OK
icu70-dev.tcz: OK
libnghttp2.tcz: OK
libnghttp2-dev.tcz: OK
node.tcz: OK
node-dev.tcz: OK
zip-unzip.tcz: OK
yasm.tcz: OK
yasm-dev.tcz: OK
libevent.tcz: OK
libevent-dev.tcz: OK
glu.tcz: OK
glu-dev.tcz: OK
freeglut.tcz: OK
freeglut-dev.tcz: OK
giflib7.tcz: OK
giflib7-bin.tcz: OK
giflib7-dev.tcz: OK
libwebp1.tcz: OK
libwebp1-bin.tcz: OK
libwebp1-dev.tcz: OK
clang.tcz: OK
nasm.tcz: OK
sqlite3-bin.tcz: OK
sqlite3-dev.tcz: OK
nspr-dev.tcz: OK
nss-dev.tcz: OK
sbc.tcz: OK
sbc-dev.tcz: OK
bluetooth-6.1.2-tinycore.tcz: OK
libical3.tcz: OK
bluez5.tcz: OK
libbluetooth5.tcz: OK
libbluetooth5-dev.tcz: OK
flac.tcz: OK
flac-dev.tcz: OK
libsndfile.tcz: OK
libsndfile-dev.tcz: OK
speex.tcz: OK
speex-dev.tcz: OK
fftw.tcz: OK
fftw-dev.tcz: OK
libasound.tcz: OK
input-joystick-6.1.2-tinycore.tcz: OK
alsa-modules-6.1.2-tinycore.tcz: OK
alsa.tcz: OK
alsa-dev.tcz: OK
attr.tcz: OK
attr-dev.tcz: OK
libcap.tcz: OK
libcap-dev.tcz: OK
libpulseaudio.tcz: OK
pulseaudio.tcz: OK
pulseaudio-dev.tcz: OK
dbus-glib.tcz: OK
dbus-glib-dev.tcz: OK
libstartup-notification.tcz: OK
libstartup-notification-dev.tcz: OK
wget.tcz: OK
tc@box:~$ sudo cp /tmp/tcloop/llvm15-dev/usr/local/bin/llvm-config /usr/local/bin
tc@box:~$ sudo ln -s /lib /lib64
tc@box:~$ cd /home/tc/lab/seamonkey-2.53.17.1
tc@box:~/lab/seamonkey-2.53.17.1$ cp ../mozconfig ./
tc@box:~/lab/seamonkey-2.53.17.1$ patch -Np1 -i ../seamonkey-2.53.17.1-consolidated_fixes-1.patc
h
patching file media/libvpx/libvpx/test/decode_api_test.cc
patching file media/libvpx/libvpx/third_party/libwebm/mkvparser/mkvparser.cc
patching file media/libvpx/libvpx/vp8/decoder/dboolhuff.h
patching file media/libvpx/libvpx/vp8/encoder/onyx_if.c
patching file media/libvpx/libvpx/vp9/common/vp9_alloccommon.c
patching file media/libvpx/libvpx/vp9/encoder/vp9_encoder.c
patching file media/libvpx/libvpx/vp9/vp9_dx_iface.c
patching file media/libvpx/libvpx/vpx_dsp/bitreader_buffer.c
patching file media/libvpx/libvpx/vpx_dsp/bitreader.h
tc@box:~/lab/seamonkey-2.53.17.1$ sed -e '1012 s/stderr=devnull/stderr=subprocess.DEVNULL/' -e '
1013 s/OSError/(OSError, subprocess.CalledProcessError)/' -i third_party/python/distro/distro.py
tc@box:~/lab/seamonkey-2.53.17.1$ C=clang CXX=clang++ ./mach configure
Error loading mozconfig: /home/tc/lab/seamonkey-2.53.17.1/mozconfig

Evaluation of your mozconfig exited with an error. This could be triggered
by a command inside your mozconfig failing. Please change your mozconfig
to not error and/or to catch errors in executed commands.

mozconfig output:

/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig_loader: /home/tc/lab/seamonkey-2.53.17.1/mozconfig: line 2:
: not found

Then I used the default mozonfig from Seamonkey website also got error

Code: [Select]
cat > mozconfig << "EOF"
# If you have a multicore machine, all cores will be used

# If you have installed DBus-Glib comment out this line:
ac_add_options --disable-dbus

# If you have installed dbus-glib, and you have installed (or will install)
# wireless-tools, and you wish to use geolocation web services, comment out
# this line
ac_add_options --disable-necko-wifi

# Uncomment these lines if you have installed optional dependencies:
#ac_add_options --enable-system-hunspell
#ac_add_options --enable-startup-notification

# Uncomment the following option if you have not installed PulseAudio
#ac_add_options --disable-pulseaudio
# and uncomment this if you installed alsa-lib instead of PulseAudio
#ac_add_options --enable-alsa

# Comment out following option if you have gconf installed
ac_add_options --disable-gconf

# Comment out following options if you have not installed
# recommended dependencies:
ac_add_options --with-system-icu
ac_add_options --with-system-libevent
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-webp

# Disabling debug symbols makes the build much smaller and a little
# faster. Comment this if you need to run a debugger. Note: This is
# required for compilation on i686.
ac_add_options --disable-debug-symbols

# The elf-hack is reported to cause failed installs (after successful builds)
# on some machines. It is supposed to improve startup time and it shrinks
# libxul.so by a few MB - comment this if you know your machine is not affected.
ac_add_options --disable-elf-hack

# Seamonkey has some additional features that are not turned on by default,
# such as an IRC client, calendar, and DOM Inspector. The DOM Inspector
# aids with designing web pages. Comment these options if you do not
# desire these features.
ac_add_options --enable-calendar
ac_add_options --enable-dominspector
ac_add_options --enable-irc

# The BLFS editors recommend not changing anything below this line:
ac_add_options --prefix=/usr
ac_add_options --enable-application=comm/suite

ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-tests

# rust-simd does not compile with recent versions of rust.
# It is disabled in recent versions of firefox
ac_add_options --disable-rust-simd

ac_add_options --enable-optimize="-O2"
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-official-branding

# The option to use system cairo was removed in 2.53.9.
ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman

ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-zlib
EOF
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 22, 2023, 08:42:49 AM
I just tried again and it works for me - are you sure mozconfig is in the top level of the seamonkey-2.53.17.1 directory:
Code: [Select]
ls ../seamonkey-2.53.17.1/moz*
../seamonkey-2.53.17.1/moz.build
../seamonkey-2.53.17.1/moz.build.1753127.later
../seamonkey-2.53.17.1/moz.configure
../seamonkey-2.53.17.1/mozconfig
../seamonkey-2.53.17.1/mozilla-config.h.in
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 22, 2023, 11:41:18 AM
Yes, I put mozconfig inside the seamonkey folder as instructed. BTW here is the error of the default mozconfig from Seamonkey website

Code: [Select]
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
 0:01.58 Clobber not needed.
 0:01.58 Adding make options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
    MOZ_OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    FOUND_MOZCONFIG=/home/tc/lab/seamonkey-2.53.17.1/mozconfig
    export FOUND_MOZCONFIG
 0:01.58 /usr/local/bin/make -f client.mk -s configure
 0:01.59 cd /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
 0:01.59 /home/tc/lab/seamonkey-2.53.17.1/configure
 0:02.31 Creating Python 3 environment
 0:04.02 Using base prefix '/usr/local'
 0:04.02 New python executable in /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu/_virtualenvs/init_py3/bin/python3
 0:04.02 Also creating executable in /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu/_virtualenvs/init_py3/bin/python
 0:04.02 Installing setuptools, pip, wheel...
 0:07.57 done.
 0:08.73 Error processing command. Ignoring because optional. (optional:setup.py:third_party/python/psutil:build_ext:--inplace)
 0:08.74 Re-executing in the virtualenv
 0:09.95 Adding configure options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
 0:09.95   --disable-dbus
 0:09.95   --disable-necko-wifi
 0:09.95   --disable-gconf
 0:09.95   --with-system-icu
 0:09.95   --with-system-libevent
 0:09.95   --with-system-nspr
 0:09.95   --with-system-nss
 0:09.95   --with-system-webp
 0:09.95   --disable-debug-symbols
 0:09.95   --disable-elf-hack
 0:09.95   --enable-calendar
 0:09.95   --enable-dominspector
 0:09.95   --enable-irc
 0:09.95   --prefix=/usr
 0:09.95   --enable-application=comm/suite
 0:09.95   --disable-crashreporter
 0:09.95   --disable-updater
 0:09.95   --disable-tests
 0:09.95   --disable-rust-simd
 0:09.95   --enable-optimize=-O2
 0:09.95   --enable-strip
 0:09.95   --enable-install-strip
 0:09.95   --enable-official-branding
 0:09.96   --enable-system-ffi
 0:09.96   --enable-system-pixman
 0:09.96   --with-system-bz2
 0:09.96   --with-system-jpeg
 0:09.96   --with-system-png
 0:09.96   --with-system-zlib
 0:09.96 checking for vcs source checkout... no
 0:10.08 checking for a shell... /bin/sh
 0:10.13 checking for host system type... i686-pc-linux-gnu
 0:10.13 checking for target system type... i686-pc-linux-gnu
 0:10.49 Determining COMM source information from sourcestamp.txt...
 0:10.49 Determining GECKO source information from sourcestamp.txt...
 0:10.78 checking whether cross compiling... no
 0:10.78 checking for the target C compiler... /usr/local/bin/clang
 0:10.85 checking whether the target C compiler can be used... yes
 0:10.86 checking for Python 3... /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu/_virtualenvs/init_py3/bin/python (3.6.12)
 0:10.87 checking for yasm... /usr/local/bin/yasm
 0:10.88 checking yasm version... 1.3.0
 0:10.88 checking the target C compiler version... 15.0.7
 0:11.07 checking the target C compiler works... yes
 0:11.07 checking for the target C++ compiler... /usr/local/bin/clang++
 0:11.11 checking whether the target C++ compiler can be used... yes
 0:11.11 checking the target C++ compiler version... 15.0.7
 0:11.15 checking the target C++ compiler works... yes
 0:11.15 checking for the host C compiler... /usr/local/bin/clang
 0:11.20 checking whether the host C compiler can be used... yes
 0:11.20 checking the host C compiler version... 15.0.7
 0:11.24 checking the host C compiler works... yes
 0:11.25 checking for the host C++ compiler... /usr/local/bin/clang++
 0:11.30 checking whether the host C++ compiler can be used... yes
 0:11.30 checking the host C++ compiler version... 15.0.7
 0:11.34 checking the host C++ compiler works... yes
 0:11.41 checking for 64-bit OS... no
 0:11.45 checking for new enough STL headers from libstdc++...
 0:11.45 DEBUG: <truncated - see config.log for full output>
 0:11.45 DEBUG: |                 #if defined(__GLIBCXX__) && !defined(_GLIBCXX_RELEASE)
 0:11.45 DEBUG: | #  error libstdc++ not new enough
 0:11.45 DEBUG: | #endif
 0:11.45 DEBUG: | #if defined(_GLIBCXX_RELEASE)
 0:11.45 DEBUG: | #  if _GLIBCXX_RELEASE < 7
 0:11.45 DEBUG: | #    error libstdc++ not new enough
 0:11.46 DEBUG: | #  else
 0:11.46 DEBUG: |      (void) 0
 0:11.46 DEBUG: | #  endif
 0:11.46 DEBUG: | #endif
 0:11.46 DEBUG: |                   ;
 0:11.46 DEBUG: |                   return 0;
 0:11.46 DEBUG: |                 }
 0:11.46 DEBUG: Executing: `/usr/local/bin/clang++ /tmp/conftest.ftctpx_e.cpp -c`
 0:11.46 DEBUG: The command returned non-zero exit status 1.
 0:11.46 DEBUG: Its error output was:
 0:11.46 DEBUG: | /tmp/conftest.ftctpx_e.cpp:1:10: fatal error: 'cstddef' file not found
 0:11.46 DEBUG: | #include <cstddef>
 0:11.46 DEBUG: |          ^~~~~~~~~
 0:11.46 DEBUG: | 1 error generated.
 0:11.46 ERROR: The libstdc++ in use is not new enough.  Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation.
 0:11.52 *** Fix above errors and then restart with\
 0:11.52                "./mach build"
 0:11.52 make: *** [client.mk:114: configure] Error 1
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 22, 2023, 01:18:08 PM
Code: [Select]
0:11.46 DEBUG: | /tmp/conftest.ftctpx_e.cpp:1:10: fatal error: 'cstddef' file not found
Hi cute curtis. When getting "file not found" error during compilation, I always try provides.sh:
Code: [Select]
$ provides.sh cstddef
boost-1.65-dev.tcz
boost-1.74-dev.tcz
boost-1.78-dev.tcz
gcc.tcz
Have you tried loading one of the boost extensions (e.g., tce-load -wi boost-1.78-dev)?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 22, 2023, 05:00:54 PM
Hi, the boost-1.65.tcz successfully loaded but the error still persisted.

Code: [Select]
tc@box:~$ CC=clang CXX=clang++ ./mach configure
sh: ./mach: not found
tc@box:~$ cd /home/tc/lab/seamonkey-2.53.17.1
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
 0:00.90 Clobber not needed.
 0:00.90 Adding make options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
    MOZ_OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    FOUND_MOZCONFIG=/home/tc/lab/seamonkey-2.53.17.1/mozconfig
    export FOUND_MOZCONFIG
 0:00.91 /usr/local/bin/make -f client.mk -s configure
 0:00.91 cd /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
 0:00.91 /home/tc/lab/seamonkey-2.53.17.1/configure
 0:01.82 Re-executing in the virtualenv
 0:03.02 Adding configure options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
 0:03.02   --disable-dbus
 0:03.02   --disable-necko-wifi
 0:03.02   --disable-gconf
 0:03.02   --with-system-icu
 0:03.02   --with-system-libevent
 0:03.02   --with-system-nspr
 0:03.02   --with-system-nss
 0:03.02   --with-system-webp
 0:03.02   --disable-debug-symbols
 0:03.02   --disable-elf-hack
 0:03.02   --enable-calendar
 0:03.02   --enable-dominspector
 0:03.02   --enable-irc
 0:03.02   --prefix=/usr
 0:03.02   --enable-application=comm/suite
 0:03.02   --disable-crashreporter
 0:03.02   --disable-updater
 0:03.03   --disable-tests
 0:03.03   --disable-rust-simd
 0:03.03   --enable-optimize=-O2
 0:03.03   --enable-strip
 0:03.03   --enable-install-strip
 0:03.03   --enable-official-branding
 0:03.03   --enable-system-ffi
 0:03.03   --enable-system-pixman
 0:03.03   --with-system-bz2
 0:03.03   --with-system-jpeg
 0:03.03   --with-system-png
 0:03.03   --with-system-zlib
 0:03.03 checking for vcs source checkout... no
 0:03.15 checking for a shell... /bin/sh
 0:03.21 checking for host system type... i686-pc-linux-gnu
 0:03.21 checking for target system type... i686-pc-linux-gnu
 0:03.57 Determining COMM source information from sourcestamp.txt...
 0:03.57 Determining GECKO source information from sourcestamp.txt...
 0:03.85 checking whether cross compiling... no
 0:03.85 checking for the target C compiler... /usr/local/bin/clang
 0:03.94 checking whether the target C compiler can be used... yes
 0:03.96 checking for Python 3... /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu/_virtualenvs/init_py3/bin/python (3.6.12)
 0:03.97 checking for yasm... /usr/local/bin/yasm
 0:03.97 checking yasm version... 1.3.0
 0:03.98 checking the target C compiler version... 15.0.7
 0:04.03 checking the target C compiler works... yes
 0:04.03 checking for the target C++ compiler... /usr/local/bin/clang++
 0:04.08 checking whether the target C++ compiler can be used... yes
 0:04.08 checking the target C++ compiler version... 15.0.7
 0:04.13 checking the target C++ compiler works... yes
 0:04.14 checking for the host C compiler... /usr/local/bin/clang
 0:04.24 checking whether the host C compiler can be used... yes
 0:04.24 checking the host C compiler version... 15.0.7
 0:04.29 checking the host C compiler works... yes
 0:04.29 checking for the host C++ compiler... /usr/local/bin/clang++
 0:04.34 checking whether the host C++ compiler can be used... yes
 0:04.34 checking the host C++ compiler version... 15.0.7
 0:04.39 checking the host C++ compiler works... yes
 0:04.45 checking for 64-bit OS... no
 0:04.49 checking for new enough STL headers from libstdc++...
 0:04.49 DEBUG: <truncated - see config.log for full output>
 0:04.49 DEBUG: |                 #if defined(__GLIBCXX__) && !defined(_GLIBCXX_RELEASE)
 0:04.49 DEBUG: | #  error libstdc++ not new enough
 0:04.49 DEBUG: | #endif
 0:04.49 DEBUG: | #if defined(_GLIBCXX_RELEASE)
 0:04.49 DEBUG: | #  if _GLIBCXX_RELEASE < 7
 0:04.49 DEBUG: | #    error libstdc++ not new enough
 0:04.50 DEBUG: | #  else
 0:04.50 DEBUG: |      (void) 0
 0:04.50 DEBUG: | #  endif
 0:04.50 DEBUG: | #endif
 0:04.50 DEBUG: |                   ;
 0:04.50 DEBUG: |                   return 0;
 0:04.50 DEBUG: |                 }
 0:04.50 DEBUG: Executing: `/usr/local/bin/clang++ /tmp/conftest.d24rqy3d.cpp -c`
 0:04.50 DEBUG: The command returned non-zero exit status 1.
 0:04.50 DEBUG: Its error output was:
 0:04.50 DEBUG: | /tmp/conftest.d24rqy3d.cpp:1:10: fatal error: 'cstddef' file not found
 0:04.50 DEBUG: | #include <cstddef>
 0:04.50 DEBUG: |          ^~~~~~~~~
 0:04.50 DEBUG: | 1 error generated.
 0:04.50 ERROR: The libstdc++ in use is not new enough.  Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation.
 0:04.56 *** Fix above errors and then restart with\
 0:04.56                "./mach build"
 0:04.56 make: *** [client.mk:114: configure] Error 1
tc@box:~/lab/seamonkey-2.53.17.1$ ./mach bootstrap
Error running mach:

    ['bootstrap']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

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

The details of the failure are as follows:

NotImplementedError: Bootstrap support for this Linux distro not yet available: tinycore

  File "/home/tc/lab/seamonkey-2.53.17.1/python/mozboot/mozboot/mach_commands.py", line 41, in bootstrap
    mach_context=self._mach_context,
  File "/home/tc/lab/seamonkey-2.53.17.1/python/mozboot/mozboot/bootstrap.py", line 216, in __init__
    'distro not yet available: ' + dist_id)
tc@box:~/lab/seamonkey-2.53.17.1$ provides.sh cstddef
repo.tinycorelinux.net: Resource temporarily unavailable
failed on url http://repo.tinycorelinux.net/14.x/x86/tcz/provides.db.zsync
could not read control file from URL http://repo.tinycorelinux.net/14.x/x86/tcz/provides.db.zsync
wget: bad address 'repo.tinycorelinux.net'
gunzip: /etc/sysconfig/tcedir/provides.db.gz: No such file or directory
awk: /etc/sysconfig/tcedir/provides.db: No such file or directory
chmod: /etc/sysconfig/tcedir/provides.db: No such file or directory
tc@box:~/lab/seamonkey-2.53.17.1$ provides.sh
tc@box:~/lab/seamonkey-2.53.17.1$ sudo find / -name provides.sh
/usr/bin/provides.sh
tc@box:~/lab/seamonkey-2.53.17.1$ tce-load -i boost1.65.tcz
boost1.65.tcz not found!
tc@box:~/lab/seamonkey-2.53.17.1$ tce-load -i boost-1.65.tcz
boost-1.65 is already installed!
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
 0:00.89 Clobber not needed.
 0:00.89 Adding make options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
    MOZ_OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    FOUND_MOZCONFIG=/home/tc/lab/seamonkey-2.53.17.1/mozconfig
    export FOUND_MOZCONFIG
 0:00.89 /usr/local/bin/make -f client.mk -s configure
 0:00.90 cd /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
 0:00.90 /home/tc/lab/seamonkey-2.53.17.1/configure
 0:01.83 Re-executing in the virtualenv
 0:03.04 Adding configure options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
 0:03.04   --disable-dbus
 0:03.04   --disable-necko-wifi
 0:03.04   --disable-gconf
 0:03.04   --with-system-icu
 0:03.04   --with-system-libevent
 0:03.04   --with-system-nspr
 0:03.04   --with-system-nss
 0:03.04   --with-system-webp
 0:03.04   --disable-debug-symbols
 0:03.04   --disable-elf-hack
 0:03.04   --enable-calendar
 0:03.04   --enable-dominspector
 0:03.04   --enable-irc
 0:03.04   --prefix=/usr
 0:03.04   --enable-application=comm/suite
 0:03.04   --disable-crashreporter
 0:03.04   --disable-updater
 0:03.05   --disable-tests
 0:03.05   --disable-rust-simd
 0:03.05   --enable-optimize=-O2
 0:03.05   --enable-strip
 0:03.05   --enable-install-strip
 0:03.05   --enable-official-branding
 0:03.05   --enable-system-ffi
 0:03.05   --enable-system-pixman
 0:03.05   --with-system-bz2
 0:03.05   --with-system-jpeg
 0:03.05   --with-system-png
 0:03.05   --with-system-zlib
 0:03.05 checking for vcs source checkout... no
 0:03.17 checking for a shell... /bin/sh
 0:03.23 checking for host system type... i686-pc-linux-gnu
 0:03.23 checking for target system type... i686-pc-linux-gnu
 0:03.63 Determining COMM source information from sourcestamp.txt...
 0:03.63 Determining GECKO source information from sourcestamp.txt...
 0:03.94 checking whether cross compiling... no
 0:03.94 checking for the target C compiler... /usr/local/bin/clang
 0:04.02 checking whether the target C compiler can be used... yes
 0:04.03 checking for Python 3... /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu/_virtualenvs/init_py3/bin/python (3.6.12)
 0:04.04 checking for yasm... /usr/local/bin/yasm
 0:04.04 checking yasm version... 1.3.0
 0:04.05 checking the target C compiler version... 15.0.7
 0:04.10 checking the target C compiler works... yes
 0:04.10 checking for the target C++ compiler... /usr/local/bin/clang++
 0:04.14 checking whether the target C++ compiler can be used... yes
 0:04.14 checking the target C++ compiler version... 15.0.7
 0:04.19 checking the target C++ compiler works... yes
 0:04.19 checking for the host C compiler... /usr/local/bin/clang
 0:04.29 checking whether the host C compiler can be used... yes
 0:04.29 checking the host C compiler version... 15.0.7
 0:04.34 checking the host C compiler works... yes
 0:04.34 checking for the host C++ compiler... /usr/local/bin/clang++
 0:04.39 checking whether the host C++ compiler can be used... yes
 0:04.39 checking the host C++ compiler version... 15.0.7
 0:04.44 checking the host C++ compiler works... yes
 0:04.50 checking for 64-bit OS... no
 0:04.54 checking for new enough STL headers from libstdc++...
 0:04.54 DEBUG: <truncated - see config.log for full output>
 0:04.54 DEBUG: |                 #if defined(__GLIBCXX__) && !defined(_GLIBCXX_RELEASE)
 0:04.54 DEBUG: | #  error libstdc++ not new enough
 0:04.55 DEBUG: | #endif
 0:04.55 DEBUG: | #if defined(_GLIBCXX_RELEASE)
 0:04.55 DEBUG: | #  if _GLIBCXX_RELEASE < 7
 0:04.55 DEBUG: | #    error libstdc++ not new enough
 0:04.55 DEBUG: | #  else
 0:04.55 DEBUG: |      (void) 0
 0:04.55 DEBUG: | #  endif
 0:04.55 DEBUG: | #endif
 0:04.55 DEBUG: |                   ;
 0:04.55 DEBUG: |                   return 0;
 0:04.55 DEBUG: |                 }
 0:04.55 DEBUG: Executing: `/usr/local/bin/clang++ /tmp/conftest._kcts2b_.cpp -c`
 0:04.55 DEBUG: The command returned non-zero exit status 1.
 0:04.55 DEBUG: Its error output was:
 0:04.55 DEBUG: | /tmp/conftest._kcts2b_.cpp:1:10: fatal error: 'cstddef' file not found
 0:04.55 DEBUG: | #include <cstddef>
 0:04.55 DEBUG: |          ^~~~~~~~~
 0:04.55 DEBUG: | 1 error generated.
 0:04.55 ERROR: The libstdc++ in use is not new enough.  Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation.
 0:04.61 *** Fix above errors and then restart with\
 0:04.61                "./mach build"
 0:04.62 make: *** [client.mk:114: configure] Error 1
tc@box:~/lab/seamonkey-2.53.17.1$ provides.sh cstddef
repo.tinycorelinux.net: Resource temporarily unavailable
failed on url http://repo.tinycorelinux.net/14.x/x86/tcz/provides.db.zsync
could not read control file from URL http://repo.tinycorelinux.net/14.x/x86/tcz/provides.db.zsync
wget: bad address 'repo.tinycorelinux.net'
gunzip: /etc/sysconfig/tcedir/provides.db.gz: No such file or directory
awk: /etc/sysconfig/tcedir/provides.db: No such file or directory
chmod: /etc/sysconfig/tcedir/provides.db: No such file or directory
tc@box:~/lab/seamonkey-2.53.17.1$ provides.sh cstddef
repo.tinycorelinux.net: Resource temporarily unavailable
failed on url http://repo.tinycorelinux.net/14.x/x86/tcz/provides.db.zsync
could not read control file from URL http://repo.tinycorelinux.net/14.x/x86/tcz/provides.db.zsync
wget: bad address 'repo.tinycorelinux.net'
gunzip: /etc/sysconfig/tcedir/provides.db.gz: No such file or directory
awk: /etc/sysconfig/tcedir/provides.db: No such file or directory
chmod: /etc/sysconfig/tcedir/provides.db: No such file or directory
tc@box:~/lab/seamonkey-2.53.17.1$ ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2): 56 data bytes
ping: sendto: Network is unreachable
tc@box:~/lab/seamonkey-2.53.17.1$ ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2): 56 data bytes
ping: sendto: Network is unreachable
tc@box:~/lab/seamonkey-2.53.17.1$ ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2): 56 data bytes
ping: sendto: Network is unreachable
tc@box:~/lab/seamonkey-2.53.17.1$ ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2): 56 data bytes
64 bytes from 4.2.2.2: seq=0 ttl=57 time=58.094 ms
64 bytes from 4.2.2.2: seq=1 ttl=57 time=58.422 ms
^C
--- 4.2.2.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 58.094/58.258/58.422 ms
tc@box:~/lab/seamonkey-2.53.17.1$ provides.sh cstddef
open: No such file or directory
not using seed file /etc/sysconfig/tcedir/provides.db
boost-1.65-dev.tcz
gcc.tcz
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
 0:00.92 Clobber not needed.
 0:00.92 Adding make options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
    MOZ_OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    FOUND_MOZCONFIG=/home/tc/lab/seamonkey-2.53.17.1/mozconfig
    export FOUND_MOZCONFIG
 0:00.93 /usr/local/bin/make -f client.mk -s configure
 0:00.93 cd /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
 0:00.93 /home/tc/lab/seamonkey-2.53.17.1/configure
 0:01.86 Re-executing in the virtualenv
 0:03.08 Adding configure options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
 0:03.08   --disable-dbus
 0:03.08   --disable-necko-wifi
 0:03.08   --disable-gconf
 0:03.08   --with-system-icu
 0:03.08   --with-system-libevent
 0:03.08   --with-system-nspr
 0:03.08   --with-system-nss
 0:03.08   --with-system-webp
 0:03.08   --disable-debug-symbols
 0:03.08   --disable-elf-hack
 0:03.08   --enable-calendar
 0:03.08   --enable-dominspector
 0:03.08   --enable-irc
 0:03.08   --prefix=/usr
 0:03.08   --enable-application=comm/suite
 0:03.08   --disable-crashreporter
 0:03.08   --disable-updater
 0:03.08   --disable-tests
 0:03.08   --disable-rust-simd
 0:03.08   --enable-optimize=-O2
 0:03.08   --enable-strip
 0:03.08   --enable-install-strip
 0:03.08   --enable-official-branding
 0:03.08   --enable-system-ffi
 0:03.08   --enable-system-pixman
 0:03.08   --with-system-bz2
 0:03.08   --with-system-jpeg
 0:03.08   --with-system-png
 0:03.08   --with-system-zlib
 0:03.08 checking for vcs source checkout... no
 0:03.21 checking for a shell... /bin/sh
 0:03.27 checking for host system type... i686-pc-linux-gnu
 0:03.27 checking for target system type... i686-pc-linux-gnu
 0:03.63 Determining COMM source information from sourcestamp.txt...
 0:03.63 Determining GECKO source information from sourcestamp.txt...
 0:03.91 checking whether cross compiling... no
 0:03.91 checking for the target C compiler... /usr/local/bin/clang
 0:04.00 checking whether the target C compiler can be used... yes
 0:04.01 checking for Python 3... /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu/_virtualenvs/init_py3/bin/python (3.6.12)
 0:04.02 checking for yasm... /usr/local/bin/yasm
 0:04.02 checking yasm version... 1.3.0
 0:04.03 checking the target C compiler version... 15.0.7
 0:04.07 checking the target C compiler works... yes
 0:04.07 checking for the target C++ compiler... /usr/local/bin/clang++
 0:04.12 checking whether the target C++ compiler can be used... yes
 0:04.12 checking the target C++ compiler version... 15.0.7
 0:04.16 checking the target C++ compiler works... yes
 0:04.17 checking for the host C compiler... /usr/local/bin/clang
 0:04.25 checking whether the host C compiler can be used... yes
 0:04.25 checking the host C compiler version... 15.0.7
 0:04.29 checking the host C compiler works... yes
 0:04.30 checking for the host C++ compiler... /usr/local/bin/clang++
 0:04.34 checking whether the host C++ compiler can be used... yes
 0:04.34 checking the host C++ compiler version... 15.0.7
 0:04.38 checking the host C++ compiler works... yes
 0:04.43 checking for 64-bit OS... no
 0:04.47 checking for new enough STL headers from libstdc++...
 0:04.47 DEBUG: <truncated - see config.log for full output>
 0:04.47 DEBUG: |                 #if defined(__GLIBCXX__) && !defined(_GLIBCXX_RELEASE)
 0:04.47 DEBUG: | #  error libstdc++ not new enough
 0:04.47 DEBUG: | #endif
 0:04.47 DEBUG: | #if defined(_GLIBCXX_RELEASE)
 0:04.47 DEBUG: | #  if _GLIBCXX_RELEASE < 7
 0:04.47 DEBUG: | #    error libstdc++ not new enough
 0:04.47 DEBUG: | #  else
 0:04.47 DEBUG: |      (void) 0
 0:04.47 DEBUG: | #  endif
 0:04.47 DEBUG: | #endif
 0:04.47 DEBUG: |                   ;
 0:04.47 DEBUG: |                   return 0;
 0:04.47 DEBUG: |                 }
 0:04.47 DEBUG: Executing: `/usr/local/bin/clang++ /tmp/conftest.wep_g_e1.cpp -c`
 0:04.47 DEBUG: The command returned non-zero exit status 1.
 0:04.47 DEBUG: Its error output was:
 0:04.47 DEBUG: | /tmp/conftest.wep_g_e1.cpp:1:10: fatal error: 'cstddef' file not found
 0:04.47 DEBUG: | #include <cstddef>
 0:04.47 DEBUG: |          ^~~~~~~~~
 0:04.47 DEBUG: | 1 error generated.
 0:04.47 ERROR: The libstdc++ in use is not new enough.  Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation.
 0:04.52 *** Fix above errors and then restart with\
 0:04.52                "./mach build"
 0:04.52 make: *** [client.mk:114: configure] Error 1
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 22, 2023, 05:16:48 PM
Hi cute curtis
The error listed says:
Code: [Select]
0:04.55 ERROR: The libstdc++ in use is not new enough.  Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation.It's possible you need  boost-1.74-dev.tcz  or  boost-1.78-dev.tcz
which are not available in the x86 repository.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 22, 2023, 05:37:26 PM
Hi Rich, I'm running TC 14 x86_64, I don't see boost-1.74-dev.tcz  or  boost-1.78-dev.tcz, is it because the repo still in x86? Where can I get those?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 22, 2023, 10:01:09 PM
Hi cute curtis
Hi Rich, I'm running TC 14 x86_64, ...
This says otherwise:
Quote
Code: [Select]
0:04.45 checking for 64-bit OS... no

This shows your system looking in the TC 14 x86 repo:
Quote
tc@box:~/lab/seamonkey-2.53.17.1$ provides.sh cstddef
repo.tinycorelinux.net: Resource temporarily unavailable
failed on url http://repo.tinycorelinux.net/14.x/x86/tcz/provides.db.zsync
could not read control file from URL http://repo.tinycorelinux.net/14.x/x86/tcz/provides.db.zsync
wget: bad address 'repo.tinycorelinux.net'

If you run:
Code: [Select]
uname -rdoes it return  6.1.2-tinycore  or  6.1.2-tinycore64 ?

Quote
... I don't see boost-1.74-dev.tcz  or  boost-1.78-dev.tcz, is it because the repo still in x86? ...
They are present in the x86_64 repo but not in the x86 repo.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 23, 2023, 04:15:15 AM
It says 6.1.2-tinycore does it mean I'm running on x86? The old seamonekey builds should work?

Code: [Select]
tc@box:~$ uname -r
6.1.2-tinycore
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 23, 2023, 04:56:25 AM
Yes, it does mean you’re running 32bit x86 and 64bit builds of seamonkey will not work.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: gadget42 on November 23, 2023, 04:58:36 AM
from reply number 35 code box:
.....
 0:03.21 checking for host system type... i686-pc-linux-gnu
 0:03.21 checking for target system type... i686-pc-linux-gnu
.....

yes, x86
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 24, 2023, 07:28:55 AM
Sorry guys for the mix confusions it has been a year I forgot what I've done. I am now booting from Corepure64 but still the problem persists with line 2 in Juanito's mozconfig

Code: [Select]
tc@box:~$ cd /home/tc/lab
tc@box:~/lab$ tce-load -i python3.6-six.tcz compiletc.tcz autoconf2.13.tcz cbind
gen.tcz gtk3-dev.tcz node-dev.tcz zip-unzip.tcz yasm-dev.tcz icu70-dev.tcz libev
ent-dev.tcz libwebp1-dev.tcz llvm15-dev.tcz clang.tcz nasm.tcz nss-dev.tcz pulse
audio-dev.tcz alsa-dev.tcz dbus-glib-dev.tcz startup-notification-dev.tcz wget.t
cz
python3.6-six.tcz: OK
glibc_add_lib.tcz: OK
zlib_base-dev.tcz: OK
util-linux_base-dev.tcz: OK
linux-6.1_api_headers.tcz: OK
glibc_base-dev.tcz: OK
e2fsprogs_base-dev.tcz: OK
sed.tcz: OK
pkg-config.tcz: OK
patch.tcz: OK
make.tcz: OK
m4.tcz: OK
grep.tcz: OK
gmp.tcz: OK
isl.tcz: OK
mpfr.tcz: OK
mpc.tcz: OK
flex.tcz: OK
binutils.tcz: OK
gcc_libs-dev.tcz: OK
gcc_base-dev.tcz: OK
gcc.tcz: OK
gawk.tcz: OK
findutils.tcz: OK
file.tcz: OK
diffutils.tcz: OK
gettext.tcz: OK
bison.tcz: OK
compiletc.tcz: OK
autoconf2.13.tcz not found!
tc@box:~/lab$ tce-load -i autoconf2.13.tcz
autoconf2.13 is already installed!
tc@box:~/lab$ sudo cp /tmp/tcloop/llvm15-dev/usr/local/bin/llvm-config /usr/loca
l/bin
cp: can't stat '/tmp/tcloop/llvm15-dev/usr/local/bin/llvm-config': No such file or directory
tc@box:~/lab$ tce-load -i llvm15-dev.tcz
liblz4-dev.tcz: OK
liblzma-dev.tcz: OK
zstd.tcz: OK
zstd-dev.tcz: OK
libxml2-python.tcz: OK
libxml2-bin.tcz: OK
libxml2-dev.tcz: OK
llvm15-bin.tcz: OK
llvm15-dev.tcz: OK
tc@box:~/lab$ tce-load -i python3.6-six.tcz compiletc.tcz autoconf2.13.tcz cbind
gen.tcz gtk3-dev.tcz node-dev.tcz zip-unzip.tcz yasm-dev.tcz icu70-dev.tcz libev
ent-dev.tcz libwebp1-dev.tcz llvm15-dev.tcz clang.tcz nasm.tcz nss-dev.tcz pulse
audio-dev.tcz alsa-dev.tcz dbus-glib-dev.tcz startup-notification-dev.tcz wget.t
cz
python3.6-six is already installed!
compiletc is already installed!
autoconf2.13 is already installed!
llvm15-dev is already installed!
libssh2.tcz: OK
Updating certificates in /usr/local/etc/ssl/certs...
138 added, 0 removed; done.
ca-certificates.tcz: OK
curl.tcz: OK
llvm-lib.tcz: OK
rust.tcz: OK
cbindgen.tcz: OK
util-macros.tcz: OK
xorg-proto.tcz: OK
xcb-proto.tcz: OK
libXdmcp-dev.tcz: OK
libXau-dev.tcz: OK
libxcb-dev.tcz: OK
libxkbcommon.tcz: OK
libxkbcommon-dev.tcz: OK
json-glib.tcz: OK
json-glib-dev.tcz: OK
attr.tcz: OK
attr-dev.tcz: OK
libcap.tcz: OK
libcap-dev.tcz: OK
acl.tcz: OK
acl-dev.tcz: OK
elogind.tcz: OK
elogind-dev.tcz: OK
linux-pam.tcz: OK
linux-pam-dev.tcz: OK
icu67.tcz: OK
icu67-bin.tcz: OK
icu67-dev.tcz: OK
js78.tcz: OK
js78-dev.tcz: OK
expat2-dev.tcz: OK
dbus.tcz: OK
polkit.tcz: OK
polkit-dev.tcz: OK
libjpeg-turbo-bin.tcz: OK
libjpeg-turbo-dev.tcz: OK
libxshmfence-dev.tcz: OK
udev-lib-dev.tcz: OK
libpciaccess-dev.tcz: OK
libdrm-dev.tcz: OK
xtrans.tcz: OK
libX11-dev.tcz: OK
libXext-dev.tcz: OK
libXxf86vm-dev.tcz: OK
libXfixes-dev.tcz: OK
libXdamage-dev.tcz: OK
libGL-dev.tcz: OK
glu.tcz: OK
glu-dev.tcz: OK
libXrender-dev.tcz: OK
libXrandr-dev.tcz: OK
libXi-dev.tcz: OK
freeglut.tcz: OK
freeglut-dev.tcz: OK
tiff-bin.tcz: OK
tiff-dev.tcz: OK
libunistring.tcz: OK
libunistring-dev.tcz: OK
libidn2.tcz: OK
libidn2-dev.tcz: OK
gmp-dev.tcz: OK
nettle3.tcz: OK
nettle3-dev.tcz: OK
libtasn1-4.tcz: OK
libtasn1-4-dev.tcz: OK
p11-kit.tcz: OK
p11-kit-dev.tcz: OK
gnutls35.tcz: OK
gnutls35-dev.tcz: OK
libdaemon.tcz: OK
libdaemon-dev.tcz: OK
font-util.tcz: OK
libxcvt-dev.tcz: OK
pixman-dev.tcz: OK
openssl-1.1.1-dev.tcz: OK
libepoxy-dev.tcz: OK
libfontenc-dev.tcz: OK
graphite-dev.tcz: OK
harfbuzz-bin.tcz: OK
harfbuzz-dev.tcz: OK
libpng-bin.tcz: OK
libpng-dev.tcz: OK
freetype-dev.tcz: OK
libXfont2-dev.tcz: OK
wayland-dev.tcz: OK
libEGL-dev.tcz: OK
xorg-server-dev.tcz: OK
xbitmaps.tcz: OK
libxkbfile-dev.tcz: OK
libXxf86dga-dev.tcz: OK
libXv-dev.tcz: OK
libXvmc-dev.tcz: OK
libXtst-dev.tcz: OK
libXss-dev.tcz: OK
libXres-dev.tcz: OK
libXinerama-dev.tcz: OK
fontconfig-dev.tcz: OK
libXft-dev.tcz: OK
libXcursor-dev.tcz: OK
libXcomposite-dev.tcz: OK
libXpm-dev.tcz: OK
libSM-dev.tcz: OK
libICE-dev.tcz: OK
libXt-dev.tcz: OK
libXmu-dev.tcz: OK
libXaw-dev.tcz: OK
libFS-dev.tcz: OK
makedepend.tcz: OK
Xorg-7.7-dev.tcz: OK
dbus-dev.tcz: OK
nss-mdns.tcz: OK
libavahi.tcz: OK
avahi.tcz: OK
avahi-dev.tcz: OK
qpdf.tcz: OK
nspr.tcz: OK
nss.tcz: OK
openjpeg.tcz: OK
liblcms2.tcz: OK
libpoppler07.tcz: OK
cups-filters.tcz: OK
libcups.tcz: OK
cups.tcz: OK
cups-dev.tcz: OK
libusb.tcz: OK
libusb-dev.tcz: OK
libsane.tcz: OK
libsane-dev.tcz: OK
sqlite3-bin.tcz: OK
sqlite3-dev.tcz: OK
libgusb.tcz: OK
libgusb-dev.tcz: OK
lcms2-dev.tcz: OK
colord.tcz: OK
colord-dev.tcz: OK
libpsl.tcz: OK
libpsl-dev.tcz: OK
glib-networking.tcz: OK
libsoup.tcz: OK
libsoup-dev.tcz: OK
rest.tcz: OK
rest-dev.tcz: OK
fribidi-dev.tcz: OK
elfutils-dev.tcz: OK
libGLESv2-dev.tcz: OK
libvdpau-dev.tcz: OK
Xorg-7.7-3d-dev.tcz: OK
cairo-dev.tcz: OK
pango-dev.tcz: OK
atk-dev.tcz: OK
at-spi2-core.tcz: OK
at-spi2-core-dev.tcz: OK
at-spi2-atk.tcz: OK
at-spi2-atk-dev.tcz: OK
gdk-pixbuf2-dev.tcz: OK
wayland-protocols.tcz: OK
gtk3.tcz: OK
gtk3-dev.tcz: OK
node.tcz: OK
node-dev.tcz: OK
zip-unzip.tcz not found!
tc@box:~/lab$ sudo cp /tmp/tcloop/llvm15-dev/usr/local/bin/llvm-config /usr/loca
l/bin
tc@box:~/lab$ sudo ln -s /lib /lib64
tc@box:~/lab$ cd /home/tc/lab/seamonkey-2.53.17.1
tc@box:~/lab/seamonkey-2.53.17.1$ ls mozconfig*
ls: mozconfig*: No such file or directory
tc@box:~/lab/seamonkey-2.53.17.1$ cp ../mozconfig ./
tc@box:~/lab/seamonkey-2.53.17.1$ ls mozconfig*
mozconfig
tc@box:~/lab/seamonkey-2.53.17.1$ patch -Np1 -i ../seamonkey-2.53.17.1-consolida
ted_fixes-1.patch
patching file media/libvpx/libvpx/test/decode_api_test.cc
patching file media/libvpx/libvpx/third_party/libwebm/mkvparser/mkvparser.cc
patching file media/libvpx/libvpx/vp8/decoder/dboolhuff.h
patching file media/libvpx/libvpx/vp8/encoder/onyx_if.c
patching file media/libvpx/libvpx/vp9/common/vp9_alloccommon.c
patching file media/libvpx/libvpx/vp9/encoder/vp9_encoder.c
patching file media/libvpx/libvpx/vp9/vp9_dx_iface.c
patching file media/libvpx/libvpx/vpx_dsp/bitreader_buffer.c
patching file media/libvpx/libvpx/vpx_dsp/bitreader.h
tc@box:~/lab/seamonkey-2.53.17.1$ sed -e '1012 s/stderr=devnull/stderr=subproces
s.DEVNULL/' -e '1013 s/OSError/(OSError, subprocess.CalledProcessError)/' -i thi
rd_party/python/distro/distro.py
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
Error loading mozconfig: /home/tc/lab/seamonkey-2.53.17.1/mozconfig

Evaluation of your mozconfig exited with an error. This could be triggered
by a command inside your mozconfig failing. Please change your mozconfig
to not error and/or to catch errors in executed commands.

mozconfig output:

/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig_loader: /home/tc/lab/seamonkey-2.53.17.1/mozconfig: line 2:
: not found

Then I replaced it with mozconfig from BLFS

Code: [Select]
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
 0:00.73 Clobber not needed.
 0:00.73 Adding make options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
    MOZ_OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-x86_64-pc-linux-gnu
    OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-x86_64-pc-linux-gnu
    FOUND_MOZCONFIG=/home/tc/lab/seamonkey-2.53.17.1/mozconfig
    export FOUND_MOZCONFIG
 0:00.74 /usr/local/bin/make -f client.mk -s configure
 0:00.75 cd /home/tc/lab/seamonkey-2.53.17.1/obj-x86_64-pc-linux-gnu
 0:00.75 /home/tc/lab/seamonkey-2.53.17.1/configure
 0:01.14 Traceback (most recent call last):
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig.py", line 264, in read_mozconfig
 0:01.14     env=ensure_subprocess_env(env), universal_newlines=True))
 0:01.14   File "/usr/local/lib/python3.6/subprocess.py", line 356, in check_output
 0:01.14     **kwargs).stdout
 0:01.14   File "/usr/local/lib/python3.6/subprocess.py", line 438, in run
 0:01.14     output=stdout, stderr=stderr)
 0:01.14 subprocess.CalledProcessError: Command '['sh', '/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig_loader', '/home/tc/lab/seamonkey-2.53.17.1', '/home/tc/lab/seamonkey-2.53.17.1/mozconfig', '/usr/local/bin/python3', '/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/action/dump_env.py']' returned non-zero exit status 127.
 0:01.14
 0:01.14 During handling of the above exception, another exception occurred:
 0:01.14
 0:01.14 Traceback (most recent call last):
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/configure.py", line 175, in <module>
 0:01.14     sys.exit(main(sys.argv))
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/configure.py", line 46, in main
 0:01.14     sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 446, in run
 0:01.14     self.include_file(path)
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 437, in include_file
 0:01.14     exec_(code, self)
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/util.py", line 59, in exec_
 0:01.14     exec(object, globals, locals)
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/moz.configure", line 7, in <module>
 0:01.14     include('build/moz.configure/init.configure')
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 764, in include_impl
 0:01.14     self.include_file(what)
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 437, in include_file
 0:01.14     exec_(code, self)
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/util.py", line 59, in exec_
 0:01.14     exec(object, globals, locals)
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/build/moz.configure/init.configure", line 158, in <module>
 0:01.14     @imports(_from='mozbuild.mozconfig', _import='MozconfigLoader')
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 747, in decorator
 0:01.14     depends = DependsFunction(self, func, dependencies, when=when)
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 132, in __init__
 0:01.14     sandbox._value_for(self)
 0:01.14   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 539, in _value_for
 0:01.14     return self._value_for_depends(obj)
 0:01.15   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/util.py", line 1024, in method_call
 0:01.15     cache[args] = self.func(instance, *args)
 0:01.15   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 548, in _value_for_depends
 0:01.15     value = obj.result()
 0:01.15   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/util.py", line 1024, in method_call
 0:01.15     cache[args] = self.func(instance, *args)
 0:01.15   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 158, in result
 0:01.15     return self._func(*resolved_args)
 0:01.15   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/configure/__init__.py", line 1186, in wrapped
 0:01.15     return new_func(*args, **kwargs)
 0:01.15   File "/home/tc/lab/seamonkey-2.53.17.1/build/moz.configure/init.configure", line 189, in mozconfig
 0:01.15     mozconfig = loader.read_mozconfig(mozconfig)
 0:01.15   File "/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig.py", line 275, in read_mozconfig
 0:01.15     raise MozconfigLoadException(path, MOZCONFIG_BAD_EXIT_CODE, lines)
 0:01.15 mozbuild.mozconfig.MozconfigLoadException: Error loading mozconfig: /home/tc/lab/seamonkey-2.53.17.1/mozconfig
 0:01.15
 0:01.15 Evaluation of your mozconfig exited with an error. This could be triggered
 0:01.15 by a command inside your mozconfig failing. Please change your mozconfig
 0:01.15 to not error and/or to catch errors in executed commands.
 0:01.15
 0:01.15 mozconfig output:
 0:01.15
 0:01.15 /home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig_loader: /home/tc/lab/seamonkey-2.53.17.1/mozconfig: line 2:
 0:01.15 : not found
 0:01.15
 0:01.15 *** Fix above errors and then restart with\
 0:01.15                "./mach build"
 0:01.15 make: *** [client.mk:114: configure] Error 1

I tried to load the boost-1.78-dev expecting some changes but the issue is the same

Code: [Select]
tc@box:~/lab/seamonkey-2.53.17.1$ tce-load -i boost-1.78-dev.tcz
gdbm-dev.tcz: OK
tzdata.tcz: OK
tcl8.6.tcz: OK
tcl8.6-dev.tcz: OK
tk8.6.tcz: OK
tk8.6-dev.tcz: OK
python3.9.tcz: OK
python3.9-dev.tcz: OK
icu70.tcz: OK
icu70-bin.tcz: OK
icu70-dev.tcz: OK
boost-1.78.tcz: OK
boost-1.78-dev.tcz: OK
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
Error loading mozconfig: /home/tc/lab/seamonkey-2.53.17.1/mozconfig

Evaluation of your mozconfig exited with an error. This could be triggered
by a command inside your mozconfig failing. Please change your mozconfig
to not error and/or to catch errors in executed commands.

mozconfig output:

/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig_loader: /home/tc/lab/seamonkey-2.53.17.1/mozconfig: line 2:
: not found

tc@box:~/lab/seamonkey-2.53.17.1$
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 24, 2023, 08:35:54 AM
Hi cute curtis. Now that you are on x86_64, you can use seamonkey 2.53.17.1 which is already in the x86_64 repository.

If you really want to compile it yourself even though Juanito already did the work, you can follow Juanito's build notes which are here:
http://repo.tinycorelinux.net/14.x/x86_64/tcz/src/seamonkey/compile_seamonkey
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 24, 2023, 11:14:03 AM
Indeed, I'm trying to follow Juanito's build notes for future seamonkey builds but it seems I got problems with mozconfig when initiating and unable to move forward. I appreciate all your help. Thanks.
Code: [Select]
CC=clang CXX=clang++ ./mach configure
P.S. Juanito you don't need to put the author under me, because you built it you should claim it. I'll try the second method next release. If it does not work.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 24, 2023, 11:29:06 AM
Hi cute curtis. Please post the output of:
Code: [Select]
$ cat ~/lab/seamonkey-2.53.17.1/mozconfig
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 24, 2023, 01:56:58 PM
Hi GNUser
In reply #31 he got:
Code: [Select]
/home/tc/lab/seamonkey-2.53.17.1/python/mozbuild/mozbuild/mozconfig_loader: /home/tc/lab/seamonkey-2.53.17.1/mozconfig: line 2:
: not found
Line 2 should be blank and I think the error message confirms that.
Typically the second line of that error message reads:
Code: [Select]
SomeCommandName: not foundSo for some reason it's looking for a command called "" (empty string).
mozconfig  contains build options, not commands.

Then in reply #33, it suddenly accepts mozconfig and proceeds to read
it starting at timestamp 0:09.95:
Yes, I put mozconfig inside the seamonkey folder as instructed. BTW here is the error of the default mozconfig from Seamonkey website

Code: [Select]
tc@box:~/lab/seamonkey-2.53.17.1$ CC=clang CXX=clang++ ./mach configure
 0:01.58 Clobber not needed.
 0:01.58 Adding make options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
    MOZ_OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    OBJDIR=/home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
    FOUND_MOZCONFIG=/home/tc/lab/seamonkey-2.53.17.1/mozconfig
    export FOUND_MOZCONFIG
 0:01.58 /usr/local/bin/make -f client.mk -s configure
 0:01.59 cd /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu
 0:01.59 /home/tc/lab/seamonkey-2.53.17.1/configure
 0:02.31 Creating Python 3 environment
 0:04.02 Using base prefix '/usr/local'
 0:04.02 New python executable in /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu/_virtualenvs/init_py3/bin/python3
 0:04.02 Also creating executable in /home/tc/lab/seamonkey-2.53.17.1/obj-i686-pc-linux-gnu/_virtualenvs/init_py3/bin/python
 0:04.02 Installing setuptools, pip, wheel...
 0:07.57 done.
 0:08.73 Error processing command. Ignoring because optional. (optional:setup.py:third_party/python/psutil:build_ext:--inplace)
 0:08.74 Re-executing in the virtualenv
 0:09.95 Adding configure options from /home/tc/lab/seamonkey-2.53.17.1/mozconfig
 0:09.95   --disable-dbus
 0:09.95   --disable-necko-wifi
 0:09.95   --disable-gconf
 0:09.95   --with-system-icu
 0:09.95   --with-system-libevent
 0:09.95   --with-system-nspr
 0:09.95   --with-system-nss
 0:09.95   --with-system-webp

 ----- Snip -----

So I guess the question is, what changed?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 24, 2023, 02:18:14 PM
That's a good point, Rich. In some instances, mozconfig is being interpreted as a list of commands on cute curtis's machine. In other instances it is being interpreted as configuration options (as expected). The variable behavior is a bit mysterious.

I tried building seamonkey myself, following Juanito's steps exactly, just to see if I could reproduce cute curtis's problem. I couldn't reproduce it. I copied and pasted the file from BLFS (minus the first and last lines containing EOF) and I did not get the : not found error.

Nevertheless, I cannot get past the
Code: [Select]
CC=clang CXX=clang++ ./mach configure
step. I get an error about gconf-2 missing. I should have copied the exact error message, but I'm at work and was doing this piecemeal with distractions/interruptions. No need to look into this for my sake, though. If cute curtis can get farther along and encounters the same error, then we can look into it.

P.S. I can understand his desire to be able to compile this himself. I, too, like knowing how to compile my favorite applications.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Vaguiner on November 24, 2023, 02:23:07 PM
...I get an error about gconf-2 missing...
Também tive este problema com o Palemoon, precisa do --disable-gconf
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 24, 2023, 02:57:26 PM
Hi CardealRusso. Thanks for the tip. It made me realize that Juanito posted his mozconfig (available here (http://repo.tinycorelinux.net/14.x/x86_64/tcz/src/seamonkey/mozconfig)) and that it has some options (e.g., --disable-gconf) not included in the BLFS version of mozconfig.

If I use Juanito's build notes, his mozconfig, and follow the steps exactly, everything works:
Code: [Select]
$ CC=clang CXX=clang++ ./mach configure
---snip---
 0:30.00 FasterMake backend executed in 0.61s
 0:30.00   9 total backend files; 9 created; 0 updated; 0 unchanged; 0 deleted
 0:30.00 Total wall time: 10.67s; CPU time: 10.66s; Efficiency: 100%; Untracked: 0.36s
Configure complete!
Be sure to run |mach build| to pick up any changes


Hi cute curtis, I bet if you use Juanito's mozconfig and follow the steps carefully, you will succeed. Also, note this starred comment at the top of Juanito's build notes:
Code: [Select]
*** needs utf-8 locale ***
If you are not using a utf-8 locale, please try using one. Run locale in a terminal to see your current locale. If yours is not a utf-8 locale, use the  getlocale.tcz  extension to create an extension (e.g., mylocale.tcz) for your desired locale. Then put mylocale.tcz  in tce/optional/, add mylocale.tcz to your tce/onboot.lst file and reboot. When rebooting, include a boot code that specifies your desired locale (e.g., lang=en_US.UTF-8).
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Vaguiner on November 24, 2023, 04:34:36 PM
A propósito, eu nem consegui rodar o Seamonkey do repositório.

Code: [Select]
XPCOMGlueLoad error for file /tmp/tcloop/seamonkey/usr/local/lib/seamonkey/libxul.so:
/usr/local/lib/libnss3.so: version `NSS_3.79' not found (required by /tmp/tcloop/seamonkey/usr/local/lib/seamonkey/libxul.so)
Couldn't load XPCOM.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 24, 2023, 05:34:59 PM
Hi GNUser
... If I use Juanito's build notes, his mozconfig, and follow the steps exactly, everything works: ...
Same here with minor tweaks.

This failed because the coreutils.tcz cp will not overwrite
the symlink because it considers it to be the same file:
Code: [Select]
sudo cp /tmp/tcloop/llvm15-dev/usr/local/bin/llvm-config /usr/local/binbusybox cp will overwrite the symlink:
Code: [Select]
sudo busybox cp /tmp/tcloop/llvm15-dev/usr/local/bin/llvm-config /usr/local/bin
Then:
Code: [Select]
sudo ln -s /lib /lib64
wget http://repo.tinycorelinux.net/14.x/x86_64/tcz/src/seamonkey/mozconfig
tar -xf seamonkey-2.53.17.1.source.tar.xz
cd seamonkey-2.53.17.1
cp ../mozconfig ./
 ...

Quote
Code: [Select]
*** needs utf-8 locale ***
I don't have a UTF-8 locale set:
Code: [Select]
tc@E310:~$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 24, 2023, 06:24:16 PM
Hi Rich. You are so refreshingly thorough.
This failed because the coreutils.tcz cp will not overwrite
the symlink because it considers it to be the same file:
Code: [Select]
sudo cp /tmp/tcloop/llvm15-dev/usr/local/bin/llvm-config /usr/local/bin
I did not bump into this because I use busybox and not coreutils.

I don't have a UTF-8 locale set:
Code: [Select]
tc@E310:~$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
Good to know. I always use en_US.UTF-8 and didn't try to disable it--I took Juanito's word that it was required because he is correct 99.999999% of the time ;D

Hopefully cute curtis has all the information he needs at this point.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 24, 2023, 07:43:58 PM
Hi GNUser
Hi Rich. You are so refreshingly thorough. ...
Annoying, isn't it.  ;D

Quote
... I took Juanito's word that it was required because he is correct 99.999999% of the time ;D ...
Maybe it's required for running seamonkey? Also, I only ran the
configure command. Maybe it's required to run the build command.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 24, 2023, 08:20:52 PM
Also, I only ran the configure command. Maybe it's required to run the build command.
Hi Rich. Good point. Same here. Juanito's build notes say it took 1h 43m to build seamonkey on his machine. On my old clunker it would take at least twice as long and I didn't see the need since cute curtis's problem is at the configure step.

Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 24, 2023, 08:23:38 PM
A propósito, eu nem consegui rodar o Seamonkey do repositório.
Oi CardealRusso. Vou responder em inglês para que todos possam entender bem.

Which version did you try running? When I load seamonkey (version 2.53.17.1)  from the TC14 x86_64 repository, it runs without any errors.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 24, 2023, 10:34:14 PM
Hi GNUser
Out of curiosity, I decided to continue where I left off and run:
Code: [Select]
./mach build
8 minutes later it ended with this:
Forum error, see attachment.

Googling UnicodeDecodeError returns UTF-8 errors and python
among other things.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: GNUser on November 25, 2023, 06:45:50 AM
Googling UnicodeDecodeError returns UTF-8 errors
I always use en_US.UTF-8 and didn't try to disable it--I took Juanito's word that it was required because he is correct 99.999999% of the time ;D
Hi Rich. It seems my number was an underestimate.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Vaguiner on November 25, 2023, 08:08:12 AM
Depois testa o librewolf que enviei, devem atualizar amanhã.

Foi um trabalho retado para compilar, mas consegui. Utilizei -Os -g0 que reduz brutalmente o tamanho dos binários (e também reduz o desempenho) mas também utilizei --enable-lto. Esse enable lto supostamente melhora notavelmente, como melhorou notavelmente, o desempenho geral do navegador. Se eu não tivesse usado -Os, o resultado provavelmente seria melhor
Eis o benchmark da versão 120 disponível no site:
https://i.imgur.com/CslvoRF.png
E a que eu compilei hoje:
https://i.imgur.com/lc5GOfk.png

@edit
este teste sintetico deve dar resultados mais comparaveis
palemoon https://i.imgur.com/77O5u17.png
librewolf https://i.imgur.com/Rk6sHQI.png
ungoogled https://i.imgur.com/7aB9UAg.png
brave https://i.imgur.com/BTgDHUI.png
firefox https://i.imgur.com/fPdLbyC.png

realmente em questão de desempenho o brave é inbativel


Por curiosidade testei o brave-browser no mesmo site e deu 60k de pontos, embora isso não necessariamente queira dizer uma melhora bruta no desempenho, uma vez que o librewolf desativa várias opções por questões de privacidade, e essas opções não testadas são reduzidas do resultado.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Vaguiner on November 25, 2023, 08:42:44 AM
Eu estava utilizando o Palemoon mas por causa do DBUS, acho muito desnecessário forçar o uso do dbus.
O problema é que, como pode ver, o Palemoon é realmente muito lento. Decidi então me esforçar para compilar um navegador mais moderno e o mais fácil foi o librewolf.

Porém, o --disable-dbus é totalmente desrespeitado no mozconfig. Eu reportei isso em https://codeberg.org/librewolf/issues/issues/1682 e estou aguardando uma resposta.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 25, 2023, 09:37:05 AM
Hi CardealRusso
Please use the  International Talk  sub-forum for non-English (Portuguese?)
topics and posts.

English speaking members need to translate their posts into the native
language of the thread when posting in the  International Talk  sub-forum.

Non-English speaking members need to translate their posts into English
when posting in all of the other sub-forums.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 25, 2023, 03:43:06 PM
That's a good point, Rich. In some instances, mozconfig is being interpreted as a list of commands on cute curtis's machine. In other instances it is being interpreted as configuration options (as expected). The variable behavior is a bit mysterious.

Hi guys I'm back, thanks for spontaneous supports. I've finally managed to successfully surpassed the ./mach configure step by saving my mozconfig in ANSI then deleting manually all the rotated gamma Γ in the file.

(https://i.imgur.com/I6F8ope.png)
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on November 25, 2023, 03:44:21 PM
I think @GNUser you could reproduce my errors by using my mozconfig attached where there are rotated gamma Γ generated.

I tried building seamonkey myself, following Juanito's steps exactly, just to see if I could reproduce cute curtis's problem. I couldn't reproduce it. I copied and pasted the file from BLFS (minus the first and last lines containing EOF) and I did not get the : not found error.

I've got same error with mach build like Rich because I don't have UTF-8 set yet.
Hi GNUser
Out of curiosity, I decided to continue where I left off and run:
Code: [Select]
./mach build
8 minutes later it ended with this:
Forum error, see attachment.

Googling UnicodeDecodeError returns UTF-8 errors and python
among other things.

Hi @GNUser how can I set to UTF-8 my live TC without reboot?

If you are not using a utf-8 locale, please try using one. Run locale in a terminal to see your current locale. If yours is not a utf-8 locale, use the  getlocale.tcz  extension to create an extension (e.g., mylocale.tcz) for your desired locale. Then put mylocale.tcz  in tce/optional/, add mylocale.tcz to your tce/onboot.lst file and reboot. When rebooting, include a boot code that specifies your desired locale (e.g., lang=en_US.UTF-8).

Code: [Select]
tc@box:~$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on November 25, 2023, 03:55:00 PM
Hi cute curtis
...  then deleting manually all the rotated gamma Γ in the file. ...
OK, I see the issue. Your editor is inserting carriage return/linefeed sequences
like DOS/Windows uses to mark the end of a line. Linux wants to see only a
linefeed to mark the end of a line. To fix the file, run:
Code: [Select]
dos2unix mozconfig
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: gadget42 on December 10, 2023, 09:29:00 AM
tl;dr - Kudos SeaMonkey Crew!

in following the slackware changelog i saw this one:
https://mirrors.slackware.com/slackware/slackware64-15.0/ChangeLog.txt#src=feeds&time=1702151712

and then read through:
https://www.seamonkey-project.org/releases/seamonkey2.53.18/

definitely humbled and in wonderment at their continuing efforts and struggles!
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on December 28, 2023, 06:27:49 AM
Hi, where can I embed my mylocale.tcz into the core.gz folders? Why I can't see the default tcz apps in core.gz?
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Rich on December 28, 2023, 07:43:03 AM
Hi cute curtis
... Why I can't see the default tcz apps in core.gz?
Because there are no  .tcz  apps in  core.gz.

The  ISO  files contain default apps. They are in a read only
directory called  cde.  If you boot the  ISO  and use it to do
an install, it will transfer those apps to a writable directory
called  tce  on the device you are installing to.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: cute curtis on February 12, 2024, 02:29:50 AM
Happy New Year everyone! Why both corepure64.iso and coreplus.iso (x86) don't load their cde folder with tcz extensions unlike tinycore.iso (x86) which loads it's GUI every boot. I've already put the extensions in optional folder then included in onboot.lst and make .inlist file. Do I miss some driver files in core.gz?


Hi cute curtis
... Why I can't see the default tcz apps in core.gz?
Because there are no  .tcz  apps in  core.gz.

The  ISO  files contain default apps. They are in a read only
directory called  cde.  If you boot the  ISO  and use it to do
an install, it will transfer those apps to a writable directory
called  tce  on the device you are installing to.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Vaguiner on November 22, 2024, 06:33:57 AM
Quote
fatal error: 'cstddef' file not found
 0:11.46 DEBUG: | #include <cstddef>
 0:11.46 DEBUG: |          ^~~~~~~~~
 0:11.46 DEBUG: | 1 error generated.
 0:11.46 ERROR: The libstdc++ in use is not new enough.  Please run ./mach bootstrap to update your compiler, or update your system libstdc++ installation.

Today I started getting the same error when trying to update Librewolf. Curiously, the error persists even in previous versions, which I have compiled before. It's easy to conclude that it started after updating something related to clang.

Using GCC circumvents the error, but ends up generating other types of error, since firefox is no longer advised to compile with gcc because of something related to rust.
Title: Re: Seamonkey 2.53.17.1.tcz corrupted
Post by: Juanito on November 22, 2024, 07:54:22 AM
You could try with llvm-config and clang-19 as actual files and the symlinks clang and clang++ adjusted to suit