Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78175 - [Extra/jasper] shared library missing exported symbols
Attached to Project:
Arch Linux
Opened by Tommy Zhang (T-J-M) - Wednesday, 12 April 2023, 09:28 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 12 April 2023, 09:55 GMT
Opened by Tommy Zhang (T-J-M) - Wednesday, 12 April 2023, 09:28 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 12 April 2023, 09:55 GMT
|
DetailsDescription: The Jasper package with libjasper is widely used in image processing. However, two symbols 'jp2_encode' and 'jp2_decode' are missing from the libjasper.so
Additional info: * package version(s) :4.0.0-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: 1. Install GCC and Jasper 2. Save the PoC in the local environment 3. Compile the Poc Proof-of-Concept: poc.cc ``` #include <jasper/jas_image.h> int main() { jas_stream_t* in; jp2_decode(in, 0); } ``` Terminal Output: ``` [tjm@ArchPad tmp]$ g++ -O0 -g poc.cc -ljasper -o poc In file included from /usr/include/jasper/jas_image.h:77, from poc.cc:1: /usr/include/jasper/jas_config.h:117:2: warning: #warning "Your code is being built against an older version of the C standard than JasPer was. Although this is supported, this may require some extra preprocessor defines when building." [-Wcpp] 117 | #warning "Your code is being built against an older version of the C standard than JasPer was. Although this is supported, this may require some extra preprocessor defines when building." | ^~~~~~~ /sbin/ld: /tmp/ccskK3ft.o: in function `main': /tmp/poc.cc:5: undefined reference to `jp2_decode' collect2: error: ld returned 1 exit status ``` |
This task depends upon
https://github.com/jasper-software/jasper/commit/5fe57ac5829ec31396e7eaab59a688da014660af