Well, you're right it seems like my rebuild script was not
running in a
login shell. NOTABUG
Actually no - I don't know what's going on.
In any case, it seems like it might be my problem instead of a bug.
Are you the maintainer for the kde stuff? I can mail you when I figure
it out..