Buildbot failure with variant dependency

Leo Singer aronnax at macports.org
Fri May 4 11:15:58 PDT 2012


Hello,

I have a question about the buildbot and ports that require a dependency with a particular variant.

I maintain a port called py-pynds that depends on the boost port with a python${python.version} variant.  I had imitated a pattern that I had seen in other ports that depend on boost +pythonXX: since dependencies on variants are not directly supported, the port looks for a file that is only present when the dependency has the variant enabled, and if the file does not exist, produces an error message like the following:

Error: 
****
**** PyNDS requires port boost installed with variant +python27.
**** Please do the following then try installing py-pynds again:
****
****     sudo port install boost +python27
****

When the buildbot goes to work on py27-pynds, it first installs boost, but it installs it without the python27 variant, so the build of py27-pynds fails with the above error message.

My questions is the following -- is there a workaround to instruct the buildbot how to handle this special case, or should I let this buildbot failure slide for now?

Thanks,
Leo

Begin forwarded message:

> From: noreply at macports.org
> Subject: buildbot failure in MacPorts on buildports-lion-x86_64
> Date: May 2, 2012 2:53:59 PM PDT
> To: aronnax at macports.org, jmr at macports.org, ram at macports.org
> 
> The Buildbot has detected a failed build on builder buildports-lion-x86_64 while building MacPorts.
> Full details are available at:
> http://build.macports.org/builders/buildports-lion-x86_64/builds/500
> 
> Buildbot URL: http://build.macports.org/
> 
> Buildslave for this Build: apple-lion-x86_64-ports
> 
> Build Reason: scheduler
> Build Source Stamp: [branch trunk] 92633
> Blamelist: jmr at macports.org
> 
> BUILD FAILED: failed status
> 
> sincerely,
> -The Buildbot
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120504/c1f20208/attachment-0001.html>


More information about the macports-dev mailing list