Bug 335631 - broken library links left after uninstall
Summary: broken library links left after uninstall
Status: RESOLVED WORKSFORME
Alias: None
Product: buildsystem
Classification: Developer tools
Component: KDE4 (cmake) (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Neundorf
URL: http://www.cmake.org/Wiki/CMake_FAQ#C...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-01 01:33 UTC by Christopher Yeleighton
Modified: 2019-05-05 12:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2014-06-01 01:33:28 UTC
The install script links libkexiv2.so to libkexiv2.so.11 to libkexiv2.so.11.2.0.  The uninstall script removes libkexiv2.so.11.2.0 and leaves the other two as broken links.

Reproducible: Always

Steps to Reproduce:
  1. { make install; }
  2. { make uninstall; }
  3. { ls /usr/local/lib64/libkexiv2.so*; }
Actual Results:  
  1.
-- Installing: /usr/local/lib64/libkexiv2.so.11.2.0
-- Installing: /usr/local/lib64/libkexiv2.so.11
-- Up-to-date: /usr/local/lib64/libkexiv2.so

  2.
-- Uninstalling "/usr/local/lib64/libkexiv2.so.11.2.0"
-- Uninstalling "/usr/local/lib64/libkexiv2.so.11"
-- File "/usr/local/lib64/libkexiv2.so.11" does not exist.
-- Uninstalling "/usr/local/lib64/libkexiv2.so"
-- File "/usr/local/lib64/libkexiv2.so" does not exist.

  3.
/usr/local/lib64/libkexiv2.so  /usr/local/lib64/libkexiv2.so.11

Expected Results:  
  3.
/usr/local/lib64/libkexiv2.so* not found.
Comment 1 Adam Pigg 2014-06-01 09:22:39 UTC
I dont think this falls under Kexi (the database application from calligra).  libkexiv2 is an image manipulation library for working with exiv metadata.
Comment 2 Jarosław Staniek 2014-06-01 15:55:54 UTC
Yeah, totally unrelated to Kexi. Applies to libkexiv2 (Library to manipulate picture meta data), it's a part of kdegraphics so I set kdelibs as a product.
Comment 3 Christopher Yeleighton 2014-06-01 21:14:15 UTC
The recommended script has it:
   if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
which would probably work.   KDE says instead:
   IF(EXISTS "${file}")
which is almost right.
Comment 4 caulier.gilles 2014-06-02 11:49:22 UTC
There is no uninstall cmake rules in libkexiv2. All is delegate to KDElibs...

Gilles Caulier
Comment 5 Andrew Crouthamel 2018-11-11 04:34:18 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-11-21 04:32:13 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!