Bug #13945
closed./make-deb.sh fails due to filename/path length exceeding 99 chars
0%
Description
Ubuntu 14.04 system, up to date.
Solution: Add tar-pax to AM_INIT_AUTOMAKE
PR incoming for fix
./make-debs.sh
...
tardir=ceph-9.0.2-2552-gf1ead76 && ${TAR-tar} chof - "$tardir" | GZIP=--best gzip -c >ceph-9.0.2-2552-gf1ead76.tar.gz
tar: ceph-9.0.2-2552-gf1ead76/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h: file name is too long (max 99); not dumped
tar: ceph-9.0.2-2552-gf1ead76/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc: file name is too long (max 99); not dumped
tar: ceph-9.0.2-2552-gf1ead76/src/gmock/gtest/xcode/Samples/FrameworkSample/WidgetFramework.xcodeproj/project.pbxproj: file name is too long (max 99); not dumped
tar: ceph-9.0.2-2552-gf1ead76/src/test/ubuntu-12.04/debian: File removed before we read it
tar: ceph-9.0.2-2552-gf1ead76/src/test/debian-jessie/debian: File removed before we read it
tar: ceph-9.0.2-2552-gf1ead76/src/test/ubuntu-14.04/debian: File removed before we read it
tar: Exiting with failure status due to previous errors
make1: Leaving directory `/home/dhc-user/ceph'
...
CXX utilities/write_batch_with_index/librocksdb_la-write_batch_with_index.lo
utilities/write_batch_with_index/write_batch_with_index.cc:17:78: fatal error: utilities/write_batch_with_index/write_batch_with_index_internal.h: No such file or directory
#include "utilities/write_batch_with_index/write_batch_with_index_internal.h"
^
compilation terminated.
make5: * [utilities/write_batch_with_index/librocksdb_la-write_batch_with_index.lo] Error 1
make5: Waiting for unfinished jobs....
make5: Leaving directory `/tmp/release/Ubuntu/WORKDIR/ceph-9.0.2-2552-gf1ead76/src/rocksdb'
make4: [all] Error 2
make4: Leaving directory `/tmp/release/Ubuntu/WORKDIR/ceph-9.0.2-2552-gf1ead76/src/rocksdb'
make3: [all-recursive] Error 1
make3: Leaving directory `/tmp/release/Ubuntu/WORKDIR/ceph-9.0.2-2552-gf1ead76/src'
make2: [all] Error 2
make2: Leaving directory `/tmp/release/Ubuntu/WORKDIR/ceph-9.0.2-2552-gf1ead76/src'
make1: [all-recursive] Error 1
make1: Leaving directory `/tmp/release/Ubuntu/WORKDIR/ceph-9.0.2-2552-gf1ead76'
make: ** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
We need to switch to using the POSIX format for tarballs.
Updated by Robin Johnson over 8 years ago
Dupe of 396702aabf67453d4151d9e5fadfd01edf7e053b, fixed already