Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Borg 1.4.0 FreeBSD fat binary on FreeBSD 13.2 #8266

Closed
Nikoos opened this issue Jul 3, 2024 · 8 comments
Closed

Borg 1.4.0 FreeBSD fat binary on FreeBSD 13.2 #8266

Nikoos opened this issue Jul 3, 2024 · 8 comments
Milestone

Comments

@Nikoos
Copy link

Nikoos commented Jul 3, 2024

Have you checked borgbackup docs, FAQ, and open GitHub issues?

Yes

Is this a BUG / ISSUE report or a QUESTION?

QUESTION

System information. For client/server mode post info for both machines.

FreeBSD 13.2 in jail

Your borg version (borg -V).

borg 1.2.8

Operating system (distribution) and version.

TrueNAS 13.0 with FreeBSD 13.2 jail

Hardware / network configuration, and filesystems used.

Not relevant in this case

How much data is handled by borg?

Not relevant in this case

Full borg commandline that lead to the problem (leave away excludes and passwords)

Not relevant in this case

Describe the problem you're observing.

I download the Borg 1.4.0 FreeBSD binary on my jail and try to run, unfortunately, the following message appeared :

root@borg-backup:/tmp # ./borg-freebsd
ld-elf.so.1: /tmp/borg-freebsd: Undefined symbol "__libc_start1@FBSD_1.7"

(I kept the previous version), After checking info on this binary, file command confirmed me that this binary is built for FreeBSD14 :

root@borg-backup:/tmp # file borg-freebsd
borg-freebsd: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 14.0 (1400097), FreeBSD-style, stripped

If I perform the same operation on a previous version :

root@borg-backup:/tmp # file borg-freebsd64
borg-freebsd64: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2, FreeBSD-style, stripped

I was not able to found in the documentation if FreeBSD 13 is out of support for Borg, would you confirm me if FreeBSD 13.2 is out of support ?

Thanks for your support

Best regards,

@ThomasWaldmann ThomasWaldmann changed the title Boirg backup 1.4.0 FreeBSD binary on FreeBSD 13.2 Borg 1.4.0 FreeBSD fat binary on FreeBSD 13.2 Jul 3, 2024
@ThomasWaldmann
Copy link
Member

I switched the build system to freebsd 14 for borg 1.4, see also the 00_README.txt that comes with the binaries.

I am not very familiar with fbsd - do you think a lot of users are still on 13?

@ThomasWaldmann ThomasWaldmann added this to the 1.4.1 milestone Jul 3, 2024
@Nikoos
Copy link
Author

Nikoos commented Jul 3, 2024

Thanks for the inputs.

To be honest, it's a difficult question that I am not able to answer. In my personal case, I am limited to my main TrueNas os version (built on top of FreeBSD 13.0 and the upcoming beta will be built on top of FreeBSD 13.3 if I am correct).

@ThomasWaldmann
Copy link
Member

ThomasWaldmann commented Jul 3, 2024

OK, so it seems there are at least all the TrueNAS users.

I'll add a fbsd13 build box, see #8267.

Also, I renamed the binaries to make it more clear (borg-freebsd13, borg-freebsd14).

I'll upload the borg-freebsd13 binaries soon, check again in 1..3 days.

ThomasWaldmann added a commit to ThomasWaldmann/borg that referenced this issue Jul 3, 2024
users of TrueNAS do not have fbsd 14 yet.
@Nikoos
Copy link
Author

Nikoos commented Jul 3, 2024

Thanks @ThomasWaldmann for your help

@ThomasWaldmann
Copy link
Member

Hmm, it's not as easy as I thought.

The code does not compile on freebsd 13 due to using acl_extended_link_np to determine whether a file has ACLs beyond what the normal user/group/mode bits can express.

I am closing this issue and opening a special one about that.

ThomasWaldmann added a commit to ThomasWaldmann/borg that referenced this issue Jul 19, 2024
users of TrueNAS do not have fbsd 14 yet.
@mikae1
Copy link

mikae1 commented Oct 11, 2024

I am closing this issue and opening a special one about that.

Is there a new issue for this? Can't see a link for it. Sadly I'm also unable to use borg with TrueNAS now that the build is for FreeBSD 14 only.

@ThomasWaldmann
Copy link
Member

@mikae1 See #8269.

@mikae1
Copy link

mikae1 commented Oct 11, 2024

@mikae1 See #8269.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants