Opened 18 months ago
Closed 16 months ago
#67454 closed defect (fixed)
ncarg @6.6.2: Undefined symbols: _jpc_decode
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | Dave-Allured (Dave Allured) | |
Port: | ncarg |
Description
ncarg fails to build on all buildbot workers. The first error is:
Undefined symbols for architecture arm64: "_jpc_decode", referenced from: _dec_jpeg2000 in libgrib2c.a(dec_jpeg2000.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[4]: *** [ncl] Error 1
Error: Failed to build ncarg: ncl did not get built
There are also a zillion warnings before that which may or may not be important.
I searched the ncarg repository and could not find where this function was being used. It looks like it's actually in g2c which the ncarg port downloads and builds separately. The port already downloads a patch for it as well as applies a separate local patch related to jasper. According to this g2c bug comment, jas_image_decode
should be used instead of jpc_decode
. This is how they fixed it. The fix is included in g2c 1.7.0. Can ncarg use that instead of the 1.6.0 it is currently using?
Change History (2)
comment:1 Changed 16 months ago by Dave-Allured (Dave Allured)
Cc: | Dave-Allured added |
---|
comment:2 Changed 16 months ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I am surprised I did not fix this with
enc_jpg2000.c
! Closing by hand because I pasted wrong URL.