Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2012 14:18:21 +0300
From:      Jan Beich <jbeich@tormail.org>
To:        "Marat N.Afanasyev" <amarat@ksu.ru>
Cc:        freebsd-gecko@freebsd.org
Subject:   Re: seamonkey from branches/experimental fails to install
Message-ID:  <1SqjK3-0008uV-TJ@internal.tormail.org>
References:  <5003D6D4.2080201@ksu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
"Marat N.Afanasyev" <amarat@ksu.ru> writes:

> Hello!
>
> I've tried to install experimental 2.11b5 seamonkey, but encountered a
> xpcshell coredump while running make install:
[...]
> #0  0x00000008023ae2a2 in file_util::FileEnumerator::Next () from
> /tmp/mnt/mod_usr/ports/www/seamonkey/work/comm-beta/obj-x86_64-portbld-freebsd8.3/suite/installer/../../mozilla/dist/bin/libxul.so
> [New Thread 809e0a740 (LWP 100309/xpcshell)]
> [New Thread 809e0ae40 (LWP 100306/xpcshell)]
> [New Thread 809e041c0 (LWP 100652/initial thread)]
> (gdb) bt
> #0  0x00000008023ae2a2 in file_util::FileEnumerator::Next () from
> /tmp/mnt/mod_usr/ports/www/seamonkey/work/comm-beta/obj-x86_64-portbld-freebsd8.3/suite/installer/../../mozilla/dist/bin/libxul.so
> #1  0x0000000805bcc1cb in event_base_loop () from
> /usr/local/lib/event2/libevent-2.0.so.6
> #2  0x00000008023ae575 in file_util::FileEnumerator::Next () from
> /tmp/mnt/mod_usr/ports/www/seamonkey/work/comm-beta/obj-x86_64-portbld-freebsd8.3/suite/installer/../../mozilla/dist/bin/libxul.so
> #3  0x0000000802378424 in std::_Rb_tree<std::string,
> std::pair<std::string const, base::Histogram*>,
> std::_Select1st<std::pair<std::string const, base::Histogram*> >,
> std::less<std::string>, std::allocator<std::pair<std::string const,
> base::Histogram*> > >::_M_insert_unique () from
> /tmp/mnt/mod_usr/ports/www/seamonkey/work/comm-beta/obj-x86_64-portbld-freebsd8.3/suite/installer/../../mozilla/dist/bin/libxul.so
> #4  0x000000080238d8d2 in
> std::vector<base::SystemMonitor::PowerObserver*,
> std::allocator<base::SystemMonitor::PowerObserver*> >::erase ()
>    from
> /tmp/mnt/mod_usr/ports/www/seamonkey/work/comm-beta/obj-x86_64-portbld-freebsd8.3/suite/installer/../../mozilla/dist/bin/libxul.so
> #5  0x00000008023aeb8a in file_util::FileEnumerator::Next () from
> /tmp/mnt/mod_usr/ports/www/seamonkey/work/comm-beta/obj-x86_64-portbld-freebsd8.3/suite/installer/../../mozilla/dist/bin/libxul.so
> #6  0x00000008040cb4f1 in pthread_getprio () from /lib/libthr.so.3
> #7  0x0000000000000000 in ?? ()
> Cannot access memory at address 0x7fffffbff000

Try adding --enable-stdcxx-compat to MOZ_OPTIONS or using libevent14[1].
However, the only issues during install that I can remember are with QT4
option[2] and when mixing libstdc++ and libc++[3].

[1] deinstall devel/libevent2 and replace it in Mk/bsd.gecko.mk
    with devel/libevent
[2] https://redports.org/~aoeui/20120709131756-16024-34148/seamonkey-2.11.b5.log
[3] gcc-built firefox doesn't like hunspell built with -stdlib=libc++

> OPTIONS_FILE_UNSET+=CHATZILLA
> OPTIONS_FILE_SET+=COMPOSER
> OPTIONS_FILE_SET+=DBUS
> OPTIONS_FILE_UNSET+=DEBUG
> OPTIONS_FILE_UNSET+=GNOME
> OPTIONS_FILE_SET+=GSTREAMER
> OPTIONS_FILE_SET+=LDAP
> OPTIONS_FILE_UNSET+=LIBPROXY
> OPTIONS_FILE_SET+=LIGHTNING
> OPTIONS_FILE_UNSET+=LOGGING
> OPTIONS_FILE_SET+=MAILNEWS
> OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS
> OPTIONS_FILE_SET+=GCONF
> OPTIONS_FILE_SET+=GIO
> OPTIONS_FILE_SET+=GNOMEUI
> OPTIONS_FILE_SET+=GNOMEVFS2
> OPTIONS_FILE_UNSET+=ALSA
> OPTIONS_FILE_SET+=OSS
> OPTIONS_FILE_UNSET+=PULSEAUDIO
> OPTIONS_FILE_SET+=GTK2
> OPTIONS_FILE_UNSET+=QT4

It's unhelpful but these options work fine here (ignore the bug in
`showconfig' vs. GNOME options).

https://redports.org/~aoeui/20120716092228-5966-34825/seamonkey-2.11.b5.log

Build environment issues can be narrowed down by using prebuilt
packages, prebuilt base/kernel, default settings, setting up the system
from scratch, testing under VM (with hwaccel, then without), etc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1SqjK3-0008uV-TJ>