Bug#536943: gtk2-engines: FTBFS: open: No such file or directory

Emilio Pozuelo Monfort pochu at ubuntu.com
Tue Jul 14 18:40:07 UTC 2009


reassign 536943 debhelper
notfound 536943 1:2.18.2-1
notfound 536943 7.2.14
found 536943 7.2.21
retitle 536943 debhelper: dh_install regression with --sourcedir
thanks

Hi,

Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
[...]
>> dh_install -pgtk2-engines  --sourcedir=/build/user-gtk2-engines_2.18.2-1-amd64-rTScdZ/gtk2-engines-2.18.2/debian/tmp/x11
[...]
>> dh_install -pgtk2-engines-udeb  --sourcedir=/build/user-gtk2-engines_2.18.2-1-amd64-rTScdZ/gtk2-engines-2.18.2/debian/tmp/directfb
[...]
>> # remove the rpath
>> chrpath -d debian/gtk2-engines-udeb/usr/lib/gtk-2.0/*/engines/*.so
>> open: No such file or directory


The current tree is:

./debian/build/x11 where the normal build happens
./debian/build/directfb for the directfb backend (used by the installer)
./debian/tmp/x11 where the normal backend is installed
./debian/tmp/directfb where the directfb backend is installed

Now, debian/gtk2-engines.install and debian/gtk2-engines-udeb.install contain:

$ cat debian/gtk2-engines.install
# from the x11 flavor
usr/lib/gtk-2.0/*/engines/*.so
usr/share/gtk-engines
usr/share/themes/*/gtk-2.0

$ cat debian/gtk2-engines-udeb.install
# from the directfb flavor
usr/lib/gtk-2.0/*/engines/libclearlooks.so
usr/lib/gtk-2.0/*/engines/libhcengine.so


and debian/rules passes --sourcedir with debian/tmp/x11 and debian/tmp/directfb
for the normal package and the udeb, accordingly (as you can see above).

With debhelper 7.2.14 (testing), after running that dh_install command, I get:
debian/gtk2-engines/usr
debian/gtk2-engines-udeb/usr

However with debhelper 7.2.21, what I get is:
debian/gtk2-engines/x11
debian/gtk2-engines/directfb

So it seems to me debhelper has accidentally broken --sourcedir.

Compat is 5, FWIW.

Best regards,
Emilio

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090714/c61d2f0c/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list