Can't get the debug info of erlang package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
erlang (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: erlang
To use the dialyzer, I need to install the debug info of erlang package.
As there is no package suffixed -dbgsym or -dbg about the erlang ( https:/
and no package for lucid in PPA ( https:/
I followed the instructions in page:( https:/
----QUOTE BEGIN----
make[1]: Leaving directory `/home/
make[1]: Entering directory `/home/
docb_gen -def vsn 2.1.4 -includes /home/sunny/
erlexec: Error 2 executing '/home/
make[1]: *** [eunit.xml] Error 1
make[1]: Leaving directory `/home/
make: *** [manpages-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd erlang-13.b.3-dfsg && dpkg-buildpackage -b -uc' failed.
E: NOTICE: 'erlang' packaging is maintained in the 'Svn' version control system at:
svn://svn.
Skipping already downloaded file 'erlang_
Skipping already downloaded file 'erlang_
Skipping already downloaded file 'erlang_
Need to get 0B of source archives.
Child process failed
debi: can't read *.changes!
----QUOTE END----
The script used and command are as following:
----QUOTE BEGIN----
sunny@coolrat:
#!/bin/sh
#######
#NOTE: Dependency packages which should be pre-installed:
#
# devscripts fakeroot
#
#######
PKG=$1
test -z $PKG && echo "you should specify the package" && exit 1
apt-get build-dep $PKG
test $? -ne 0 && echo "Invalid package name: $PKG, you can use command: dpkg --search <program> to get the package" && exit 1
mkdir -p $PKG.dbg
cd $PKG.dbg
echo "Install debug info for package: $PKG" | tee -a $PKG.log
export DEB_BUILD_
fakeroot apt-get source -b $PKG | tee -a $PKG.log
debi --upgrade *.changes | tee -a $PKG.log
cd -
sunny@coolrat:
----QUOTE END----
It looks like that the erlexec was using the beam.smp which not exists in the debug package but the beam.debug.smp.
----QUOTE BEGIN----
sunny@coolrat:
beam.debug dialyzer erlc heart to_erl
beam.debug.smp dyn_erl erlexec inet_gethost typer
child_setup.debug epmd escript run_erl
----QUOTE END----
The debug tag is due to the setting in Makefile.in, and I guess there is a related variable is not set in eunit. Does anyone know what it is? TIA.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: erlang 1:13.b.
ProcVersionSign
Uname: Linux 2.6.32-25-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Nov 5 11:34:19 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitec
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: erlang
description: | updated |
every Erlang application depending on debug information is broken if debug info is striped out the beam files