Skip to content

[vcpkg-cmake-config] Check for unguarded release lib paths#21415

Draft
dg0yt wants to merge 12 commits intomicrosoft:masterfrom
dg0yt:cmake-config-debug
Draft

[vcpkg-cmake-config] Check for unguarded release lib paths#21415
dg0yt wants to merge 12 commits intomicrosoft:masterfrom
dg0yt:cmake-config-debug

Conversation

@dg0yt
Copy link
Copy Markdown
Contributor

@dg0yt dg0yt commented Nov 14, 2021

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Nov 14, 2021

I expected some false positives, but it looks like there are only real issues. x64-linux:

aws-sdk-cpp/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
aws-sdk-cpp/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:pthread>;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libcurl.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libcurl-d.a>;\$<LINK_ONLY:dl>;\$<LINK_ONLY:-lpthread>;\$<LINK_ONLY:OpenSSL::SSL>;\$<LINK_ONLY:OpenSSL::Crypto>;\$<LINK_ONLY:ZLIB::ZLIB>;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libssl.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libcrypto.a;\$<LINK_ONLY:-lpthread>;\$<LINK_ONLY:dl>;\$<LINK_ONLY:dl>;\$<LINK_ONLY:-lpthread>;/mnt/vcpkg-ci/installed/x64-linux/lib/libz.a;AWS::aws-crt-cpp"
crossguid/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
crossguid/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libuuid.a"
freealut/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
freealut/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libopenal.a;m"
freetype/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
freetype/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:ZLIB::ZLIB>;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libbz2.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libbz2d.a>;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libpng.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a>;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libz.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a>;\$<LINK_ONLY:m>;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libbrotlidec-static.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libbrotlicommon-static.a"
hdf5/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
hdf5/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>;\$<LINK_ONLY:dl>;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libz.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a>;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libszip.a;\$<LINK_ONLY:\$<\$<BOOL:OFF>:>>;\$<\$<NOT:\$<PLATFORM_ID:Windows>>:dl>;\$<LINK_ONLY:\$<\$<BOOL:OFF>:Threads::Threads>>"
lapack-reference/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
lapack-reference/stdout-x64-linux.log:     set(LAPACK_blas_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libopenblas.a;-lpthread")
leptonica/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
leptonica/stdout-x64-linux.log:       INTERFACE_INCLUDE_DIRECTORIES "/mnt/vcpkg-ci/installed/x64-linux/include;/mnt/vcpkg-ci/installed/x64-linux/include;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/pkgconfig/../../include;/mnt/vcpkg-ci/installed/x64-linux/include;/mnt/vcpkg-ci/installed/x64-linux/include;/mnt/vcpkg-ci/installed/x64-linux/include;/mnt/vcpkg-ci/installed/x64-linux/include;/mnt/vcpkg-ci/installed/x64-linux/include"
libavif/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
libavif/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libaom.a;-L/mnt/vcpkg-ci/installed/x64-linux/lib/pkgconfig/../../lib;\$<LINK_ONLY:-laom>;\$<LINK_ONLY:-lm>;\$<LINK_ONLY:-lpthread>;\$<LINK_ONLY:m>;\$<LINK_ONLY:Threads::Threads>;/mnt/vcpkg-ci/installed/x64-linux/lib/libyuv.a"
libdatachannel/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
libdatachannel/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:Threads::Threads>;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libusrsctp.a;\$<LINK_ONLY:OpenSSL::SSL>;\$<LINK_ONLY:LibJuice::LibJuice>"
libdjinterop/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
libdjinterop/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libz.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a>;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libsqlite3.a"
libevent/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
libevent/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "-lpthread;libevent::core;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libssl.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libcrypto.a;-lpthread;dl;dl;-lpthread"
libftdi1/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
libftdi1/stdout-x64-linux.log:     set ( LIBFTDI_LIBRARIES    "ftdi1;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libusb-1.0.a" )
libheif/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
libheif/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/liblibde265.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libx265.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libaom.a"
libssh/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
libssh/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:rt>;[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libmbedcrypto.a;-Wl,--version-script,\"/mnt/vcpkg-ci/buildtrees/libssh/src/b6ec41911d-067f95b6bb.clean/src/libssh.map\""
libwebsockets/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
libwebsockets/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libssl.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libcrypto.a;-lpthread;dl;dl;-lpthread;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libz.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a>;/mnt/vcpkg-ci/installed/x64-linux/lib/liblibuv.a"
log4cxx/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
log4cxx/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libaprutil-1.a;\$<LINK_ONLY:expat::expat>;/mnt/vcpkg-ci/installed/x64-linux/lib/libapr-1.a;\$<LINK_ONLY:pthread>"
minizip-ng/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
minizip-ng/stdout-x64-linux.log:       INTERFACE_LINK_DIRECTORIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/pkgconfig/../../lib;/mnt/vcpkg-ci/installed/x64-linux/lib/pkgconfig/../../lib"
open62541/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
open62541/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libssl.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libcrypto.a;-lpthread;dl;dl;-lpthread;m;pthread;rt"
realsense2/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
realsense2/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libusb-1.0.a"
simage/stdout-x64-linux.log:  Unguarded release path /lib/ path at [>>>]:
simage/stdout-x64-linux.log:       INTERFACE_LINK_LIBRARIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/libgif.a;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libjpeg.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libjpeg.a>;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libpng.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libpng16d.a>;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libz.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a>;\$<LINK_ONLY:m>;\$<LINK_ONLY:m>;/mnt/vcpkg-ci/installed/x64-linux/lib/libsndfile.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libFLAC.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libvorbis.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libvorbisfile.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libvorbisenc.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libogg.a;/mnt/vcpkg-ci/installed/x64-linux/lib/libopus.a;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libtiff.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libtiffd.a>;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/liblzma.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/liblzmad.a>;/mnt/vcpkg-ci/installed/x64-linux/lib/libzstd.a;\$<\$<NOT:\$<CONFIG:DEBUG>>:/mnt/vcpkg-ci/installed/x64-linux/lib/libz.a>;\$<\$<CONFIG:DEBUG>:/mnt/vcpkg-ci/installed/x64-linux/debug/lib/libz.a>;/mnt/vcpkg-ci/installed/x64-linux/lib/libgif.a"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The loop needs to avoid matching immediately again at the start of unprocessed. That's why the first character is changed into a : for string(FIND ...).

@JackBoosY JackBoosY added the category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly label Nov 15, 2021
@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Nov 15, 2021

Windows (x64-windows):

freealut/stdout-x64-windows.log:  Unguarded release path /lib/ path at [>>>]:
freealut/stdout-x64-windows.log:       INTERFACE_LINK_LIBRARIES "[>>>]D:/installed/x64-windows/lib/OpenAL32.lib"
lapack-reference/stdout-x64-windows.log:  Unguarded release path /lib/ path at [>>>]:
lapack-reference/stdout-x64-windows.log:     set(LAPACK_blas_LIBRARIES "[>>>]D:/installed/x64-windows/lib/openblas.lib")
leptonica/stdout-x64-windows.log:  Unguarded release path /lib/ path at [>>>]:
leptonica/stdout-x64-windows.log:       INTERFACE_LINK_LIBRARIES "[>>>]D:/installed/x64-windows/lib/gif.lib;\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/jpeg.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/jpeg.lib>;\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/libpng16.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/libpng16d.lib>;\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/zlib.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/zlibd.lib>;\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/tiff.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/tiffd.lib>;WebP::webp;WebP::libwebpmux;\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/zlib.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/zlibd.lib>"
libdjinterop/stdout-x64-windows.log:  Unguarded release path /lib/ path at [>>>]:
libdjinterop/stdout-x64-windows.log:       INTERFACE_LINK_LIBRARIES "\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/zlib.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/zlibd.lib>;[>>>]D:/installed/x64-windows/lib/sqlite3.lib"
libftdi1/stdout-x64-windows.log:  Unguarded release path /lib/ path at [>>>]:
libftdi1/stdout-x64-windows.log:     set ( LIBFTDI_LIBRARIES    "ftdi1;[>>>]D:/installed/x64-windows/lib/libusb-1.0.lib" )
libwebsockets/stdout-x64-windows.log:  Unguarded release path /lib/ path at [>>>]:
libwebsockets/stdout-x64-windows.log:       INTERFACE_LINK_LIBRARIES "[>>>]D:/installed/x64-windows/lib/libssl.lib;D:/installed/x64-windows/lib/libcrypto.lib;\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/pthreadVC3.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/pthreadVC3d.lib>;\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/pthreadVC3.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/pthreadVC3d.lib>;ws2_32.lib;userenv.lib;psapi.lib;iphlpapi.lib;crypt32.lib;\$<\$<NOT:\$<CONFIG:DEBUG>>:D:/installed/x64-windows/lib/zlib.lib>;\$<\$<CONFIG:DEBUG>:D:/installed/x64-windows/debug/lib/zlibd.lib>;D:/installed/x64-windows/lib/libuv.lib"
open62541/stdout-x64-windows.log:  Unguarded release path /lib/ path at [>>>]:
open62541/stdout-x64-windows.log:       INTERFACE_LINK_LIBRARIES "[>>>]D:/installed/x64-windows/lib/libssl.lib;D:/installed/x64-windows/lib/libcrypto.lib;ws2_32;iphlpapi"
opencascade/stdout-x64-windows.log:  Unguarded release path /lib/ path at [>>>]:
opencascade/stdout-x64-windows.log:       INTERFACE_LINK_LIBRARIES "TKernel;TKMath;user32.lib;advapi32.lib;advapi32.lib;user32.lib;windowscodecs;[>>>]D:/installed/x64-windows/lib/freetype.lib;winmm.lib"

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Nov 15, 2021

Maybe it should be merged with VCPKG_CMAKE_CONFIG_NO_LIB_PATH_CHECK initially enabled if unset. So the check would be warning immediately. Later we can remove the initial VCPKG_CMAKE_CONFIG_NO_LIB_PATH_CHECK setting.

@dg0yt dg0yt mentioned this pull request Nov 15, 2021
@Neumann-A
Copy link
Copy Markdown
Contributor

I surprised that only so few cases of wrong INTERFACE_LINK_LIBRARIES exists.

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Nov 15, 2021

I surprised that only so few cases of wrong INTERFACE_LINK_LIBRARIES exists.

  • The check is only in vcpg-cmake-config at this point. Ports using the old config fixup are not covered.
  • Optional features are not covered.
  • As far as the problem occurs in a target's property,
    • it is not found (but may have effects) in ports which consume the target,
    • depending ports are skipped in CI ("cascade").

Suggestion:

  • Extend to legacy fixup.
  • Turn the errors into warning unless building in editable mode (making the PR mergeable)
  • Collect the warnings from all ports during CI, and create AZP/GH warning(s).

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Nov 15, 2021

One frequent pattern:
The openssl wrapper doesn't properly setup release+debug in ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY}.

@dg0yt dg0yt force-pushed the cmake-config-debug branch from bb6b021 to ac336ca Compare November 16, 2021 07:32
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

Error: Local changes detected for vcpkg-cmake-config but no changes to version or port version.
-- Version: 2021-11-01
-- Old SHA: 38a87ee8edd9ea8e8fff604fbcb785661a8d0e28
-- New SHA: a6843efe960d364ed93093c77e12501391fae93b
-- Did you remember to update the version or port version?
-- Pass `--overwrite-version` to bypass this check.
***No files were updated.***

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Nov 16, 2021

  • Extend to legacy fixup.
  • Turn the errors into warning unless building in editable mode (making the PR mergeable)
  • Collect the warnings from all ports during CI, and create AZP/GH warning(s).

Implemented. This change now rebuilds the world, installing app. ~1310 ports on x64-windows.

@JackBoosY
Copy link
Copy Markdown
Contributor

Any progress in this PR? I'd like this.

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Nov 24, 2021

I was hesitating to remove draft state while it is not ready for merge. But is ready for review.

@dg0yt dg0yt marked this pull request as ready for review November 24, 2021 09:44
@JackBoosY JackBoosY added the requires:vcpkg-team-review This PR or issue requires someone on the vcpkg team to take a further look. label Nov 24, 2021
@JackBoosY
Copy link
Copy Markdown
Contributor

Okay, I need some professional advice.

@JackBoosY
Copy link
Copy Markdown
Contributor

Can you please merge to master?

@dg0yt dg0yt force-pushed the cmake-config-debug branch from d2e1ed9 to b5ae95b Compare December 27, 2021 10:46
@JackBoosY JackBoosY assigned LilyWangLL and unassigned JackBoosY Oct 10, 2022
@LilyWangLL
Copy link
Copy Markdown
Contributor

Ping @dg0yt for response. Is work still being done for this PR?

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Oct 10, 2022

"to leave as draft", #21415 (comment)

@autoantwort
Copy link
Copy Markdown
Contributor

This check only works when there are absolute path in the cmake config file?

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Oct 10, 2022

This check only works when there are absolute path in the cmake config file?

Yes, absolute paths in the main config file.

For another approach cf. scripts/test_ports/cmake-user/project/CMakeLists.txt.

@dg0yt dg0yt dismissed stale reviews from JackBoosY and github-actions[bot] via 9ce6f6e December 31, 2022 06:40
github-actions[bot]
github-actions bot previously approved these changes Dec 31, 2022
@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Jan 1, 2023

I surprised that only so few cases of wrong INTERFACE_LINK_LIBRARIES exists.

One year later: 242 hits in 33 packages for x64-windows.
I didn't properly merge the master changes in my first attempt. But there are still enough hits left.

Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout f9bea5d58186dc14e7e33132e43b52222147f51e -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 397044c0..d43b4e19 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -7853,8 +7853,8 @@
       "port-version": 0
     },
     "vcpkg-cmake-config": {
-      "baseline": "2022-02-06",
-      "port-version": 1
+      "baseline": "2022-12-31",
+      "port-version": 0
     },
     "vcpkg-cmake-get-vars": {
       "baseline": "2022-09-04",
diff --git a/versions/v-/vcpkg-cmake-config.json b/versions/v-/vcpkg-cmake-config.json
index a354d873..2064c064 100644
--- a/versions/v-/vcpkg-cmake-config.json
+++ b/versions/v-/vcpkg-cmake-config.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "3456971f1876003de633b1fcf4a3a5daa33c6eab",
+      "version-date": "2022-12-31",
+      "port-version": 0
+    },
     {
       "git-tree": "8d54cc4f487d51b655abec5f9c9c3f86ca83311f",
       "version-date": "2022-02-06",

@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Jan 3, 2023

False positives:

  • \$<\$<NOT:\$<CONFIG:DEBUG>>:-L[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/pkgconfig/../../lib>
    (libavif:x64-windows)
  • INTERFACE_INCLUDE_DIRECTORIES "[>>>]/mnt/vcpkg-ci/installed/x64-linux/lib/pkgconfig/../../include;${_IMPORT_PREFIX}/include"
    (wolfmgtt:x64-windows)

@dg0yt dg0yt force-pushed the cmake-config-debug branch from aae6c35 to f5c2945 Compare January 3, 2023 07:54
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

After committing all other changes, the version database must be updated
git add -u && git commit
git checkout f9bea5d58186dc14e7e33132e43b52222147f51e -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index c3592cab..e3190405 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -7853,8 +7853,8 @@
       "port-version": 0
     },
     "vcpkg-cmake-config": {
-      "baseline": "2022-02-06",
-      "port-version": 1
+      "baseline": "2022-12-31",
+      "port-version": 0
     },
     "vcpkg-cmake-get-vars": {
       "baseline": "2022-09-04",
diff --git a/versions/v-/vcpkg-cmake-config.json b/versions/v-/vcpkg-cmake-config.json
index a354d873..4ca41337 100644
--- a/versions/v-/vcpkg-cmake-config.json
+++ b/versions/v-/vcpkg-cmake-config.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "e341da67a840d7cb4d82d0bbbd8d1b15ea52d88f",
+      "version-date": "2022-12-31",
+      "port-version": 0
+    },
     {
       "git-tree": "8d54cc4f487d51b655abec5f9c9c3f86ca83311f",
       "version-date": "2022-02-06",

@BillyONeal
Copy link
Copy Markdown
Member

Closing this PR as there has not been activity in over 4 months. Please feel free to reopen it, or another PR, should you wish to continue this.

@BillyONeal BillyONeal closed this Jun 20, 2024
@dg0yt
Copy link
Copy Markdown
Contributor Author

dg0yt commented Jun 20, 2024

Please feel free to reopen it

Unprivileged contributors cannot reopen their own PRs here.

@BillyONeal BillyONeal reopened this Jun 29, 2024
@vicroms vicroms added the no-stale Issue will not be marked as stale label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:infrastructure Pertaining to the CI/Testing infrastrucutre category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly no-stale Issue will not be marked as stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants