[Pkg-utopia-maintainers] Bug#590594: Bug#590594: dbus: FTBFS with "dh_link: link destination debian/dbus-1-dbg/usr/share/doc/dbus-1-dbg is a directory" if dh-buildinfo is installed
Michael Biebl
biebl at debian.org
Tue Jul 27 17:16:32 UTC 2010
reassign 590594 dh-buildinfo
found 590594 0.9
thanks
On 27.07.2010 19:01, Axel Beckert wrote:
> Package: dbus
> Version: 1.2.24-2
> Severity: serious
>
> For testing the fix for http://bugs.debian.org/589662, I built the
> patched version on my own kfreebsd-i386 box where it FTBFS with the
> following error message:
>
> dh_link -pdbus-1-dbg
> dh_link: link destination debian/dbus-1-dbg/usr/share/doc/dbus-1-dbg is a directory
> make: *** [binary-install/dbus-1-dbg] Error 255
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
>
> Then I built it in io's sid chroot and it built fine.
>
> Since the fix worked, I installed the patched version on io (to get the
> hal update working) and planned to do so on asdfasdf.
>
> But in asdfasdf's sid chroot, it FTBFS as on my box. Since in comparison
> to my box, there are no experimental packages installed in the sid
> chroot of asdfasdf, there seems to be another cause, maybe a missing
> Build-Conflicts or so.
>
> The directory mentinoned in the error message looks like this:
>
> $ ls -alF debian/dbus-1-dbg/usr/share/doc/dbus-1-dbg
> total 8
> drwxr-xr-x 2 abe abe 512 Jul 27 18:19 ./
> drwxr-xr-x 3 abe abe 512 Jul 27 18:19 ../
> -rw-r--r-- 1 abe abe 2321 Jul 27 18:19 buildinfo.gz
> $
>
> I then tried to build an unpatched 1.2.24-2 which FTBFS, too while it
> doesn't fail inside io's sid chroot. Here is the diff ("<" = io's sid
> chroot, ">" = my box) between those two build logs:
>
> 1c1
> < dpkg-buildpackage -rfakeroot -D -us -uc
> ---
>> dpkg-buildpackage -rfakeroot -D -us -uc -i(?:^|/).*~$|(?:^|/)\.#.*$|(?:^|/)\..*\.swp$|(?:^|/),,.*(?:$|/.*$)|(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore|\.hgignore)$|(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|\.shelf|_MTN|\.bzr(?:\.backup|tags)|update\.sh)(?:$|/.*$) -I*.a -I*.la -I*.o -I*.so -I*.swp -I*~ -I,,* -I.[#~]* -I.arch-ids -I.arch-inventory -I.bzr -I.bzr.backup -I.bzr.tags -I.bzrignore -I.cvsignore -I.deps -I.git -I.gitignore -I.hg -I.shelf -I.svn -ICVS -IDEADJOE -IRCS -I_MTN -I_darcs -I{arch}
> 37c37
> < dpkg-source -b dbus-1.2.24
> ---
>> dpkg-source -i(?:^|/).*~$|(?:^|/)\.#.*$|(?:^|/)\..*\.swp$|(?:^|/),,.*(?:$|/.*$)|(?:^|/)(?:DEADJOE|\.cvsignore|\.arch-inventory|\.bzrignore|\.gitignore|\.hgignore)$|(?:^|/)(?:CVS|RCS|\.deps|\{arch\}|\.arch-ids|\.svn|\.hg|_darcs|\.git|\.shelf|_MTN|\.bzr(?:\.backup|tags)|update\.sh)(?:$|/.*$) -I*.a -I*.la -I*.o -I*.so -I*.swp -I*~ -I,,* -I.[#~]* -I.arch-ids -I.arch-inventory -I.bzr -I.bzr.backup -I.bzr.tags -I.bzrignore -I.cvsignore -I.deps -I.git -I.gitignore -I.hg -I.shelf -I.svn -ICVS -IDEADJOE -IRCS -I_MTN -I_darcs -I{arch} -b dbus-1.2.24
> 1105,1107c1105
> <
> < WARNING: buildinfo disabled - dh_buildinfo (from dh-buildinfo package) is missing.
> <
> ---
>> dh_buildinfo
> 1376,1436c1374,1376
> < dh_installmime -pdbus-1-dbg
> < -./usr/lib/libdbus-1.la
> < -./usr/lib/libdbus-1.so.3
> < -./usr/lib/libdbus-1.so.3.4.0
> < dh_strip -pdbus --dbg-package=dbus-1-dbg
> < dh_compress -pdbus
> < dh_fixperms -pdbus
> < dh_makeshlibs -pdbus -V 'libdbus-1-3 (>= 1.2.16)'
> < dh_strip -pdbus-x11 --dbg-package=dbus-1-dbg
> < dh_compress -pdbus-x11
> < dh_fixperms -pdbus-x11
> < dh_makeshlibs -pdbus-x11 -V 'libdbus-1-3 (>= 1.2.16)'
> < dh_strip -plibdbus-1-3 --dbg-package=dbus-1-dbg
> < dh_compress -plibdbus-1-3
> < dh_fixperms -plibdbus-1-3
> < dh_makeshlibs -plibdbus-1-3 -V 'libdbus-1-3 (>= 1.2.16)'
> < dh_strip -plibdbus-1-dev --dbg-package=dbus-1-dbg
> < dh_compress -plibdbus-1-dev
> < dh_fixperms -plibdbus-1-dev
> < dh_makeshlibs -plibdbus-1-dev -V 'libdbus-1-3 (>= 1.2.16)'
> < dh_compress -pdbus-1-dbg
> < dh_fixperms -pdbus-1-dbg
> < dh_installdeb -pdbus
> < dh_perl -pdbus
> < dh_shlibdeps -pdbus
> < dh_installdeb -pdbus-x11
> < dh_perl -pdbus-x11
> < dh_shlibdeps -pdbus-x11
> < dh_installdeb -plibdbus-1-3
> < dh_perl -plibdbus-1-3
> < dh_shlibdeps -plibdbus-1-3
> < dh_installdeb -plibdbus-1-dev
> < dh_perl -plibdbus-1-dev
> < dh_shlibdeps -plibdbus-1-dev
> < dh_installdeb -pdbus-1-dbg
> < dh_perl -pdbus-1-dbg
> < dh_shlibdeps -pdbus-1-dbg
> < dh_gencontrol -pdbus
> < dh_md5sums -pdbus
> < dh_builddeb -pdbus
> < dpkg-deb: building package `dbus' in `../dbus_1.2.24-2_kfreebsd-i386.deb'.
> < dh_gencontrol -pdbus-x11
> < dh_md5sums -pdbus-x11
> < dh_builddeb -pdbus-x11
> < dpkg-deb: building package `dbus-x11' in `../dbus-x11_1.2.24-2_kfreebsd-i386.deb'.
> < dh_gencontrol -plibdbus-1-3
> < dh_md5sums -plibdbus-1-3
> < dh_builddeb -plibdbus-1-3
> < dpkg-deb: building package `libdbus-1-3' in `../libdbus-1-3_1.2.24-2_kfreebsd-i386.deb'.
> < dh_gencontrol -plibdbus-1-dev
> < dpkg-gencontrol: warning: Depends field of package libdbus-1-dev: unknown substitution variable ${shlibs:Depends}
> < dh_md5sums -plibdbus-1-dev
> < dh_builddeb -plibdbus-1-dev
> < dpkg-deb: building package `libdbus-1-dev' in `../libdbus-1-dev_1.2.24-2_kfreebsd-i386.deb'.
> < dh_gencontrol -pdbus-1-dbg
> < dh_md5sums -pdbus-1-dbg
> < dh_builddeb -pdbus-1-dbg
> < dpkg-deb: building package `dbus-1-dbg' in `../dbus-1-dbg_1.2.24-2_kfreebsd-i386.deb'.
> < dpkg-genchanges >../dbus_1.2.24-2_kfreebsd-i386.changes
> < dpkg-genchanges: not including original source code in upload
> < dpkg-buildpackage: binary and diff upload (original source NOT included)
> ---
>> dh_link: link destination debian/dbus-1-dbg/usr/share/doc/dbus-1-dbg is a directory
>> make: *** [binary-install/dbus-1-dbg] Error 255
>> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
>
> In asdfasdf's sid chroot, dh-buildinfo is installed, too. So it
> basically FTBFS if dh-buildinfo is installed and builds fine if not.
>
> Adding a Build-Conflicts on dh-buildinfo should fix this FTBFS, but
> probably doesn't fix the real cause. Feel free to reassign this bug, if
> you think the bug is located outside this package in one of the build
> helpers (cdbs, debhelper, dh-buildinfo, etc.)
>
This looks like a bug in dh_buildinfo to me. It should not create a buildinfo.gz
in /usr/share/doc/<package> if the maintainer chooses to make that directory a
symlink.
Thus reassigning.
Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100727/f9f15fd5/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list