Re: No package for net/relayd

From: TIM KELLERS <trkellers_at_gmail.com>
Date: Fri, 05 Apr 2024 15:13:39 UTC
*Timothy Kellers, Sr.*

AWS certification,iOS Design, Unix Certification, WebMaster
and Mobile Device Development
University of La Verne <https://www.laverne.edu>
New Jersey Institute of Technology
E: <https://www.njit.edu>timothy.r.kellers@gmail.com
LinkedIn
<https://www.linkedin.com/tkellers>AWS 
<https://www.certmetrics.com/amazon/public/badge.aspx?i=9&t=c&d=2019-02-20&ci=AWS00801596>

On 4/5/24 9:37 AM, Souji Thenria wrote:
> Hello,
>
> I wanted to use net/relayd to relay IPv4 UDP traffic to another IPv6
> address. However, it seems like the port is unavailable as a package for
> most architectures [1] because it fails to build.
>
> I cannot see why it's failing to build. Can anyone confirm that the
> build generally works before I try to build it from source? (Because I'm
> on a VPS with limited resources, and building it might take a lot of
> time.)
>
> [1] https://www.freshports.org/net/relayd/
>
> Regards,
> Souji
>
On arm64:

root@cloudlocal:/usr/ports/net/relayd # uname -a
FreeBSD cloudlocal.us 13.3-STABLE FreeBSD 13.3-STABLE 
stable/13-n257625-b5e7969b239f MAR27 arm64

With make clean && make config && make depends && make MAKE_JOBS_UNSAFE=yes

ld: error: version script assignment of 'global' to symbol 'login_tty' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'logout' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'logwtmp' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'ober_add_bitstring' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'ober_add_boolean' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'ober_add_enumerated' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'ober_add_eoc' failed: symbol not defined
ld: error: too many errors emitted, stopping now (use --error-limit=0 to 
see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in 
/usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib
*** Error code 1

Stop.
make: stopped in /usr/ports/net/relayd/work/relayd-7.3.2023.05.09-p5

*** Error code 1

On amd64:

FreeBSD beachpatt.com 13.3-STABLE FreeBSD 13.3-STABLE 
stable/13-n257519-f7a47daa384e FEB22 amd64

/relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil/Symbols.map
ld: error: version script assignment of 'global' to symbol 
'bcrypt_pbkdf' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'fdforkpty' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'fdopenpty' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'fmt_scaled' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'forkpty' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'fparseln' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'getmaxpartitions' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'getptmfd' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'getrawpartition' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'isduid' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'login' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'login_check_expire' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'login_fbtab' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'login_tty' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'logout' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'logwtmp' 
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'ober_add_bitstring' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'ober_add_boolean' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'ober_add_enumerated' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 
'ober_add_eoc' failed: symbol not defined
ld: error: too many errors emitted, stopping now (use --error-limit=0 to 
see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in 
/mnt/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib/libutil
*** Error code 1

Stop.
make[1]: stopped in /mnt/ports/net/relayd/work/relayd-7.3.2023.05.09-p5/lib
*** Error code 1


Both instances have ports all updated, but it breaks on both.


Tim