Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771309 - dev-lisp/c2ffi-11.0.0.20201113 - CMake Error at CMakeLists.txt:9 (find_package):
Summary: dev-lisp/c2ffi-11.0.0.20201113 - CMake Error at CMakeLists.txt:9 (find_package):
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Harald Judt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-18 17:25 UTC by Toralf Förster
Modified: 2022-07-18 14:11 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.16 KB, text/plain)
2021-02-18 17:25 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,46.32 KB, text/plain)
2021-02-18 17:25 UTC, Toralf Förster
Details
dev-lisp:c2ffi-11.0.0.20201113:20210218-164110.log (dev-lisp:c2ffi-11.0.0.20201113:20210218-164110.log,3.78 KB, text/plain)
2021-02-18 17:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,130.24 KB, text/plain)
2021-02-18 17:25 UTC, Toralf Förster
Details
environment (environment,91.26 KB, text/plain)
2021-02-18 17:25 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.37 KB, application/x-bzip)
2021-02-18 17:25 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.44 KB, application/x-bzip)
2021-02-18 17:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.87 KB, application/x-bzip)
2021-02-18 17:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-02-18 17:25:46 UTC
-- CXX Compiler: GNU
-- Building for Linux-x64
CMake Error at CMakeLists.txt:9 (find_package):
  Could not find a configuration file for package "LLVM" that is compatible
  with requested version "11.0".


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210216-135536

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8rc1
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Feb 18 15:22:41 UTC 2021

emerge -qpvO dev-lisp/c2ffi
[ebuild  N    ] dev-lisp/c2ffi-11.0.0.20201113
Comment 1 Toralf Förster gentoo-dev 2021-02-18 17:25:47 UTC
Created attachment 687450 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-02-18 17:25:49 UTC
Created attachment 687453 [details]
CMakeOutput.log
Comment 3 Toralf Förster gentoo-dev 2021-02-18 17:25:50 UTC
Created attachment 687456 [details]
dev-lisp:c2ffi-11.0.0.20201113:20210218-164110.log
Comment 4 Toralf Förster gentoo-dev 2021-02-18 17:25:51 UTC
Created attachment 687459 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2021-02-18 17:25:53 UTC
Created attachment 687462 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2021-02-18 17:25:54 UTC
Created attachment 687465 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-02-18 17:25:55 UTC
Created attachment 687468 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2021-02-18 17:25:56 UTC
Created attachment 687471 [details]
temp.tar.bz2
Comment 9 Harald Judt 2021-02-19 23:03:59 UTC
Might be because you have already been using LLVM-11.1. It works fine here with 11.0.1, but atm my system does not want to update to 11.1 because of some dependency problem. I will try to solve this and see if I can then reproduce the issue and whether there are any fixes for this upstream.
Comment 10 Harald Judt 2021-02-22 13:37:44 UTC
After updating to llvm-11.1, I can now reproduce this issue. I don't know yet how to best solve it, but simply changing the requirement of "LLVM 11.0" to "LLVM 11.1" in CMakeLists.txt fixes it. Simply using "LLVM 11" there doesn't work, and I wonder about the update process for the user who compiles with LLVM 11.0, but then updates to LLVM 11.1.

Any recommendations how to properly treat this in the ebuild?
Comment 11 Harald Judt 2022-07-18 14:11:03 UTC
Closing resolved, as there are newer versions available and the old one has been removed.