Bug#374881: [Pkg-kde-extras] Bug#374881: kmymoney2 - FTBFS: cd: /home/buildd: No such file or directory

Sune Vuorela debian at pusling.com
Mon Jun 26 19:28:16 UTC 2006


tag 374881 +patch
On Sunday 25 June 2006 18:42, Bastian Blank wrote:
> The bug is generic, just some of the s390 buildds lacks a home directory
> in the chroot.

Yes - I have also reproduced it on x86.

> The requested help (from kmymoney2/Makefile.in:1098):
> |         echo "Creating symbolic link from kmymoney -> ./kmymoney2"; \
>
>          ln -sf $$f $(DESTDIR)$(bindir)/kmymoney; \
>
> |         else :; fi; \

Yeah. that looks like fixing it.

This does too ;)

--- kmymoney2-0.8.4.orig/kmymoney2/Makefile.in
+++ kmymoney2-0.8.4/kmymoney2/Makefile.in
@@ -1098,10 +1098,8 @@
        f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
        echo "Creating symbolic link from kmymoney -> ./kmymoney2"; \
        rm -f $(DESTDIR)$(bindir)/kmymoney; \
-       curdir=`pwd`; \
        cd $(DESTDIR)$(bindir); \
        ln -s ./$$f kmymoney; \
-       cd $(curdir); \
        else :; fi; \
        done

I don't actually know how pwd ends up with outputting /home/$USER - but that 
looks like the problem.


/Sune
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20060626/f65591bb/attachment.pgp


More information about the pkg-kde-extras mailing list