Hi, when trying to do a clean make install of Tailscale using their OPNSense documentation https://tailscale.com/kb/1097/install-opnsense on OPNsense 25.7.2-amd64 the install fails with
===> help2man-1.49.3_1 depends on package: perl5>=5.42.r<5.43 - not found
===> Configuring for perl5-5.42.0
....
Support DTrace if available? [y]
Where is the dtrace executable? (''name ok) [/usr/sbin/dtrace]
*** Configure: Fatal Error: /usr/sbin/dtrace doesn't support -h flag
***
*** Your installed dtrace doesn't support the -h switch to compile a D
*** program into a C header. Can't continue.
Manually forcing an install of latest perl5-5.42.0 then allows the make process to complete
root@opnsense:/usr/ports/security/tailscale # pkg add -f https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/perl5-5.42.0_1.pkg
Fetching perl5-5.42.0_1.pkg: 100% 16 MiB 16.7MB/s 00:01
Installing perl5-5.42.0_1...
package perl5 is already installed, forced install
Extracting perl5-5.42.0_1: 100%
However, this obviously leaves perl at an unsupported version, and subsquent package installs (os-upnp for example) downgrade the packages :(
New packages to be INSTALLED:
miniupnpd: 2.3.9_1,1 [OPNsense]
os-upnp: 1.7 [OPNsense]
Installed packages to be DOWNGRADED:
perl5: 5.42.0_1 -> 5.40.3_2 [OPNsense]
Number of packages to be installed: 2
Number of packages to be downgraded: 1
Installed packages to be REMOVED:
bash: 5.3.3_1
bison: 3.8.2_2,1
gmake: 4.4.1
go124: 1.24.6
help2man: 1.49.3_1
m4: 1.4.19_1,1
p5-Locale-libintl: 1.35
p5-Text-Unidecode: 1.30
p5-Unicode-EastAsianWidth: 12.0
texinfo: 7.1_12,1
What's the process for requesting an updated perl5 package in the OPNSense repo please?
I have updated the Tailscale github issue raised yesterday on this also https://github.com/tailscale/tailscale/issues/16923 but I think the simplest solution is to upgrade the perl5 package in OPNSense, assuming it doesn't break other things of course!
Thanks, Russ
Their documentation is outdated and for the past 2 years have been unable to update it even though they are aware of the problem...
Just install the plugin.
OK, got it, didn't spot there was a plugin as I didn't have the 'community' box ticked!
Just FYI whenever FreeBSD changes the Perl version this breakage is expected. 25.7.3 will switch Perl version to match FreeBSD again.
Cheers,
Franco