Topic: Building Iceweasel-UXP fails
If i try to build Iceweael-UXP on FreeBSD 11.2 like this
cd /tmp
git clone https://github.com/MoonchildProductions/UXP
cd UXP/application/
git clone https://git.hyperbola.info:50100/software/iceweasel-uxp.git
sed -i 's/Vendor=Mozilla/Vendor=Hyperbola/g' iceweasel-uxp/app/application.ini
sed -i 's/Name=Firefox/Name=Iceweasel-UXP/g' iceweasel-uxp/app/application.ini
cd ..
echo 'mk_add_options AUTOCLOBBER=1' >> .mozconfig
echo 'ac_add_options --enable-application=iceweasel-uxp' >> .mozconfig
echo 'ac_add_options --enable-default-toolkit=cairo-gtk2' >> .mozconfig
echo 'ac_add_options --disable-pulseaudio' >> .mozconfig
echo 'ac_add_options --enable-optimize=-O2' >> .mozconfig
echo 'ac_add_options --enable-strip' >> .mozconfig
echo 'ac_add_options --disable-debug' >> .mozconfig
echo 'ac_add_options --enable-release' >> .mozconfig
echo 'ac_add_options --disable-sync' >> .mozconfig
echo 'ac_add_options --disable-verify-mar' >> .mozconfig
echo 'ac_add_options --disable-updater' >> .mozconfig
echo 'ac_add_options --disable-crashreporter' >> .mozconfig
echo 'ac_add_options --disable-maintenance-service' >> .mozconfig
echo 'ac_add_options --disable-tests' >> .mozconfig
echo 'ac_add_options --disable-ipdl-tests' >> .mozconfig
./mach build
then i get this error. And if i try to run the mentioned command, i get this. Now, if i edit "UXP/obj-x86_64-unknown-freebsd11.2/dist/include/mozilla/throw_gcc.h" and insert
#ifdef __FreeBSD__
#include <cstdio>
#endif
then it works, but breaks another way. The mentioned command gives back in this.
What can be the problem?