I'm attempting to upgrade from www/redmine42-4.2.5 to www/redmine51-5.1.3_2 on FreeBSD 14.1-RELEASE-p3 GENERIC amd64 and I've used the redmine plugin DMSF which relies on xapian, specifically
This is a known issue with code developed for Linux and ported and
I'm not finding anything comforting nor any obvious place to post a bug report, other than this fine resource. Anybody have any clues?
xapian-ruby (1.4.22)
. I can poudriere build and then install databases/ruby32-xapian-1.4.26 just fine, but the rake insists on building the gem, which does not go well.ld: error: unable to find library -lstdc++
This is a known issue with code developed for Linux and ported and
xapian-bindings
seems to have code to deal with being built on FreeBSD, but for reasons that escape my skilz, it's not succeeding. The xapian project isn't responsible for the ruby gem, and there's one open issue in the xapian-ruby git, this exact issue.I'm not finding anything comforting nor any obvious place to post a bug report, other than this fine resource. Anybody have any clues?
sh:
/bin/sh ../libtool --tag=CXX --mode=link c++ -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized -fvisibility=hidden -fvisibility-inlines-hidden
-I/usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/xapian-core-1.4.22/include -g -O2 -avoid-version -module -shrext ".so"
-L/usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/lib -o _xapian.la -rpath /usr/local/lib/ruby/site_ruby/3.2/amd64-freebsd14 xapian_wrap.lo
/usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/xapian-core-1.4.22/libxapian.la -lstdc++
libtool: link: c++ -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/xapian_wrap.o -Wl,-rpath
-Wl,/usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/xapian-core-1.4.22/.libs -Wl,-rpath -Wl,/usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/lib
-L/usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/lib /usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/xapian-core-1.4.22/.libs/libxapian.so -lz -lrt -lstdc++ -L/usr/lib -lc++
-lm -lc -lgcc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o -g -O2 -Wl,-soname -Wl,_xapian.so -o .libs/_xapian.so
ld: error: unable to find library -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[3]: stopped in /usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/xapian-bindings-1.4.22/ruby
*** Error code 1
Stop.
make[2]: stopped in /usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/xapian-bindings-1.4.22/ruby
*** Error code 1
Stop.
make[1]: stopped in /usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/xapian-bindings-1.4.22
*** Error code 1
Stop.
make: stopped in /usr/local/lib/ruby/gems/3.2/gems/xapian-ruby-1.4.22/xapian-bindings-1.4.22
rake aborted!