Skip to content

Appveyor CI is broken #1596

Open
Open
@dbwiddis

Description

@dbwiddis

Provide complete information about the problem

  1. Version of JNA and related jars: master branch
  2. Version and vendor of the java virtual machine: AppVeyor runner
  3. Operating system: Windows
  4. System architecture (CPU type, bitness of the JVM): All configured types
  5. Complete description of the problem

Appveyor builds have not been working since Dec 10, 2022. Current error on startup is

msbuild "C:\projects\jna-gsxuq\native\libffi\msvc_build\aarch64\Ffi_staticLib.sln" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Microsoft (R) Build Engine version 14.0.2[5](https://ci.appveyor.com/project/dblock/jna-gsxuq/builds/45643112#L5)420.1
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x8[6](https://ci.appveyor.com/project/dblock/jna-gsxuq/builds/45643112#L6))\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(31,3): error MSB4019: The imported project "C:\Program Files (x[8](https://ci.appveyor.com/project/dblock/jna-gsxuq/builds/45643112#L8)6)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\ARM64\PlatformToolsets\v140\Toolset.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [C:\projects\jna-gsxuq\native\libffi\msvc_build\aarch64\Ffi_staticLib.vcxproj]

I don't have a Windows environment to test/debug, but I suspect the Appveyor conviguration is using VS Build 2015 or 2019, when the new runners are using VS Build 2022, so the V140 is now V170 (among other changes). This SO Post might be relevant.

This is likely an easy "update to latest version" fix for someone with a Windows machine.

  1. Steps to reproduce

See https://ci.appveyor.com/project/dblock/jna-gsxuq/history

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions