Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390325 - app-text/kiwix-0.9_beta4 needs xulrunner-1.9 and clucene-0.9 to build
Summary: app-text/kiwix-0.9_beta4 needs xulrunner-1.9 and clucene-0.9 to build
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Chí-Thanh Christopher Nguyễn
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on: 412341
Blocks:
  Show dependency tree
 
Reported: 2011-11-12 23:10 UTC by Jean-Francois Ostiguy
Modified: 2012-06-24 06:16 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 Jean-Francois Ostiguy 2011-11-12 23:10:28 UTC
kiwix-0.9_beta4 fails to emerge. 

Relevant output from compilation log:
 
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../src/zimlib/src -I../../../src/common -I../..
/../src/zimlib/include -I/usr/lib -I/usr/lib64 -fshort-wchar -I/usr/include/xulrunner-2.0 -I/usr/include/nspr -fno-r
tti -fPIC -D GECKO_VERSION=2 -I../../common/ -O2 -march=pentium4 -fomit-frame-pointer -pipe -MT libZimAccessor_la-co
mponentTools.lo -MD -MP -MF .deps/libZimAccessor_la-componentTools.Tpo -c ../../../src/common/componentTools.cpp  -f
PIC -DPIC -o .libs/libZimAccessor_la-componentTools.o
mv -f .deps/libZimAccessor_la-pathTools.Tpo .deps/libZimAccessor_la-pathTools.Plo
In file included from /usr/include/xulrunner-2.0/nscore.h:50:0,
                 from /usr/include/xulrunner-2.0/nsXPCOMStrings.h:42,
                 from /usr/include/xulrunner-2.0/nsStringAPI.h:53,
                 from ../../../src/common/componentTools.h:23,
                 from ../../../src/common/componentTools.cpp:20:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:109:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:113:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:117:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:120:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:124:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:127:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:131:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:134:5: error: expected initializer before ‘NS_ATTR_MALLOC’
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:229:28: error: ‘moz_xmalloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t, const std::nothrow_t&)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:235:27: error: ‘moz_malloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:241:28: error: ‘moz_xmalloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t, const std::nothrow_t&)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:247:27: error: ‘moz_malloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new(size_t, const mozilla::fallible_t&)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:303:27: error: ‘moz_malloc’ was not declared in this scope
/usr/include/xulrunner-2.0/mozilla/mozalloc.h: In function ‘void* operator new [](size_t, const mozilla::fallible_t&
)’:
/usr/include/xulrunner-2.0/mozilla/mozalloc.h:309:27: error: ‘moz_malloc’ was not declared in this scope
In file included from /usr/include/xulrunner-2.0/nsStringAPI.h:56:0,
                 from ../../../src/common/componentTools.h:23,
                 from ../../../src/common/componentTools.cpp:20:
