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

Lots of compilation warnings #12

Closed
bhaible opened this issue Apr 1, 2017 · 1 comment
Closed

Lots of compilation warnings #12

bhaible opened this issue Apr 1, 2017 · 1 comment

Comments

@bhaible
Copy link

bhaible commented Apr 1, 2017

Hi,

I wanted to make use of the "Backing up to a remote server" use-case of snebu. Got it compiled on my NAS (a Linux/arm box), worked around the terrible ssh configuration of that box (by using sshpass), but the "snebu-client backup" command never writes any data files.
It does write a /share/HDA_DATA/bruno/snebu-backup/meta/snebu-catalog.db file.
But /share/HDA_DATA/bruno/snebu-backup/vault/ remains empty.

I guess something in the submitfiles() function is not working right. But before running things with debugging printfs - I don't even have gdb on this machine -, I have the habit of looking at the "gcc -Wall" warnings.

This list of warnings is too long for me to go through.
warnings-arm.txt
warnings-x86_64.txt

@derekp7
Copy link
Owner

derekp7 commented Oct 3, 2020

Thanks for bringing this to my attention.
The warnings on arm are mostly due to the C compiler having default warnings cranked up higher. I've fixed this by replicating this on my Fedora dev environment, and rewriting code to clear up all the warnings. Also have ran the new code through Valgrind to help eliminate any memory leaks or other issues.

Currently tested on multiple distributions, (Debian/Ubuntu, Fedora, Centos) along with testing on a Raspberry Pi.

@derekp7 derekp7 closed this as completed Oct 3, 2020
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

2 participants