On Mon, Aug 22, 2016 at 2:00 AM, Avner Ben Hanoch <avnerb@xxxxxxxxxxxx> wrote: > HI All, > > The following lines from make-debs.sh: > > vers=$(git describe --match "v*" | sed s/^v//) > ./autogen.sh > ./configure --with-rocksdb --with-ocf \ > --with-nss --with-debug --enable-cephfs-java \ > --with-lttng --with-babeltrace > make distdir=ceph-$vers dist > > produces the following error: > > make dist-gzip am__post_remove_distdir='@:' > make[1]: Entering directory '/mnt/sdh/avnerb/ceph-github' > if test -d "ceph-11.0.0-1689-g23eeb74"; then find "ceph-11.0.0-1689-g23eeb74" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ceph-11.0.0-1689-g23eeb74" || { sleep 5 && rm -rf "ceph-11.0.0-1689-g23eeb74"; }; else :; fi > test -d "ceph-11.0.0-1689-g23eeb74" || mkdir "ceph-11.0.0-1689-g23eeb74" > (cd src && make top_distdir=../ceph-11.0.0-1689-g23eeb74 distdir=../ceph-11.0.0-1689-g23eeb74/src \ > am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir) > make[2]: Entering directory '/mnt/sdh/avnerb/ceph-github/src' > ./make_version -g ./.git_version > if [ -n "$NO_VERSION" ] ; then \ > ./make_version -g ./.git_version -c ./ceph_ver.h -n ; \ > else \ > ./make_version -g ./.git_version -c ./ceph_ver.h ; \ > fi > make[2]: *** No rule to make target 'rocksdb/db/slice.cc', needed by 'distdir'. Stop. > make[2]: Leaving directory '/mnt/sdh/avnerb/ceph-github/src' > Makefile:976: recipe for target 'distdir' failed > make[1]: *** [distdir] Error 1 > make[1]: Leaving directory '/mnt/sdh/avnerb/ceph-github' > Makefile:1078: recipe for target 'dist' failed > make: *** [dist] Error 2 Errors here generally occur if you've got an outdated submodule (or it's just missing). Try deleting it and re-doing the submodule entirely. -Greg -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html