Bug#943653: thrift: fails to clean after build: cannot find java

2019-11-10 Thread GCS
Hi Andreas,

On Sun, Oct 27, 2019 at 3:45 PM Andreas Beckmann  wrote:
> thrift/experimental fails to clean after a successful build (I haven't
> checked whether the version in sid has the same problem).
> The build succeeds, but a subsequent 'make distclean' fails. (This does
> not happen during the first build, since the tree is unconfigured and
> 'make distclean' does not get called.)
 Please point me where's in the policy that a package must be
buildable several times from the same source tree and that
experimental is a supported branch (target for filing RC bugs).

Thanks,
Laszlo/GCS



Bug#943653: thrift: fails to clean after build: cannot find java

2019-10-27 Thread Andreas Beckmann
Source: thrift
Version: 0.12.0-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

thrift/experimental fails to clean after a successful build (I haven't
checked whether the version in sid has the same problem).
The build succeeds, but a subsequent 'make distclean' fails. (This does
not happen during the first build, since the tree is unconfigured and
'make distclean' does not get called.)

[... first build has succeeded ...]
 fakeroot debian/rules clean
dh clean --with python3,ruby,phpcomposer
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/thrift-0.12.0'
# delete symlinks
rm -f /build/thrift-0.12.0/lib/go/test/gopath/src/github.com
rm -f /build/thrift-0.12.0/test/go/src/github.com
rm -f /build/thrift-0.12.0/lib/go/test/gopath/src/golang.org
rm -f /build/thrift-0.12.0/test/go/src/golang.org
rm -f /build/thrift-0.12.0/compiler/cpp/test/plugin/t_cpp_generator.cc
rm -f /build/thrift-0.12.0/lib/c_glib/src/thrift/stamp-h3 \
/build/thrift-0.12.0/lib/cpp/src/thrift/stamp-h2 \
/build/thrift-0.12.0/stamp-h1
# let make clean
dh_auto_clean
make -j3 distclean
make[2]: Entering directory '/build/thrift-0.12.0'
[...]
Making distclean in java
make[4]: Entering directory '/build/thrift-0.12.0/lib/java'
rm -rf .libs _libs
./gradlew  clean --console=plain
rm -f *.lo
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

make[4]: *** [Makefile:662: clean-local] Error 1
make[4]: Leaving directory '/build/thrift-0.12.0/lib/java'
make[3]: *** [Makefile:582: distclean-recursive] Error 1
make[3]: Leaving directory '/build/thrift-0.12.0/lib'
make[2]: *** [Makefile:664: distclean-recursive] Error 1
make[2]: Leaving directory '/build/thrift-0.12.0'
dh_auto_clean: make -j3 distclean returned exit code 2
make[1]: *** [debian/rules:45: override_dh_auto_clean] Error 255
make[1]: Leaving directory '/build/thrift-0.12.0'
make: *** [debian/rules:118: clean] Error 2


Andreas


thrift_0.12.0-1_twice.log.gz
Description: application/gzip