Menu icon indicating copy to clipboard operation
Menu copied to clipboard

Deprecated functionality in the JasPer library

Open probonopd opened this issue 3 years ago • 1 comments

Menu crashes on launch on my (upgraded with pkg) development system with:

WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY.  THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_init is deprecated
warning: The application program did not set the memory limit for the JasPer library.
warning: The JasPer memory limit is being defaulted to a value that may be inappropriate for the system.  If the default is too small, some reasonable encoding/decoding operations will fail.  If the default is too large, security vulnerabilities will result (e.g., decoding a malicious image could exhaust all memory and crash the system.
warning: setting JasPer memory limit to 5278820352 bytes
warning: skipping unknown tag type
warning: skipping unknown tag type
warning: skipping unknown tag type
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY.  THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_cleanup is deprecated

Not sure where the JasPer dependency is coming from; possibly Qt rather than Menu itself?

The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standar

Source: https://www.ece.uvic.ca/~frodo/jasper/

This is the port: https://github.com/insecurenet/FreeBSD-ports/blob/master/graphics/jasper/Makefile

Why is it in helloSystem at all?

jasper-3.0.4:
        simage-1.7.0_9
        gegl-0.4.36
        qt5-imageformats-5.15.5p3_1

Looks like qt5-imageformats pulls it in.

probonopd avatar Oct 15 '22 11:10 probonopd

Updated the system again; let's see whether that resolved it.

probonopd avatar Oct 15 '22 11:10 probonopd