From nobody Fri Mar 03 13:49:50 2023 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 4PSq8v59Kkz3vwyW for ; Fri, 3 Mar 2023 13:49:51 +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 4PSq8v3Rgyz4P1H for ; Fri, 3 Mar 2023 13:49:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677851391; 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: in-reply-to:in-reply-to:references:references; bh=EtKAhjMNnFXjZg2V87HLrLswh30lq1h0mINLSR1k+MY=; b=BDgnkSm4iD7XNPSP1yyl9AGLKGJXiQGxo9MPXRr7VpY+J35AIt3XZV6DPDZr3rhl87bxq6 0H1l/+Dbn8UjQclmR+ChtcMnaFukqssn+xUX5ln7LBja7IxkJ89arj1qzEvL9P7tPStM5t NZ4Tq/I/ZzJK6TJM3WE3tiGnFpT32LYm1/KMLaXUK7ok3Ohej89V+NrPhRfhLpDfojq2nu QDmAANFXyJHbEJ/NLI10Z3jtsUWJ8gm+Wr5WBZcBHIf7ujUraKYfWr+fa6f1JZBSxt09Ha QdwLQzmjpBChzAiJdMKPKF8NRtjiJsoA+Q3wYyfV48+jilRKfeA7oV/B3XBUxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677851391; a=rsa-sha256; cv=none; b=yuTlJk1Y7a3Ri2Ieqz7bwFVqK0GmK6yopy9nqbCmQ+dZiuFhGGb+InVbMC6lPxnwB0NpiX Whmxi70gbbIQGNUl+nK/WjfuXj7t6glvmXP2hkYUfBIldTDDmb5/HvEk7XU/LjAqFjwqtP nLQFh3VWcOQLlWuXzXw/emzJ6sCn3KzWuv+V+nHlaXkQeTmhGnXf63Xf7VrfiKqhEENR4W sMbAgv0U8lIBPZS35ZtYVHdNP7tavVS8i7qAgBdyHKX2ydJmsXVvRxYnzWY5eSAYObc7CS qOxzFNemfbCGAAYHJ3FhKmAlnbOCdjFvIkTj4z1umlLPRk4bdJAF8VGGlRWZGw== 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 4PSq8v2PKkz10Cd for ; Fri, 3 Mar 2023 13:49:51 +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 323Dnpw0080866 for ; Fri, 3 Mar 2023 13:49:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 323Dnpvj080865 for ports-bugs@FreeBSD.org; Fri, 3 Mar 2023 13:49:51 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 269381] Mk/Uses/magick.mk does not support OPTIONS_UNSET+= X11 in make.conf when package Makefile has "USES = magick" Date: Fri, 03 Mar 2023 13:49:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: fsbruva@yahoo.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: Message-ID: In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269381 --- Comment #5 from fsbruva@yahoo.com --- (In reply to lysfjord.daniel from comment #4) My earlier claims of success about using imagemagick=3D7-nox11 only meant poudriere constructed the correct dependencies. There is a syntax error in Uses/magick.mk, because the build later fails with: =3D=3D=3D> vips-8.13.3_3 depends on shared library: libMagick++-7-nox11.s= o - not found *** Error code 1 Stop. make: stopped in /usr/ports/graphics/vips Once I started digging in magick.mk, I found some other logic errors. Right now, if the user or ports tree specifies 6 or 7 as the default version, but= a port asks for -nox11, then magick.mk will (try to) install the -nox11 versi= on. There is no way for a user to mandate that the x11 version be installed as a dependency via DEFAULT_VERSIONS.=20 Additionally, there is no way for a port to mandate that the x11 version be installed as a dependency. If the port omits the -nox11 flavor in USES beca= use it needs x11, but DEFAULT_VERSIONS specifies -nox11, then the port will have unmet dependencies. And your last point about ImageMagick itself correctly handling the X11 opt= ion is a good one - I hadn't really thought of it that way. I will have to think about how to try and make Uses/magick.mk check the UNSET options. I don't e= ven know if that's possible. --=20 You are receiving this mail because: You are the assignee for the bug.=