diff mbox

Failing gst1-validate-1.12.2 build, documentation not necessary!

Message ID trinity-adc229dc-8010-433a-83e5-915ef6083410-1502267868449@3capp-gmx-bs26
State Not Applicable
Headers show

Commit Message

Peter Seiderer Aug. 9, 2017, 8:37 a.m. UTC
Hello 'grunpferd',

> Gesendet: Mittwoch, 09. August 2017 um 02:23 Uhr
> Von: grunpferd@netscape.net
> An: buildroot@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:



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

Comments

grunpferd@netscape.net Aug. 9, 2017, 12:02 p.m. UTC | #1
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))
diff mbox

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))