All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Failing gst1-validate-1.12.2 build, documentation not necessary!
@ 2017-08-09  0:23 grunpferd at netscape.net
  2017-08-09  8:37 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: grunpferd at netscape.net @ 2017-08-09  0:23 UTC (permalink / raw)
  To: buildroot



In building gst1-validate-1.12.2. 


I think building "all" here is not necessary. Can't see the documentation is ever going to be installed on a target.
So why build it at all, especially when it fails!






make[4]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/docs/validate'

sphinx-build -b html -d ./doctrees   . ./html
Error: Source directory doesn't contain a conf.py file.
Makefile:687: recipe for target 'all' failed
make[4]: *** [all] Error 1
make[4]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/docs/launcher'
Makefile:806: recipe for target 'launcher' failed
make[3]: *** [launcher] Error 2
make[3]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/docs'
Makefile:713: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2'
Makefile:623: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2'
package/pkg-generic.mk:227: recipe for target '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/.stamp_built' fail
ed
make: *** [/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/.stamp_built] Error 2




Ross

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170808/898e173c/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Failing gst1-validate-1.12.2 build, documentation not necessary!
  2017-08-09  0:23 [Buildroot] Failing gst1-validate-1.12.2 build, documentation not necessary! grunpferd at netscape.net
@ 2017-08-09  8:37 ` Peter Seiderer
  2017-08-09 12:02   ` grunpferd at netscape.net
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Seiderer @ 2017-08-09  8:37 UTC (permalink / raw)
  To: buildroot

Hello 'grunpferd',

> Gesendet:?Mittwoch, 09. August 2017 um 02:23 Uhr
> Von:?grunpferd at netscape.net
> An:?buildroot at busybox.net
> Betreff:?[Buildroot] Failing gst1-validate-1.12.2 build, documentation not necessary!
>
> In building?gst1-validate-1.12.2.?
> ?I think building "all" here is not necessary. Can't see the documentation is ever going to be installed on a target.
> So why build it at all, especially when it fails!
> ?
> ?
> ?
> make[4]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/docs/validate'
>
> sphinx-build -b html -d ./doctrees ??. ./html
> Error: Source directory doesn't contain a conf.py file.

The problem seems you are one of the rare people who have a (non functional) sphinx documentation
system installed on the build host....

Mind to try the following (untested) patch:

diff --git a/package/gstreamer1/gst1-validate/gst1-validate.mk b/package/gstreamer1/gst1-validate/gst1-validate.mk
index be43df4f..5066c277 100644
--- a/package/gstreamer1/gst1-validate/gst1-validate.mk
+++ b/package/gstreamer1/gst1-validate/gst1-validate.mk
@@ -18,4 +18,6 @@ GST1_VALIDATE_DEPENDENCIES = \
        python \
        $(if $(BR2_PACKAGE_CAIRO),cairo)
 
+GST1_VALIDATE_CONF_ENV = ac_cv_prog_enable_sphinx_doc=no
+
 $(eval $(autotools-package))


Regards,
Peter

> Makefile:687: recipe for target 'all' failed
> make[4]: *** [all] Error 1
> make[4]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/docs/launcher'
> Makefile:806: recipe for target 'launcher' failed
> make[3]: *** [launcher] Error 2
> make[3]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/docs'
> Makefile:713: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2'
> Makefile:623: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2'
> package/pkg-generic.mk:227: recipe for target '/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/.stamp_built' fail
> ed
> make: *** [/u/rfg/w/buildroot_tk1_gcc7_4.12/output/build/gst1-validate-1.12.2/.stamp_built] Error 2
> ?
> ?
> Ross

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] Failing gst1-validate-1.12.2 build, documentation not necessary!
  2017-08-09  8:37 ` Peter Seiderer
@ 2017-08-09 12:02   ` grunpferd at netscape.net
  0 siblings, 0 replies; 3+ messages in thread
From: grunpferd at netscape.net @ 2017-08-09 12:02 UTC (permalink / raw)
  To: buildroot


G'day Peter,


Gave your patch a test and works as expected.
Thanks muchly!


It does appear there was no sphinx documentation system installed with python


Did not realise there was even an option.


So this maybe a useful patch for those systems that do not have this utility available.


Not sure how rare a case this is, but it caught me out.


Thanking you,


Ross



> The problem seems you are one of the rare people who have a (non functional) sphinx documentation
> system installed on the build host....
> 
> Mind to try the following (untested) patch:
> 
> diff --git a/package/gstreamer1/gst1-validate/gst1-validate.mk b/package/gstreamer1/gst1-validate/gst1-validate.mk
> index be43df4f..5066c277 100644
> --- a/package/gstreamer1/gst1-validate/gst1-validate.mk
> +++ b/package/gstreamer1/gst1-validate/gst1-validate.mk
> @@ -18,4 +18,6 @@ GST1_VALIDATE_DEPENDENCIES = \
> python \
> $(if $(BR2_PACKAGE_CAIRO),cairo)
 > 
> +GST1_VALIDATE_CONF_ENV = ac_cv_prog_enable_sphinx_doc=no
> +
> $(eval $(autotools-package))



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170809/bf0bf08f/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-09 12:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-09  0:23 [Buildroot] Failing gst1-validate-1.12.2 build, documentation not necessary! grunpferd at netscape.net
2017-08-09  8:37 ` Peter Seiderer
2017-08-09 12:02   ` grunpferd at netscape.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.