Calculate Forum

Проблемы пересборки seamonkey

У меня “давно” для seamonkey прописаны USE-флаги, ранее все обновления с ними пересобирались, а сейчас – падают.

Изначально я отключал только pulseaudio, но раз всё равно идёт пересборка, то сделал ещё более минимальстическую версию такими флагами:
minimal -calendar -chatzilla -pulseaudio -selinux

В итоге сейчас стоит:

Установленные версии: 2.49.5-r1^t(23:54:32 19.03.2020)(crypt dbus force-gtk3 gmp-autoupdate ipc jemalloc minimal roaming system-icu system-jpeg system-libvpx system-sqlite -calendar -chatzilla -custom-cflags -custom-optimization -debug -jack -neon -pulseaudio -selinux -startup-notification -system-cairo -system-harfbuzz -system-libevent -test -wifi L10N=“cs de es-AR es-ES fr hu it lt nl pl pt-PT ru sk sv -en-GB -ja -zh-CN -zh-TW”)

Пробовал обновить на 2.49.5-r2 - падает на:

/usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11 -o SandboxChroot.o -c  -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/dist/system_wrappers -include /var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DNS_NO_XPCOM -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/linux -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/security/sandbox/linux -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/linux -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/chromium-shim -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/chromium -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/nsprpub -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/dist/include  -I/usr/include/nspr -I/usr/include/nss       -fPIC  -DMOZILLA_CLIENT -include /var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/mozilla-config.h -MD -MP -MF .deps/SandboxChroot.o.pp  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -march=x86-64 -pipe -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -mno-avx -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe  -O2 -fomit-frame-pointer  -Wno-shadow  /var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/linux/SandboxChroot.cpp
/usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11 -o SandboxBrokerCommon.o -c  -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/dist/system_wrappers -include /var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DNS_NO_XPCOM -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/linux -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/security/sandbox/linux -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/linux -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/chromium-shim -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/chromium -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/nsprpub -I/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/dist/include  -I/usr/include/nspr -I/usr/include/nss       -fPIC  -DMOZILLA_CLIENT -include /var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/mozilla-config.h -MD -MP -MF .deps/SandboxBrokerCommon.o.pp  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -march=x86-64 -pipe -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -mno-avx -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe  -O2 -fomit-frame-pointer  -Wno-shadow  /var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/security/sandbox/linux/broker/SandboxBrokerCommon.cpp
libmozsandbox.so
rm -f libmozsandbox.so
/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/_virtualenv/bin/python /var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/config/expandlibs_exec.py --uselist --  /usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -march=x86-64 -pipe -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -mno-avx -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe  -O2 -fomit-frame-pointer  -fPIC -shared -Wl,-z,defs -Wl,-h,libmozsandbox.so -o libmozsandbox.so  logging.o at_exit.o callback_internal.o lazy_instance.o ref_counted.o singleton.o safe_sprintf.o string16.o string_piece.o string_util.o string_util_constants.o stringprintf.o utf_string_conversion_utils.o utf_string_conversions.o condition_variable_posix.o lock.o lock_impl_posix.o waitable_event_posix.o icu_utf.o platform_thread_internal_posix.o platform_thread_linux.o platform_thread_posix.o thread_collision_warner.o thread_id_name_manager.o thread_local_posix.o thread_restrictions.o time.o time_posix.o bpf_dsl.o codegen.o dump_bpf.o policy.o policy_compiler.o syscall_set.o die.o syscall.o trap.o syscall_wrappers.o LinuxCapabilities.o Sandbox.o SandboxBrokerClient.o SandboxChroot.o SandboxFilter.o SandboxFilterUtil.o SandboxHooks.o SandboxInfo.o SandboxLogging.o SandboxUtil.o SandboxBrokerCommon.o   -lpthread -Wl,--as-needed -Wl,-rpath=/usr/lib64/seamonkey,--enable-new-dtags -Wl,-z,noexecstack -Wl,-z,text   -Wl,-rpath-link,/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/dist/bin -Wl,-rpath-link,/usr/lib         -ldl  -lrt
chmod +x libmozsandbox.so
../../../config/nsinstall -R -m 644 'libmozsandbox.so' '../../../dist/bin'
make[4]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/security/sandbox/linux'
make[3]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk'
make[2]: *** [/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/config/recurse.mk:33: compile] Error 2
make[2]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk'
make[1]: *** [/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/config/rules.mk:523: default] Error 2
make[1]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk'
make: *** [client.mk:397: build] Error 2
    * ERROR: www-client/seamonkey-2.49.5-r2::gentoo failed (compile phase):
    *   emake failed

