dpkg-deb --build $BUILD_DIR/package-name $BUILD_DIR/package-name.deb
dpkg-deb: building package 'package-name' in '/build/package-name.deb'.
tar: unrecognized option '--clamp-mtime'
Try tar --help' ortar --usage' for more information.
dpkg-deb: error: subprocess tar -cf returned error exit status 64
I traced this down to a recent dpkg-deb change that seems to require a newer version of tar to use --build. I confirmed this by building the latest tar, and the error went away.
Version That doesn't work:
tar --version
tar (GNU tar) 1.26
When I built the following, everything worked:
tar --version
tar (GNU tar) 1.30
From the docs, it looks like 1.28 is the required version
Can we please update the spec to require 1.28. Or roll back the change that requires this version? ( RHEL/CentOS repos only make 1.26 available )
This update has been submitted for testing by sergiomb.
This update has been pushed to testing.
This update has reached 14 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for batched by sergiomb.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.
dpkg-deb --build $BUILD_DIR/package-name $BUILD_DIR/package-name.deb dpkg-deb: building package 'package-name' in '/build/package-name.deb'. tar: unrecognized option '--clamp-mtime' Try
tar --help' or
tar --usage' for more information. dpkg-deb: error: subprocess tar -cf returned error exit status 64I traced this down to a recent dpkg-deb change that seems to require a newer version of tar to use --build. I confirmed this by building the latest tar, and the error went away.
Version That doesn't work: tar --version tar (GNU tar) 1.26
When I built the following, everything worked: tar --version tar (GNU tar) 1.30
From the docs, it looks like 1.28 is the required version
Can we please update the spec to require 1.28. Or roll back the change that requires this version? ( RHEL/CentOS repos only make 1.26 available )
Let's talk in https://bugzilla.redhat.com/show_bug.cgi?id=1626465