[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: George Dunlap <George.Dunlap@xxxxxxxxxx>
- Date: Wed, 26 Aug 2020 10:33:48 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1J0RSBj88CXHUatCxfyKc3Yzs00lDrMn4zGDRd0dupw=; b=AcKPiraVWdudfrsvn3YlCrwdnZAAQ5DWYJlzX099ckJC8f84S0OvD7J3rJ2Ot+U1afMdoYQMkbkBZiA6j/uW8mdeowApcLqZp5HZYkKKna/S3aGDkpdAKwrMNJptVu/pOqE8xUVglqGZsrGPo7wXDu4Wfl6aepmwQ8yVTdF3GULWxi88DixW0GDbS7l2409Oq4y0yZQatogPPdI5WLUc+LdiHBrmAK8JxAMWwVA4qgj7xs31IqRBowpT2JDQxyIVIa0dQo3RBQsnnQcidgN5SoYUEOngN6bPrn7dTpuvSNWyPpg6+nZvQvvBs8zXd1VJY/kB8FbDWLfpE+1zyZDBag==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iYhIlCl6eGGuPPnHij9g846r6osgmUlQ755pLhVWkjmP9mG7lB/EEgzG1GNdwb/dtDUimhtFbl93QLvxfOYl1K8Ie4TPvGYxQP5vJjr8hAaKqXAIkXH7pYnmfOjeBi4wii7vxFKrbPIvr7WsXuNgV6jcigL7Wn9zOV7mDeMKx9sBapERu18kH7WhiN2+aGygpgfDBVi4Ft3V+fqzFRBcCyW3GKD771I/+VtOzRjck56VCu7rPlLeBjQgWJOJmY++aABAKyq3zDSCeezF8kRz5jxtVDX7CaJG0hcDvdYksQhoJdD8vkZ7yIH/sgPXg3iJxevFwSH4BlFyolUHdE01WA==
- Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: Nick Rosbrook <rosbrookn@xxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxx>
- Delivery-date: Wed, 26 Aug 2020 10:34:04 +0000
- Ironport-sdr: SZDpoTIgCkOmZjaNz5GT51EDAIICfUs8ThTf4eDJ8QKgnRAYTgMEw9I/L6nwQW2k6NXaTY77iw BUQn/NGKFz8r14+FPq5YBBJBIDkBMm81ywqLu5x6mLN1SruRYgWCTlr79OtPuG5IMSpr1Ut+Uj RFCM3exU1b0yQKSTAWHUBsV3Gi+5TcyURClsQFCjDaH1iXmVGFxUjT73SYVhcEnSYFldGw4Hqk 3gkG3W13/fhiqRV8Cb017a9a9tPhstCd8i/zBc56Tn/wEOFbw7348XUarpnP0Wh5Vjo78DvU9c 47A=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHWaW0Cnjv2J5dpD0iO4FcEWA2no6kn31uAgAAShQCAAAIpAIAABZqAgAAA3oCAAADsgIAAAV+AgAALJACAHzPlgIAAHe+AgAEqsYCAAEAOAIABYVSAgAAwEYA=
- Thread-topic: [PATCH] libxl: avoid golang building without CONFIG_GOLANG=y
> On Aug 26, 2020, at 8:41 AM, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
> On 25.08.2020 12:37, George Dunlap wrote:
>> As an explanation, there are a combination of things. You proposed A (remove
>> the dependency), Ian proposed B (use move-if-changed), but we’re hoping to
>> do C (have an external tree) before the next release. I haven’t had the
>> time to look into either B or C (nor, unfortunately, to review Nick’s
>> submissions to other parts of the code — sorry Nick!); but I’ve still been
>> reluctant to go for A.
>>
>> I think basically, unless someone is ready to tackle B or C immediately, we
>> should just check in Jan’s fix (or probably better, just revert the patch
>> that introduced the dependency). It will be annoying to have to potentially
>> fix up the generated golang bindings, but that puts the incentives in the
>> right place.
>
> One additional aspect to consider is that I ran into the issue actually
> in a 4.14 tree (because it just so happened that the timestamps of the
> involved files were "right" for the problem to be hit), i.e. whatever
> we decide to do will also end up needing backporting. To me this looks
> to make A less attractive.
I don’t understand why? If it’s a regression in 4.14 functionality, we have to
backport something to fix it one way or another.
If we were going to leave the functionality the way it is, it might make sense
to make it so that the dependency was triggered only on staging/master; the
goal, after all, was to make sure that the generated files were updated when
libxl_types.idl was updated during development.
BTW, one way to prevent this from happening would be to add a version of the
build to the Gitlab CI loop which would build out-of-tree and fail in a similar
manner. If there had been such a test, this change would have been reverted
immediately.
-George
|