Boost logo

Boost-Build :

Subject: Re: [Boost-build] configuring b2 via appveyor
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-12-06 23:47:59


On 05.12.2017 17:34, Steven Watanabe via Boost-build wrote:
> AMDG
>
> On 12/04/2017 08:51 AM, Stefan Seefeld via Boost-build wrote:
>> I'm trying to fix the appveyor setup for Boost.GIL, where I need to create a
>> `user-config.jam` file with entries for third-party libraries libjpeg, libpng,
>> libz, and libtiff.
>>
>> <snip>
>> and here is the error this results in:
>>
>> https://ci.appveyor.com/project/stefanseefeld/gil/build/1.0.109-develop/job/n6yco00602f8pqn7#L974
>>
>> I'm sure I'm not the first one to attempt to do this (i.e., create a custom
>> user-config.jam on appveyor). Can someone see what I'm doing wrong ?
>>
> This looks like a permissions issue.

It doesn't appear to be one. This fails:
https://ci.appveyor.com/project/stefanseefeld/gil/build/1.0.114-bug/job/c2ssclb178o24hfl
while this works:
https://ci.appveyor.com/project/stefanseefeld/gil/build/1.0.113-bug/job/g82xoju5fpv52gxe

So the error seems related to the use of the %CHUNK% variable, which is
defined as

set "CHUNK=^<include^>%VCPKG%\include ^<search^>%VCPKG%\lib"

(I can't claim I understand the syntax.
https://stackoverflow.com/questions/47679060/permission-issue-with-simple-appveyor-script
suggests I need to quote the entire assignment rather than just the
right-side hand, to avoid the quotation marks to be included in the
variable. And I need the '^' to prevent cmd.exe from interpreting the 
'>' character in the value...)

This is why I had hoped that someone else had already generated
user-config.jam files in appveyor.yml files, so I could simply learn
from that experience, rather than stumbling around in the dark as I do now.

Thanks,

Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...
    



signature.png

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk