Package Details: ruby-xapian-ruby 1.4.18-1

Git Clone URL: https://aur.archlinux.org/ruby-xapian-ruby.git (read-only, click to copy)
Package Base: ruby-xapian-ruby
Description: Xapian libraries and Ruby bindings
Upstream URL: https://rubygems.org/gems/xapian-ruby
Licenses: MIT
Submitter: asch
Maintainer: None
Last Packager: MarsSeed
Votes: 10
Popularity: 0.000000
First Submitted: 2013-10-14 14:38 (UTC)
Last Updated: 2022-05-23 00:29 (UTC)

Latest Comments

asch commented on 2018-09-03 15:56 (UTC)

@dreieck: Package builds good on my machine.

dreieck commented on 2018-09-03 14:31 (UTC)

It fails to package() for me:

[...]
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/crtbeginS.o  api/.libs/compactor.o api/.libs/decvalwtsource.o api/.libs/documentvaluelist.o api/.libs/editdistance.o api/.libs/emptypostlist.o api/.libs/error.o api/.libs/errorhandler.o api/.libs/expanddecider.o api/.libs/keymaker.o api/.libs/leafpostlist.o api/.libs/matchspy.o api/.libs/omdatabase.o api/.libs/omdocument.o api/.libs/omenquire.o api/.libs/ompositionlistiterator.o api/.libs/ompostlistiterator.o api/.libs/omquery.o api/.libs/omqueryinternal.o api/.libs/omtermlistiterator.o api/.libs/postingsource.o api/.libs/postlist.o api/.libs/registry.o api/.libs/replication.o api/.libs/sortable-serialise.o api/.libs/termlist.o api/.libs/valueiterator.o api/.libs/valuerangeproc.o api/.libs/valuesetmatchdecider.o api/.libs/version.o backends/.libs/alltermslist.o backends/.libs/database.o backends/.libs/databasereplicator.o backends/.libs/dbfactory.o backends/.libs/slowvaluelist.o backends/.libs/valuelist.o backends/.libs/dbfactory_remote.o backends/.libs/contiguousalldocspostlist.o backends/.libs/flint_lock.o backends/brass/.libs/brass_alldocspostlist.o backends/brass/.libs/brass_alltermslist.o backends/brass/.libs/brass_btreebase.o backends/brass/.libs/brass_compact.o backends/brass/.libs/brass_cursor.o backends/brass/.libs/brass_database.o backends/brass/.libs/brass_databasereplicator.o backends/brass/.libs/brass_dbstats.o backends/brass/.libs/brass_document.o backends/brass/.libs/brass_inverter.o backends/brass/.libs/brass_metadata.o backends/brass/.libs/brass_positionlist.o backends/brass/.libs/brass_postlist.o backends/brass/.libs/brass_record.o backends/brass/.libs/brass_spelling.o backends/brass/.libs/brass_spellingwordslist.o backends/brass/.libs/brass_synonym.o backends/brass/.libs/brass_table.o backends/brass/.libs/brass_termlist.o backends/brass/.libs/brass_termlisttable.o backends/brass/.libs/brass_valuelist.o backends/brass/.libs/brass_values.o backends/brass/.libs/brass_version.o backends/chert/.libs/chert_alldocsmodifiedpostlist.o backends/chert/.libs/chert_alldocspostlist.o backends/chert/.libs/chert_alltermslist.o backends/chert/.libs/chert_btreebase.o backends/chert/.libs/chert_compact.o backends/chert/.libs/chert_cursor.o backends/chert/.libs/chert_database.o backends/chert/.libs/chert_databasereplicator.o backends/chert/.libs/chert_dbstats.o backends/chert/.libs/chert_document.o backends/chert/.libs/chert_metadata.o backends/chert/.libs/chert_modifiedpostlist.o backends/chert/.libs/chert_positionlist.o backends/chert/.libs/chert_postlist.o backends/chert/.libs/chert_record.o backends/chert/.libs/chert_spelling.o backends/chert/.libs/chert_spellingwordslist.o backends/chert/.libs/chert_synonym.o backends/chert/.libs/chert_table.o backends/chert/.libs/chert_termlist.o backends/chert/.libs/chert_termlisttable.o backends/chert/.libs/chert_valuelist.o backends/chert/.libs/chert_values.o backends/chert/.libs/chert_version.o backends/flint/.libs/flint_alldocspostlist.o backends/flint/.libs/flint_alltermslist.o backends/flint/.libs/flint_btreebase.o backends/flint/.libs/flint_compact.o backends/flint/.libs/flint_cursor.o backends/flint/.libs/flint_database.o backends/flint/.libs/flint_databasereplicator.o backends/flint/.libs/flint_document.o backends/flint/.libs/flint_metadata.o backends/flint/.libs/flint_modifiedpostlist.o backends/flint/.libs/flint_positionlist.o backends/flint/.libs/flint_postlist.o backends/flint/.libs/flint_record.o backends/flint/.libs/flint_spelling.o backends/flint/.libs/flint_spellingwordslist.o backends/flint/.libs/flint_synonym.o backends/flint/.libs/flint_table.o backends/flint/.libs/flint_termlist.o backends/flint/.libs/flint_termlisttable.o backends/flint/.libs/flint_values.o backends/flint/.libs/flint_version.o backends/inmemory/.libs/inmemory_alltermslist.o backends/inmemory/.libs/inmemory_database.o backends/inmemory/.libs/inmemory_document.o backends/inmemory/.libs/inmemory_positionlist.o backends/multi/.libs/multi_alltermslist.o backends/multi/.libs/multi_postlist.o backends/multi/.libs/multi_termlist.o backends/multi/.libs/multi_valuelist.o backends/remote/.libs/remote-document.o backends/remote/.libs/net_postlist.o backends/remote/.libs/net_termlist.o backends/remote/.libs/remote-database.o common/.libs/bitstream.o common/.libs/closefrom.o common/.libs/const_database_wrapper.o common/.libs/debuglog.o common/.libs/errno_to_string.o common/.libs/fileutils.o common/.libs/io_utils.o common/.libs/msvc_dirent.o common/.libs/msvc_posix_wrapper.o common/.libs/replicate_utils.o common/.libs/safe.o common/.libs/serialise-double.o common/.libs/socket_utils.o common/.libs/str.o common/.libs/stringutils.o common/.libs/utils.o expand/.libs/esetinternal.o expand/.libs/expandweight.o expand/.libs/ortermlist.o languages/.libs/danish.o languages/.libs/dutch.o languages/.libs/english.o languages/.libs/finnish.o languages/.libs/french.o languages/.libs/german2.o languages/.libs/german.o languages/.libs/hungarian.o languages/.libs/italian.o languages/.libs/kraaij_pohlmann.o languages/.libs/lovins.o languages/.libs/norwegian.o languages/.libs/porter.o languages/.libs/portuguese.o languages/.libs/romanian.o languages/.libs/russian.o languages/.libs/spanish.o languages/.libs/swedish.o languages/.libs/turkish.o languages/.libs/stem.o languages/.libs/steminternal.o matcher/.libs/remotesubmatch.o matcher/.libs/andmaybepostlist.o matcher/.libs/andnotpostlist.o matcher/.libs/branchpostlist.o matcher/.libs/collapser.o matcher/.libs/exactphrasepostlist.o matcher/.libs/externalpostlist.o matcher/.libs/localsubmatch.o matcher/.libs/mergepostlist.o matcher/.libs/msetcmp.o matcher/.libs/msetpostlist.o matcher/.libs/multiandpostlist.o matcher/.libs/multimatch.o matcher/.libs/multixorpostlist.o matcher/.libs/nearpostlist.o matcher/.libs/orpostlist.o matcher/.libs/phrasepostlist.o matcher/.libs/queryoptimiser.o matcher/.libs/selectpostlist.o matcher/.libs/synonympostlist.o matcher/.libs/valuegepostlist.o matcher/.libs/valuerangepostlist.o matcher/.libs/valuestreamdocument.o net/.libs/length.o net/.libs/progclient.o net/.libs/remoteconnection.o net/.libs/remoteserver.o net/.libs/remotetcpclient.o net/.libs/remotetcpserver.o net/.libs/replicatetcpclient.o net/.libs/replicatetcpserver.o net/.libs/serialise.o net/.libs/tcpclient.o net/.libs/tcpserver.o queryparser/.libs/cjk-tokenizer.o queryparser/.libs/queryparser.o queryparser/.libs/queryparser_internal.o queryparser/.libs/termgenerator.o queryparser/.libs/termgenerator_internal.o unicode/.libs/unicode-data.o unicode/.libs/utf8itor.o weight/.libs/bm25weight.o weight/.libs/boolweight.o weight/.libs/tradweight.o weight/.libs/weight.o weight/.libs/weightinternal.o   -L/tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/gems/xapian-ruby-1.2.22/lib -lz -luuid -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../.. -lstdc++ -lm -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib/crtn.o  -O3 -g0 -march=native -fstack-protector -Wl,-z -Wl,relro -Wl,-z -Wl,now -fstack-protector   -Wl,-soname -Wl,libxapian.so.22 -o .libs/libxapian.so.22.7.0
/sbin/ld: /usr/lib/libc_nonshared.a(elf-init.oS): in function `__libc_csu_init':
(.text+0x18): undefined reference to `__init_array_start'
/sbin/ld: /usr/lib/libc_nonshared.a(elf-init.oS): relocation R_X86_64_PC32 against undefined hidden symbol `__init_array_start' can not be used when making a shared object
/sbin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2130: libxapian.la] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/gems/xapian-ruby-1.2.22/xapian-core-1.2.22'
make[1]: *** [Makefile:3318: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/gems/xapian-ruby-1.2.22/xapian-core-1.2.22'
make: *** [Makefile:1505: all] Error 2
rake aborted!

/tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/gems/xapian-ruby-1.2.22/Rakefile:9:in `system!'
/tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/gems/xapian-ruby-1.2.22/Rakefile:30:in `block (2 levels) in <top (required)>'
/tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/gems/xapian-ruby-1.2.22/Rakefile:28:in `chdir'
/tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/gems/xapian-ruby-1.2.22/Rakefile:28:in `block in <top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)

rake failed, exit code 1

Gem files will remain installed in /tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/gems/xapian-ruby-1.2.22 for inspection.
Results logged to /tmp/yaourt-tmp-felics/aur-ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0/xapian-ruby-1.2.22/gem_make.out
==> ERROR: A failure occurred in package().
    Aborting...

derhamster commented on 2015-08-11 13:12 (UTC)

I am on x84_64. But I think the problem is parallel builds, due to my MAKEFLAGS. When I build it without any -j flags in MAKEFLAGS, the problem mentioned below by kiwisauce is gone and the package builds successfully.

asch commented on 2015-08-03 17:33 (UTC)

What architecture?

derhamster commented on 2015-08-03 17:05 (UTC)

I get the same error as kiwisauce. In a clean installation of Arch with only base-devel and ruby.

asch commented on 2015-07-17 21:10 (UTC)

Not my issue. Works with clean installation of arch.

bhedrich commented on 2015-07-17 16:05 (UTC)

Does not compile: libtool: link: ar cru .libs/libchertcheck.a backends/chert/.libs/chert_check.o libtool: link: ranlib .libs/libchertcheck.a libtool: error: 'common/getopt.lo' is not a valid libtool object Makefile:1651: recipe for target 'libgetopt.la' failed make[2]: *** [libgetopt.la] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: ar cru .libs/libflintcheck.a backends/flint/.libs/flint_check.o libtool: link: ranlib .libs/libflintcheck.a libtool: link: ( cd ".libs" && rm -f "libchertcheck.la" && ln -s "../libchertcheck.la" "libchertcheck.la" ) libtool: link: ( cd ".libs" && rm -f "libflintcheck.la" && ln -s "../libflintcheck.la" "libflintcheck.la" ) libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./common -I./include -D_FORTIFY_SOURCE=2 -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT queryparser/queryparser_internal.lo -MD -MP -MF queryparser/.deps/queryparser_internal.Tpo -c queryparser/queryparser_internal.cc -o queryparser/queryparser_internal.o >/dev/null 2>&1 mv -f bin/.deps/bin_xapian_check-xapian-check.Tpo bin/.deps/bin_xapian_check-xapian-check.Po make[2]: Leaving directory '/tmp/ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.2.0/gems/xapian-ruby-1.2.21/xapian-core-1.2.21' Makefile:3312: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.2.0/gems/xapian-ruby-1.2.21/xapian-core-1.2.21' Makefile:1503: recipe for target 'all' failed make: *** [all] Error 2 rake aborted! /tmp/ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.2.0/gems/xapian-ruby-1.2.21/Rakefile:9:in `system!' /tmp/ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.2.0/gems/xapian-ruby-1.2.21/Rakefile:30:in `block (2 levels) in <top (required)>' /tmp/ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.2.0/gems/xapian-ruby-1.2.21/Rakefile:28:in `chdir' /tmp/ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.2.0/gems/xapian-ruby-1.2.21/Rakefile:28:in `block in <top (required)>' Tasks: TOP => default (See full trace by running task with --trace) rake failed, exit code 1 Gem files will remain installed in /tmp/ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.2.0/gems/xapian-ruby-1.2.21 for inspection. Results logged to /tmp/ruby-xapian-ruby/pkg/ruby-xapian-ruby/usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/xapian-ruby-1.2.21/gem_make.out ==> ERROR: A failure occurred in package().