GNOME Bugzilla – Bug 743409
Fails to build when srcdir != builddir
Last modified: 2015-01-24 21:41:20 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
Looks right to me, but shouldn't the line above also be changed to $(top_srcdir)?
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