[Pkg-utopia-maintainers] 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

Axel Beckert abe at debian.org
Tue Jul 27 17:01:01 UTC 2010


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.)

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.0-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dbus depends on:
ii  adduser                3.112             add and remove users and groups
ii  libc0.1                2.11.2-2          Embedded GNU C Library: Shared lib
ii  libdbus-1-3            1.2.24-3~abetest1 simple interprocess messaging syst
ii  libexpat1              2.0.1-7           XML parsing C library - runtime li
ii  lsb-base               3.2-23.1          Linux Standard Base 3.2 init scrip

dbus recommends no packages.

Versions of packages dbus suggests:
ii  dbus-x11               1.2.24-3~abetest1 simple interprocess messaging syst

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list