Bug#562860: mediatomb_0.12.0~svn2018-4: does not build - dh_install: command returned error code 256

Reinhard Tartler siretart at tauware.de
Wed Dec 30 08:17:15 UTC 2009

forcemerge 562858 562860
tags 562860 unreproducible moreinfo
severity 562860 normal

Seitaro Tsujimoto <seitaro.tsujimoto at gmail.com> writes:

> Package: mediatomb
> Version: 0.12.0~svn2018-4
> Severity: important
> Justification: fails to build from source
> Hello. I tried to build from the source package, but it failed with appearing of the following messages;

It seems your buildlog is not complete:

> dpkg-source: warning: extracting unsigned source package (mediatomb_0.12.0~svn2018-4.dsc)
> dpkg-source: extracting mediatomb in mediatomb-0.12.0~svn2018
> dpkg-source: info: unpacking mediatomb_0.12.0~svn2018.orig.tar.gz
> dpkg-source: info: applying mediatomb_0.12.0~svn2018-4.diff.gz
> admin at GLANTANK:/share/others$ cd mediatomb_0.12.0~svn2018-4.dsc
> -bash: cd: mediatomb_0.12.0~svn2018-4.dsc: Not a directory
> admin at GLANTANK:/share/others$ cd mediatomb_0.12.0~svn2018
> -bash: cd: mediatomb_0.12.0~svn2018: No such file or directory
> admin at GLANTANK:/share/others$ cd mediatomb-0.12.0~svn2018
> admin at GLANTANK:/share/others/mediatomb-0.12.0~svn2018$ dpkg-buildpackage -rfakeroot -uc -b
> dpkg-buildpackage: set CFLAGS to default value: -g -O2
> dpkg-buildpackage: set CPPFLAGS to default value:
> dpkg-buildpackage: set LDFLAGS to default value:
> dpkg-buildpackage: set FFLAGS to default value: -g -O2
> dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
> dpkg-buildpackage: source package mediatomb
> dpkg-buildpackage: source version 0.12.0~svn2018-4
> dpkg-buildpackage: source changed by Andres Mejia <mcitadel at gmail.com>
> dpkg-buildpackage: host architecture arm
>  fakeroot debian/rules clean
> dh --with quilt clean
>    dh_testdir --with quilt
>    dh_auto_clean --with quilt
>    dh_quilt_unpatch --with quilt
> No patch removed
>    dh_clean --with quilt
>  debian/rules build
> make: `build' is up to date.
>  fakeroot debian/rules binary
> dh --with quilt binary
>    dh_testdir --with quilt
>    dh_quilt_patch --with quilt
> Applying patch autoreconf_-fi.patch
> patching file INSTALL
> patching file Makefile.in
> patching file aclocal.m4
> patching file artwork/Makefile.in
> patching file autoconfig.h.in
> patching file build/Makefile.in
> patching file config/Makefile.in
> patching file configure
> patching file configure_aux/compile
> patching file configure_aux/config.guess
> patching file configure_aux/config.sub
> patching file configure_aux/depcomp
> patching file configure_aux/install-sh
> patching file configure_aux/missing
> patching file doc/Makefile.in
> patching file scripts/Makefile.in
> patching file scripts/js/Makefile.in
> patching file tombupnp/Makefile.in
> patching file tombupnp/build/Makefile.in
> patching file web/Makefile.in
> Applying patch debug-mode-fix.patch
> patching file tombupnp/upnp/src/api/upnpdebug.c
> Applying patch config_xml_comment.patch
> patching file src/config_manager.cc
> Applying patch service-id_fix.patch
> patching file src/common.h
> Now at patch service-id_fix.patch

After this point, it seems you have left out important passages

>    dh_auto_configure --with quilt
>    dh_auto_build --with quilt
>    dh_auto_test --with quilt
>    dh_testroot --with quilt
>    dh_prep --with quilt
>    dh_installdirs --with quilt
>    dh_auto_install --with quilt
>    dh_install --with quilt
> cp: cannot stat `./usr/bin/mediatomb': No such file or directory
> dh_install: command returned error code 256
> make: *** [binary] Error 1
> dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2

I can only guess, but it seems you don't have all build dependencies
installed. I've just did a testbuild of this package with this very
version, but found no problems.

Reinhard Tartler, KeyID 945348A4

More information about the pkg-multimedia-maintainers mailing list