Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713336 - dev-ada/gps-2019-r1 configure: error: libclang not found
Summary: dev-ada/gps-2019-r1 configure: error: libclang not found
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-19 05:56 UTC by Alex
Modified: 2020-03-19 15:26 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 Alex 2020-03-19 05:56:13 UTC
When emerging dev-ada/gps-2019-r1, I get

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-ada/gps-2019-r1::gentoo
>>> Failed to emerge dev-ada/gps-2019-r1, Log file:
>>>  '/var/tmp/portage/dev-ada/gps-2019-r1/temp/build.log'
 * Package:    dev-ada/gps-2019-r1
 * Repository: gentoo
 * Maintainer: ada@gentoo.org
 * USE:        abi_x86_64 ada_target_gnat_2019 amd64 elibc_glibc kernel_linux python_single_target_python2_7 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using python2.7 to build
 * Applying gps-2019-gentoo.patch ...
 [ ok ]
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for xmlada.gpr... yes
checking for gnatcoll_build... not specified
checking for gtkada.gpr... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for gnatmake... /usr/bin/gnatmake-8.3.1
checking that your gnat compiler works with a simple example... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for gawk... gawk
checking for dvips... dvips
checking for makeinfo... makeinfo
checking for texi2dvi... texi2dvi
checking for pkg-config... /usr/bin/pkg-config
checking for default gtk+ version... 3.0
checking for gtk+ 3.0... /usr
checking for gtkada.gpr... yes
checking GTK GLIB ATK PANGO prefix... /usr /usr /usr /usr /usr
checking for gnat... /var/tmp/portage/dev-ada/gps-2019-r1/temp/gnat_2019/bin/gnat
checking for GtkAda - version >= 17.0... yes
checking for python... /usr/bin/python2.7
checking for python >= 2.0... yes (version 2.7.17.final.0)
checking if can link with Python library... yes
checking for python LDFLAGS... -L/usr/lib64 -lpython2.7 -lpthread -ldl  -lutil -lm  -export-dynamic
checking for python CFLAGS... -I/usr/include/python2.7 -I/usr/include/python2.7
checking for pygobject... yes (3.0)
checking for libclang... configure: error: libclang not found (see --with-clang)

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-ada/gps-2019-r1/work/gps-8606676b6b4fb245faad5e91127b15c2e61174e9/config.log
 * ERROR: dev-ada/gps-2019-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 3178:  Called econf '--with-clang=/usr/lib/llvm/8/lib64'
 *        phase-helpers.sh, line  681:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-ada/gps-2019-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ada/gps-2019-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ada/gps-2019-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ada/gps-2019-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ada/gps-2019-r1/work/gps-8606676b6b4fb245faad5e91127b15c2e61174e9'
 * S: '/var/tmp/portage/dev-ada/gps-2019-r1/work/gps-8606676b6b4fb245faad5e91127b15c2e61174e9'


Although clang:9 is installed.

Reproducible: Always

Steps to Reproduce:
1. emerge -pvuDN @world
2. emerge -q gps
3. watch the error
Comment 1 Jonas Stein gentoo-dev 2020-03-19 15:26:28 UTC
Thank you for the report. Please recompile and 
*attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.