Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666627 - sci-libs/lapack-reference-3.7.0 - CMake Error at /usr/lib64/cmake/lapack-3.7.0/lapack-targets.cmake:79 (message): The imported target "lapack" references the file "/usr/lib64/liblapack.so.3.7.0" but this file does not exist.
Summary: sci-libs/lapack-reference-3.7.0 - CMake Error at /usr/lib64/cmake/lapack-3.7....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-20 14:46 UTC by justXi
Modified: 2020-11-15 14:51 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 justXi 2018-09-20 14:46:12 UTC
Using a CMakeLists.txt with the following content:
----------
cmake_minimum_required(VERSION 3.9)

find_package( cblas ) 
----------

results in:

-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/lib64/cmake/lapack-3.7.0/lapack-targets.cmake:79 (message):
  The imported target "lapack" references the file

     "/usr/lib64/liblapack.so.3.7.0"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib64/cmake/lapack-3.7.0/lapack-targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib64/cmake/lapack-3.7.0/lapack-config.cmake:7 (include)
  /usr/lib64/cmake/cblas-3.7.0/cblas-config.cmake:9 (find_package)
  CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/user/Projects/2018-09-CMake/cblas/build/CMakeFiles/CMakeOutput.log".
Comment 1 justXi 2018-09-21 19:06:01 UTC
There seems to be a missing link in "/usr/lib64":

liblapack.so.3.7.0 -> lapack/reference/liblapack.so.3.7.0


And touching the missing file "cblas-targets.cmake":

/usr/lib64/cmake/cblas-3.7.0/cblas-targets.cmake


results in successfull run of "find_package( cblas )"
Comment 2 François Bissey 2018-09-25 11:27:20 UTC
Version of cmake?
Comment 3 justXi 2018-09-25 16:39:50 UTC
Cmake 3.9.6 (stable from portage)
Comment 4 François Bissey 2018-09-25 20:55:53 UTC
Are you using blas from the science overlay or main tree. Furthermore what does 
eselect blas list 
report?
Comment 5 justXi 2018-09-28 19:17:20 UTC
I use all from main tree:

sci-libs/blas-reference-20161223
sci-libs/cblas-reference-20161223

virtual/blas-3.7
virtual/cblas-3.7

sci-libs/lapack-reference-3.7.0
virtual/lapack-3.7


result from "eselect blas list":
 [1]   reference *
Comment 6 Larry the Git Cow gentoo-dev 2020-11-15 14:51:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ebcf45ffd328bbb7a7bb659f0be3f94a38cc4f

commit 74ebcf45ffd328bbb7a7bb659f0be3f94a38cc4f
Author:     Aisha Tammy <gentoo@aisha.cc>
AuthorDate: 2020-11-15 14:51:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-15 14:51:37 +0000

    sci-libs/lapack: remove lapacke-reference blocker
    
    * included in sci-libs/lapack
    
    Closes: https://bugs.gentoo.org/746962
    Closes: https://bugs.gentoo.org/684400
    Closes: https://bugs.gentoo.org/667828
    Closes: https://bugs.gentoo.org/666627
    Closes: https://bugs.gentoo.org/659016
    Closes: https://bugs.gentoo.org/689084
    Closes: https://bugs.gentoo.org/612038
    Closes: https://bugs.gentoo.org/620328
    Closes: https://bugs.gentoo.org/608270
    Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-libs/lapack/lapack-3.8.0-r1.ebuild | 1 -
 sci-libs/lapack/lapack-3.8.0.ebuild    | 1 -
 sci-libs/lapack/lapack-3.9.0.ebuild    | 1 -
 3 files changed, 3 deletions(-)