pgj / freebsd-wifibox

wifibox: Use Linux to drive your wireless card on FreeBSD
BSD 2-Clause "Simplified" License
159 stars 12 forks source link

mbedtls-2.28.7-r0.apk doesn't seem to exist in /usr/ports/distfiles/wifibox-alpine #101

Closed mkohanim closed 4 months ago

mkohanim commented 4 months ago

Description

A clear and concise description of what the problem is. What is expected from the application? Trying to build wifibox-alpine (v20240506) on 13.2p11. It seems that it cannot find mbedtls.

Host operating system

Output of `uname -a`.
FreeBSD bsdev.isy.io 13.2-RELEASE-p11 FreeBSD 13.2-RELEASE-p11 GENERIC amd64

Wireless NIC

Relevant output of `pciconf -lv`.
This is a build environment with no wireless nics.

Wifibox version

Output of `wifibox version`.  Note that only the latest version is supported.
This is a build environment.

Disk image type and version

The kind of VM image in use, e.g. Wifibox/Alpine, and its version. This is a build environment.

Changes to the default configuration files

Include relevant sections from all the configuration files that contain local changes and may help to reproduce the problem.

XX_MDNS
XX_FORWARDING

Logs

Please copy and paste any relevant log output from the following sources:

Build issue.

Additional context

Add any other context about the problem here that might help the investigation.

Have you tried to turn it on and off?

pgj commented 4 months ago

The snapshots directory on the https://mirror.fel.cvut.cz Alpine Linux mirror became unavailable that Wifibox uses to retrieve the APK packages from upstream. The APKs that are required for building the port with the default options are cached by the FreeBSD distcache. mbedtls is only used optionally, and distcache did not mirror that, that is why it is now unavailable.

I do not know if that is transient error -- I will have to look into this more deeply to see how to address the root cause. Thanks for reporting!

mkohanim commented 4 months ago

Hi Gábor, if wifibox-alpine does not use mbded-tls, would you mind removing it? I have not been able to make a build for our 13.2 release. Thank you.

With kind regards,


Michel Kohanim CEO

(p) 818.631.0333 http://www.universal-devices.comhttp://www.universal-devices.com/


From: PÁLI Gábor János @.> Sent: Monday, May 13, 2024 3:29 PM To: pgj/freebsd-wifibox @.> Cc: Michel Kohanim @.>; Author @.> Subject: Re: [pgj/freebsd-wifibox] mbedtls-2.28.7-r0.apk doesn't seem to exist in /usr/ports/distfiles/wifibox-alpine (Issue #101)

The snapshots directory on the https://mirror.fel.cvut.cz Alpine Linux mirror became unavailable that Wifibox uses to retrieve the APK packages from upstream. The APKs that are required for building the port with the default options are cached by the FreeBSD distcache. mbedtls is only used optionally, and distcache did not mirror that, that is why it is now unavailable.

I do not know if that is transient error -- I will have to look into this more deeply to see how to address the root cause. Thanks for reporting!

— Reply to this email directly, view it on GitHubhttps://github.com/pgj/freebsd-wifibox/issues/101#issuecomment-2108908998, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADMVJPP6HRZWWZEWDX7UDVDZCE5BJAVCNFSM6AAAAABHUXCK4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBYHEYDQOJZHA. You are receiving this because you authored the thread.Message ID: @.**@.>>

pgj commented 4 months ago

wifibox-alpine uses mbed-tls, it is a dependency of mDNSResponder. But mDNSResponder is not part of the default package, that is why the respective distfiles did not get cached. You can still build wifibox-alpine but without mDNSResponder.

mkohanim commented 4 months ago

But I do use nDNSResponder.

With kind regards,


Michel Kohanim CEO

(p) 818.631.0333 http://www.universal-devices.comhttp://www.universal-devices.com/


From: PÁLI Gábor János @.> Sent: Tuesday, May 14, 2024 3:18 PM To: pgj/freebsd-wifibox @.> Cc: Michel Kohanim @.>; Author @.> Subject: Re: [pgj/freebsd-wifibox] mbedtls-2.28.7-r0.apk doesn't seem to exist in /usr/ports/distfiles/wifibox-alpine (Issue #101)

wifibox-alpine uses mbed-tls, it is a dependency of mDNSResponder. But mDNSResponder is not part of the default package, that is why the respective distfiles did not get cached. You can still build wifibox-alpine but without mDNSResponder.

— Reply to this email directly, view it on GitHubhttps://github.com/pgj/freebsd-wifibox/issues/101#issuecomment-2111229711, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADMVJPIEW3B7WMW2MB2AFVTZCKES3AVCNFSM6AAAAABHUXCK4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRGIZDSNZRGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

pgj commented 4 months ago

The complete solution requires some more work, hopefully I can get to fixing it this week. As a temporary workaround, I published the missing mbedtls-2.28.7-r0.apk file. Download and copy it over to the wifibox-alpine subdirectory of DISTDIR of the ports tree in use. That is usually /usr/ports/distfiles but it may be different on your configuration.

pgj commented 4 months ago

Please test the build with this version of the port:

https://github.com/pgj/freebsd-wifibox-port/tree/bd648530ce2983be98a97e8c8ea24ab6b9c1ea9a

mkohanim commented 4 months ago

Gábor, thank you very much! It worked!!! On one of the tests, we got 490Mbps download speed!!!! Bravo!

With kind regards,


Michel Kohanim CEO

(p) 818.631.0333 http://www.universal-devices.comhttp://www.universal-devices.com/


From: PÁLI Gábor János @.> Sent: Wednesday, May 15, 2024 12:12 AM To: pgj/freebsd-wifibox @.> Cc: Michel Kohanim @.>; Author @.> Subject: Re: [pgj/freebsd-wifibox] mbedtls-2.28.7-r0.apk doesn't seem to exist in /usr/ports/distfiles/wifibox-alpine (Issue #101)

Please test the build with this version of the port:

https://github.com/pgj/freebsd-wifibox-port/tree/bd648530ce2983be98a97e8c8ea24ab6b9c1ea9a

— Reply to this email directly, view it on GitHubhttps://github.com/pgj/freebsd-wifibox/issues/101#issuecomment-2111750322, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADMVJPOV5YSGXH4XG6W3AUDZCMDC3AVCNFSM6AAAAABHUXCK4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRG42TAMZSGI. You are receiving this because you authored the thread.Message ID: @.**@.>>

pgj commented 4 months ago

I am glad to hear to that! I am now closing the issue.