如何将ob-deploy-2.6.2-2.el7.x86_64.rpm转换成deb包
转换失败
Warning: Skipping conversion of scripts in package ob-deploy: postinst
Warning: Use the --scripts parameter to include the scripts.
Package build failed. Here’s the log:
dh_testdir
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installdocs
dh_installdocs: warning: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 |
xargs -0 -r -i cp -a {} debian/ob-deploy
dh_compress
dh_compress: warning: Compatibility levels before 9 are deprecated (level 7 in use)
dh_makeshlibs
dh_makeshlibs: warning: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installdeb
dh_installdeb: warning: Compatibility levels before 9 are deprecated (level 7 in use)
dh_shlibdeps
dh_shlibdeps: warning: Compatibility levels before 9 are deprecated (level 7 in use)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ob-deploy/usr/obd/lib/executer/executer27/site-packages/_mysql_connector.so was not linked against libkrb5.so.3 (it uses none of the library’s symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ob-deploy/usr/obd/lib/executer/executer27/site-packages/_mysql_connector.so debian/ob-deploy/usr/obd/lib/site-packages/bcrypt/_bcrypt.abi3.so debian/ob-deploy/usr/obd/lib/executer/executer27/site-packages/_mysqlxpb.so were not linked against librt.so.1 (they use none of the library’s symbols)
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: error: control directory has bad permissions 777 (must be >=0755 and <=0775)
dh_builddeb: error: dpkg-deb --build debian/ob-deploy … returned exit code 2
dh_builddeb: error: Aborting due to earlier error
make: *** [debian/rules:30: binary-arch] Error 25
确认下是否是权限问题?