[Pkg-erlang-devel] Bug#898588: Packaging repository is missing the empty ebin/ directories
Ivan Kozik
ivan at ludios.org
Mon May 14 01:02:46 BST 2018
Source: erlang
Version: 1:20.3.6+dfsg-1
Dear Maintainer,
The packaging repository
https://salsa.debian.org/erlang-team/packages/erlang.git appears to be
missing the empty ebin/ directories that are required for a build to
succeed.
The release tarball:
$ tar -xvf erlang_20.3.6+dfsg.orig.tar.xz
$ find otp-OTP-20.3.6 | grep /ebin$ | wc -l
148
The package repo:
# find . | grep /ebin$ | wc -l
96
A build failure when building from the packaging repository:
cd lib && \
ERL_TOP=/<<BUILDDIR>>/erlang-20.3.6+dfsg
PATH=/<<BUILDDIR>>/erlang-20.3.6+dfsg/bootstrap/bin:"${PATH}" \
make opt SECONDARY_BOOTSTRAP=true
make[2]: Entering directory '/<<BUILDDIR>>/erlang-20.3.6+dfsg/lib'
make[3]: Entering directory '/<<BUILDDIR>>/erlang-20.3.6+dfsg/lib/hipe'
Makefile:72: warning: overriding recipe for target 'clean'
/<<BUILDDIR>>/erlang-20.3.6+dfsg/make/otp_subdir.mk:29: warning:
ignoring old recipe for target 'clean'
=== Entering application hipe
make[4]: Entering directory '/<<BUILDDIR>>/erlang-20.3.6+dfsg/lib/hipe/misc'
erlc -W +debug_info -Werror +warn_export_vars +warn_missing_spec
+warn_untyped_record -o../ebin hipe_consttab.erl
erlc -W +debug_info -Werror +warn_export_vars +warn_missing_spec
+warn_untyped_record -o../ebin hipe_gensym.erl
/<<BUILDDIR>>/erlang-20.3.6+dfsg/lib/hipe/misc/../ebin/hipe_gensym.bea#:
error writing file: no such file or directory
/<<BUILDDIR>>/erlang-20.3.6+dfsg/make/x86_64-pc-linux-gnu/otp.mk:123:
recipe for target '../ebin/hipe_gensym.beam' failed
make[4]: *** [../ebin/hipe_gensym.beam] Error 1
make[4]: *** Waiting for unfinished jobs....
/<<BUILDDIR>>/erlang-20.3.6+dfsg/lib/hipe/misc/../ebin/hipe_consttab.bea#:
error writing file: no such file or directory
/<<BUILDDIR>>/erlang-20.3.6+dfsg/make/x86_64-pc-linux-gnu/otp.mk:123:
recipe for target '../ebin/hipe_consttab.beam' failed
make[4]: *** [../ebin/hipe_consttab.beam] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/erlang-20.3.6+dfsg/lib/hipe/misc'
/<<BUILDDIR>>/erlang-20.3.6+dfsg/make/otp_subdir.mk:29: recipe for
target 'opt' failed
make[3]: *** [opt] Error 2
make[3]: Leaving directory '/<<BUILDDIR>>/erlang-20.3.6+dfsg/lib/hipe'
/<<BUILDDIR>>/erlang-20.3.6+dfsg/make/otp_subdir.mk:29: recipe for
target 'opt' failed
make[2]: *** [opt] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/erlang-20.3.6+dfsg/lib'
Makefile:557: recipe for target 'secondary_bootstrap_build' failed
make[1]: *** [secondary_bootstrap_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/erlang-20.3.6+dfsg'
debian/rules:329: recipe for target 'build-stnd-stamp' failed
make: *** [build-stnd-stamp] Error 2
Best,
Ivan
More information about the Pkg-erlang-devel
mailing list