[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFH] xrootd



Hi Nilesh,

On Mon, Feb 22, 2021 at 06:35:31PM +0530, Nilesh Patra wrote:
> I noticed that xrootd has a satisfiability problem on python3-sphinx. As I
> moved this to B-D-I, the cross-satisfiability problem with add it's B-D
> seems to vanish, which looks like a good change.

Your patch looks goot to me.

> However, the cross-build now fails with weird errors, and I am not sure of
> the way to move forward with it.

The essence of the failure is this:
| CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
|    HAVE_ATOMICS_EXITCODE (advanced)
|    HAVE_ATOMICS_EXITCODE__TRYRUN_OUTPUT (advanced)
| For details see /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/TryRunResults.cmake
| -- Performing Test HAVE_ATOMICS - Failed

It uses the TRY_RUN function, which cannot work during cross builds.
This is an unsolved problem as of yet. Your best bet is getting rid of
the check one way or another. A number of checks can be changed to
TRY_COMPILE or TRY_LINK, but sometimes you're out of luck.

Can you maybe just submit the sphinx part and move on? Over time, we'll
spot patterns and maybe learn to fix these. Until then, we should
continue fixing those issues that we do understand well.

Helmut


Reply to: