Date: Sat, 16 Apr 2022 18:51:52 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263352] graphics/GraphicsMagick: fails to build with graphics/libjxl installed Message-ID: <bug-263352-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263352 Bug ID: 263352 Summary: graphics/GraphicsMagick: fails to build with graphics/libjxl installed Product: Ports & Packages Version: Latest Hardware: Any URL: http://hg.code.sf.net/p/graphicsmagick/code/log/8412d0 44e645/coders/jxl.c OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: osidorkin@gmail.com CC: jbeich@FreeBSD.org, sunpoet@FreeBSD.org CC: jbeich@FreeBSD.org, sunpoet@FreeBSD.org Attachment #233257 maintainer-approval? Flags: Created attachment 233257 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233257&action= =3Dedit disable libjxl for GraphicsMagick port GraphicsMagick picks up libjxl when it is installed. However it requires li= bjxl API trunk and fails to build with the version from ports. GraphicsMagic com= mit mentions mysterious 0.7.0 version that seems to be some tag in the reposito= ry picked by debian maintainers. Attached patch disables libjxl support and supposed to be removed after libjxl update The error is the following: coders/jxl.c:513:19: warning: implicit declaration of function 'JxlDecoderCloseInput' is invalid in C99 [-Wimplicit-function-declaration] JxlDecoderCloseInput(jxl); ^ coders/jxl.c:811:3: error: use of undeclared identifier 'JxlEncoderFrameSettings' JxlEncoderFrameSettings ^ coders/jxl.c:812:6: error: use of undeclared identifier 'frame_settings' *frame_settings =3D NULL; /* Deallocated when encoder is destroyed with JxlEncoderDestroy() */ ^ coders/jxl.c:960:3: error: use of undeclared identifier 'frame_settings' frame_settings =3D JxlEncoderFrameSettingsCreate(jxl_encoder, NULL); ^ coders/jxl.c:960:20: warning: implicit declaration of function 'JxlEncoderFrameSettingsCreate' is invalid in C99 [-Wimplicit-function -declaration] frame_settings =3D JxlEncoderFrameSettingsCreate(jxl_encoder, NULL); ^ coders/jxl.c:963:11: warning: implicit declaration of function 'JxlEncoderSetFrameLossless' is invalid in C99 [-Wimplicit-function-de claration] if (JxlEncoderSetFrameLossless(frame_settings,JXL_TRUE) !=3D JXL_ENC_SUCCESS) ^ coders/jxl.c:963:38: error: use of undeclared identifier 'frame_settings' if (JxlEncoderSetFrameLossless(frame_settings,JXL_TRUE) !=3D JXL_ENC_SUCCESS) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263352-7788>