Hi everybody,

I am trying to build the hadoop-pkg target on the trunk-debian10
Docker image and I get an error (on the master branch):

docker run --rm  -v `pwd`:/ws --workdir /ws
bigtop/slaves:trunk-debian-10 bash -c '. /etc/profile.d/bigtop.sh;
./gradlew allclean hadoop-pkg'

[..]
+ chmod 755 debian/tmp//usr/bin/yarn
+ for component in $HADOOP_DIR/bin/hadoop $HDFS_DIR/bin/hdfs
$YARN_DIR/bin/yarn $MAPREDUCE_DIR/bin/mapred
+ wrapper=debian/tmp//usr/bin/mapred
+ cat
+ chmod 755 debian/tmp//usr/bin/mapred
+ install -d -m 0755 debian/tmp/usr/lib/hadoop/libexec/
+ cp -r '/build/libexec/*' debian/tmp/usr/lib/hadoop/libexec//
cp: cannot stat '/build/libexec/*': No such file or directory
make[1]: *** [debian/rules:55: override_dh_auto_install] Error 1
make[1]: Leaving directory '/ws/output/hadoop/hadoop-3.2.2'
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -b
 failed

I tried to check inside '/ws/output/hadoop/hadoop-3.2.2' (on my local
path) and I did find a 'build/libexec' dir with files, so I am
wondering if the / in front of /build/libexec is somehow a problem? I
see --build-dir=${PWD}/build in the debian rules file, but it wasn't
touched in ages, so I suspect that I am doing something wrong :D

Luca

Reply via email to