Palemoon 33.6:
64-bit browser?:
hi,
after getting installed python2 i'd like to add Palemoon to the system. It was compiling for 30min and stopped with error.
here are the build instructions
https://github.com/echawk/kiss-xorg/tree/master/community/palemoon
mozconfig.in
Code: Select all
mk_add_options MOZ_OBJDIR="%SRCDIR%/objdir"
ac_add_options --enable-official-branding
export MOZILLA_OFFICIAL=1
export MOZ_PKG_SPECIAL=gtk3
ac_add_options --enable-application=palemoon
ac_add_options --enable-optimize="%CFLAGS%"
ac_add_options --enable-default-toolkit=cairo-gtk3
ac_add_options --enable-strip
ac_add_options --enable-devtools
ac_add_options --with-pthreads
ac_add_options --enable-alsa
ac_add_options --disable-npapi
ac_add_options --disable-webrtc
ac_add_options --disable-gamepad
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater
ac_add_options --disable-dbus
ac_add_options --disable-gconf
ac_add_options --disable-gio
ac_add_options --disable-debug-symbols
ac_add_options --disable-pulseaudio
ac_add_options --disable-jemalloc
ac_add_options --disable-crashreporter
ac_add_options --disable-parental-controls
ac_add_options --disable-maintenance-service
ac_add_options --disable-official-branding
ac_add_options --x-libraries=/usr/lib
build
Code: Select all
#!/bin/sh -e
export DESTDIR="$1"
# Build autoconf 2.13 for browser's sole use.
(
cd autoconf2.13
./configure \
--prefix="$PWD/../junk" \
--program-suffix=-2.13
make
make install
)
if ! command -v yasm; then (
cd yasm
./configure \
--prefix=/
make
make DESTDIR="$PWD/../junk" install
); fi
for f in zip unzip; do
if ! kiss list "$f"; then (
cd "$f"
make \
CC="$CC $CFLAGS $CXXFLAGS" \
-f unix/Makefile generic
make \
prefix="$PWD/../junk" \
-f unix/Makefile install
); fi
done
export PATH="$PWD/junk/bin:$PATH"
export CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
sed -e 's#%SRCDIR%#'"$(realpath .)"'#g' -e "s#%CFLAGS%#$CFLAGS#g" mozconfig.in > .mozconfig
mv -f UXP/* platform/
touch platform/.gdbinit
for patch in *.patch; do
patch -p1 < "$patch"
done
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/browser"
# Apparently `mach` is now a *bash* script, yet it's marked as /bin/sh.
# So we just delete the offending code.
printf '#!/bin/sh\n./platform/mach $@' > ./mach
./mach build
./mach stage
mkdir -p "$1/usr/bin"
mkdir -p "$1/usr/lib"
cp -r objdir/dist/palemoon "$1/usr/lib/browser"
ln -s ../lib/browser/palemoon "$1/usr/bin/browser"
sources
Code: Select all
https://repo.palemoon.org/MoonchildProductions/Pale-Moon/archive/33.6.0_Release.tar.gz
https://repo.palemoon.org/MoonchildProductions/UXP/archive/RB_20250207.tar.gz UXP
https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/
https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0.tar.gz yasm
https://fossies.org/linux/misc/zip30.tar.gz zip
https://fossies.org/linux/misc/unzip60.tar.gz unzip
files/mozconfig.in
patches/gcc11-fix.patch
patches/null-fix.patch
First lines of the build log
Code: Select all
creating cache ./config.cache
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/bin/m4
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking for perl... /usr/bin/perl
checking for a BSD compatible install... /usr/bin/install -c
updating cache ./config.cache
creating ./config.status
creating Makefile
creating testsuite/Makefile
rm -f autoconf autoconf.tmp
sed -e 's,@''datadir''@,/root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf,g' -e 's,@''M4''@,/usr/bin/m4,g' -e 's,@''AWK''@,awk,g' -e 's,@''SHELL''@,/bin/sh,g' autoconf.sh > autoconf.tmp && chmod +x autoconf.tmp && mv autoconf.tmp autoconf
rm -f autoheader autoheader.tmp
sed -e 's,@''datadir''@,/root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf,g' -e 's,@''M4''@,/usr/bin/m4,g' -e 's,@''AWK''@,awk,g' -e 's,@''SHELL''@,/bin/sh,g' autoheader.sh > autoheader.tmp && chmod +x autoheader.tmp && mv autoheader.tmp autoheader
rm -f autoreconf autoreconf.tmp
sed -e 's,@''datadir''@,/root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf,g' -e 's,@''M4''@,/usr/bin/m4,g' -e 's,@''AWK''@,awk,g' -e 's,@''SHELL''@,/bin/sh,g' autoreconf.sh > autoreconf.tmp && chmod +x autoreconf.tmp && mv autoreconf.tmp autoreconf
rm -f autoupdate autoupdate.tmp
sed -e 's,@''datadir''@,/root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf,g' -e 's,@''M4''@,/usr/bin/m4,g' -e 's,@''AWK''@,awk,g' -e 's,@''SHELL''@,/bin/sh,g' autoupdate.sh > autoupdate.tmp && chmod +x autoupdate.tmp && mv autoupdate.tmp autoupdate
rm -f ifnames ifnames.tmp
sed -e 's,@''datadir''@,/root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf,g' -e 's,@''M4''@,/usr/bin/m4,g' -e 's,@''AWK''@,awk,g' -e 's,@''SHELL''@,/bin/sh,g' ifnames.sh > ifnames.tmp && chmod +x ifnames.tmp && mv ifnames.tmp ifnames
rm -f autoscan autoscan.tmp
sed -e 's,@''datadir''@,/root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf,g' -e 's,@''PERL''@,/usr/bin/perl,g' autoscan.pl > autoscan.tmp && chmod +x autoscan.tmp && mv autoscan.tmp autoscan
freezing autoconf.m4
freezing autoheader.m4
/bin/sh ./mkinstalldirs /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/bin /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/info /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf
mkdir /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk
mkdir /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/bin
mkdir /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/info
mkdir /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share
mkdir /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf
if test -f autoconf.info; then \
for i in *.info*; do \
/usr/bin/install -c -m 644 $i /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/info/$i; \
done; \
else \
for i in ./*.info*; do \
/usr/bin/install -c -m 644 $i /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/info/`echo $i | sed 's|^./||'`; \
done; \
fi
for p in autoconf autoheader autoreconf autoupdate ifnames ; do \
/usr/bin/install -c $p /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/bin/`echo $p|sed 's,$,-2.13,; '`; \
done
for i in autoconf.m4f autoheader.m4f; do \
/usr/bin/install -c -m 644 $i /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf/$i; \
done
for i in autoconf.m4 acgeneral.m4 acoldnames.m4 acspecific.m4 autoheader.m4 acconfig.h; do \
/usr/bin/install -c -m 644 ./$i /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf/$i; \
done
if test -f autoscan; then \
/usr/bin/install -c autoscan /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/bin/`echo autoscan|sed 's,$,-2.13,; '`; \
for i in acfunctions acheaders acidentifiers acprograms \
acmakevars; do \
/usr/bin/install -c -m 644 ./$i /root/.cache/kiss/proc/12553/build/palemoon/autoconf2.13/../junk/share/autoconf/$i; \
done; \
else :; fi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for cc option to accept ISO C99... none needed
checking for cc option to accept ISO Standard C... (cached) none needed
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for xmlto... no
configure: WARNING: xmlto not found, manpages will not be rebuilt.
checking if malloc debugging is wanted... no
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for strings.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for unistd.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking for sys/stat.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for function prototypes... yes
checking for size_t... yes
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in libyasm-stdint.h (assuming C99 compatible system)
checking for abort... yes
checking for toascii... yes
checking for vsnprintf... yes
checking for strsep... yes
checking for mergesort... no
checking for getcwd... yes
checking for popen... yes
checking for ftruncate... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for stricmp... no
checking for _stricmp... no
checking for strcmpi... no
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for GNU C Library... no
configure: Checking for Python
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/local/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}lib/python2.7/site-packages
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libyasm-stdint.h commands
config.status: creating libyasm-stdint.h : _YASM_LIBYASM_STDINT_H
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Makefile:4062: warning: ignoring prerequisites on suffix rule definition
cc -I. \
-c -o genperf.o `test -f tools/genperf/genperf.c || echo './'`tools/genperf/genperf.c
cc -I. \
Here the last part of the log
Code: Select all
line 36308
31:17.37 /root/.cache/kiss/proc/12553/build/palemoon/platform/layout/style/nsCSSRules.cpp:3403:3: note: in expansion of macro 'NS_INTERFACE_MAP_ENTRY'
31:17.37 3403 | NS_INTERFACE_MAP_ENTRY(nsIDOMCSSLayerStatementRule)
31:17.38 | ^~~~~~~~~~~~~~~~~~~~~~
31:17.38 make[
31:17.38 In the directory /root/.cache/kiss/proc/12553/build/palemoon/objdir/accessible/atk
31:17.38 The following command failed to execute properly:
31:17.38 /usr/bin/c++ -o ApplicationAccessibleWrap.o -c -I/root/.cache/kiss/proc/12553/build/palemoon/objdir/dist/stl_wrappers
-I/root/.cache/kiss/proc/12553/build/palemoon/objdir/dist/system_wrappers -include /root/.cache/kiss/proc/12553/build/palemoon/platform/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/atk
-I/root/.cache/kiss/proc/12553/build/palemoon/objdir/accessible/atk
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/base
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/generic
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/html
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/ipc
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/ipc/other
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/xpcom
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/xul
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/other-licenses/atk-1.0
-I/root/.cache/kiss/proc/12553/build/palemoon/objdir/ipc/ipdl/_ipdlheaders
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/ipc/chromium/src
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/ipc/glue
-I/root/.cache/kiss/proc/12553/build/palemoon/objdir/dist/include
-I/root/.cache/kiss/proc/12553/build/palemoon/objdir/dist/include/nspr
-I/root/.cache/kiss/proc/12553/build/palemoon/objdir/dist/include/nss
-fPIC -DMOZILLA_CLIENT
-include /root/.cache/kiss/proc/12553/build/palemoon/objdir/mozilla-config.h -MD -MP -MF .deps/ApplicationAccessibleWrap.o.pp -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits
-Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=multistatement-macros -fno-sized-deallocation
-flifetime-dse=1 -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pipe -pthread -D_LARGEFILE64_SOURCE -fomit-frame-pointer
-I/root/.cache/kiss/proc/12553/build/palemoon/platform/widget/gtk/compat-gtk3
-I/usr/include/gtk-3.0/unix-print
-I/usr/include/gtk-3.0
-I/usr/include/pango-1.0
-I/usr/include/libdrm
-I/usr/include/gio-unix-2.0
-I/usr/include/cairo
-I/usr/include/freetype2
-I/usr/include/harfbuzz
-I/usr/include/pixman-1
-I/usr/include/gdk-pixbuf-2.0
-I/usr/include/libpng16 -pthread
-I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-Wno-error=shadow -Wno-unused-local-typedefs /root/.cache/kiss/proc/12553/build/palemoon/platform/accessible/atk/ApplicationAccessibleWrap.cpp
31:17.38 make[5]: *** [/root/.cache/kiss/proc/12553/build/palemoon/platform/config/rules.mk:881: ApplicationAccessibleWrap.o] Error 1
31:17.38 make[4]: *** [/root/.cache/kiss/proc/12553/build/palemoon/platform/config/recurse.mk:71: accessible/atk/target] Error 2
31:17.38 make[4]: *** Waiting for unfinished jobs....
31:17.38 /root/.cache/kiss/proc/12553/build/palemoon/platform/layout/style/nsCSSRules.cpp: In member function 'virtual nsresult mozilla::CSSLayerBlockRule::QueryInterface(const nsIID&, void**)':
...
...
...
line 36492
31:28.07 make[3]: *** [/root/.cache/kiss/proc/12553/build/palemoon/platform/config/recurse.mk:33: compile] Error 2
31:28.07 make[2]: *** [/root/.cache/kiss/proc/12553/build/palemoon/platform/config/rules.mk:497: default] Error 2
31:28.07 make[1]: *** [/root/.cache/kiss/proc/12553/build/palemoon/client.mk:406: realbuild] Error 2
31:28.07 make: *** [client.mk:164: build] Error 2
31:28.11 456 compiler warnings present.
31:28.22 Notification center failed: Install the python dbus module to get a notification when the build finishes.
perhaps someone can see the problem?