Bug 1001869 - suitesparse-devel is missing c++ headers
suitesparse-devel is missing c++ headers
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: suitesparse (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: beta
: ---
Assigned To: Tomas Tomecek
Jan Kepler
Depends On:
Blocks: 1001943 1010368
  Show dependency treegraph
Reported: 2013-08-27 22:36 EDT by Brian Pitts
Modified: 2014-03-26 05:05 EDT (History)
4 users (show)

See Also:
Fixed In Version: suitesparse-3.4.0-9.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1001943 (view as bug list)
Last Closed: 2014-03-17 04:41:26 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Brian Pitts 2013-08-27 22:36:04 EDT
Description of problem:

The suitesparse-devel package does not include the C++ header files.

Version-Release number of selected component (if applicable):

Tested with suitesparse 3.4.0-7.el6 

How reproducible:


Steps to Reproduce:
$ repoquery --list suitesparse-devel | grep hpp

Actual results:

Nothing is found.

Expected results:

I expect to find the hpp files from the source.

$ wget --quiet 'https://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-3.4.0.tar.gz'
$ tar tf SuiteSparse-3.4.0.tar.gz | grep hpp

Additional info:

Without SuiteSparseQR.hpp you cannot compile https://code.google.com/p/ceres-solver/
Comment 1 Tomas Tomecek 2013-08-28 04:18:11 EDT
Thank you for bugreport, Brian.

The bug occurs in spec file: files with suffix 'hpp' are not being copied to %{_includedir} which is a mistake.

This patch should fix it:

diff --git a/suitesparse.spec b/suitesparse.spec
index 770f727..b5b52c1 100644
--- a/suitesparse.spec
+++ b/suitesparse.spec
@@ -337,7 +337,7 @@ pushd Lib
 pushd Include
-  for f in *.h;  do
+  for f in *.h*;  do
     cp -a $f ${RPM_BUILD_ROOT}%{_includedir}/%{name}/$f
Comment 3 Tomas Tomecek 2014-03-10 12:11:16 EDT
$ rpm -ql -p suitesparse-devel-3.4.0-9.el6.x86_64.rpm | grep hpp
Comment 8 errata-xmlrpc 2014-03-17 04:41:26 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.