И пробовал версию 2.53.1-r1, падает на:

      from /var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/mozilla/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/screenshare_layers.h:13,
      from /var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/mozilla/media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/screenshare_layers.cc:11,
      from /var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/seamonk/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/Unified_cpp_webrtc_vp9_gn0.cpp:2:
    /var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/mozilla/media/webrtc/trunk/webrtc/common_types.h:662:7: note: 'class webrtc::VideoCodec' declared here
      662 | class VideoCodec {
          |       ^~~~~~~~~~
make[4]: *** [/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/mozilla/config/rules.mk:1048: Unified_cpp_webrtc_vp9_gn0.o] Error 1
make[4]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/seamonk/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn'
make[3]: *** [/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/mozilla/config/recurse.mk:73: media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/target] Error 2
make[3]: *** Waiting for unfinished jobs....
libcongestion_controller_gn.a.desc
rm -f libcongestion_controller_gn.a
/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/seamonk/_virtualenv/bin/python /var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/mozilla/config/expandlibs_gen.py -o libcongestion_controller_gn.a.desc trendline_estimator.o Unified_cpp_estion_controller_gn0.o  
make[4]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/seamonk/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn'
make[3]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/seamonk'
make[2]: *** [/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/mozilla/config/recurse.mk:33: compile] Error 2
make[2]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/seamonk'
make[1]: *** [/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/mozilla/config/rules.mk:452: default] Error 2
make[1]: Leaving directory '/var/calculate/tmp/portage/www-client/seamonkey-2.53.1-r1/work/seamonkey-2.53.1/seamonk'
make: *** [client.mk:397: build] Error 2
    * ERROR: www-client/seamonkey-2.53.1-r1::gentoo failed (compile phase):
    *   emake failed

Первое, что я делал, когда собирал ФФ и его производные, это включал однопоточную сборку. Хотя это и было давно.

Не помогло.

Версия 2.53 упала там же.

А 2.49.5-r2 - в другом месте:

/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/xpcom/base/nsMemoryReporterManager.h:180:28:   required from here
/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/seamonk/dist/include/mozilla/PodOperations.h:32:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct nsMemoryReporterManager::SizeOfTabFns'; use assignment or value-initialization instead [-Wclass-memaccess]
32 |   memset(aT, 0, sizeof(T));
   |   ~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/tools/profiler/core/platform-linux.cc:90:
/var/calculate/tmp/portage/www-client/seamonkey-2.49.5-r2/work/seamonkey-2.49.5/mozilla/xpcom/base/nsMemoryReporterManager.h:173:10: note: 'struct nsMemoryReporterManager::SizeOfTabFns' declared here
173 |   struct SizeOfTabFns
    |          ^~~~~~~~~~~~

Хотел тоже попробовать симанки, но когда увидел, что для сборки требуется руст весом 200Мб. Не, на фиг такое.
Наверняка есть подобное в багзилле или форуме генты.

Вот поэтому я и собираю с параметрами minimal -calendar -chatzilla

2.53 собралась, когда указал не использовать системную либу vpx – это флаг сборки -system-libvpx

Ютуб показывает, рекламу, к сожалению, тоже.

Rust у вас уже установлен. В любом случае он нужен, даже если все флаги в минусе.

Что поделать им тоже хлеб с маслом нужен.
Смотрите Ютуб через vlc или на худой конец через mpv.

Когда же можно будет нормально установить Seamonkey?

Пока чинят можно побыть на Palemoon, и без всяких rust’ов.

Когда же можно будет нормально установить Seamonkey?

Можете сделать как я – удалить флаг -system-libvpx - у меня падало именно на сборке video

© 2007-2020 Calculate Ltd.
Mastodon Mastodon