Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276394 - emerge xulrunner 1.9.1 fails at mozStorageService.cpp
Summary: emerge xulrunner 1.9.1 fails at mozStorageService.cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-03 19:45 UTC by Timothy Covel
Modified: 2009-07-06 13:57 UTC (History)
2 users (show)

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


Attachments
xulrunner build log (build.log,1.90 MB, text/plain)
2009-07-03 22:56 UTC, Timothy Covel
Details
xulrunner config log (config.log,42.84 KB, text/plain)
2009-07-03 22:57 UTC, Timothy Covel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Covel 2009-07-03 19:45:10 UTC
Trying to emerge xulrunner 1.9.1 in order to use firefox 3.5. The failure occurs identically on two seperate machines, the one i am reporting on as well as an x86 netbook. 

Through researching other xulrunner emerge failures I have allready attempted revdep-rebuild, python-updater, clearing and disabling ccache, and not using distcc, to no avail.

ps. since the error mentions sqlite, i re-emerged it on both systems, didnt help.

Reproducible: Always

Steps to Reproduce:
1.unmask xulrunner 1.9.1 and its dependencies
2.emerge xulrunner
3.emake fails

Actual Results:  
x86_64-pc-linux-gnu-g++ -o mozStorageStatement.o -c -I../../dist/include/system_wrappers -include ../../config/gcc_hidden.h -DSQLITE_MAX_LIKE_PATTERN_LENGTH=50000 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux  -I. -I. -I../../dist/include/xpcom -I../../dist/include/string -I../../dist/include/sqlite3 -I../../dist/include/js -I../../dist/include/xpconnect -I../../dist/include/necko -I../../dist/include   -I../../dist/include/storage -I/usr/include/nspr    -I/var/tmp/portage/net-libs/xulrunner-1.9.1/work/mozilla-1.9.1/dist/sdk/include    -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -pipe -fPIC -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions   -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/mozStorageStatement.pp mozStorageStatement.cpp
mozStorageService.cpp: In destructor 'virtual mozStorageService::~mozStorageService()':
mozStorageService.cpp:116: error: 'sqlite3_shutdown' was not declared in this scope
mozStorageService.cpp: In member function 'nsresult mozStorageService::Init()':
mozStorageService.cpp:142: error: 'SQLITE_CONFIG_MEMSTATUS' was not declared in this scope
mozStorageService.cpp:142: error: 'sqlite3_config' was not declared in this scope
mozStorageService.cpp:149: error: 'sqlite3_initialize' was not declared in this scope
gmake[4]: *** [mozStorageService.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1/work/mozilla-1.9.1/storage/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1/work/mozilla-1.9.1/storage'
gmake[2]: *** [libs_tier_gecko] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1/work/mozilla-1.9.1'
gmake[1]: *** [tier_gecko] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1/work/mozilla-1.9.1'
make: *** [default] Error 2
 * 
 * ERROR: net-libs/xulrunner-1.9.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5240:  Called _eapi2_src_compile
 *               ebuild.sh, line  634:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 *  The die message:
 *   emake failed



First machine:

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.2.5
Timestamp of tree: Fri, 03 Jul 2009 18:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/yarik-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 applet audiofile automount avi background bash-completion berkdb bidi bitmap-fonts bittorrent bzip2 cairo cbr cdaudio cdda cddb cdio cdrom cgi cli cpudetection cracklib crypt css cups dbus devil dhcp dirac divx dri dts dv dvb dvbplayer dvbsetup dvd dvdarchive dvdchapjump dvdr dvdread dvi dvlrecscriptaddon dvlvidprefer eds emboss encode examples fat ffmpeg firefox flac flash fortran ftp ftpd gdbm gif glitz gnome gnutella gnutls gpm gstreamer gtk gtk2 hal http httpd iconv imlib ipod isdnlog j2ee java java5 java6 javascript jfs jpeg jrdk jsp libg++ libwww libxml2 lzo midi mikmod mixer mmx motif mp2 mp3 mp3rtp mp4 mp4live mpd mpe mpe-sdk mpeg mpeg2 mplayer mplayer-bin mpq msn mudflap multilib musepack music mysql nautilus ncurses networkmanager nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl openmp openssh pam pcre pdflib perl php png pppd prediction pvr python qt quicktime rar readline reflection ruby samba sdl server session spell spl sse sse2 ssl svg symlink sysfs tcpd tk tomcat truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis wifi win64codecs wma wxwindows x11vnc x264 xcb xcomposite xfce xgl xine xml xml2 xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics touchpad trackpoint tracpoint" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel i910 i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


and since its happening on two different systems...

Second machine:
emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Atom-TM-_CPU_N280_@_1.66GHz-with-glibc2.0
Timestamp of tree: Thu, 02 Jul 2009 16:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/ruby /usr/local/portage/layman/arcon /usr/local/portage/layman/sunrise /usr/local/portage/layman/mozilla /usr/local/portage/layman/localoverlay /usr/local/portage/layman/netbook-remix"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amrnb apm applet aspell automount avahi bash-completion berkdb bluetooth bonjour branding bzip2 cli cpudetection cracklib crypt cups daap dbus dga dirac dri dvi exif fam ffmpeg flac flash fortran gdbm gnome gnome-keyring gnutls gpm gs gstreamer gtk hal iceweasel iconv id3tag imagemagick imlib ipv6 isdnlog java jpeg kde laptop libnotify live lzo mad mdnsresponder-compat mhash midi mmap mmx mpeg mudflap nautilus ncurses nptl nptlonly nsplugin opengl openmp pam pango pcre perl pic png policykit pppd pulseaudio python qt4 readline reflection samba sdl session spell spl sqlite sqlite3 sse ssl ssse3 svg sysfs t1lib taglib tcpd threads tiff truetype twolam unicode upnp usb v4l v4l2 vim-syntax vnc x86 xcb xft xorg xscreensaver xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="intel i910"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-07-03 20:29:04 UTC
ACCEPT_KEYWORDS="amd64" - could this be the reason ?
What's your sqlite version ?
Comment 2 Timothy Covel 2009-07-03 21:02:26 UTC
(In reply to comment #1)
> ACCEPT_KEYWORDS="amd64" - could this be the reason ?
> What's your sqlite version ?
> 

this what i have unmasked by keyword:

dev-util/netbeans
=app-emulation/wine-1.1.15
sys-power/acpi ~amd64
dev-python/compizconfig-python 
net-p2p/vuze
net-p2p/vuze-coreplugins
sys-boot/unetbootin
net-p2p/frostwire
media-video/linux-uvc ~amd64
net-analyzer/nikto ~amd64
www-client/mozilla-firefox ~amd64
x11-libs/cairo ~amd64
net-libs/xulrunner ~amd64
net-libs/nspr ~amd64
dev-libs/nspr ~amd64
dev-libs/nss ~amd64

everything after xulrunner being required to emerge 1.9.1


sqlite3 --version
3.6.14.2
Comment 3 Timothy Covel 2009-07-03 21:18:07 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > ACCEPT_KEYWORDS="amd64" - could this be the reason ?
> > What's your sqlite version ?
> > 
> 
> this what i have unmasked by keyword:
> 
> dev-util/netbeans
> =app-emulation/wine-1.1.15
> sys-power/acpi ~amd64
> dev-python/compizconfig-python 
> net-p2p/vuze
> net-p2p/vuze-coreplugins
> sys-boot/unetbootin
> net-p2p/frostwire
> media-video/linux-uvc ~amd64
> net-analyzer/nikto ~amd64
> www-client/mozilla-firefox ~amd64
> x11-libs/cairo ~amd64
> net-libs/xulrunner ~amd64
> net-libs/nspr ~amd64
> dev-libs/nspr ~amd64
> dev-libs/nss ~amd64
> 
> everything after xulrunner being required to emerge 1.9.1
> 
> 
> sqlite3 --version
> 3.6.14.2
> 

edit to above, net-libs/nspr (as opposed to dev-libs/nspr) doesnt exist, i must have added that on accident and never removed it when i added the right one. It has no impact on this problem though.
Comment 4 Rafał Mużyło 2009-07-03 22:45:13 UTC
Attach full build.log and config.log
- xulrunner does build with this version.
Comment 5 Timothy Covel 2009-07-03 22:56:39 UTC
Created attachment 196554 [details]
xulrunner build log

build.log added
Comment 6 Timothy Covel 2009-07-03 22:57:41 UTC
Created attachment 196556 [details]
xulrunner config log
Comment 7 Johannes Jeske 2009-07-05 10:48:55 UTC
Second this on x86. 
Comment 8 Timothy Covel 2009-07-06 02:17:06 UTC
I have solved this on my systems. There were additional sqlite headers and shared objects in /usr/local/lib and /usr/local/include which differed from those installed by portage for the sqlite package. Removing the "local" sqlite3 libraries fixed the problem.

I am not sure what created those additional headers and .so files.

Solution: remove any sqlite or libsqlite references under /usr/local/lib and /usr/local/include, or change the gcc library path to check /usr/lib and /usr/include first.


Leaving this open until Johannes Jeske confirms the solution on their end as well.
Comment 9 Johannes Jeske 2009-07-06 06:14:15 UTC
This did solve the problem indeed. Thanks!