From nobody Sun May 12 12:04:04 2024 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 4Vch9h6ph7z5JPy6 for ; Sun, 12 May 2024 12:04:08 +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 4Vch9h5kcNz43fQ for ; Sun, 12 May 2024 12:04:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715515448; a=rsa-sha256; cv=none; b=t6pjwwmXx6OEdYKENb2qID6xDjh9tahZ8p9yvDAfZSn/AMzqwD8TWqIqGPAoJfCokw5tgF Og3pe8kCY8iJx1Qpx+US6pwZWsOyfvEpiZZ/fE/yUBB+hxp/2DdlXLWRp2+pTt1v31aXRg V0vdNYPVmDkkZellWiNwBGoLDylM5/wPkjeJ+w3K+B0tIq4oTTdClfYkMx6TUOCIBERyLD hAyOTpuNLw1Y+9MRZn6nZJwYwTLSyy2d4ZbSDL0PurLw3U5YRrwc2tfdCkhqlr8UBiPz2+ GQdz6ztLzMWEbZza803gTbOSQg09zS/uYf3AN1ReFtiVq0h/DaYFNO8IV8Q2vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715515448; 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=AGAiHA/2CC5yf/+hv2wSN/wjDvVPRTOQpmtePokiHVY=; b=ylWLO4CkK6Bj0JSixurCE/7mMgoYPGyoqdZRqGytqXLa4vfa3QgAcj2f7oIP9p8C3MrzyQ d2UI/vphXH6552F999hnI9jzYjEWRhEocMcxwKGvr1n/mdSDSfM2cy/epdVXs0kD4VDTTx ofLjowd+Y584xHVAXofoOlYfhXca96k0//+2UYK/+d2o0R+/axFGpEWDvsDxTvoZTKYNr1 WgG48JR36vxABdtGfSFey9Z0gix/x3KYhlde3XHF/kMU7HDL07V9JljnKnxZQOUomx+yQN g6ZBYLcvREtGRzoSwXIPJbylQRgdMa1aDEtLnKxa/h8jOW6ZAMbi9bvuQP6wFw== 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 4Vch9h5LPxz13nw for ; Sun, 12 May 2024 12:04:08 +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 44CC48Xl002726 for ; Sun, 12 May 2024 12:04:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44CC48Yi002719 for ports-bugs@FreeBSD.org; Sun, 12 May 2024 12:04:08 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 278934] net-p2p/mldonkey: duplicate index entry when GUI option is unset Date: Sun, 12 May 2024 12:04:04 +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 Some People X-Bugzilla-Who: bob@vesterman.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danfe@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278934 Bug ID: 278934 Summary: net-p2p/mldonkey: duplicate index entry when GUI option is unset Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: bob@vesterman.com Flags: maintainer-feedback?(danfe@FreeBSD.org) Assignee: danfe@FreeBSD.org Whenever I do a "make index" (for the ports tree as a whole, not for an individual port), I get a warning message saying: Warning: Duplicate INDEX entry: mldonkey-core-3.1.7.2 I looked into this for a while, and I think I know what's going on. I am not really all that familiar with the ins and outs of the build system, though,= so I'm not sure if I'm correct, but: I found that the message is coming from within /usr/ports/Tools/make_index,= and it happens based on the "name" having already been handled. From there I tr= ied to figure out where this "name" was coming from. Eventually I learned that = if there are two or more ports that have the same base name (not sure that "ba= se" is the proper term here), they are supposed to be distinguished from each o= ther by "PKGNAMEPREFIX" and "PKGNAMESUFFIX" (and maybe other things too, I dunno= ). So, I looked for mldonkey ports. I found three: net-p2p/mldonkey, net-p2p/mldonkey-core, and net-p2p/mldonkey-gui. The Makefiles for the -core and -gui ones are pretty short; each just sets a few variables (PKGNAMEPREF= IX and PKGNAMESUFFIX are not among them) and then includes the Makefile for the main mldonkey port. I searched mldonkey/Makefile for PKGNAME. It doesn't contain any references= (at least not obvious, direct ones) to PKGNAMEPREFIX, but it does contain a cou= ple to PKGNAMESUFFIX: . if !${PORT_OPTIONS:MGUI} PKGNAMESUFFIX=3D -core (...) . if !${PORT_OPTIONS:MCORE} PKGNAMESUFFIX=3D -gui Given that the message complains about a duplicate of "mldonkey-core", I am guessing that both mldonkey-core and mldonkey-gui are hitting that ".if !$(PORT_OPTIONS:MGUI)", and therefore both are setting PKGNAMESUFFIX to -co= re. Unfortunately, due to my lack of knowledge and/or sleep, I haven't been abl= e to figure out where this PORT_OPTIONS:MGUI thing (or, more specifically, the l= ack thereof) is coming from, but I do know this: One of the things I do in my make.conf is OPTIONS_UNSET+=3DGUI. I'm guessing that that somehow causes PORT_OPTIONS:MGUI to be false, regard= less of whether or not the actual package being analyzed is mldonkey-core or mldonkey-gui. --=20 You are receiving this mail because: You are the assignee for the bug.=