Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420195 - dev-perl/Lucene-0.180.0 doesnot work with =dev-cpp/clucene-2.3*
Summary: dev-perl/Lucene-0.180.0 doesnot work with =dev-cpp/clucene-2.3*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL: https://rt.cpan.org/Public/Bug/Displa...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-08 06:55 UTC by Patrick Lauer
Modified: 2014-11-08 01:33 UTC (History)
1 user (show)

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 Patrick Lauer gentoo-dev 2012-06-08 06:55:01 UTC
>>> Compiling source in /var/tmp/portage/dev-perl/Lucene-0.180.0/work/Lucene-0.18 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' 
cp lib/Lucene.pm blib/lib/Lucene.pm
/usr/bin/perl5.16.0 /usr/lib64/perl5/vendor_perl/5.16.0/ExtUtils/xsubpp  -typemap /usr/lib64/perl5/5.16.0/ExtUtils/typemap -typemap typemap  Lucene.xs > Lucene.xsc && mv Lucene.xsc Lucene.c
Please specify prototyping behavior for Lucene.xs (see perlxs manual)
g++ -c  -I/usr/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64    -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib64/perl5/5.16.0/x86_64-linux/CORE"  -DCLUCENE_2_3_3_4 Lucene.c
In file included from Lucene.xs:22:0:
/usr/include/CLucene/util/Reader.h:13:2: error: #error Reader has been refactored. It is recommended that you use strigi streams
/usr/include/CLucene/util/Reader.h:14:2: error: #error for all input into CLucene. If, however, you dont want to use that dependency,
/usr/include/CLucene/util/Reader.h:15:2: error: #error then you'll have to refactor your current code. The jstreams namespace
/usr/include/CLucene/util/Reader.h:16:2: error: #error was completely removed
In file included from Lucene.xs:71:0:
cpp/utils.cpp: In function ‘wchar_t* SvToWChar(SV*)’:
cpp/utils.cpp:75:22: warning: ‘UV Perl_utf8_to_uvuni(const U8*, STRLEN*)’ is deprecated (declared at /usr/lib64/perl5/5.16.0/x86_64-linux/CORE/proto.h:4575)
cpp/utils.cpp:75:22: warning: ‘UV Perl_utf8_to_uvuni(const U8*, STRLEN*)’ is deprecated (declared at /usr/lib64/perl5/5.16.0/x86_64-linux/CORE/proto.h:4575)
In file included from Lucene.xs:75:0:
cpp/Tokenizer.cpp: At global scope:
cpp/Tokenizer.cpp:13:14: error: conflicting return type specified for ‘virtual bool PerlTokenizer::next(Token*)’
/usr/include/CLucene/analysis/AnalysisHeader.h:216:17: error:   overriding ‘virtual lucene::analysis::Token* lucene::analysis::TokenStream::next(lucene::analysis::Token*)’
In file included from Lucene.xs:76:0:
cpp/CharTokenizer.cpp:53:14: error: conflicting return type specified for ‘virtual bool PerlCharTokenizer::next(Token*)’
/usr/include/CLucene/analysis/Analyzers.h:38:9: error:   overriding ‘virtual lucene::analysis::Token* lucene::analysis::CharTokenizer::next(lucene::analysis::Token*)’
In file included from Lucene.xs:77:0:
cpp/TokenFilter.cpp:6:14: error: conflicting return type specified for ‘virtual bool PerlTokenFilter::next(Token*)’
/usr/include/CLucene/analysis/AnalysisHeader.h:216:17: error:   overriding ‘virtual lucene::analysis::Token* lucene::analysis::TokenStream::next(lucene::analysis::Token*)’
./xs/Constants.xs: In function ‘void XS_Lucene_DEFAULT_TERMDOCS_SKIP_INTERVAL(CV*)’:
./xs/Constants.xs:22:18: error: ‘LUCENE_DEFAULT_TERMDOCS_SKIP_INTERVAL’ was not declared in this scope
./xs/Constants.xs: In function ‘void XS_Lucene_SEGMENTTERMENUM_GROWSIZE(CV*)’:
./xs/Constants.xs:70:18: error: ‘LUCENE_SEGMENTTERMENUM_GROWSIZE’ was not declared in this scope
./xs/Constants.xs: In function ‘void XS_Lucene_CLUCENE_VERSION(CV*)’:
./xs/Constants.xs:78:18: warning: deprecated conversion from string constant to ‘char*’
Lucene.c: In function ‘void XS_Lucene__Analysis__StopAnalyzer_new(CV*)’:
Lucene.c:702:42: error: ‘STRDUP_AtoW’ was not declared in this scope
Lucene.c: In function ‘void XS_Lucene__Analysis__Standard__StandardAnalyzer_new(CV*)’:
Lucene.c:924:42: error: ‘STRDUP_AtoW’ was not declared in this scope
./xs/Field.xs: In function ‘void XS_Lucene__Document__Field_Keyword(CV*)’:
./xs/Field.xs:7:18: error: ‘Keyword’ is not a member of ‘Field’
./xs/Field.xs: In function ‘void XS_Lucene__Document__Field_UnIndexed(CV*)’:
./xs/Field.xs:17:18: error: ‘UnIndexed’ is not a member of ‘Field’
./xs/Field.xs: In function ‘void XS_Lucene__Document__Field_Text(CV*)’:
./xs/Field.xs:27:18: error: ‘Text’ is not a member of ‘Field’
./xs/Field.xs: In function ‘void XS_Lucene__Document__Field_UnStored(CV*)’:
./xs/Field.xs:37:18: error: ‘UnStored’ is not a member of ‘Field’
./xs/IndexWriter.xs: In function ‘void XS_Lucene__Index__IndexWriter_addIndexes(CV*)’:
./xs/IndexWriter.xs:48:39: error: no matching function for call to ‘lucene::index::IndexWriter::addIndexes(Directory**&)’
/usr/include/CLucene/index/IndexWriter.h:1088:8: note: candidate is: void lucene::index::IndexWriter::addIndexes(lucene::util::ArrayBase<lucene::store::Directory*>&)
./xs/IndexWriter.xs: In function ‘void XS_Lucene__Index__IndexWriter_setMinMergeDocs(CV*)’:
./xs/IndexWriter.xs:90:14: error: ‘class IndexWriter’ has no member named ‘setMinMergeDocs’
./xs/IndexWriter.xs: In function ‘void XS_Lucene__Index__IndexWriter_getMinMergeDocs(CV*)’:
./xs/IndexWriter.xs:96:24: error: ‘class IndexWriter’ has no member named ‘getMinMergeDocs’
./xs/IndexReader.xs: In function ‘void XS_Lucene__Index__IndexReader_document(CV*)’:
./xs/IndexReader.xs:68:33: warning: ‘lucene::document::Document* lucene::index::IndexReader::document(int32_t)’ is deprecated (declared at /usr/include/CLucene/index/IndexReader.h:515)
./xs/Sort.xs: In function ‘void XS_Lucene__Search__Sort_INDEXORDER(CV*)’:
./xs/Sort.xs:35:47: error: no matching function for call to ‘lucene::search::Sort::Sort(lucene::search::SortField* (&)())’
/usr/include/CLucene/search/Sort.h:397:2: note: candidates are: lucene::search::Sort::Sort(lucene::search::SortField**)
/usr/include/CLucene/search/Sort.h:394:2: note:                 lucene::search::Sort::Sort(lucene::search::SortField*)
/usr/include/CLucene/search/Sort.h:391:2: note:                 lucene::search::Sort::Sort(const TCHAR**)
/usr/include/CLucene/search/Sort.h:384:2: note:                 lucene::search::Sort::Sort(const TCHAR*, bool)
/usr/include/CLucene/search/Sort.h:377:2: note:                 lucene::search::Sort::Sort()
/usr/include/CLucene/search/Sort.h:355:39: note:                 lucene::search::Sort::Sort(const lucene::search::Sort&)
./xs/QueryParser.xs: In function ‘void XS_Lucene__QueryParser_setDefaultOperator(CV*)’:
./xs/QueryParser.xs:48:36: error: invalid conversion from ‘int’ to ‘lucene::queryParser::QueryParser::Operator’
./xs/QueryParser.xs:48:36: error:   initializing argument 1 of ‘void lucene::queryParser::QueryParser::setDefaultOperator(lucene::queryParser::QueryParser::Operator)’
Lucene.c: In function ‘void XS_Lucene__MultiFieldQueryParser_new(CV*)’:
Lucene.c:4037:45: error: ‘STRDUP_AtoW’ was not declared in this scope
./xs/MultiFieldQueryParser.xs:20:44: error: ‘STRDUP_AtoW’ was not declared in this scope
Lucene.c: In function ‘void XS_Lucene__MultiFieldQueryParser_parse(CV*)’:
Lucene.c:4222:39: error: ‘STRDUP_AtoW’ was not declared in this scope
./xs/MultiFieldQueryParser.xs:94:119: error: no matching function for call to ‘lucene::queryParser::MultiFieldQueryParser::parse(wchar_t*&, const wchar_t**, Analyzer*&)’
/usr/include/CLucene/queryParser/MultiFieldQueryParser.h:90:32: note: candidates are: static lucene::search::Query* lucene::queryParser::MultiFieldQueryParser::parse(const TCHAR**, const TCHAR**, lucene::analysis::Analyzer*)
/usr/include/CLucene/queryParser/MultiFieldQueryParser.h:123:32: note:                 static lucene::search::Query* lucene::queryParser::MultiFieldQueryParser::parse(const TCHAR*, const TCHAR**, const uint8_t*, lucene::analysis::Analyzer*)
/usr/include/CLucene/queryParser/MultiFieldQueryParser.h:157:32: note:                 static lucene::search::Query* lucene::queryParser::MultiFieldQueryParser::parse(const TCHAR**, const TCHAR**, const uint8_t*, lucene::analysis::Analyzer*)
/usr/include/CLucene/queryParser/MultiFieldQueryParser.h:160:25: note:                 lucene::search::Query* lucene::queryParser::MultiFieldQueryParser::parse(const TCHAR*)
./xs/MultiFieldQueryParser.xs: In function ‘void XS_Lucene__MultiFieldQueryParser_setDefaultOperator(CV*)’:
./xs/MultiFieldQueryParser.xs:114:36: error: invalid conversion from ‘int’ to ‘lucene::queryParser::QueryParser::Operator’
./xs/MultiFieldQueryParser.xs:114:36: error:   initializing argument 1 of ‘void lucene::queryParser::QueryParser::setDefaultOperator(lucene::queryParser::QueryParser::Operator)’
./xs/FSDirectory.xs: In function ‘void XS_Lucene__Store__FSDirectory_getDirectory(CV*)’:
./xs/FSDirectory.xs:8:58: warning: ‘static lucene::store::FSDirectory* lucene::store::FSDirectory::getDirectory(const char*, bool, lucene::store::LockFactory*)’ is deprecated (declared at /usr/include/CLucene/store/FSDirectory.h:76)
Lucene.c: In function ‘void XS_Lucene__Analysis__StopFilter_new(CV*)’:
Lucene.c:4625:49: error: ‘STRDUP_AtoW’ was not declared in this scope
./xs/StandardTokenizer.xs: In function ‘void XS_Lucene__Analysis__StandardTokenizer_new(CV*)’:
./xs/StandardTokenizer.xs:6:46: error: invalid conversion from ‘Reader*’ to ‘lucene::util::BufferedReader*’
./xs/StandardTokenizer.xs:6:46: error:   initializing argument 1 of ‘lucene::analysis::standard::StandardTokenizer::StandardTokenizer(lucene::util::BufferedReader*, bool)’
./xs/Token.xs: In function ‘void XS_Lucene__Analysis__Token_termText(CV*)’:
./xs/Token.xs:64:33: warning: ‘const TCHAR* lucene::analysis::Token::termText() const’ is deprecated (declared at /usr/include/CLucene/analysis/AnalysisHeader.h:125)
./xs/Token.xs: In function ‘void XS_Lucene__Analysis__Token_termTextLength(CV*)’:
./xs/Token.xs:72:39: warning: ‘size_t lucene::analysis::Token::termTextLength()’ is deprecated (declared at /usr/include/CLucene/analysis/AnalysisHeader.h:126)
./xs/Reader.xs: In function ‘void XS_Lucene__Utils__Reader_read(CV*)’:
./xs/Reader.xs:19:42: error: no matching function for call to ‘lucene::util::Reader::read(const wchar_t*&)’
/usr/include/CLucene/util/CLStreams.h:17:13: note: candidates are: int lucene::util::CLStream<T>::read() [with T = wchar_t]
/usr/include/CLucene/util/CLStreams.h:78:18: note:                 int32_t lucene::util::CLStream<T>::read(const T*&, int32_t, int32_t) [with T = wchar_t, int32_t = int]
./xs/Reader.xs:31:47: error: no matching function for call to ‘lucene::util::Reader::read(const wchar_t*&, int32_t&)’
/usr/include/CLucene/util/CLStreams.h:17:13: note: candidates are: int lucene::util::CLStream<T>::read() [with T = wchar_t]
/usr/include/CLucene/util/CLStreams.h:78:18: note:                 int32_t lucene::util::CLStream<T>::read(const T*&, int32_t, int32_t) [with T = wchar_t, int32_t = int]
./xs/Reader.xs: In function ‘void XS_Lucene__Utils__Reader_mark(CV*)’:
./xs/Reader.xs:58:28: error: ‘class Reader’ has no member named ‘mark’
./xs/Reader.xs: In function ‘void XS_Lucene__Utils__Reader_reset(CV*)’:
./xs/Reader.xs:71:28: error: ‘class Reader’ has no member named ‘reset’
make: *** [Lucene.o] Error 1
 * ERROR: dev-perl/Lucene-0.180.0 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =dev-perl/Lucene-0.180.0',
 * the complete build log and the output of 'emerge -pqv =dev-perl/Lucene-0.180.0'.
 * The complete build log is located at '/var/tmp/portage/dev-perl/Lucene-0.180.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Lucene-0.180.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/Lucene-0.180.0/work/Lucene-0.18'
 * S: '/var/tmp/portage/dev-perl/Lucene-0.180.0/work/Lucene-0.18'

>>> Failed to emerge dev-perl/Lucene-0.180.0, Log file:

Portage 2.1.10.65 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r2, 3.4.0-vs2.3.3.4 x86_64)
=================================================================
System uname: Linux-3.4.0-vs2.3.3.4-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.1
Timestamp of tree: Unknown
app-shells/bash:          4.2_p29
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fontconfig fortran gdbm gpm iconv ipv6 jpeg mmx modules mudflap multilib ncurses nls nptl openmp pam pcre png pppd readline session sse sse2 ssl tcpd tiff truetype unicode xorg 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 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" CAMERAS="ptp2" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2014-10-13 21:49:40 UTC
Masked for removal.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2014-11-08 01:33:18 UTC
Removed.