Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 793428

Summary: dev-libs/xapian-bindings-1.4.18-r1 - rdlibtool: error: <compiler> is missing.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: orbea
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26514
https://bugs.gentoo.org/show_bug.cgi?id=914097
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709    
Attachments: emerge-info.txt
dev-libs:xapian-bindings-1.4.18-r1:20210601-020022.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-06-01 07:13:50 UTC
rdlibtool: link: ln -s ../Xapian.la .libs/Xapian.lai
rdlibtool --config > libtoolconfig.tmp
rdlibtool: error: <compiler> is missing.
make[2]: *** [Makefile:1482: auto/Xapian/Xapian.so] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.4.18-r1/work/xapian-bindings-1.4.18/perl'
make[1]: *** [Makefile:521: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/xapian-bindings-1.4.18-r1/work/xapian-bindings-1.4.18'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j3-20210528-173809

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit a4cdf3aff24e021d519b1d257eaa33c9e8406bf0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 1 00:56:41 2021 +0000

    2021-06-01 00:56:30 UTC

emerge -qpvO dev-libs/xapian-bindings
[ebuild  N    ] dev-libs/xapian-bindings-1.4.18-r1  USE="perl -java -lua -mono -php -python -ruby -tcl" LUA_TARGETS="lua5-1 -lua5-2 -lua5-3 -lua5-4 -luajit" PHP_TARGETS="php7-3 php7-4 (-php7-2)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" RUBY_TARGETS="ruby26 -ruby25"
Comment 1 Toralf Förster gentoo-dev 2021-06-01 07:13:51 UTC
Created attachment 713016 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-01 07:13:52 UTC
Created attachment 713019 [details]
dev-libs:xapian-bindings-1.4.18-r1:20210601-020022.log
Comment 3 Toralf Förster gentoo-dev 2021-06-01 07:13:54 UTC
Created attachment 713022 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-06-01 07:13:56 UTC
Created attachment 713025 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-06-01 07:13:57 UTC
Created attachment 713028 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-01 07:13:58 UTC
Created attachment 713031 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-06-01 07:13:59 UTC
Created attachment 713034 [details]
temp.tar.bz2
Comment 8 orbea 2022-05-06 02:25:41 UTC
This should also occur with the python3 USE, but here is a suggested fix for upstream in the perl directory.

https://github.com/xapian/xapian/pull/322

If this fix is acceptable for them I will try fixing the other directories too.
Comment 9 Larry the Git Cow gentoo-dev 2022-07-22 12:48:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a4b73aff0b585dac26d161e8a0a5a906cf3c00f

commit 6a4b73aff0b585dac26d161e8a0a5a906cf3c00f
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-07-22 01:53:45 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2022-07-22 12:42:41 +0000

    dev-libs/xapian-bindings: Fix the build with slibtool
    
    Bug: https://bugs.gentoo.org/793428
    Upstream-PR: https://github.com/xapian/xapian/pull/322
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 .../files/xapian-bindings-1.4.20-slibtool.patch    | 133 ++++++++
 .../xapian-bindings-1.4.20-r1.ebuild               | 352 +++++++++++++++++++++
 2 files changed, 485 insertions(+)