Petulant buildbots

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Petulant buildbots

Craig Treleaven
Ok, so I’m sure the buildbots aren’t exactly being “petulant” but…

I’ve updated mkvtoolnix to 13.0.0. On my main system (OS X 10.10, Xcode 7.2.1) it builds and runs without issue.  Building in trace mode did not work so I’ve fired up a 10.9 VM and did a virgin build.  That completed and runs successfully as long as MacPorts clang-3.7 is used (as the port needs C++14 features).

However, none of the buildbots have ever succeeded in building this port.  The 10.9, 10.10, 10.11 and 10.12 buildbots all fail to configure with the following message:

checking whether xsltproc works... no
configure: error: xsltproc doesn't work with DocBook's /opt/local/share/xsl/docbook-xsl//manpages/docbook.xsl
Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-13.0.0" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-boost=/opt/local --with-extra-libs=/opt/local/lib --with-extra-includes=/opt/local/include --with-xsltproc=/opt/local/bin/xsltproc --with-docbook-xsl-root=/opt/local/share/xsl/docbook-xsl/ --with-po4a=/opt/local/bin/po4a --with-po4a-translate=/opt/local/bin/po4a-translate --enable-qt --with-qmake=/opt/local/libexec/qt5/bin/qmake --with-moc=/opt/local/libexec/qt5/bin/moc --with-uic=/opt/local/libexec/qt5/bin/uic --with-rcc=/opt/local/libexec/qt5/bin/rcc
Exit code: 1


My local 10.9 and 10.10 builds have never complained about xsltproc.  

Any suggestions on why on the buildbots are not cooperating with me?  Ideas how to appease them?

Craig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Petulant buildbots

Clemens Lang-2
Hi,

On Sun, Jul 16, 2017 at 10:30:13AM -0400, Craig Treleaven wrote:
> I’ve updated mkvtoolnix to 13.0.0. On my main system (OS X 10.10,
> Xcode 7.2.1) it builds and runs without issue.  Building in trace mode
> did not work

Why did the build in trace mode not work?

> checking whether xsltproc works... no
> configure: error: xsltproc doesn't work with DocBook's /opt/local/share/xsl/docbook-xsl//manpages/docbook.xsl
> Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-13.0.0" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-boost=/opt/local --with-extra-libs=/opt/local/lib --with-extra-includes=/opt/local/include --with-xsltproc=/opt/local/bin/xsltproc --with-docbook-xsl-root=/opt/local/share/xsl/docbook-xsl/ --with-po4a=/opt/local/bin/po4a --with-po4a-translate=/opt/local/bin/po4a-translate --enable-qt --with-qmake=/opt/local/libexec/qt5/bin/qmake --with-moc=/opt/local/libexec/qt5/bin/moc --with-uic=/opt/local/libexec/qt5/bin/uic --with-rcc=/opt/local/libexec/qt5/bin/rcc

Do you have a dependency on the docbook-xsl port?

The failing test is
  https://github.com/mbunkus/mkvtoolnix/blob/master/ac/ax_docbook.m4#L51
Do you happen to have the config.log for this? It should have more info
on why this failed.

--
Clemens
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Petulant buildbots

Mojca Miklavec-2
Hi,

Recalling from my memory (might not be accurate): whenever you first
activate one xsl stylesheet, some entry remains somewhere and then
subsequent builds fail unless that package is still installed.

On the buildbot this is a problem because all packages were most
likely once installed. The same problem is there in trace mode: it
lacks the packages which are not really dependencies, but the build
fails just because they were once activated (and still are, only not
visible by the trace mode).

I would have to dig, but I'm sure there must be some threads or
tickets about this topic. I often had problems with this.

Mojca
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Petulant buildbots

Craig Treleaven
In reply to this post by Clemens Lang-2
> On Jul 16, 2017, at 1:38 PM, Clemens Lang <[hidden email]> wrote:
>
> On Sun, Jul 16, 2017 at 10:30:13AM -0400, Craig Treleaven wrote:
>> I’ve updated mkvtoolnix to 13.0.0. On my main system (OS X 10.10,
>> Xcode 7.2.1) it builds and runs without issue.  Building in trace mode
>> did not work
>
> Why did the build in trace mode not work?
>

Thanks for the gentle tap with the ‘clue-by-four’.  ;)  I missed that trace mode was the same error as on the buildbots.  (Lots of extraneous lines related to Qt, etc.)

I think the relevant message is:

Warning: The following existing files were hidden from the build system by trace mode:
  /opt/local/bin/ar
[…]
  /opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl

The file that configure wants to test xsltproc with is hidden.  Why would that be?  It is installed by dock-xsl which is a dep of po4a.  mkvtoolnix has a build dependency on po4a.

[…]
> The failing test is
>  https://github.com/mbunkus/mkvtoolnix/blob/master/ac/ax_docbook.m4#L51
> Do you happen to have the config.log for this? It should have more info
> on why this failed.

The relevant bits seem to be:

configure:10880: checking for pandoc
configure:10913: result: no
configure:10928: checking for DocBook XSL root directory
configure:10930: result: using supplied /opt/local/share/xsl/docbook-xsl
configure:10967: checking for xsltproc
configure:10969: result: using supplied /opt/local/bin/xsltproc
configure:11018: checking whether xsltproc works
configure:11036: result: no
configure:11040: error: xsltproc doesn't work with DocBook's /opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl

Craig
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Petulant buildbots

Mojca Miklavec-2
In reply to this post by Mojca Miklavec-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Petulant buildbots

Joshua Root-8
In reply to this post by Craig Treleaven
On 2017-7-17 06:08 , Craig Treleaven wrote:
> The file that configure wants to test xsltproc with is hidden.  Why would that be?  It is installed by dock-xsl which is a dep of po4a.  mkvtoolnix has a build dependency on po4a.

But po4a only has a build dep on docbook-xsl. If po4a has already been
built, there's no reason (according to the declared dependencies) to
install docbook-xsl.

- Josh
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Petulant buildbots

Craig Treleaven
> On Jul 16, 2017, at 4:19 PM, Joshua Root <[hidden email]> wrote:
>
> On 2017-7-17 06:08 , Craig Treleaven wrote:
>> The file that configure wants to test xsltproc with is hidden.  Why would that be?  It is installed by dock-xsl which is a dep of po4a.  mkvtoolnix has a build dependency on po4a.
>
> But po4a only has a build dep on docbook-xsl. If po4a has already been built, there's no reason (according to the declared dependencies) to install docbook-xsl.
>
I believe that is the secret sauce.  Just pushed a commit so I’ll soon know if the buildbots agree.  

Thanks very much.

Craig


Loading...