Description of problem: The version on rawhide no longer defines the BTRFS_BUILD_VERSION macro. This (possibly among other issues) is causing docker package builds to fail. Version-Release number of selected component (if applicable): 3.19-1.fc23 Additional info: https://github.com/docker/docker/commit/318b11f62fe0f16a190e85e3cfe5d01432bf92a9#commitcomment-10201703
Why does Docker care if btfs-progs is at v3.18, 3.18.3, or 3.19, or ....? Anyway, looks like it was explicitly removed upstream as part of the conversion to autotools: commit 505669320b1d03c9b15fd32b8480e1ca7ac89a58 Author: David Sterba <dsterba> Date: Tue Feb 3 15:04:28 2015 +0100 btrfs-progs: build, fix version macro name Autoconf changed it to PACKAGE_VERSION and moved to config.h. Signed-off-by: David Sterba <dsterba> commit 33f2d6b84da88139b2b7ff53e470cb198d425381 Author: Karel Zak <kzak> Date: Tue Dec 9 15:37:03 2014 +0100 btrfs-progs: autoconf: use standard PACKAGE_* macros - use standard PACKAGE_{NAME,VERSION,STRING,URL,...} autoconf macros rather than homemade BTRFS_BUILD_VERSION I think the proper solution for Docker is to simply remove BtrfsBuildVersion(); the library version (still in version.h) may matter to Docker, but the package version should not. If you really need it, please send a note to the upstream btrfs-progs list.
I agree I think we should just remove the BTRFS_BUILD_VERSION.
http://repo.or.cz/w/btrfs-progs-unstable/devel.git/commitdiff/514c5689bd672b21fa8033a7a48eae56a6e36b7f?hp=d531e2ca6743d823d020de735764368abd4996c9 brings back BTRFS_BUILD_VERSION. just that this is useful for 'docker info'. Guessing this will land in stable soon.
kdave did agree that it shouldn't have disappeared from the public header, so was amenable to adding it back. Thanks for sending the patch, Lokesh. I'll pick it up on the next upstream release, if that's ok. -Eric
But will this remain for ever? Will it continue to be updated? Does it make any sense to display this in docker? I sent a patch to docker to remove this code.
BTRFS_BUILD_VERSION is now defined in 3.19.1 and is also available in rawhide.