Pacman gives error "filename to long"

That sounds like a wrong endeavouros repo address in /etc/pacman.conf or /etc/pacman.d/endeavouros-mirrorlist.

New pacman does not handle long names well.

Could you show the full contents of those files?

cat /etc/pacman.conf | eos-sendlog
cat /etc/pacman.d/endeavouros-mirrorlist | eos-sendlog
2 Likes