Bug 675316 - flann-1.6.7-4.fc15.src.rpm fails building on ppc64
Summary: flann-1.6.7-4.fc15.src.rpm fails building on ppc64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: flann
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-04 21:16 UTC by Adrian Reber
Modified: 2011-02-04 22:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-04 21:41:01 UTC
Type: ---


Attachments (Terms of Use)

Description Adrian Reber 2011-02-04 21:16:03 UTC
Somehow the cmake scripts are installing the libraries in /usr/lib instead of /usr/lib64 on ppc64.

Although it seems correctly defined

/usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_MATLAB_BINDINGS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_PYTHON_BINDINGS=true ..

It is installed in the wrong directory:

-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/pkgconfig/flann.pc
-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/libflann_cpp.so.1.6.7
-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/libflann_cpp.so.1.6
-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/libflann_cpp.so
-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/libflann_cpp_s.a
-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/libflann.so.1.6.7
-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/libflann.so.1.6
-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/libflann.so
-- Installing: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib/libflann_s.a


RPM build errors:
    File not found by glob: /builddir/build/BUILDROOT/flann-1.6.7-4.fc15.ppc64/usr/lib64/*.so.*
Child returncode was: 1


http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=127910

Comment 1 Rich Mattes 2011-02-04 21:41:01 UTC
Fixed in flann-1.6.7-5.  Is the ppc secondary arch targeting any releases prior to f15?  If so, let me know and I will apply this patch to the the other branches.

Comment 2 Adrian Reber 2011-02-04 22:00:04 UTC
Thanks a lot. Now it works. f15 is enough.

http://ppc.koji.fedoraproject.org/koji/buildinfo?buildID=27116


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