/usr/include/xulrunner-2.0/nsTArray.h: In static member function ‘static void* nsTArrayInfallibleAllocator::Malloc(s
ize_t)’:
/usr/include/xulrunner-2.0/nsTArray.h:84:28: error: ‘moz_xmalloc’ was not declared in this scope
/usr/include/xulrunner-2.0/nsTArray.h: In static member function ‘static void* nsTArrayInfallibleAllocator::Realloc(
void*, size_t)’:
/usr/include/xulrunner-2.0/nsTArray.h:88:34: error: ‘moz_xrealloc’ was not declared in this scope
make[4]: *** [libZimAccessor_la-componentTools.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-text/kiwix-0.9_beta4/work/kiwix-0.9/src/components/zimAccessor'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/app-text/kiwix-0.9_beta4/work/kiwix-0.9/src/components/zimAccessor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/kiwix-0.9_beta4/work/kiwix-0.9/src/components'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/kiwix-0.9_beta4/work/kiwix-0.9/src'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: app-text/kiwix-0.9_beta4 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   84:  Called src_compile
 *        environment, line 2455:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  570:  Called die
 * The specific snippet of code:




Reproducible: Always




emerge --info

Portage 2.1.10.34 (default/linux/x86/10.0/developer, gcc-4.5.3, glibc-2.13-r4, 3.1.0-gentoo i686)
=================================================================
System uname: Linux-3.1.0-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.1
Timestamp of tree: Sat, 12 Nov 2011 12:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2, 2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            3.4.6-r2, 4.2.4-r1, 4.3.6-r1, 4.4.6-r1, 4.5.3-r1, 4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r4
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo kde-sunset sunrise sage-on-gentoo local-repo mingw32-repo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /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="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.chem.wisc.edu/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
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="/var/lib/layman/kde-sunset /var/lib/layman/sunrise /var/lib/layman/sage-on-gentoo /usr/local/portage /usr/i686-mingw32/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth bzip2 cairo cdda cdr cleartype cli consolekit corefonts cpdflib cracklib crypt cups cxx dbus doc dri dts dv dvd dvdr emboss encode exif fam firefox flac fortran gcj gd-external gdbm gdu gif gnomedb gpm gtk iconv ieee1394 ipv6 java jpeg kde kdehiddenvisibility lcms ldap libnotify lm_sensors mad maildir mbox mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pango pcre pdf php png policykit ppds pppd private-headers qt3support qt4 readline scanner sdl semantic-desktop session snmp spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype type1 type3 udev unicode usb vorbis wicd x264 x86 xcb xml xmlrpc xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 usb-audio" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev keyboard mouse virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr" NETBEANS_MODULES="apisupport harness ide java nb gsf php websvccommon webcommon" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="umax" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev virtualbox" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-11-13 23:03:43 UTC
Does it build if you downgrade xulrunner to 1.9.2?
Comment 2 Jean-Francois Ostiguy 2011-11-14 03:46:53 UTC
Hard to say ... 

I downgraded xulrunner to 1.9.2.22. Emerge still fails, but now the problem is different. I think clucene might have been updated very recently. The current version is clucene-2.3.3.4. There is no liblucene.so under /usr/lib. Rather, this is what I see

/usr/lib/libclucene-core.so    
/usr/lib/libclucene-core.so.2.3.3.4  
/usr/lib/libclucene-shared.so.1
/usr/lib/libclucene-core.so.1  
/usr/lib/libclucene-shared.so        
/usr/lib/libclucene-shared.so.2.3.3.4

emerge output:
......
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for /usr/share/idl/xulrunner-1.9.2/stable... no
checking for "/usr/share/idl/xulrunner-1.9.2/nsISupports.idl"... yes
checking for i686-pc-linux-gnu-xpidl... no
checking for xpidl... xpidl
checking for xpidl... /usr/lib/xulrunner-devel-1.9.2/bin/xpidl
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for zlibVersion in -lz... yes
checking for icu-config... /usr/bin/icu-config
checking CLucene.h usability... yes
checking CLucene.h presence... yes
checking for CLucene.h... yes
checking for open in -lclucene... no
configure: error: cannot find clucene

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-text/kiwix-0.9_beta4/work/kiwix-0.9/config.log
 * ERROR: app-text/kiwix-0.9_beta4 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   84:  Called src_configure
 *        environment, line 2453:  Called _eapi2_src_configure
 *   phase-helpers.sh, line  564:  Called econf
 *   phase-helpers.sh, line  461:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =app-text/kiwix-0.9_beta4',
 * the complete build log and the output of 'emerge -pqv =app-text/kiwix-0.9_beta4'.
 * The complete build log is located at '/var/tmp/portage/app-text/kiwix-0.9_beta4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/kiwix-0.9_beta4/temp/environment'.
 * S: '/var/tmp/portage/app-text/kiwix-0.9_beta4/work/kiwix-0.9'
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-11-14 15:49:43 UTC
Upstream confirmed the build issue
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-11-15 19:03:05 UTC
Dependencies of kiwix should now be set correctly.

Keeping the bug open until upstream fixes the build error.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-06-24 06:16:49 UTC
no longer in portage wrt bug 412341, closing