Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669162 - =app-text/enchant-1.6.1 - src_compile(): libtool: link: unable to infer tagged configuration // libtool: error: specify a tag with '--tag'
Summary: =app-text/enchant-1.6.1 - src_compile(): libtool: link: unable to infer tagge...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Keywords: PATCH
Depends on:
Reported: 2018-10-21 03:39 UTC by David Carlos Manuelda
Modified: 2019-05-23 13:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,21.23 KB, text/plain)
2018-10-21 03:39 UTC, David Carlos Manuelda
Patch to fix compilation issue (fix-clang-build.patch,497 bytes, patch)
2018-10-21 03:39 UTC, David Carlos Manuelda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2018-10-21 03:39:08 UTC
Created attachment 552036 [details]

When building enchant-1.6.1, I noticed it does not build with the error (full build log attached):

/bin/sh ../libtool    --mode=link x86_64-pc-linux-gnu-gcc   -no-undefined -export-symbols-regex '^enchant_.*'  -version-info 7:1:6  -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-O2 -Wl,-S -o -rpath /usr/lib64 enchant.lo pwl.lo  -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0  
libtool: link: unable to infer tagged configuration
libtool:   error: specify a tag with '--tag'

Digging into it, it is just missing a tag to libtool in (attached patch)
Comment 1 David Carlos Manuelda 2018-10-21 03:39:47 UTC
Created attachment 552038 [details, diff]
Patch to fix compilation issue
Comment 2 marius.spix 2018-11-03 22:32:24 UTC
I can confirm this issue. Thank you for the patch.
Comment 3 Adam 2019-05-23 13:16:37 UTC
The same goes for me: this patch fixed the compilation.

emerge --info from my rather old system:

Portage 2.3.62 (python 3.6.5-final-0, default/linux/x86/17.0/desktop, gcc-8.2.0, glibc-2.29-r2, 4.9.76-gentoo-r1 i686)
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i5-2500T_CPU_@_2.30GHz-with-gentoo-2.6
KiB Mem:     8283252 total,    748964 free
KiB Swap:    2104508 total,   2096396 free
Timestamp of repository gentoo: Wed, 22 May 2019 19:45:01 +0000
Head commit of repository gentoo: 68b92dfdc9c7e48b1d0979e061792f85824f8ca5
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
distcc 3.2rc1 i686-pc-linux-gnu [disabled]
ccache version 3.6 [enabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.10.3-r3::gentoo, 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r6::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo