From nobody Thu Jun 06 13:42:50 2024 X-Original-To: usb@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 4Vw5B26lhVz5MVLx for ; Thu, 06 Jun 2024 13:42:50 +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 4Vw5B24WHpz3xj9 for ; Thu, 6 Jun 2024 13:42:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717681370; a=rsa-sha256; cv=none; b=hYRitl8RGoyQnAK2KD+UOgCTOUOBHHdCeuAgdNGxCpSnJ1WyC1tLMc/B9+VoaltNBCJsm9 2WEt3GIzCaBRPyUF10hr8kBnNrn5LRT19jfJNGaWiMrA0L9IuftEHJY2tyl5ZJvQyb4KEn KAkG+S8dd+dY3Mv3JfBhh0bO0nw4ByONRReNAOc9BC+2h2HIwa2/4vtpgj5JukZh07e2Gy e3tiHIgI99dxTCRG00W7QQ8qP3btV9coo6UgmF+l7pgnMttRnmxuwtp728xAyGkxlYSXZ1 NuSaHn9rxTothf2EOaolHmLqnJbR4H0lrtj4ZvBRSYwR+ooBXHPZ95hk6HGxnw== 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=1717681370; 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=dDd/1fFH7dsVTWPD+xsMsxxbmagnVQ7E1A2XQhQ0NZw=; b=IB3qixkAobUL0NCW8eR15YgZvu82Z8QTHLGxBujO2yMzRsnlf5r7fSdsKAGDCYXcgeG3/c 2ZsZ9KmVGKLWEY6+oSxuKGOIlwuKgMMun5c7mlTkkItUlyA65iE1Uf6Jlmj5FK0jWUQKpg k5D6cAed7ecua9kJKnOTM3y3pBD8Ytp1rAylVOuMVod7eWg6P2eP6IQ6Cb8sjfwNpOOVa3 p6w74EnrOSdCXMNDI0qR3C5a8s5k4AmS7dkMX/3bk80AbZ2eqeTmDhQyo8guiIw7q0iQLy uer/Q20Z00BxG9mRhPMrFXH4uFvtpa/Rw5XTvn22lbeLDxbyO6Hmc3TphBnz4g== 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 4Vw5B247JmznqS for ; Thu, 6 Jun 2024 13:42:50 +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 456Dgojt015938 for ; Thu, 6 Jun 2024 13:42:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 456DgoqZ015937 for usb@FreeBSD.org; Thu, 6 Jun 2024 13:42:50 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: usb@FreeBSD.org Subject: [Bug 277799] libusb should be updated Date: Thu, 06 Jun 2024 13:42:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emaste@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277799 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|usb@FreeBSD.org |emaste@freebsd.org --- Comment #3 from Ed Maste --- AFAICT OpenOCD's 1.0.16 requirement comes from libjaylink and was introduced in: https://gitlab.zapb.de/libjaylink/libjaylink/-/commit/4959f4e18a2bb0de21abe= 66bbfe403b56f599856 which introduced use of libusb_get_port_numbers libusb_get_bus_number The second one has existed forever, and it is apparently the addition of libusb_get_port_numbers that added the 1.0.16 dependency. libusb_get_port_numbers was introduced in libusb in commit 4d7789be7e317fb2e89557f959c1a1a69cc01b26 Author: Hans de Goede Date: Fri May 17 10:36:32 2013 +0200 core: Add a new public libusb_get_port_numbers function This new function replaces the now deprecated libusb_get_port_path function, as that is the only function operating on a libusb_device which also ta= kes a libusb_context, which is rather inconsistent. Note we will keep libusb_get_port_path around in the 1.0.x for the forseeable future for ABI compatibility reasons, but it should not be used in any = new code. Signed-off-by: Hans de Goede and in FreeBSD in commit a9205626a7e2f89486e637d6187ff99c17efeb10 Author: Ed Maste Date: Fri Jun 7 13:45:58 2013 +0000 Add libusb_get_port_numbers libusbx deprecated libusb_get_port_path and replaced it with libusb_get_port_numbers. The latter omits an extra parameter which was unused in the FreeBSD implementation anyway. (Huh, I don't remember this.) That said, bumping what we report to 1.0.16 seems reasonable enough; we can fault in any missing but required functionality. Change added to Phabricator review and exp-run requested in see-also PR. --=20 You are receiving this mail because: You are the assignee for the bug.=