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

Doesn't compile with btrfsProgs 3.17 #128

Closed
domenkozar opened this issue Oct 22, 2014 · 6 comments
Closed

Doesn't compile with btrfsProgs 3.17 #128

domenkozar opened this issue Oct 22, 2014 · 6 comments

Comments

domenkozar referenced this issue in NixOS/nixpkgs Oct 22, 2014
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
@oniko
Copy link
Contributor

@oniko oniko commented Oct 22, 2014

Hi,

I had but a quick glance at it, but this sure is suspicious to me:

checking for btrfs_read_and_process_send_stream in -lbtrfs... no

@aschnell
Copy link
Member

@aschnell aschnell commented Oct 22, 2014

Indeed, the failing check for libbtrfs seems to cause the trouble. Then HAVE_LIBBTRFS is 0 but still ENABLE_ROLLBACK is 1 which fails to compile.

The configure check fails due to a missing reference in libbtrfs (/usr/local/lib/libbtrfs.so: undefined reference to `rb_free_nodes') - tested on my system.

So it's mostly a btrfsprogs issue.

@aschnell
Copy link
Member

@aschnell aschnell commented Oct 23, 2014

As a workaround you can use --disable-rollback for configure. Unless your system is properly configured for rollback this does not harm.

kdave added a commit to kdave/btrfs-progs that referenced this issue Oct 30, 2014
Reported at openSUSE/snapper#128

Commit cdb9e22 added another rbtree file that defines
functions that libbtrfs uses.

Signed-off-by: David Sterba <dsterba@suse.cz>
kdave added a commit to kdave/btrfs-progs that referenced this issue Oct 30, 2014
Reported at openSUSE/snapper#128

Commit cdb9e22 added another rbtree file that defines
functions that libbtrfs uses.

Signed-off-by: David Sterba <dsterba@suse.cz>
kdave added a commit to kdave/btrfs-progs that referenced this issue Nov 3, 2014
Reported at openSUSE/snapper#128

Commit cdb9e22 added another rbtree file that defines
functions that libbtrfs uses.

Signed-off-by: David Sterba <dsterba@suse.cz>
@aschnell
Copy link
Member

@aschnell aschnell commented Nov 9, 2014

Please test with btrfsprogs including the patches above.

@aschnell
Copy link
Member

@aschnell aschnell commented Dec 11, 2014

No reply within four weeks. I assume it compiles with the patched btrfsprogs.

@aschnell aschnell closed this Dec 11, 2014
@domenkozar
Copy link
Author

@domenkozar domenkozar commented Dec 17, 2014

Tested with btrfs 3.17.3, snapper compiles.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.