Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573618 - mail-client/thunderbird-38.5.0 install fails using /usr/lib64/thunderbird/libxul.so instead of built one
Summary: mail-client/thunderbird-38.5.0 install fails using /usr/lib64/thunderbird/lib...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-01 21:08 UTC by Joe Harvell
Modified: 2017-08-26 17:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Harvell 2016-02-01 21:08:01 UTC
The install phase of this ebuild fails. wth the command below.  For some reason, the dynamic linker is picking up the version of libxulrunner.so from the version of thunderbird alrady installed on the system.  The xpcshell being installed should be using the version of libxul.so that's in the build area.  It has the correct symbol versioning.

Executing /var/tmp/portage/mail-client/thunderbird-38.5.0/work/comm-esr38/tbird/dist/bin/xpcshell -g /var/tmp/portage/mail-client/thunderbird-38.5.0/work/comm-esr38/tbird/di
st/bin/ -a /var/tmp/portage/mail-client/thunderbird-38.5.0/work/comm-esr38/tbird/dist/bin/ -f /var/tmp/portage/mail-client/thunderbird-38.5.0/work/comm-esr38/mozilla/toolkit
/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
/var/tmp/portage/mail-client/thunderbird-38.5.0/work/comm-esr38/tbird/dist/bin/xpcshell: /usr/lib64/thunderbird/libxul.so: version `xul38' not found (required by /var/tmp/portage/mail-client/thunderbird-38.5.0/work/comm-esr38/tbird/dist/bin/xpcshell)
Comment 1 Joe Harvell 2016-02-01 21:08:32 UTC
wolfhound thunderbird-38.5.0 # emerge --info
Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.3.0, glibc-2.22-r1, 4.4.0 x86_64)
=================================================================
System uname: Linux-4.4.0-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_0_@_2.30GHz-with-gentoo-2.2
KiB Mem:    32876860 total,  26065000 free
Timestamp of repository gentoo: Sun, 31 Jan 2016 20:15:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo git) 2.26.51.20160130
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.2.5-r3::gentoo, 3.4.3-r7::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       9999::gentoo
sys-devel/gcc:            4.8.3::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000

wolfhound
    location: /opt/portage
    masters: gentoo
    priority: 0

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE googleearth AdobeFlash-10.3 AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -ggdb -flto=26 -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/apache-zookeeper/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.1/conf /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -march=native -ggdb -flto=26 -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=30 --load-average 85.0 --accept-properties=-interactive"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LANG="fr_FR.UTF-8"
LDFLAGS="-flto=26 -fuse-ld=gold -fuse-linker-plugin"
MAKEOPTS="--jobs=30 --load-average=85.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bidi bluetooth branding bzip2 c++0x cairo caps cdda cdr cjk cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam filecaps firefox flac fontconfig foomaticdb fortran ftp gdbm geoip gif gimp glamor gnome-keyring gnuplot gnutls gpm gtk gzip hddtemp iconv icq icu idn imap ipv6 jabber java java6 javascript jingle jit jpeg jpeg2k kde kipi kontact lame latex lcms ldap libnotify lm_sensors mad mime mms mmx mmxext mng modules mono mozilla mp3 mp4 mpeg mplayer msn multilib mysql mysqli ncurses nfsv41 nis nls nptl nsplugin odbc offensive ogg opengl openmp oscar pam pango pch pcntl pcre pdf perl phonon php plasma png policykit posix postscript ppds python qml qt3support qt4 qt5 quicktime rdesktop readline rss ruby samba sasl sdl seccomp semantic-desktop session smp sound spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification subversion suid svg syslog systemd sysvipc tcmalloc tcpd threads tiff truetype udev udisks unicode upower usb vnc vorbis widgets win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xinetd xml xmpp xscreensaver xv xvid yahoo zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US fr_FR en fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 mips64" QEMU_USER_TARGETS="x86_64 mips64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Joe Harvell 2016-02-01 21:13:05 UTC
I successfully worked around this using the following procedure.

1. wait for the build to fail
2. sudo mv /usr/lib64/thunderbird /usr/lib64/thunderbird.orig
3. sudo ebuild /usr/portage/mail-client/thunderbird/thunderbird-38.5.0.ebuild install
4. sudo mv /usr/lib64/thunderbird.orig /usr/lib64/thunderbird
5. sudo ebuild /usr/portage/mail-client/thunderbird/thunderbird-38.5.0.ebuild qmerge
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2016-02-17 03:45:31 UTC
I have never run into an issue like this before; that said, I've never had a system where I could parallelize beyond -j8.  

Could you post the USE flags you are using to build thunderbird?  Also, thunderbird-38.6 is now in the tree, if you could test with that package?
Comment 4 Joe Harvell 2016-02-17 15:42:58 UTC
jharvell@wolfhound ~ $ equery uses =mail-client/thunderbird-38.5.0
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for mail-client/thunderbird-38.5.0:
 U I
 - - bindist              : Disable official Thunderbird branding (icons, name) which are not
                            binary-redistributable according to upstream.
 + + crypt                : Enable encryption support with enigmail
 - - custom-cflags        : Build with user-specified CFLAGS (unsupported)
 - - custom-optimization  : Fine-tune custom compiler optimizations (-Os, -O0, -O1, -O2, -O3)
 + + dbus                 : Enable dbus support for anything that needs it (gpsd, gnomemeeting,
                            etc)
 - - debug                : Enable extra debug codepaths, like asserts and extra output. If you
                            want to get meaningful backtraces see
                            https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - gstreamer            : Add support for media-libs/gstreamer (Streaming media)
 - - gstreamer-0          : Use gstreamer:0.10 instead of gstreamer:1 for media support
 - - hardened             : Activate default security enhancements for toolchain (gcc, glibc,
                            binutils)
 + + jemalloc3            : Enable or disable jemalloc3 (forced-on when supported prior to 38.0)
 + + jit                  : Enable just-in-time compilation for improved performance. May prevent
                            use of some PaX memory protection features in Gentoo Hardened.
 + + ldap                 : Add LDAP support (Lightweight Directory Access Protocol)
 - - lightning            : Enable app-global calendar support (note 38.0 and above bundles
                            calendar support when this flag is off)
 - - linguas_ar           : Arabic locale
 - - linguas_ast          : Asturian locale
 - - linguas_be           : Belarusian locale
 - - linguas_bg           : Bulgarian locale
 - - linguas_bn_BD        : Bengali locale for Bangladesh
 - - linguas_br           : Breton locale
 - - linguas_ca           : Catalan locale
 - - linguas_cs           : Czech locale
 - - linguas_cy           : Welsh locale
 - - linguas_da           : Danish locale
 - - linguas_de           : German locale
 - - linguas_el           : Greek locale
 - - linguas_en_GB        : English locale for Britain
 - - linguas_es_AR        : Spanish locale for Argentina
 - - linguas_es_ES        : Spanish locale for Spain
 - - linguas_et           : Estonian locale
 - - linguas_eu           : Basque locale
 - - linguas_fi           : Finnish locale
 + + linguas_fr           : French locale
 - - linguas_fy_NL        : Frisian language locale for the Netherlands
 - - linguas_ga_IE        : Irish locale for Ireland
 - - linguas_gd           : Gaelic locale
 - - linguas_gl           : Galician locale
 - - linguas_he           : Hebrew locale
 - - linguas_hr           : Croatian locale
 - - linguas_hsb          : Upper Sorbian locale
 - - linguas_hu           : Hungarian locale
 - - linguas_hy_AM        : Armenian locale
 - - linguas_id           : Indonesian locale
 - - linguas_is           : Icelandic locale
 - - linguas_it           : Italian locale
 - - linguas_ja           : Japanese locale
 - - linguas_ko           : Korean locale
 - - linguas_lt           : Lithuanian locale
 - - linguas_nb_NO        : Norwegian (Bokmal) locale for Norway
 - - linguas_nl           : Dutch locale
 - - linguas_nn_NO        : Nynorsk locale for Norway
 - - linguas_pa_IN        : Punjabi locale for India
 - - linguas_pl           : Polish locale
 - - linguas_pt_BR        : Portuguese locale for Brasil
 - - linguas_pt_PT        : Portuguese locale for Portugal
 - - linguas_rm           : Romansh locale
 - - linguas_ro           : Romanian locale
 - - linguas_ru           : Russian locale
 - - linguas_si           : Sinhala locale
 - - linguas_sk           : Slovak locale
 - - linguas_sl           : Slovenian locale
 - - linguas_sq           : Albanian locale
 - - linguas_sr           : Serbian locale
 - - linguas_sv_SE        : Swedish locale for Sweden
 - - linguas_ta_LK        : Tamil locale for Sri Lanka
 - - linguas_tr           : Turkish locale
 - - linguas_uk           : Ukrainian locale
 - - linguas_vi           : Vietnamese locale
 - - linguas_zh_CN        : Chinese locale for Peoples Republic of China
 - - linguas_zh_TW        : Chinese locale for Taiwan
 + + minimal              : Remove the software development kit and headers
 - - mozdom               : Enable Mozilla's DOM inspector
 - - pulseaudio           : Add support for PulseAudio sound server
 + + startup-notification : Enable application startup event feedback mechanism
 - - system-cairo         : Use the system-wide x11-libs/cairo instead of bundled.
 - - system-icu           : Use the system-wide dev-libs/icu instead of bundled.
 - - system-jpeg          : Use the system-wide media-libs/libjpeg-turbo instead of bundled.
 - - system-libvpx        : Use the system-wide media-libs/libvpx instead of bundled.
 - - system-sqlite        : Use the system-wide dev-db/sqlite installation with secure-delete
                            enabled
Comment 5 Jory A. Pratt gentoo-dev 2017-08-26 17:57:34 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team