FS#43260 - [jasper] Broken shared lib dep: libglut.so.3 for /usr/bin/jiv

Attached to Project: Arch Linux
Opened by Troy Engel (TE) - Monday, 29 December 2014, 15:41 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 29 December 2014, 22:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Freeglut is marked Optional, however a binary requiring the library is installed on the system. Freeglut needs to be marked as Required so as to not install non-functional executables.

# ldd /usr/bin/jiv | grep found
libglut.so.3 => not found


Additional info:

/usr/bin/jiv is owned by jasper 1.900.1-12

This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 29 December 2014, 22:02 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Already an optdep.
Comment by Jan de Groot (JGC) - Monday, 29 December 2014, 15:49 GMT
This is an optdepend because freeglut pulls in lots of additional dependencies, while the main use for jasper is the image library, not the viewer. We can fix this in three ways:
- ignore the bug
- split the package
- delete jiv from the package

I think the first option is best for now. Same goes for your bugreport about libtiff.
Comment by Troy Engel (TE) - Monday, 29 December 2014, 16:06 GMT
Respectfully, I do not agree with choosing option #1 -- I ran an entire scan of my system looking for broken dependencies, only 4 binaries came back broken; 3 by one packager and the 4th by another. I reported 4 bugs, one for each (3 are freeglut, 4th is rrdtool dep).

Either option #2 or #3 is the proper step - I think #2 is a better choice, have jasper-jiv as a split and it requires freeglut. Option #1 leaves a system broken for no good *technical* reason (I agree about dragging in a lot of baggage from freeglut), and option #3 is less than optimal since we want to offer the best set of software possible from upstream.

Opinion: we should not install binaries which are known not to actually work, the user is left with "well huh, I wonder what I need to install to get libglut.so.3". Intentionally installing a binary with an unmet shared lib dep is not doing the end-user any good and violates system integrity.

Loading...