From nobody Sat Apr 16 18:51:52 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9AF94CFF338 for ; Sat, 16 Apr 2022 18:51:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kgj3Y26TNz4tkT for ; Sat, 16 Apr 2022 18:51:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 28BF67440 for ; Sat, 16 Apr 2022 18:51:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23GIprTo065491 for ; Sat, 16 Apr 2022 18:51:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23GIprXj065490 for ports-bugs@FreeBSD.org; Sat, 16 Apr 2022 18:51:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263352] graphics/GraphicsMagick: fails to build with graphics/libjxl installed Date: Sat, 16 Apr 2022 18:51:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: osidorkin@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650135113; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JwG4fMacetXdcnCKCJi7VhRfQfELA5CsEaoA2YQvXGU=; b=wHuKrRIB2vBZKItOE7AhQYn29VZzBav34OdGHGsy2EWxSx9z6eW/r50SpBYA0tlr1gHc5A R6mMFkxxUHhXeLs1eYbazaUZT8N9v8EjQvuU0RALlnuG3JkIhwogXu94nGI8MJU8/xgDYm eMTvXCxY8Q4FdATKpdrRZV0EqCAL+jTAAckOYZvZrklANwAZ8Rbwbuqhvo+DNhGZS5Wmd+ Yj0wB5ltJBTnwLbFeyZf+7q8RIRsErXoXQ8kZfPjYyGowfBdsXwnsVBxbL5Ob2fHACpISR fpov2sob3Stehleu3upR2nDUYhTGDLpHmghl7VFR7lJC6KB3giEfwKsjR0rYBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650135113; a=rsa-sha256; cv=none; b=coxrhlkQX/L6sJnWUWNQ0DhRNX7TbGTzrOTKXajj4pMP/l15K4IRtbgtsffVIcRE9VAJ+b lPSyoX5IDnCMShgfNUFAr5boXzV+jAqbWD7WxEzKsB0IYzGfVKYbfhuRjh7kYBvEQ1L8/x AyB0IZ9zOkqFa9VY+aVO2iHA4Da4Rd0XgcGjU4VxYzYeFzmLFLciYrQRfC4jdgOKSLrxWl s+XsXlSVWC4snu4XHk6rKjuyLpo5oVdTeos11cp1Z2Ivz6+BfBqIlGSS0bfFvMCjxLLjuG PvQeHkDqMgNg+ZkdiErk2FhIeuxPodr9Nd7AVD0RoQGU72qABGoqWQTWgnPiHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=