fabric8-services / fabric8-devdoc

http://devdoc.almighty.io/
4 stars 33 forks source link

build task fails with dependency requirement of 'dot' #43

Open sbose78 opened 8 years ago

sbose78 commented 8 years ago

On executing bundle exec jekyll build

The following output is seen:

Configuration file: /home/shoubhik/almighty/almighty-devdoc/_config.yml
            Source: /home/shoubhik/almighty/almighty-devdoc
       Destination: /home/shoubhik/almighty/almighty-devdoc/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
asciidoctor-diagram: ERROR: Failed to generate image: Could not find the 'dot' executable in PATH; add it to the PATH or specify its location using the 'graphvizdot' document attribute

asciidoctor-diagram: ERROR: Failed to generate image: Could not find the 'dot' executable in PATH; add it to the PATH or specify its location using the 'graphvizdot' document attribute
                    done in 20.365 seconds.
 Auto-regeneration: disabled. Use --watch to enable.Configuration file: /home/shoubhik/almighty/almighty-devdoc/_config.yml
            Source: /home/shoubhik/almighty/almighty-devdoc
       Destination: /home/shoubhik/almighty/almighty-devdoc/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
asciidoctor-diagram: ERROR: Failed to generate image: Could not find the 'dot' executable in PATH; add it to the PATH or specify its location using the 'graphvizdot' document attribute

asciidoctor-diagram: ERROR: Failed to generate image: Could not find the 'dot' executable in PATH; add it to the PATH or specify its location using the 'graphvizdot' document attribute
                    done in 20.365 seconds.
 Auto-regeneration: disabled. Use --watch to enable.

As a workaround: Did the following and it worked: yum install 'graphviz*'

and then executed the build command to get the following clean output:

[shoubhik@dhcp35-156 almighty-devdoc]$ bundle exec jekyll build
Configuration file: /home/shoubhik/almighty/almighty-devdoc/_config.yml
            Source: /home/shoubhik/almighty/almighty-devdoc
       Destination: /home/shoubhik/almighty/almighty-devdoc/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
                    done in 0.306 seconds.
 Auto-regeneration: disabled. Use --watch to enable.
kwk commented 8 years ago

Hi @sbose78 I'm not sure that this is an issue. The real issue is that there's no documentation on how to build this project.

On our CI system we use dependencies as defined in this Dockerfile. But this is not really a documentation :(

sbose78 commented 8 years ago

Yes @kwk this definitely isn't an issue :)

I added this GH issue for tracking purposes so that we update/create the documentation to build this project.