[packagekit] PackageKit-0.6.21 build fails on packagekit-qt

Zhang, Qiang Z qiang.z.zhang at intel.com
Wed Dec 14 19:21:41 PST 2011

Hi all,

I want to upgrade PackageKit 0.6.21, but it build fails at packagekit-qt, error info as below:

make[3]: Entering directory `/home/abuild/rpmbuild/BUILD/PackageKit-0.6.21/lib/packagekit-qt'
  GEN    .gitignore
Making all in modules
make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/PackageKit-0.6.21/lib/packagekit-qt/modules'
  GEN    .gitignore
make[4]: Leaving directory `/home/abuild/rpmbuild/BUILD/PackageKit-0.6.21/lib/packagekit-qt/modules'
Making all in src
make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/PackageKit-0.6.21/lib/packagekit-qt/src'
qdbusxml2cpp -c DaemonProxy -p daemonproxy -m -N ../../../src/org.freedesktop.PackageKit.xml
qdbusxml2cpp -c TransactionProxy -p transactionproxy -m -N ../../../src/org.freedesktop.PackageKit.Transaction.xml
touch dbus_proxies.stamp
# "moc -v" always fails :-/
/usr/bin/moc -v > ../../../.moc.version.tmp 2>&1 || :
if test ! -f "../../../.moc.version" || test "`cat ../../../.moc.version`" != "`cat ../../../.moc.version.tmp`"; then \
                mv -f ../../../.moc.version.tmp ../../../.moc.version; \
        else \
                rm -f ../../../.moc.version.tmp; \
/usr/bin/moc -i -o "client.moc" "client.h"
/usr/bin/moc -i -o "clientprivate.moc" "clientprivate.h"
make[4]: *** No rule to make target `daemonproxy.moc', needed by `all'.  Stop.
make[4]: Leaving directory `/home/abuild/rpmbuild/BUILD/PackageKit-0.6.21/lib/packagekit-qt/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/PackageKit-0.6.21/lib/packagekit-qt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/PackageKit-0.6.21/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/PackageKit-0.6.21'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.JiNH6L (%build)
In fact, daemonproxy.h has already been generated. clientprivate.moc and client.moc can be generated, why daemonproxy.moc can't.

But when I goto PackageKit-0.6.21/lib/packagekit-qt/src and run make again, it success.

Some other one should also encounter such issue: http://pastebin.com/GXtXBAHL

Any suggestion here?

Thanks in advance.
Zhang Qiang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20111215/f828880e/attachment-0003.htm>

More information about the PackageKit mailing list