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 743409 - Fails to build when srcdir != builddir
Fails to build when srcdir != builddir
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: build
git master
Other Linux
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks: 414139
 
 
Reported: 2015-01-23 16:02 UTC by Vadim Rutkovsky
Modified: 2015-01-24 21:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use correct path to python script (788 bytes, patch)
2015-01-23 16:02 UTC, Vadim Rutkovsky
none Details | Review

Description Vadim Rutkovsky 2015-01-23 16:02:48 UTC
Created attachment 295284 [details] [review]
Use correct path to python script

Buildlog tail:

make[2]: Entering directory '/ostbuild/source/gegl/_build/operations'
Making all in core
make[3]: Entering directory '/ostbuild/source/gegl/_build/operations/core'
/usr/bin/python ../../tools/csourcetostring.py ../../../operations/core/crop.c
/usr/bin/python ../../tools/csourcetostring.py ../../../operations/core/nop.c
/usr/bin/python ../../tools/csourcetostring.py ../../../operations/core/cast-format.c
/usr/bin/python ../../tools/csourcetostring.py ../../../operations/core/convert-format.c
/usr/bin/python ../../tools/csourcetostring.py ../../../operations/core/json.c
/usr/bin/python: can't open file '../../tools/csourcetostring.py': [Errno 2] No such file or directory
/usr/bin/python: can't open file '../../tools/csourcetostring.py': [Errno 2] No such file or directory
/usr/bin/python: can't open file '../../tools/csourcetostring.py': [Errno 2] No such file or directory
Makefile:852: recipe for target '../../../operations/core/cast-format.c.h' failed
make[3]: *** [../../../operations/core/cast-format.c.h] Error 2
make[3]: *** Waiting for unfinished jobs....
Makefile:852: recipe for target '../../../operations/core/convert-format.c.h' failed
Comment 1 Michael Natterer 2015-01-23 23:04:52 UTC
Looks right to me, but shouldn't the line above also be changed
to $(top_srcdir)?
Comment 2 Jon Nordby 2015-01-24 21:41:20 UTC
Pushed after also updating dependency to refer top_srcdir. Thanks!

commit c81d18936d87d0406f3517fe4a7d0a85a264f96b
Author: Vadim Rutkovsky <vrutkovs@redhat.com>
Date:   Fri Jan 23 17:00:51 2015 +0100

    build: fix build when srcdir != builddir