Bug 433198 - rpmlint warning undefined-non-weak-symbol
rpmlint warning undefined-non-weak-symbol
Product: Fedora
Classification: Fedora
Component: openjpeg (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Callum Lerwick
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-02-17 09:16 EST by Nicolas Chauvet (kwizart)
Modified: 2008-10-20 20:21 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-20 20:21:53 EDT
Type: ---
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 Nicolas Chauvet (kwizart) 2008-02-17 09:16:49 EST
Description of problem: running rpmlint openjpeg-libs on installed package shows

Version-Release number of selected component (if applicable): currents version
for F-8 (expected also for Rawhide and F-7)

Actual results:
[kwizart@kwizatz lib64]$ rpmlint openjpeg-libs
openjpeg-libs.x86_64: W: no-documentation (no_problem)
openjpeg-libs.x86_64: W: undefined-non-weak-symbol
/usr/lib64/libopenjpeg.so. floor
openjpeg-libs.x86_64: W: undefined-non-weak-symbol
/usr/lib64/libopenjpeg.so. ceilf
openjpeg-libs.x86_64: W: undefined-non-weak-symbol
/usr/lib64/libopenjpeg.so. floorf
openjpeg-libs.x86_64: W: undefined-non-weak-symbol
/usr/lib64/libopenjpeg.so. lrintf
openjpeg-libs.x86_64: W: undefined-non-weak-symbol
/usr/lib64/libopenjpeg.so. pow
[kwizart@kwizatz lib64]$ rpmlint openjpeg
openjpeg.x86_64: W: spurious-executable-perm /usr/share/doc/openjpeg-1.3/ChangeLog
openjpeg.x86_64: W: spurious-executable-perm /usr/share/doc/openjpeg-1.3/license.txt

Expected results:
* openjpeg have to be compiled with -lm, this will allow the linker to reduce
the time to resolve non-weak-symbols
* about doc, chmod 0644 and sed -i 's/\r//' license.txt 
you need to convert /usr/share/doc/openjpeg-1.3/ChangeLog to utf8.
Be careful to doing this will change timestramps and you can prevent this by
using touch -r from a reference file.

Additional info:
It would be nice to have pkg-config support so apps that links against openjpeg
can know the right OPENJPEG_LDFLAGS and OPENJPEG_CFLAGS (would be useful for
-I/usr/include/openjpeg ). 

The test case is gpac here.
Comment 1 Bug Zapper 2008-05-14 01:14:36 EDT
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Comment 2 Nicolas Chauvet (kwizart) 2008-10-20 20:21:53 EDT
This bug was probably fixed upstream.

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