[Evolution] Bug#686941: Building fails: automake: cannot open < gtk-doc.make: File or directory not found
Paul Menzel
pm.debian at googlemail.com
Mon Sep 10 12:02:41 UTC 2012
Am Freitag, den 07.09.2012, 13:43 +0200 schrieb Paul Menzel:
> Package: evolution-data-server
> Version: 3.4.3-1
> Severity: normal
> wanting to test an upstream patch (#682398 [1]) I failed to build the
> package.
>
> Here is what I did.
>
> $ git clone git://git.gnome.org/evolution-data-server
> $ cd evolution-data-server
> $ git checkout -b 3.4.3 EVOLUTION_DATA_SERVER_3_4_3
> $ patch -p1 < gerror.patch
> $ cd ..
> $ debcheckout evolution-data-server evolution-data-server-debian
> $ cd evolution-data-server
> $ ln -s ../evolution-data-server-debian/debian debian
> $ dch
> $ sudo aptitude build-dep evolution-data-server
> $ dpkg-buildpackage -us -uc -B
> […]
> dpkg-buildpackage: Quellpaket evolution-data-server
> dpkg-buildpackage: Quellversion 3.4.3-1.1
> dpkg-buildpackage: Quellen geändert durch Paul Menzel <pm.debian at googlemail.com>
> dpkg-buildpackage: Host-Architektur i386
> dpkg-source --before-build evolution-data-server
> fakeroot debian/rules clean
> test -x debian/rules
> dh_testroot
> rm -f debian/stamp-makefile-build debian/stamp-makefile-install
> GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 /usr/bin/make -C . -k distclean
> make[1]: Entering directory `/srv/filme/src/evolution-data-server'
> make[1]: *** Keine Regel, um »distclean« zu erstellen.
> make[1]: Leaving directory `/srv/filme/src/evolution-data-server'
> make: [makefile-clean] Fehler 2 (ignoriert)
> rm -f debian/stamp-autotools
> rmdir --ignore-fail-on-non-empty .
> rmdir: konnte „.“ nicht entfernen: Das Argument ist ungültig
> make: [makefile-clean] Fehler 1 (ignoriert)
> dh_autoreconf_clean
> dh_clean
> rm -f debian/stamp-autotools-files
> cd . && \
> rm -f intltool-extract intltool-merge intltool-update po/.intltool-merge-cache; \
> if test -d doc; then find doc -name '*.omf.out' -exec rm -f \{\} \; ; fi; \
> if test -d help; then find help -name '*.omf.out' -exec rm -f \{\} \; ; fi
> rm -f debian/copyright_newhints
> rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check
> rm -rf "debian/upstream-cruft"
> rm -f debian/stamp-upstream-cruft
> debian/rules build-arch
> test -x debian/rules
> mkdir -p "."
> /usr/share/cdbs/1/rules/buildcore.mk:109: WARNING: DEB_DH_STRIP_ARGS is a deprecated variable
> /usr/share/cdbs/1/rules/buildcore.mk:109: WARNING: DEB_DH_BUILDDEB_ARGS is a deprecated variable
>
> WARNING: copyright-check disabled - touch debian/copyright_hints to enable.
>
> touch debian/stamp-copyright-check
> touch debian/stamp-upstream-cruft
> dh_autoreconf
> libtoolize: putting auxiliary files in `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: copying file `m4/libtool.m4'
> libtoolize: copying file `m4/ltoptions.m4'
> libtoolize: copying file `m4/ltsugar.m4'
> libtoolize: copying file `m4/ltversion.m4'
> libtoolize: copying file `m4/lt~obsolete.m4'
> configure.ac:212: installing `./compile'
> configure.ac:263: installing `./config.guess'
> configure.ac:263: installing `./config.sub'
> configure.ac:24: installing `./install-sh'
> configure.ac:24: installing `./missing'
> addressbook/backends/file/Makefile.am: installing `./depcomp'
> automake: cannot open < gtk-doc.make: Datei oder Verzeichnis nicht gefunden
> autoreconf: automake failed with exit status: 1
> dh_autoreconf: autoreconf -f -i returned exit code 1
> make: *** [debian/autoreconf.after] Fehler 2
> dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build-arch war 2
>
> `gtk-doc-tools` is installed.
>
> ii gtk-doc-tools 1.18-2
>
> Could you give me a hint what I am doing wrong? Could you provide a
> `debian/README.source` file explaining how to build the package?
mbiebl in #debian-gnome of irc.oftc.net told me the easiest way is to do
the following.
apt-get build-dep evolution-data-server && apt-get source -b evolution-data-server
With the source tree, the problem is that `gtk-doc.make` gets deleted
during `debian/rules clean`. This concerns all gtk-doc using packages
using (dh-)autoreconf.
As a work around manually copying `/usr/share/gtk-doc/data/gtk-doc.make`
should do the trick.
That fixed this error. For completeness, here are two other things I had
to do.
1. Run `./autogen.sh` to get all necessary build files.
2. `cp -a /usr/share/gtk-doc/data/gtk-doc.make .` as explained above.
3. dpkg-buildpackage -us -uc -B
But evolution-data-server-common….dbg was not built.
$ more debian/evolution-data-server-common.debhelper.log
dh_autoreconf
dh_prep
dh_installdirs
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
dh_girepository
I had to manually run the following.
$ LANG=C dh_install -pevolution-data-server-common
$ LANG=C fakeroot dh_gencontrol -pevolution-data-server-common
$ LANG=C dh_md5sums -pevolution-data-server-common
$ LANG=C dh_builddeb -pevolution-data-server-common
$ LANG=C fakeroot dh_builddeb -pevolution-data-server-common
What component of the build system is to blame here, so I can open a
separate report.
Thanks,
Paul
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=682398
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-evolution-maintainers/attachments/20120910/204b2537/attachment.pgp>
More information about the Pkg-evolution-maintainers
mailing list