Skip to contentSkip to conversation

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

Buildroot grunpferd at netscape.net 2 participants 3 messages Aug 9, 2017

lore
Share & tools
lore
#0 lore raw

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>

#1 lore raw

Hello 'grunpferd',

Quoted 13 lines

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'

Quoted 2 lines

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:

package/gstreamer1/gst1-validate/gst1-validate.mk +2 -0
index be43df4f..5066c277 100644
@@ -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

Quoted 18 lines

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

#2 lore raw

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

Quoted 10 lines

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:

package/gstreamer1/gst1-validate/gst1-validate.mk +0 -0
index be43df4f..5066c277 100644

package/gstreamer1/gst1-validate/gst1-validate.mk GST1_VALIDATE_DEPENDENCIES = \ · line 23

Quoted 6 lines
package/gstreamer1/gst1-validate/gst1-validate.mk +2 -0
@@ -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>