Closed kuelumbus closed 1 year ago
@kuelumbus Did you use manifest mode of VCPKG? Could you please provide your vcpkg.json?
I believe vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../../include/pixman-1 must be vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/pixman-1.
I think so, the path of pixman-1's include is incorrect.
I am using the manifest mode. The content of the vcpkg.json is
{
"name": "project",
"version": "1.1.0",
"dependencies": [
"cairo"
]
}
I think this has something to do with cmake. Cairo compiles with cmake@3.21.1 but fails for cmake@3.22.1.
Can you please provide file _VCPKG_ROOT/packages/pixmanx64-linux/debug/lib/pkgconfig/pixman-1.pc?
Thanks.
Please see colab to repo this (this includes the pixman-1.pc file)
@kuelumbus Is your vcpkg latest? Does this issue still exist now? If yes, please provide _VCPKGROOT/buildtrees/pixman/x64-linux-rel/meson-private/pixman-1.pc
Yes. Please see the colab to repo this issue consistently.
@kuelumbus The ci log only contains the pkgconfig file which was fixed, I need the origin one in buildtrees.
That's the output. You can run the colab yourself and output the necessary files you need.
prefix=/content/vcpkg/packages/pixman_x64-linux
libdir=${prefix}/lib
includedir=${prefix}/include
Name: Pixman
Description: The pixman library (version 1)
Version: 0.40.0
Libs: -L${libdir} -lpixman-1 -lm -pthread
Cflags: -I${includedir}/pixman-1 -pthread
Does this issue still exist? Can you please git pull then try again?
Thanks.
I have the same issue when building for bionic (ubuntu 16, same version as issue author). It appears that all .pc files (in this case release, but also debug) have prefix=${pcfiledir}/../../.. instead of prefix=${pcfiledir}/../.. which results in it not finding any files it needs. Simple solution which worked for me is to remove the last /.. in every .pc file whenever the build fails.
@kuelumbus Now the latest version of cairo
is 1.17.6#4, and I can't reproduce this issue locally. I try to use your repro https://colab.research.google.com/drive/1O4bG-FvXpTmGUaWxG-rcMilNUP7l7ZiJ?usp=sharing to reproduce this issue, but it still install old version 1.17.4#3 of cairo
.
Could you use command git pull
and ./bootstrap-vcpkg.sh
to update vcpkg or use latest vcpkg to build your project? If this issue still exist, please ping me.
Thanks for posting this issue. Please reopen this issue if this is still a problem for you.
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install cairo:x64-linux
I believe
vcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../../include/pixman-1
must bevcpkg_installed/x64-linux/debug/lib/pkgconfig/../../../include/pixman-1
.Full log
``` 2021-12-18T16:02:09.5982702Z Found online and idle hosted runner in the current repository's organization account that matches the required labels: 'ubuntu-18.04' 2021-12-18T16:02:09.6891451Z Waiting for a Hosted runner in the 'organization' to pick this job... 2021-12-18T16:02:09.8517873Z Job is waiting for a hosted runner to come online. 2021-12-18T16:02:13.6793516Z Job is about to start running on the hosted runner: GitHub Actions 2 (hosted) 2021-12-18T16:02:17.8104316Z Current runner version: '2.285.1' 2021-12-18T16:02:17.8145904Z ##[group]Operating System 2021-12-18T16:02:17.8146979Z Ubuntu 2021-12-18T16:02:17.8147522Z 18.04.6 2021-12-18T16:02:17.8148036Z LTS 2021-12-18T16:02:17.8148599Z ##[endgroup] 2021-12-18T16:02:17.8149225Z ##[group]Virtual Environment 2021-12-18T16:02:17.8149985Z Environment: ubuntu-18.04 2021-12-18T16:02:17.8150590Z Version: 20211212.1 2021-12-18T16:02:17.8151783Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20211212.1/images/linux/Ubuntu1804-README.md 2021-12-18T16:02:17.8153342Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F20211212.1 2021-12-18T16:02:17.8155811Z ##[endgroup] 2021-12-18T16:02:17.8160475Z ##[group]Virtual Environment Provisioner 2021-12-18T16:02:17.8161270Z 1.0.0.0-main-20211208-1 2021-12-18T16:02:17.8161895Z ##[endgroup] 2021-12-18T16:02:17.8164598Z ##[group]GITHUB_TOKEN Permissions 2021-12-18T16:02:17.8166287Z Actions: write 2021-12-18T16:02:17.8167010Z Checks: write 2021-12-18T16:02:17.8167726Z Contents: write 2021-12-18T16:02:17.8168338Z Deployments: write 2021-12-18T16:02:17.8169149Z Discussions: write 2021-12-18T16:02:17.8169699Z Issues: write 2021-12-18T16:02:17.8170421Z Metadata: read 2021-12-18T16:02:17.8171203Z Packages: write 2021-12-18T16:02:17.8171706Z Pages: write 2021-12-18T16:02:17.8172281Z PullRequests: write 2021-12-18T16:02:17.8172917Z RepositoryProjects: write 2021-12-18T16:02:17.8173606Z SecurityEvents: write 2021-12-18T16:02:17.8174180Z Statuses: write 2021-12-18T16:02:17.8174904Z ##[endgroup] 2021-12-18T16:02:17.8178874Z Secret source: Actions 2021-12-18T16:02:17.8180338Z Prepare workflow directory 2021-12-18T16:02:17.9318624Z Prepare all required actions 2021-12-18T16:02:17.9331451Z Getting action download info 2021-12-18T16:02:18.1218816Z Download action repository 'actions/checkout@v2' (SHA:ec3a7ce113134d7a93b817d10a8272cb61118579) 2021-12-18T16:02:20.2521919Z Download action repository 'actions/setup-python@v2' (SHA:f38219332975fe8f9c04cca981d674bf22aea1d3) 2021-12-18T16:02:20.4782796Z Download action repository 'lukka/run-vcpkg@v10' (SHA:bb27723262e870aba9571e9d0cda00701b1a9137) 2021-12-18T16:02:20.7797131Z Download action repository 'pypa/cibuildwheel@v2.3.0' (SHA:f717468ff60fbd2ee76b6327596d078ad0ec13d5) 2021-12-18T16:02:21.0366728Z Download action repository 'luchihoratiu/debug-via-ssh@main' (SHA:1b5d201fff2ece1e977d1d0bb219b38bdd2c7cb0) 2021-12-18T16:02:22.4569215Z ##[group]Run actions/checkout@v2 2021-12-18T16:02:22.4570496Z with: 2021-12-18T16:02:22.4570935Z submodules: true 2021-12-18T16:02:22.4571497Z repository: pppp/project 2021-12-18T16:02:22.4572568Z token: *** 2021-12-18T16:02:22.4572995Z ssh-strict: true 2021-12-18T16:02:22.4573515Z persist-credentials: true 2021-12-18T16:02:22.4574023Z clean: true 2021-12-18T16:02:22.4574430Z fetch-depth: 1 2021-12-18T16:02:22.4574840Z lfs: false 2021-12-18T16:02:22.4575187Z env: 2021-12-18T16:02:22.4575640Z VCPKG_DEFAULT_TRIPLET: x64-linux 2021-12-18T16:02:22.4576130Z ##[endgroup] 2021-12-18T16:02:22.7880350Z Syncing repository: pppp/project 2021-12-18T16:02:22.7882315Z ##[group]Getting Git version info 2021-12-18T16:02:22.7883932Z Working directory is '/home/runner/work/project/project' 2021-12-18T16:02:22.7910412Z [command]/usr/bin/git version 2021-12-18T16:02:22.8117488Z git version 2.34.1 2021-12-18T16:02:22.8128770Z ##[endgroup] 2021-12-18T16:02:22.8137578Z Deleting the contents of '/home/runner/work/project/project' 2021-12-18T16:02:22.8142955Z ##[group]Initializing the repository 2021-12-18T16:02:22.8147360Z [command]/usr/bin/git init /home/runner/work/project/project 2021-12-18T16:02:22.8268137Z hint: Using 'master' as the name for the initial branch. This default branch name 2021-12-18T16:02:22.8269967Z hint: is subject to change. To configure the initial branch name to use in all 2021-12-18T16:02:22.8271170Z hint: of your new repositories, which will suppress this warning, call: 2021-12-18T16:02:22.8272434Z hint: 2021-12-18T16:02:22.8274223Z hint: git config --global init.defaultBranch