Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109593

Summary: ERROR: mail-client/mozilla-thunderbird-1.0.6-r5 failed.
Product: Gentoo Linux Reporter: Alexey Maximov <amax>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexey Maximov 2005-10-17 10:34:31 UTC
/media/sda5/xxx/portage/mozilla-thunderbird-1.0.6-r5/work/mozilla/config/nsinstall
-R -m 755 libxpconnect.so ../../../../dist../../../../dist/bin/elf-dynstr-gc
../../../../dist/gre/components/libxpconnect.so
Couldn't GC any strings, exiting.
/media/sda5/xxx/portage/mozilla-thunderbird-1.0.6-r5/work/mozilla/config/nsinstall
-R -m 755 libxpconnect.so ../../../../dist../../../../dist/bin/elf-dynstr-gc
../../../../dist/lib/components/libxpconnect.so
Couldn't GC any strings, exiting.
/media/sda5/xxx/portage/mozilla-thunderbird-1.0.6-r5/work/mozilla/config/nsinstall
-R -m 755 libxpconnect.so ../../../../dist../../../../dist/bin/elf-dynstr-gc
../../../../dist/bin/components/libxpconnect.so
Couldn't GC any strings, exiting.
gmake[3]: Leaving directory
`/media/sda5/xxx/portage/mozilla-thunderbird-1.0.6-r5/work/mozilla/js/src/xpconnect/src'
gmake[3]: Entering directory
`/media/sda5/xxx/portage/mozilla-thunderbird-1.0.6-r5/work/mozilla/js/src/xpconnect/shell'
xpcshell.cpp
i686-pc-linux-gnu-g++ -o xpcshell.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\"
-DJS_THREADSAFE  -I../../../../dist/include/xi686-pc-linux-gnu-g++ 
-DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\"
-DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugxpcshell.o:(.data.rel+0x8):
undefined reference to `JS_PropertyStub'
xpcshell.o:(.data.rel+0xc): undefined reference to `JS_PropertyStub'
xpcshell.o:(.data.rel+0x10): undefined reference to `JS_PropertyStub'
xpcshell.o:(.data.rel+0x14): undefined reference to `JS_PropertyStub'
xpcshell.o:(.data.rel+0x18): undefined reference to `JS_EnumerateStub'
xpcshell.o:(.data.rel+0x1c): undefined reference to `JS_ResolveStub'
xpcshell.o:(.data.rel+0x20): undefined reference to `JS_ConvertStub'
xpcshell.o:(.data.rel+0x24): undefined reference to `JS_FinalizeStub'
xpcshell.o:(.data.rel+0x68): undefined reference to `JS_PropertyStub'
xpcshell.o:(.data.rel+0x6c): undefined reference to `JS_PropertyStub'
xpcshell.o:(.data.rel+0x70): undefined reference to `JS_PropertyStub'
xpcshell.o:(.data.rel+0x80): undefined reference to `JS_ConvertStub'
xpcshell.o:(.data.rel+0x84): undefined reference to `JS_FinalizeStub'
xpcshell.o: In function `my_ErrorReporter(JSContext*, char const*, JSErrorReport*)':
xpcshell.cpp:(.text._Z16my_ErrorReporterP9JSContextPKcP13JSErrorReport+0x4d):
undefined reference to `JS_smprintf'
xpcshell.cpp:(.text._Z16my_ErrorReporterP9JSContextPKcP13JSErrorReport+0x7f):
undefined reference to `JS_smprintf'
xpcshell.cpp:(.text._Z16my_ErrorReporterP9JSContextPKcP13JSErrorReport+0x93):
undefined reference to `JS_free'
xpcshell.cpp:(.text._Z16my_ErrorReporterP9JSContextPKcP13JSErrorReport+0xd4):
undefined reference to `JS_smprintf'
xpcshell.cpp:(.text._Z16my_ErrorReporterP9JSContextPKcP13JSErrorReport+0xe6):
undefined reference to `JS_free'
xpcshell.cpp:(.text._Z16my_ErrorReporterP9JSContextPKcP13JSErrorReport+0x285):
undefined reference to `JS_free'
xpcshell.o: In function `Print(JSContext*, JSObject*, unsigned int, long*, long*)':
xpcshell.cpp:(.text._Z5PrintP9JSContextP8JSObjectjPlS3_+0x41): undefined
reference to `JS_ValueToString'
xpcshell.cpp:(.text._Z5PrintP9JSContextP8JSObjectjPlS3_+0x4d): undefined
reference to `JS_GetStringBytes'
xpcshell.o: In function `Dump(JSContext*, JSObject*, unsigned int, long*, long*)':
xpcshell.cpp:(.text._Z4DumpP9JSContextP8JSObjectjPlS3_+0x40): undefined
reference to `JS_ValueToString'

...
...
...

xpcshell.o: In function `.L334':
xpcshell.cpp:(.text.main+0x970): undefined reference to `JS_ToggleOptions'
xpcshell.o: In function `.L335':
xpcshell.cpp:(.text.main+0x9bf): undefined reference to `JS_SetVersion'
../../../../dist/bin/libxpcom.so: undefined reference to
`NS_NewUnicharBuffer(nsIUnicharBuffer**, nsISupports*, unsigned
int)../../../../dist/bin/libxpcom.so: undefined reference to
`nsComponentManager::CreateInstance(nsID const&, nsISupports*, nsID
../../../../dist/bin/libxpcom.so: undefined reference to
`nsComponentManager::CreateInstance(char const*, nsISupports*, nsID
../../../../dist/bin/libxpcom.so: undefined reference to
`PL_DHashStubEnumRemove(PLDHashTable*, PLDHashEntryHdr*, unsigned incollect2: ld
returned 1 exit status
gmake[3]: *** [xpcshell] Error 1
gmake[3]: Leaving directory
`/media/sda5/xxx/portage/mozilla-thunderbird-1.0.6-r5/work/mozilla/js/src/xpconnect/shell'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/media/sda5/xxx/portage/mozilla-thunderbird-1.0.6-r5/work/mozilla/js/src/xpconnect'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory
`/media/sda5/xxx/portage/mozilla-thunderbird-1.0.6-r5/work/mozilla'
make: *** [default] Error 2

!!! ERROR: mail-client/mozilla-thunderbird-1.0.6-r5 failed.
!!! Function src_compile, Line 122, Exitcode 2


localhost ~ # emerge info
Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-4.0.2,
glibc-2.3.5.20050722-r0, 2.6.14-rc3-nitro1 i686)
=================================================================
System uname: 2.6.14-rc3-nitro1 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre9
distcc[32287] (dcc_mkdir) ERROR: mkdir /var/tmp/portage/homedir/.distcc/state
failed: No such file or directory [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -march=pentium3 -pipe -O2 -fomit-frame-pointer -ffast-math -fforce-addr
-fweb -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="  -march=pentium3 -pipe -O2 -fomit-frame-pointer -ffast-math
-fforce-addr -fweb -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/media/hda9/gentoo/distfiles"
FEATURES="autoconfig distlocks prelink sandbox sfperms strict strip"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="ru"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/media/sda5/xxx"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa apache2 bash-completion bzip2 cjk crypt cups curl dbus
dvdr exif firefox gif gnome gnutls gpm gsm gtk2 hal javascript jpeg logrotate
mad mailwrapper mmx moznocompose moznoirc moznomail mp3 ncurses nls nptl
oggvorbis opengl oss pam pam_console pic png python readline samba slang socks5
sse ssl svg tiff truetype unicode xprint xv zlib linguas_ru userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS

localhost ~ # emerge -pvuD  mail-client/mozilla-thunderbird

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] mail-client/mozilla-thunderbird-1.0.6-r5 [1.0.6-r4] -debug
+gnome -ipv6 -ldap -mozcalendar -moznoxft +truetype -xinerama +xprint 0 kB



Seems like bugs in makefile (ommited deps to libs).
Comment 1 Jory A. Pratt 2005-10-17 18:29:42 UTC
This is a strange issue but as 1.0.7 is in the tree it is invalid as of now. But
rpath patch which I introduced during 1.0.6-r5 forces a person to rebuild
1.0.6-r4 then 1.0.6-r5 updates cleanly. Reopen a new bug when 1.0.7-r1 is
released if rpath causes same response from xpcshell.
Comment 2 Alexey Maximov 2005-10-17 22:09:59 UTC
1.0.7 compiled clean

the bug is in 1.0.6 only.