pgj / freebsd-wifibox

wifibox: Use Linux to drive your wireless card on FreeBSD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mkohanim opened this issue · comments

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?

  • Yes, I have read all the manual pages first!

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!

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.

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.

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