From nobody Sun Oct 2 18:09:22 2022 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 4MgX6p1bgBz4V3h6 for ; Sun, 2 Oct 2022 18:09:38 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MgX6m4DCJz3M0N for ; Sun, 2 Oct 2022 18:09:36 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-qv1-xf33.google.com with SMTP id i9so2336397qvu.1 for ; Sun, 02 Oct 2022 11:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=jXcjBwMEtGHZel4gXcuj4ubtrAuqasKFO7zLDYV3FP8=; b=RQ+QJkyVL7oZg64LE78fBVI/hjea0twx1BS2SwdAZR+iB6QaJ9D17DkFiu3C2Qkpod axj9ik03PLiFlKIHuYVugKydZJd8+zH7Uu3xfIdhii+8gX1i4sF5wvrgaIC2QajloqSm u3Hb8gbzfEAO6YlG28LOopQbrlFM90WM3kwDrtJdPyqKCI9fYWdemWEoC/huxBsudPXu YPdi/myJXQbKlki3byBqTeY3ilycGrW6oKEorGaIkZGtL+hHFmJvqfh4WsKppUzE40eE aNnr2ChQ0dXSoNJHB8fWpFHLYWTXhrQvcHkNvWC+azdYPMRYIPSSCS+mQ7KCRJW5Urjw xd/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=jXcjBwMEtGHZel4gXcuj4ubtrAuqasKFO7zLDYV3FP8=; b=uGEb7JxA1CuE1jLRjECY6Jflj13r8pOJm2Wtuho6uMCFtBYpM7ua1uNKKWS68Zf2UH PiUQqRZDo5L9uDVlmwcJqQjNW3eA2n0ZwGqieGIk74fU8yioHraRDzgeg1qUUudLcTiV toWJ4eF/+BJX5BWixs+LjVixHxZ+NOQCZgYMDCJvL2YEKyFe9hYUn4hssqiEASVgL/qL thJkq9g+6IhRjHc9edF4CZlDYy1p9imiiZMhImBWggBbI6ug8jcbGJFPwe0a5Qwtwrv9 izPSJvU2ckP2xyMLsY75y1Ehk2v1Y94WpPMv6xwqa87vFxmBR7jg4dJT48mZYg2170cD XpXw== X-Gm-Message-State: ACrzQf33Od6CN5LYMpgEOFCCQATAXVGo+uJGLSSGrTapzmlBkdC8UQ09 +bZvpgjTXn2Z/kvJBMcLS98ydN0MGnhkXA== X-Google-Smtp-Source: AMsMyM5TytBPyJE1vZtSP4Q1GzU0Q8Mygiwdv/gc7avxeIF/WSIUVLMz9W1Wn8lKBWnYL2NLGb98Aw== X-Received: by 2002:a05:6214:5288:b0:4ad:7535:9b9b with SMTP id kj8-20020a056214528800b004ad75359b9bmr13908213qvb.89.1664734175555; Sun, 02 Oct 2022 11:09:35 -0700 (PDT) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com. [209.85.219.172]) by smtp.gmail.com with ESMTPSA id fe6-20020a05622a4d4600b003436103df40sm7467430qtb.8.2022.10.02.11.09.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Oct 2022 11:09:34 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id c9so10737395ybf.5 for ; Sun, 02 Oct 2022 11:09:34 -0700 (PDT) X-Received: by 2002:a25:8b11:0:b0:6bc:fdf:ecef with SMTP id i17-20020a258b11000000b006bc0fdfecefmr15450769ybl.367.1664734174365; Sun, 02 Oct 2022 11:09:34 -0700 (PDT) List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Sun, 2 Oct 2022 20:09:22 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: hackrf / libusb / libusb_interrupt_event_handler To: Hans Petter Selasky Cc: "freebsd-usb@FreeBSD.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4MgX6m4DCJz3M0N X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=RQ+QJkyV; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::f33) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f33:from,209.85.219.172:received]; MLMMJ_DEST(0.00)[usb@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[cedro.info:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[usb@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[cedro.info]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-ThisMailContainsUnwantedMimeParts: N On Sun, Oct 2, 2022 at 5:43 PM Hans Petter Selasky wrote: > On 10/2/22 16:23, Tomek CEDRO wrote: > > Hello HPS :-) > > The new release of HackRF is out 2022.09.1, I would like to update the > > port.. however there is a linking problem with libusb: > > > > ld: error: ../../libhackrf/src/libhackrf.so.0.7.0: undefined reference > > to libusb_interrupt_event_handler [--no-allow-shlib-undefined] > > > > Indeed this function seems missing in our libusb implementation? > > % nm -gDC /usr/lib/libusb.so.3 | grep libusb_interrupt_event_handler > > % > > Any clues on how to fix? :-) > > https://cgit.freebsd.org/src/commit/?id=aa87aa52326be7b726664dba65e91ec3d8160f48 > > If the function doesn't exist, then you can comment it out. I see hackrf > will work also w/o this implemented. > > I couldn't bump the LIBUSB version, because I don't have overview what > else I need to implement then. > --HPS Wow, so the fix is already in the source tree!! ? Then it will have to propagate to STABLE and then RELEASE ? I will bump the port to 2021.03.1 for now and when libusb is in the Release we could bump it further to 2022.09.1? What do you suggest? I will also see how the software behaves when this function is not there.. Thank you! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info