After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581312 - libunique fails to build outside source tree
libunique fails to build outside source tree
Status: RESOLVED FIXED
Product: libunique
Classification: Other
Component: dbus
1.0.x
Other Linux
: Normal minor
: ---
Assigned To: libunique-maint
libunique-maint
Depends on:
Blocks: 569778
 
 
Reported: 2009-05-04 13:40 UTC by Theppitak Karoonboonyanan
Modified: 2009-06-14 10:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Refer to souce files through VPATH (629 bytes, patch)
2009-05-04 13:46 UTC, Theppitak Karoonboonyanan
none Details | Review

Description Theppitak Karoonboonyanan 2009-05-04 13:40:04 UTC
libunique fails to build outside source tree, with following error:

---8<---
Making all in dbus
make[4]: Entering directory `/home/thep/build/gnome_git/libunique-1.0.8/unique/dbus'
/home/gnome2/bin/dbus-binding-tool \
                --mode=glib-server \
                --output=uniquebackend-bindings.h \
                --prefix=uniquebackend \
        uniquebackend-dbus.xml
Couldn't stat uniquebackend-dbus.xml: No such file or directory
make[4]: *** [uniquebackend-bindings.h] Error 1
make[4]: Leaving directory `/home/thep/build/gnome_git/libunique-1.0.8/unique/dbus'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/thep/build/gnome_git/libunique-1.0.8/unique'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/thep/build/gnome_git/libunique-1.0.8/unique'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thep/build/gnome_git/libunique-1.0.8'
make: *** [all] Error 2
---8<---

The uniquebackend-dbus.xml is in srcdir, and is not immediately available when referencing from builddir when builddir != srcdir.
Comment 1 Theppitak Karoonboonyanan 2009-05-04 13:46:26 UTC
Created attachment 133920 [details] [review]
Refer to souce files through VPATH
Comment 2 Emmanuele Bassi (:ebassi) 2009-06-14 10:02:53 UTC
this should have been fixed slightly differently in commit:

  f6b609721d86ef2edaf1edd976032a557fbc7c1a

by using "$(srcdir)/uniquebackend-dbus.xml" instead.