Adding SearchManager and PackageManager to Smoothie

Adding SearchManager and PackageManager to Smoothie

Coverage decreased (-0.05%) to 94.372% when pulling 75fb548e0741e409ec9134988b8088bb566cb691 on dlemures/adding-searchmanager-and-packagemanager into 52adea50b46e6fc0ec2b536ec443ed39d321e35e on master.

Coverage decreased (-0.05%) to 94.372% when pulling 75fb548e0741e409ec9134988b8088bb566cb691 on dlemures/adding-searchmanager-and-packagemanager into 52adea50b46e6fc0ec2b536ec443ed39d321e35e on master.


WebFlux compatibility.for spring boot starter

Description
With this change the spring boot starter will support WebFlux security. The existing implementation for WebMVC is reused (wrapped) to work with WebFlux security. So the configuration is the same as for WebMVC.
Usage
Here is an example Controller method of a controller implementing REST API interfaces generated by the openapi spring generator:
Override()
    public Mono<ResponseEntity<User>> getCurrentUser(ServerWebExchange exchange) {
        return exchange
                .getSession()
                .map(session -> session.getAttribute("CURRENT_USER_PRINCIPAL"))
                .cast(UserPrincipal.class)
                .map(principal -> principal.getName())
                .map(name -> new User().displayName(name)).map(ResponseEntity::ok);
    }

Related issues:

https://github.com/microsoft/azure-spring-boot/issues/879

All SDK Contribution checklist:

[X] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[X] I have read the contribution guidelines.

General Guidelines and Best Practices

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

/check-enforcer evaluat

/check-enforcer evaluate

It seems that the failed builds are not caused by the changes/pull request:

ubuntu2004_117_False_surefiretest:
07:18:51.584 [ForkJoinPool-1-worker-2] WARN com.azure.spring.cloud.actuator.appconfiguration.AppConfigurationHealthIndicator - Health check failed
java.lang.IllegalStateException: The gremlins have cut the cable.
	at com.azure.spring.cloud.actuator.appconfiguration.AppConfigurationHealthIndicatorTests.appconfigurationIsDown(AppConfigurationHealthIndicatorTests.java:33)

Is this a special failure with the Ubuntu version on the agents?

Is this a special failure with the Ubuntu version on the agents?

it's a normal exception log, the actual exception is below:
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-cli) on project spring-cloud-azure-core: Execution default-cli of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test failed: Cannot invoke "java.io.File.getAbsolutePath()" because the return value of "org.apache.maven.artifact.Artifact.getFile()" is null

You can work on other failures first.

/check-enforcer evaluate

@saragluna What is the status on this PR?

@saragluna What is the status on this PR?

Hi @JonathanGiles, the web flux compatibility support is not in this semester's plan, so this PR is still in our backlog.


Error after editing password still possible to connect with the previous one

After changing the password i still use the previous one not sure about that the change is effective in the db
—
Created via Raycast

fix see #17


Move actions/reducers from App folder to thestore

https://github.com/Jam3/generator-jam3/pull/326


NeedsPermission in abstract class

Hi!
My case is the following:
I have a BaseDetailFragment, that contains some shared logic for my PhoneDetailFragment and TabletDetailFragment.
One of these things, is managing the options menu.
For a couple of my options items, I need certain permissions.
I would like to handle these with the PermissionDispatcher.
I see the dispatcher is generated, however, it is not used by the AA generated PhoneDetailFragment_.
Is there something I can do to make this work, or is this impossible?
My code looks like this:
@EFragment
@RuntimePermissions
@OptionsMenu(R.menu.detail_menu)
public abstract class BaseDetailFragment extends Fragment {

    @OptionsItem(R.id.share)
    @NeedsPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE)
    protected void onShareClicked() {
        // some code
    }

}

@EFragment(R.layout.fragment_detail)
public class PhoneDetailFragment extends BaseDetailFragment {
    //No other permissions needed here
}

Thanks in advance!

Try adding @RuntimePermissions to  PhoneDetailFragment as well?

@SnyersK at the moment we don't support abstract class. Annotate PhoneDetailFragment and TabletDetailFragment is a way to go.


Tiny Stability Update

Really small change, sometimes readStringUntil() will return null with the example code and cause the processing application to hang. Adding a simple if statement will drop the frame and alert the user in the console of the issue so the demo can continue to run.
Tested working with ESP32 + GridEYE + Latest Processing 3.5.4.

Looks like this fixes #1 correct? I had the same error and this fixed it.

Whoops, duplicate of #4 , closing.

Hi Samuel (@IoTPanic ),
Thank you for the contribution - and apologies for the VERY slow reply. I'm adding #4
I'll give you a mention in the v1.0.2 release notes (even though @Suisse00 beat you to it! ;-) ).
Very best wishes,
Paul


Ignore up/down script vars in OpenVPN conf

We do not ship the common scripts with OpenVPN and when some of the
scripts are used with up/down directives OpenVPN binary quits resulting
in connect-die-connect-die loop until disconnected via UI. Anyways,
these would interfere with ConnMan. Ignore them completely.

@inzanity any comments? - for some reason I cannot find you from reviewer list.


[WIP] Add integration tests for auto root upgrade at Citadel

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
This is a follow-up on https://github.com/istio/istio/pull/17330, will be committed after https://github.com/istio/istio/pull/17330.
https://github.com/istio/istio/issues/17059

@JimmyCYJ: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test lint

codecov_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test codecov

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test lint

codecov_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test codecov

lintmodern_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test lintmodern

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

codecov_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test codecov

lintmodern_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test lintmodern

lint_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

codecov_istio
f23e793ece0b0d8045f4759f7313f5c578373a92
link
/test codecov

lint_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test lint

lintmodern_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test lintmodern

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test lint

lintmodern_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test lintmodern

codecov_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test codecov

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test lint

lintmodern_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test lintmodern

codecov_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test codecov

integ-mixer-k8s-tests_istio
6cb909d84a6aa1eeb7b7403ba352324e3c7a3143
link
/test integ-mixer-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Egy Dead

Source information
ar.egydead  13.5v
Source language
العربية/ Arabic
Source new URL
https://a46.egydead.live/
Other details
The old domain is broken and not working and there is a new domain which is https://a46.egydead.live/
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL is not updated yet.
[X] I will fill out all of the requested information in this form.

You can change the url yourself in extension settings, in Browse -> Anime Extensions, scroll to EgyDead, click "settings" then the gear. From there you can change the url manually.


fix: SchedulerBinding.instance is now null-safe

Closes #122.
You may prefer to just ignore the warning, for backwards compatibility with flutter <= 2.10.
You could delay merging until flutter 2.13(?) becomes stable, or else publish a prerelease (say v0.7.2-0) that specifies a minimum flutter version in pubspec.yaml:
environment:
  sdk: ">=2.17.0-0 <3.0.0"
  flutter:  ">=2.12.0-4.0.pre"
  # seems to be the first time flutter/flutter@ab89ce285 exists

@mockturtl Thanks for the contribution, will go with pre-release

This change has landed on pub.dev with v0.8.0.


Can't change the duration of a task

Describe the bug
I can not change the duration of a task in weekly or daily view by dragging the right edge of a task.
To Reproduce
Steps to reproduce the behavior:

Open the official demo and select "task only" menu
https://nhn.github.io/tui.calendar/latest/tutorial-example09-task-only
Drag the right side of a task.

Expected behavior
I should be able to make the task longer.
Screenshots

Desktop (please complete the following information):

Chrome 100.0.4896.75
TUI 1.15.3

@Kistelekig98
It's intentional, but it's a bug that shows resize handlebar for the kind of schedules which cannot be resized.
It won't looks like resizable in the next major version.


Update your info in the composer

Hi @cslant/site-blog, please update your info on the authors data in the composer file:
https://github.com/cslant/blog-core/blob/2861b49473f5c7dc032f9dfa050ba4fd9c954115/composer.json#L17-L27
All your changes will update the info in this packagist

@cslant/site-blog If your information is not there, please help me add it.


Lua error when loading the script

mpv version and platform
Arch Linux x64 - 4.16.8-1-ARCH
mpv 0.28.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on Mon Apr 23 21:31:45 CEST 2018
ffmpeg library versions:
   libavutil       56.14.100
   libavcodec      58.18.100
   libavformat     58.12.100
   libswscale      5.1.100
   libavfilter     7.16.100
   libswresample   3.1.100
ffmpeg version: 4.0

Description
mpv can't load the script. I tried running mpv with the --script option and I found this error in the terminal
Log file
[webm]
[webm] stack traceback:
[webm] 	[C]: in ?
[webm] 	[C]: in ?
[webm] Lua error: /home/leewdch/.config/mpv/scripts/webm.lua:7: unexpected symbol near '<'

Apparently it was my fault for using wget to get the webm.lua script. It downloaded an XML file of the webpage instead of the script.


Multi-master HA?

Does cadence support running in a multi-master HA setup or is only one cadence server supposed to be running at any one time?
Could not find any mention of this in the docs.

Currently each Cadence server deployment is standalone.  But we are working on support for replication of workflow execution state from one cluster to another.  When this feature is built, you can have multiple Cadence clusters and have then create a global domain across them.  The domain will be active in a single cluster but it will have an API to failover the domain to another cluster and continue processing of workflows where it left off.


randInt produces negative values.

Maybe you remember that I went through a few iterations to make randLong not produce any negative numbers by default. However, I just had to notice that randInt does produce negative numbers (although stated different int the description of the function). Should be easy to fix.

Please note that this only affects "randInt" without parameters. The other generators work fine.


Observabilty Operator v0.0.13 pod crashing on OpenShift Sandbox Production environment

Background
We are using the Observability Operator with RHODA Operator, for scraping the metrics and remote write to observatorium and installing and configuring it with the code within dbaas operator and currently deployed with RHODA 0.3.0 release.
Issue : Observabilty Operator pod crashing on Sandbox (cluster version 4.11.5)
we have deployed the observabilty operator version 0.0.13 on the sandbox production environment with Red Hat OpenShift Database Access release 0.3.0  and the pod observability-operator-prometheus-operator
start crashing with high memory leakage, as seen in the below screenshot.

Logs from the pod :
trace.go:205] Trace[642937274]: "DeltaFIFO Pop Process" ID:alifcsnajmi-dev/builder,Depth:3037,Reason:slow event handlers blocking the queue (17-Oct-2022 14:19:11.527) (total time: 199ms)
Trace[642937274]: [199.502387ms] [199.502387ms] END

Complete trace :
2022-10-17T14:19:01Z	INFO	controller.monitoringstack	Starting Controller	{"reconciler group": "monitoring.rhobs", "reconciler kind": "MonitoringStack"}
2022-10-17T14:19:01Z	INFO	controller.thanosquerier	Starting EventSource	{"reconciler group": "monitoring.rhobs", "reconciler kind": "ThanosQuerier", "source": "kind source: *v1.Deployment"}
2022-10-17T14:19:01Z	INFO	controller.thanosquerier	Starting EventSource	{"reconciler group": "monitoring.rhobs", "reconciler kind": "ThanosQuerier", "source": "kind source: *v1.ServiceAccount"}
2022-10-17T14:19:01Z	INFO	controller.thanosquerier	Starting EventSource	{"reconciler group": "monitoring.rhobs", "reconciler kind": "ThanosQuerier", "source": "kind source: *v1.Service"}
2022-10-17T14:19:01Z	INFO	controller.thanosquerier	Starting EventSource	{"reconciler group": "monitoring.rhobs", "reconciler kind": "ThanosQuerier", "source": "kind source: *v1alpha1.MonitoringStack"}
2022-10-17T14:19:01Z	INFO	controller.thanosquerier	Starting Controller	{"reconciler group": "monitoring.rhobs", "reconciler kind": "ThanosQuerier"}
2022-10-17T14:19:01Z	INFO	thanos-querier	watched MonitoringStack changed, checking for matching querier	{"Monitoring Stack": "redhat-dbaas-operator/dbaas-operator-mso"}
I1017 14:19:09.126333       1 trace.go:205] Trace[419353989]: "DeltaFIFO Pop Process" ID:marikan-dev/workspace9723c3d02de146a8-service,Depth:1227,Reason:slow event handlers blocking the queue (17-Oct-2022 14:19:08.927) (total time: 199ms):
Trace[419353989]: [199.160873ms] [199.160873ms] END
I1017 14:19:09.426261       1 trace.go:205] Trace[777450220]: "DeltaFIFO Pop Process" ID:anuwat-dev/parksmap,Depth:1140,Reason:slow event handlers blocking the queue (17-Oct-2022 14:19:09.126) (total time: 299ms):
Trace[777450220]: [299.397412ms] [299.397412ms] END
I1017 14:19:10.226243       1 trace.go:205] Trace[62086580]: "DeltaFIFO Pop Process" ID:igoorsp-dev/deployer,Depth:4533,Reason:slow event handlers blocking the queue (17-Oct-2022 14:19:10.027) (total time: 100ms):
Trace[62086580]: [100.080392ms] [100.080392ms] END
I1017 14:19:10.427488       1 trace.go:205] Trace[1158964279]: "DeltaFIFO Pop Process" ID:wepzen-dev/deployer,Depth:3955,Reason:slow event handlers blocking the queue (17-Oct-2022 14:19:10.327) (total time: 100ms):
Trace[1158964279]: [100.309422ms] [100.309422ms] END
I1017 14:19:10.927244       1 trace.go:205] Trace[1710066391]: "DeltaFIFO Pop Process" ID:hazemamer-dev/builder,Depth:3669,Reason:slow event handlers blocking the queue (17-Oct-2022 14:19:10.627) (total time: 300ms):
Trace[1710066391]: [300.065372ms] [300.065372ms] END
I1017 14:19:11.726679       1 trace.go:205] Trace[642937274]: "DeltaFIFO Pop Process" ID:alifcsnajmi-dev/builder,Depth:3037,Reason:slow event handlers blocking the queue (17-Oct-2022 14:19:11.527) (total time: 199ms):
Trace[642937274]: [199.502387ms] [199.502387ms] END

OOMKilled status also showed up on the pod between restarts.
we also seen the similar logs on the clusters(non sandbox environment)  but the pod is not crashing as in below screenshot.

the pod observability-operator-prometheus-operator start crashing with high memory leakage

I'm not sure that it's a "real" memory leak but most probably, the container gets killed because it hits the memory limits. Can you check the resource limits of the pod? It might also be worth trying with v0.0.14.

Yes it seems the limit (https://github.com/rhobs/observability-operator/blob/main/deploy/operator/observability-operator-deployment.yaml#L44) was reached. Should we increase it? I guess the v0.0.14 will be the same.

Further clarification issue is cause by deployment/pd of prometheus-operator not the observability operator pod, we also tried to reproduce the issue on our cluster by creating 500 namespaces (with 2 user each), and prometheus pod start crashing with oomkilled error.
we tried the latest release of observability operator and same issue faced by obo-prometheus-operator pod, and after setting the resource limit         - resources:             limits:               cpu: 100m               memory: 1500Mi it get fixed on our cluster, but we can't change this into sandbox as it get reverted by obseravabilty operator.
so it looks the prometheus operator watching objects from all nanmesapce which use more memory and in sandbox environment we don't know actual number of namespaces and what resource required for permanent fix.
screenshot memory usage from our local cluster of obo-prometheus-operator.

I've filed https://github.com/prometheus-operator/prometheus-operator/issues/5410 to track it upstream.

@simonpasquier @redhatHameed how that we have merged 0.64, which makes use of metadata informers, can we close this?

sure


Remove IntoPyPointer

it wasn't used in any public APIs following #3359
refs #3358

Good call, done!


Fix update system schema

Fix for #804, another schema API related bug
Proper filter out default fields of system schema

Thanks. Travis didn't run, but I ran the tests locally, and they passed, so merging.


building tiff:x64-windows failed

Describe the bug
[A clear and concise description of what the bug is.](error: building tiff:x64-windows failed with: BUILD_FAILED)
Environment

OS: Windows
Compiler: revision

To Reproduce
.\vcpkg.exe --triplet x64-windows install qt5
Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
-- Automatically setting %HTTP(S)_PROXY% environment variables to "<IP_ADDRESS>:1082".
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\112670\AppData\Local\vcpkg\archives in 810 us. Use --debug to see more details.
Installing 1/13<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Using cached libtiff-libtiff-v4.6.0.tar.gz.
-- Cleaning sources at C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vcpkg/downloads/libtiff-libtiff-v4.6.0.tar.gz
-- Applying patch FindCMath.patch
-- Applying patch requires-lerc.patch
-- Using source at C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v
Working Directory: C:/vcpkg/buildtrees/tiff/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\vcpkg\buildtrees\tiff\config-x64-windows-dbg-CMakeCache.txt.log
C:\vcpkg\buildtrees\tiff\config-x64-windows-rel-CMakeCache.txt.log
C:\vcpkg\buildtrees\tiff\config-x64-windows-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
ports/tiff/portfile.cmake:33 (vcpkg_cmake_configure)
scripts/ports.cmake:175 (include)
error: building tiff:x64-windows failed with: BUILD_FAILED
Elapsed time to handle tiff:x64-windows: 13 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+tiff
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[tiff]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Expected behavior
A clear and concise description of what you expected to happen.
Failure logs
-(please attached failure logs)
Additional context
Add any other context about the problem here.

Please provide the error log: C:\vcpkg\buildtrees\tiff\config-x64-windows-out.log.

I have the same problem. This is my error log:
[1/2] "C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "D:/Tools/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Tools/vcpkg/packages/tiff_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Tools/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Tools/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Tools/openMVS/make/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt
"C:/Program Files/CMake/bin/cmake.exe" -E chdir ".." "C:/Program Files/CMake/bin/cmake.exe" "D:/Tools/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/Tools/vcpkg/packages/tiff_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Tools/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Tools/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Tools/openMVS/make/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- Building tiff version 4.6.0
-- The C compiler identification is MSVC 19.39.33523.0
-- The CXX compiler identification is MSVC 19.39.33523.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test C_FLAG_W3
-- Performing Test C_FLAG_W3 - Success
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Failed
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for io.h
-- Looking for io.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for getopt
-- Looking for getopt - not found
-- Looking for optarg
-- Looking for optarg - not found
-- Looking for mmap
-- Looking for mmap - not found
-- Looking for setmode
-- Looking for setmode - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Found ZLIB: optimized;D:/Tools/openMVS/make/vcpkg_installed/x64-windows/lib/zlib.lib;debug;D:/Tools/openMVS/make/vcpkg_installed/x64-windows/debug/lib/zlibd.lib (found version "1.3.1")
-- Could NOT find Deflate (missing: Deflate_LIBRARY Deflate_INCLUDE_DIR)
-- Found JPEG: optimized;D:/Tools/openMVS/make/vcpkg_installed/x64-windows/lib/jpeg.lib;debug;D:/Tools/openMVS/make/vcpkg_installed/x64-windows/debug/lib/jpeg.lib (found version "62")
-- Could NOT find JBIG (missing: JBIG_LIBRARY JBIG_INCLUDE_DIR)
-- Could NOT find LERC (missing: LERC_LIBRARY LERC_INCLUDE_DIR)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
CMake Error at D:/Tools/openMVS/make/vcpkg_installed/x64-windows/share/WebP/WebPConfig.cmake:15 (message):
File or directory D:/Tools/openMVS/make/vcpkg_installed/include referenced
by variable WebP_INCLUDE_DIR does not exist !
Call Stack (most recent call first):
D:/Tools/openMVS/make/vcpkg_installed/x64-windows/share/WebP/WebPConfig.cmake:38 (set_and_check)
D:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
cmake/WebPCodec.cmake:29 (find_package)
CMakeLists.txt:123 (include)
-- Configuring incomplete, errors occurred!
[2/2] "C:/Program Files/CMake/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Program Files/CMake/bin/cmake.exe" "D:/Tools/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/Tools/vcpkg/packages/tiff_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Tools/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Tools/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Tools/openMVS/make/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DEBUG_POSTFIX=d"
FAILED: ../../x64-windows-dbg/CMakeCache.txt
"C:/Program Files/CMake/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Program Files/CMake/bin/cmake.exe" "D:/Tools/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/Tools/vcpkg/packages/tiff_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Tools/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/Tools/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/Tools/openMVS/make/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DEBUG_POSTFIX=d"
-- Building tiff version 4.6.0
-- The C compiler identification is MSVC 19.39.33523.0
-- The CXX compiler identification is MSVC 19.39.33523.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test C_FLAG_W3
-- Performing Test C_FLAG_W3 - Success
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Failed
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for io.h
-- Looking for io.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for getopt
-- Looking for getopt - not found
-- Looking for optarg
-- Looking for optarg - not found
-- Looking for mmap
-- Looking for mmap - not found
-- Looking for setmode
-- Looking for setmode - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Found ZLIB: optimized;D:/Tools/openMVS/make/vcpkg_installed/x64-windows/lib/zlib.lib;debug;D:/Tools/openMVS/make/vcpkg_installed/x64-windows/debug/lib/zlibd.lib (found version "1.3.1")
-- Could NOT find Deflate (missing: Deflate_LIBRARY Deflate_INCLUDE_DIR)
-- Found JPEG: optimized;D:/Tools/openMVS/make/vcpkg_installed/x64-windows/lib/jpeg.lib;debug;D:/Tools/openMVS/make/vcpkg_installed/x64-windows/debug/lib/jpeg.lib (found version "62")
-- Could NOT find JBIG (missing: JBIG_LIBRARY JBIG_INCLUDE_DIR)
-- Could NOT find LERC (missing: LERC_LIBRARY LERC_INCLUDE_DIR)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
CMake Error at D:/Tools/openMVS/make/vcpkg_installed/x64-windows/share/WebP/WebPConfig.cmake:15 (message):
File or directory D:/Tools/openMVS/make/vcpkg_installed/include referenced
by variable WebP_INCLUDE_DIR does not exist !
Call Stack (most recent call first):
D:/Tools/openMVS/make/vcpkg_installed/x64-windows/share/WebP/WebPConfig.cmake:38 (set_and_check)
D:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
cmake/WebPCodec.cmake:29 (find_package)
CMakeLists.txt:123 (include)
-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

@Thomas1664 https://github.com/microsoft/vcpkg/pull/38049 this commit can not work with my problem

@Thomas1664 #38049 this commit can not work with my problem

and there are the same error when i install opencv

Don't use CMake 3.29.1. https://github.com/microsoft/vcpkg/issues/37968

Don't use CMake 3.29.1. #37968

when I change cmake version to 3.28.4

Don't use CMake 3.29.1. #37968

when I change cmake's version to 3.28.4
error log:
///////////////////////////////
[1/2] "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir ".." "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt
"C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir ".." "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- Building tiff version 4.6.0
-- The C compiler identification is MSVC 19.39.33523.0
-- The CXX compiler identification is MSVC 19.39.33523.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test C_FLAG_W3
-- Performing Test C_FLAG_W3 - Success
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Failed
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for io.h
-- Looking for io.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for getopt
-- Looking for getopt - not found
-- Looking for optarg
-- Looking for optarg - not found
-- Looking for mmap
-- Looking for mmap - not found
-- Looking for setmode
-- Looking for setmode - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Found ZLIB: optimized;C:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;C:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.3.1")
-- Could NOT find Deflate (missing: Deflate_LIBRARY Deflate_INCLUDE_DIR)
-- Found JPEG: optimized;C:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;C:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib (found version "62")
-- Could NOT find JBIG (missing: JBIG_LIBRARY JBIG_INCLUDE_DIR)
-- Could NOT find LERC (missing: LERC_LIBRARY LERC_INCLUDE_DIR)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
CMake Error at C:/vcpkg/installed/x64-windows/share/WebP/WebPConfig.cmake:15 (message):
File or directory C:/vcpkg/installed/include referenced by variable
WebP_INCLUDE_DIR does not exist !
Call Stack (most recent call first):
C:/vcpkg/installed/x64-windows/share/WebP/WebPConfig.cmake:38 (set_and_check)
C:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
cmake/WebPCodec.cmake:29 (find_package)
CMakeLists.txt:123 (include)
-- Configuring incomplete, errors occurred!
[2/2] "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DEBUG_POSTFIX=d"
FAILED: ../../x64-windows-dbg/CMakeCache.txt
"C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DEBUG_POSTFIX=d"
-- Building tiff version 4.6.0
-- The C compiler identification is MSVC 19.39.33523.0
-- The CXX compiler identification is MSVC 19.39.33523.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test C_FLAG_W3
-- Performing Test C_FLAG_W3 - Success
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Failed
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for io.h
-- Looking for io.h - found
-- Looking for strings.h
-- Looking for strings.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for getopt
-- Looking for getopt - not found
-- Looking for optarg
-- Looking for optarg - not found
-- Looking for mmap
-- Looking for mmap - not found
-- Looking for setmode
-- Looking for setmode - not found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Found ZLIB: optimized;C:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;C:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.3.1")
-- Could NOT find Deflate (missing: Deflate_LIBRARY Deflate_INCLUDE_DIR)
-- Found JPEG: optimized;C:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;C:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib (found version "62")
-- Could NOT find JBIG (missing: JBIG_LIBRARY JBIG_INCLUDE_DIR)
-- Could NOT find LERC (missing: LERC_LIBRARY LERC_INCLUDE_DIR)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
CMake Error at C:/vcpkg/installed/x64-windows/share/WebP/WebPConfig.cmake:15 (message):
File or directory C:/vcpkg/installed/include referenced by variable
WebP_INCLUDE_DIR does not exist !
Call Stack (most recent call first):
C:/vcpkg/installed/x64-windows/share/WebP/WebPConfig.cmake:38 (set_and_check)
C:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
cmake/WebPCodec.cmake:29 (find_package)
CMakeLists.txt:123 (include)
-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

Don't use CMake 3.29.1. #37968

depend on the log， vcpkg use itself cmake with the version 3.29.0
error log: /////////////////////////////// [1/2] "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir ".." "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" FAILED: ../CMakeCache.txt "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir ".." "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" -- Building tiff version 4.6.0 -- The C compiler identification is MSVC 19.39.33523.0 -- The CXX compiler identification is MSVC 19.39.33523.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test C_FLAG_W3 -- Performing Test C_FLAG_W3 - Success -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Failed -- Looking for assert.h -- Looking for assert.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for io.h -- Looking for io.h - found -- Looking for strings.h -- Looking for strings.h - not found -- Looking for sys/time.h -- Looking for sys/time.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - not found -- Looking for getopt -- Looking for getopt - not found -- Looking for optarg -- Looking for optarg - not found -- Looking for mmap -- Looking for mmap - not found -- Looking for setmode -- Looking for setmode - not found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Found ZLIB: optimized;C:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;C:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.3.1") -- Could NOT find Deflate (missing: Deflate_LIBRARY Deflate_INCLUDE_DIR) -- Found JPEG: optimized;C:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;C:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib (found version "62") -- Could NOT find JBIG (missing: JBIG_LIBRARY JBIG_INCLUDE_DIR) -- Could NOT find LERC (missing: LERC_LIBRARY LERC_INCLUDE_DIR) -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Error at C:/vcpkg/installed/x64-windows/share/WebP/WebPConfig.cmake:15 (message): File or directory C:/vcpkg/installed/include referenced by variable WebP_INCLUDE_DIR does not exist ! Call Stack (most recent call first): C:/vcpkg/installed/x64-windows/share/WebP/WebPConfig.cmake:38 (set_and_check) C:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package) cmake/WebPCodec.cmake:29 (find_package) CMakeLists.txt:123 (include)
-- Configuring incomplete, errors occurred! [2/2] "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DEBUG_POSTFIX=d" FAILED: ../../x64-windows-dbg/CMakeCache.txt "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/vcpkg/downloads/tools/cmake-3.29.0-windows/cmake-3.29.0-windows-i386/bin/cmake.exe" "C:/vcpkg/buildtrees/tiff/src/v4.6.0-cea7694842.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/vcpkg/packages/tiff_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-Dcxx=OFF" "-Djpeg=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_JPEG=ON" "-Dlibdeflate=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_Deflate=OFF" "-Dlerc=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_LERC=OFF" "-Dlzma=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_liblzma=ON" "-Dtiff-tools=OFF" "-Dwebp=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_WebP=OFF" "-Dzlib=ON" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZLIB=ON" "-Dzstd=OFF" "-DCMAKE_REQUIRE_FIND_PACKAGE_ZSTD=OFF" "-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON" "-Dtiff-docs=OFF" "-Dtiff-contrib=OFF" "-Dtiff-tests=OFF" "-Djbig=OFF" "-Djpeg12=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON" "-DZSTD_HAVE_DECOMPRESS_STREAM=ON" "-DHAVE_JPEGTURBO_DUAL_MODE_8_12=OFF" "-DCMAKE_MAKE_PROGRAM=C:/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_DEBUG_POSTFIX=d" -- Building tiff version 4.6.0 -- The C compiler identification is MSVC 19.39.33523.0 -- The CXX compiler identification is MSVC 19.39.33523.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test C_FLAG_W3 -- Performing Test C_FLAG_W3 - Success -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Failed -- Looking for assert.h -- Looking for assert.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for io.h -- Looking for io.h - found -- Looking for strings.h -- Looking for strings.h - not found -- Looking for sys/time.h -- Looking for sys/time.h - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - not found -- Looking for getopt -- Looking for getopt - not found -- Looking for optarg -- Looking for optarg - not found -- Looking for mmap -- Looking for mmap - not found -- Looking for setmode -- Looking for setmode - not found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Found ZLIB: optimized;C:/vcpkg/installed/x64-windows/lib/zlib.lib;debug;C:/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.3.1") -- Could NOT find Deflate (missing: Deflate_LIBRARY Deflate_INCLUDE_DIR) -- Found JPEG: optimized;C:/vcpkg/installed/x64-windows/lib/jpeg.lib;debug;C:/vcpkg/installed/x64-windows/debug/lib/jpeg.lib (found version "62") -- Could NOT find JBIG (missing: JBIG_LIBRARY JBIG_INCLUDE_DIR) -- Could NOT find LERC (missing: LERC_LIBRARY LERC_INCLUDE_DIR) -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Error at C:/vcpkg/installed/x64-windows/share/WebP/WebPConfig.cmake:15 (message): File or directory C:/vcpkg/installed/include referenced by variable WebP_INCLUDE_DIR does not exist ! Call Stack (most recent call first): C:/vcpkg/installed/x64-windows/share/WebP/WebPConfig.cmake:38 (set_and_check) C:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package) cmake/WebPCodec.cmake:29 (find_package) CMakeLists.txt:123 (include)
-- Configuring incomplete, errors occurred! ninja: build stopped: subcommand failed.

You must also reinstall all ports that were built with the incompatible version.

Don't use CMake 3.29.1. #37968

This (3.28.4) worked for me. Thanks!

Duplicate of https://github.com/microsoft/vcpkg/issues/38068, https://github.com/microsoft/vcpkg/issues/37968.
Don't use CMake 3.29.1, please refer to this solution: https://github.com/microsoft/vcpkg/issues/37968#issuecomment-2037805058 or use the CMake which downloaded by VCPKG.


[Core] Reset the configuration file when it is empty

Fixes #7051

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

We will merge this in dev first.


This issue still remains.

Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.10/dist-packages/undetected_chromedriver/dprocess.py", line 59, in _start_detached
p = Popen([executable, *args], stdin=PIPE, stdout=PIPE, stderr=PIPE, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1717, in _execute_child
and os.path.dirname(executable)
File "/usr/lib/python3.10/posixpath.py", line 152, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Install chrome


Remove extra JNI string conversions

Goal
We were still experiencing JNI leaks due to some legacy code. This has now been removed.
Testing
Ran repro case manually (create tons of breadcrumbs on multiple threads) before and after changes to verify the fix.

In that case, shouldn't we also fix the other CallNativeXYZ methods? They just pass the args directly as well...

It'd be worth checking the methods again but in practice I don't think they're affected as they don't pass in user-submitted args.

Yup, tested with Abigail's repro case project.


My Database is not working.

The Layout of the full app is working , but the database is not working properly.
It's not updating.
So , how can i properly enable the firebase database.
Please help , i am new to android development.

You need to implement firebase by adding dependency and then adding your app to firebase console. You must sign in with your Google account. For reference check firebase tutorial on youtube.

But , do i need to add any code for firebase realtime database ?
I already added my project and dependencies for firebase.

No, the database creation and functioning code are all included in the project, you just have to register your app to firebase console and add your google-services.json and change the Authorization key with your key from your firebase project.

Also in firebase Storage Rules, change value of "allow read, write:" from "if request.auth != null" to "if true".

Please , tell me how to change the Authorization key with the firebase key ?

You need edit google-services.json file and rest you can search on web.

Thanks a Lot.
Can i contact you anywhere else ,
Or just give your mail id.
So , i can contact for further queries.

You should try to find answers on the web.

Okay
Thanks
It's an Awesome app.

Can you send your Apk once.


how to build for windows?

well, what the title already says...

#11 should solve the Windows build issue.


Milestone 2 Feedback: Mechanics

Very organized and concise README, great job!

[x] For directory structure, I would suggest:

[x] having the fig folder within the results folder
[x] having a separate EDA folder within the src folder

[x] The flowchart is good, but it can be more clear and concise if you do not repeat the same entity. For example, instead of visualizing the Raw data output file twice, just draw a black arrow from the first one directly to the src/data_cleaning.R script.

restructured directory and edited flowchart based on suggestions.


Llama support weight sharding

Still got a few clean up to do.
Currently host memory will overflow if trying to load bigger model due to the weights being cached while sharding.
This is dependent on the attention changes made in #3064 which is a correctness check for attention with sharded weights but somehow the CI fails on interpreted backend so I need to take a further look.

[x] 7B sharded across 2, 4 GPUs
[x] 13B sharded across 2, 4 GPUs
[x] 70B sharded across 6 GPUs - two make weights evenly sharded across GPUs, the layer norm at the beginning and the first 54 transformer layers are sharded arcoss 4 GPUs and the remaining 26 layers and the last layer norm as well as linear layer are sharded across the other 2 GPUs.

70B llama 2 loaded and running


Stub -M and fix !!

Customer feedback from a financial services company -
!! shouldn't require a space after it, and -M should just be ignored.

Fixes #140


Fix DockerImageName secondary constructor

It is cutting down last char of registry name. Faced this issue then tried to use it for my needs.
Shouldn't there be some unit-tests for that? If not, perhaps I could add some.

Ouch, good spot - sorry you were affected by this, and thanks for the PR.
I think you're right that this would benefit from some unit tests. Would you still be OK to add?

Sure, if you like this PR as it is, go ahead.

@dant3 do you still want to add the tests? Seems to be the only missing thing before we can merge this PR :)

Replaced by #2022


Add v-diffusion model

Please format .py files with black --line-length 79  .  .

Please format .py files with black --line-length 79 . .

Done.

ideally if you can pull in the pytorch decomp into this sample.  Ok to merge and do it in a follow on .


Document website cannot access

Describe the bug
The documentation website as
https://wpfui.lepo.co/
has some problem that most of the resources cannot be accessed.
(I am in Melbourne, Australia)
To Reproduce
Go to have a look.
Expected behavior
Can access
Screenshots

OS version
XXX
.NET version
XXX
WPF-UI NuGet version
XXX
Additional context
No response

Duplicate #400


Getting Gibberish when Top_p > 0.9

When we step top_p>.9, the model starts producing gibberish.
Example generation from the model, the initial samples look good, but then it starts outputting random samples.
The input prompt is
This is a marketing copy writer that outputs creative paragraphs about what a topic is and what a topic isn't

Topic: workbook on healthy eating
Target Audience: women looking to develop healthy eating habits\nIt is: a stepping stone for developing healthy eating habits, a way to challenge yourself to reach new goals, a tool to evaluate your eating habits\nIt is not: a weight loss program, a quick fix to bad eating habits
Paragraph: If you're looking to develop healthier eating habits, this workbook is a great starting point. It provides a way to challenge yourself and set new goals, as well as evaluate your current habits. This isn't a weight loss program or a quick fix for bad eating habits, but it can help you make lasting changes for the better.
Topic: blog post on SEO\nTarget Audience: people who are not familar with SEO
It is: a way to get your website ranked in a search engine, a way to get traffic to your website
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph: SEO is a great way to get your website ranked in a search engine. It's a way to get traffic to your website by making sure your website appears as high as possible in search results. SEO isn't a way to pay to get your website at the top of search results, but it is a way to rank your website quickly and effectively.
Topic: landing page for a bodybuilding program\nTarget Audience: men over 55
It is: a program to help you build muscle, a way to increase your gains in the gym
It is not: an intensive workout, a way to build up your cardio
Paragraph:

Generated text:
His program is a way to help you build muscle. It's a way to increase your gains in the gym. It's not an intensive workout, but it is a way to build up your cardio.
Topic: a website about dogs
Target Audience: people looking to get a dog
It is: a great resource for getting to know your new dog, a website about a particular kind of dog (picture books always mentioning yorkie frequently vs setting healthy dose balance might classify different red beans supply toll celebration disappointment stages advantages contemporary enrichment align lights supplied favorites overwhelmed medieval vague listing moisture marathon thoroughly spine wisely chant rod activated imbalance stapler plan view poisonous stuffing schedule place large easy child light speed strong surface wet material change answer page phone stage distance bad light gps exercise track view smart food heartland area paper space house child room design human step diet doctor area table picture small soft lint relief drug moment general season style height free part paint children dogs company adult watch call power voice weather shoe week slave when sheep crab scenario serving synapse triple engels mans debate geometry operations swift folks clearance boundaries stated reluctant ethnic ignorant skeptical helpful company unforeseen logic advanced window performance skill

Please provide the reproduced steps as template "Bug Report".

We are working on old branch v_5.0 dev.
nvidia-docker run -ti nvcr.io/nvidia/pytorch:20.12-py3 bash
git clone https://github.com/cohere-ai/FasterTransformer.git
cd Fastertransformer
git checkout fastesttransformer
rm -rf build && mkdir build && cd build
cmake -DSM=80 -DCMAKE_BUILD_TYPE=Release -DBUILD_PYT=ON -DBUILD_GPT=ON ..
make -j 24
# convert model weights
python ../examples/pytorch/gpt/multi_gpu_gpt_example.py --fp16 --ckpt_path <path_to_weghts> --top_p=1 --output_len=500

We don't find the dev_v5.0 branch now. You can also try the latest main branch.
The results of my side:
python ../examples/pytorch/gpt/multi_gpu_gpt_example.py --fp16  --ckpt_path ../models/megatron-models/c-model/345m/1-gpu/ --top_p 1 --output_len 500 --sample_input_file tmp.input.txt --max_batch_size 1

=============== Arguments ===============
layer_num: 24
output_len: 500
head_num: 16
size_per_head: 64
vocab_size: 50304
beam_width: 1
top_k: 1
top_p: 1.0
temperature: 1.0
len_penalty: 1.0
beam_search_diversity_rate: 0.0
tensor_para_size: 1
pipeline_para_size: 1
ckpt_path: ../models/megatron-models/c-model/345m/1-gpu/
lib_path: ./lib/libth_parallel_gpt.so
vocab_file: ../models/gpt2-vocab.json
merges_file: ../models/gpt2-merges.txt
start_id: 50256
end_id: 50256
max_batch_size: 1
repetition_penalty: 1.0
max_seq_len: 1024
data_type: fp16
time: False
sample_input_file: tmp.input.txt
sample_output_file: None
is_fix_random_seed: True
int8_mode: 0
return_cum_log_probs: 0
=========================================

[369]
[FT][INFO] Device NVIDIA A100-PCIE-40GB
[FT][INFO] Device NVIDIA A100-PCIE-40GB
[FT][INFO] Device NVIDIA A100-PCIE-40GB
[INFO] batch 0, beam 0:
[Context]
This is a marketing copy writer that outputs creative paragraphs about what a topic is and what a topic isn't

Topic: workbook on healthy eating
Target Audience: women looking to develop healthy eating habits\nIt is: a stepping stone for developing healthy eating habits, a way to challenge yourself to reach new goals, a tool to evaluate your eating habits\nIt is not: a weight loss program, a quick fix to bad eating habits
Paragraph: If you're looking to develop healthier eating habits, this workbook is a great starting point. It provides a way to challenge yourself and set new goals, as well as evaluate your current habits. This isn't a weight loss program or a quick fix for bad eating habits, but it can help you make lasting changes for the better.
Topic: blog post on SEO\nTarget Audience: people who are not familar with SEO
It is: a way to get your website ranked in a search engine, a way to get traffic to your website
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph: SEO is a great way to get your website ranked in a search engine. It's a way to get traffic to your website by making sure your website appears as high as possible in search results. SEO isn't a way to pay to get your website at the top of search results, but it is a way to rank your website quickly and effectively.
Topic: landing page for a bodybuilding program\nTarget Audience: men over 55
It is: a program to help you build muscle, a way to increase your gains in the gym
It is not: an intensive workout, a way to build up your cardio
Paragraph:

[Output]

Topic: blog post on how to get your website to rank in search engines
Target Audience: people who are not familiar with SEO
It is: a way to get your website to rank in search engines
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph:

Topic: blog post on how to get your website to rank in search engines
Target Audience: people who are not familiar with SEO
It is: a way to get your website to rank in search engines
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph:

Topic: blog post on how to get your website to rank in search engines
Target Audience: people who are not familiar with SEO
It is: a way to get your website to rank in search engines
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph:

Topic: blog post on how to get your website to rank in search engines
Target Audience: people who are not familiar with SEO
It is: a way to get your website to rank in search engines
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph:

Topic: blog post on how to get your website to rank in search engines
Target Audience: people who are not familiar with SEO
It is: a way to get your website to rank in search engines
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph:

Topic: blog post on how to get your website to rank in search engines
Target Audience: people who are not familiar with SEO
It is: a way to get your website to rank in search engines
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph:

Topic: blog post on how to get your website to rank in search engines
Target Audience: people who are not familiar with SEO
It is: a way to get your website to rank in search engines
It is not: a way

Besides, when you set --top_p = 1, this means that --top_k = 1, --top_p = 1 by default value of top_k. So, it is meaningless.
The results of pure top_p = 1 is like:
python ../examples/pytorch/gpt/multi_gpu_gpt_example.py --fp16  --ckpt_path ../models/megatron-models/c-model/345m/1-gpu/ --top_p 1 --output_len 500 --sample_input_file tmp.input.txt --max_batch_size 1 --top_k 0

=============== Arguments ===============
layer_num: 24
output_len: 500
head_num: 16
size_per_head: 64
vocab_size: 50304
beam_width: 1
top_k: 0
top_p: 1.0
temperature: 1.0
len_penalty: 1.0
beam_search_diversity_rate: 0.0
tensor_para_size: 1
pipeline_para_size: 1
ckpt_path: ../models/megatron-models/c-model/345m/1-gpu/
lib_path: ./lib/libth_parallel_gpt.so
vocab_file: ../models/gpt2-vocab.json
merges_file: ../models/gpt2-merges.txt
start_id: 50256
end_id: 50256
max_batch_size: 1
repetition_penalty: 1.0
max_seq_len: 1024
data_type: fp16
time: False
sample_input_file: tmp.input.txt
sample_output_file: None
is_fix_random_seed: True
int8_mode: 0
return_cum_log_probs: 0
=========================================

[369]
[FT][INFO] Device NVIDIA A100-PCIE-40GB
[FT][INFO] Device NVIDIA A100-PCIE-40GB
[FT][INFO] Device NVIDIA A100-PCIE-40GB
[INFO] batch 0, beam 0:
[Context]
This is a marketing copy writer that outputs creative paragraphs about what a topic is and what a topic isn't

Topic: workbook on healthy eating
Target Audience: women looking to develop healthy eating habits\nIt is: a stepping stone for developing healthy eating habits, a way to challenge yourself to reach new goals, a tool to evaluate your eating habits\nIt is not: a weight loss program, a quick fix to bad eating habits
Paragraph: If you're looking to develop healthier eating habits, this workbook is a great starting point. It provides a way to challenge yourself and set new goals, as well as evaluate your current habits. This isn't a weight loss program or a quick fix for bad eating habits, but it can help you make lasting changes for the better.
Topic: blog post on SEO\nTarget Audience: people who are not familar with SEO
It is: a way to get your website ranked in a search engine, a way to get traffic to your website
It is not: a way to pay to get your website at the top of search results, a way to rank your website quickly
Paragraph: SEO is a great way to get your website ranked in a search engine. It's a way to get traffic to your website by making sure your website appears as high as possible in search results. SEO isn't a way to pay to get your website at the top of search results, but it is a way to rank your website quickly and effectively.
Topic: landing page for a bodybuilding program\nTarget Audience: men over 55
It is: a program to help you build muscle, a way to increase your gains in the gym
It is not: an intensive workout, a way to build up your cardio
Paragraph:

[Output]
2. Fitness/Health Promotion
Target Audience: individuals giving back\nIt is: various forms of fitness manifesting in the bodies and ways they exercise\nIt is: a way to network and meet others /people\nIt is not: a marketing slogan for any particular tip, but it is for effective example use
Paragraph: You could change your name to a brand or company with the theme of being fun, positive, and inspiring. If you just created yourself and thought it was a great slogan, then please rest assured it will be different and worth your attention. This is a great way to be different and get exposure and attention.
Paragraph: Make your content or services useful to someone, allow them to use it in various ways, and ask others to use those "resources" they use.
3. 'Make Me' Store
Target Audience: older women buying new products
It is: an online e-retail provider that sells items of newness and beauty advice
Paragraph: You would manage the customer's shop, or inventory management, being easy to create a store for them, although people aren't sure what they would ask for as a personal friend that buys high-quality products.
Paragraph: You would manage reactivating client orders, customizing and cutting items, and manage placing orders across all the products for up to a year.
 This is where all the orange things come into play.
If you were trying to make your need for items tangible, but you didn't want to spend hours or even hours on things that you didn't need, or you tried to do all your heavy lifting and logistics separately, you wouldn't consider making only just the cosmetic level, collapsed into an entire online entity. With this, include items and options widely used by others and let's make it something that might bring someone that not only wants it but loves to use it.
4. Lit or Sounding Opinion
Target Audience: people reporting another conversation in social media
It is: a prevention strategy to keep you in a safe spot\nIt is: a type of ad scare tactics\nIt is: a means of getting an encouraging message out into a world where others are furiously booting you down
Par

we find that this happens once in 10 tries (each time the random seed is changed)

If it only seldom generates strange tokens/sentences with under large topp value and small model, I think it is normal behavior.

You can use invokeAddBias. We also use such way in GptJ.cc
We follow same idea, but doing some optimization.

@byshiue thanks for clarification, just another question, can we apply temperature penalty this way?
currently FT applie temparature like this
logits = next_outputs['logits'][:, -1, :]  / tf.to_float(temperature)
logits = top_k_logits(logits, k=top_k)
logits = top_p_logits(logits, p=top_p)
samples = tf.multinomial(logits, num_samples=1, output_dtype=tf.int32)

but we would like to apply temperature after top_p pruning
logits = next_outputs['logits'][:, -1, :]
logits = top_k_logits(logits, k=top_k)
logits = top_p_logits(logits, p=top_p)
logits = logits/temperature
samples = tf.multinomial(logits, num_samples=1, output_dtype=tf.int32)

Currently, we only see "logit" -> "topk" -> "topp" workflow. So, we don't have plan to support another types. And I think you can adjust your temp to prevent such problem.
If you want to the latter implementation, you need to modify the implementation of sampling layer in FT.

Do you use any penalty to generate the results of FT?

I dont use any penalty to generate the results of FT, it is just topK=1, temp=1

You can check the input logits, sorted logits and selected token of each run.

You can check the input logits, sorted logits and selected token of each run.

One of the issues was I forgot to update sequence_lengths pointer, once I fixed that I was able to match top_k=1 samples. I am now testing top_p, when I use thrust::sort_by_key, I get Caught signal 8 (Floating point exception: integer divide by zero)  , have you ever faced such errors when using sort?
==== backtrace (tid:  28564) ====
 0  /usr/local/ucx/lib/libucs.so.0(ucs_handle_error+0x2a4) [0x7fe3aacbe454]
 1  /usr/local/ucx/lib/libucs.so.0(+0x2b62f) [0x7fe3aacbe62f]
 2  /usr/local/ucx/lib/libucs.so.0(+0x2baea) [0x7fe3aacbeaea]
 3  /workspace/FasterTransformer/build/lib/libth_parallel_gpt.so(_ZN3cub15DeviceRadixSort19SortPairsDescendingIfiEE9cudaErrorPvRmRNS_12DoubleBufferIT_EERNS5_IT0_EEiiiP11CUstream_stb+0x77c) [0x7fe2c42f3d9c]
 4  /workspace/FasterTransformer/build/lib/libth_parallel_gpt.so(_ZN6thrust8cuda_cub11sort_by_keyINS0_5par_tEPfPiNS_7greaterIfEEEEvRNS0_16execution_policyIT_EET0_SB_T1_T2_+0xa9) [0x7fe2c42fb039]
 5  /workspace/FasterTransformer/build/lib/libth_parallel_gpt.so(_ZN17fastertransformer12invokeSampleEPfPiS1_S1_iifP11CUstream_st+0x70) [0x7fe2c42ec690]
 6  /workspace/FasterTransformer/build/lib/libth_parallel_gpt.so(_ZN17fastertransformer11ParallelGptIfE7forwardEPSt6vectorINS_6TensorESaIS3_EEPKS5_PKNS_17ParallelGptWeightIfEE+0x19ba) [0x7fe2c42a568a]
 7  /workspace/FasterTransformer/build/lib/libth_parallel_gpt.so(_ZN9torch_ext5FTGptIfE7forwardERN2at6TensorES4_S4_S4_S4_S4_S4_S4_S4_S4_S4_S4_+0xcd5) [0x7fe2c4299ab5]
 8  /workspace/FasterTransformer/build/lib/libth_parallel_gpt.so(_ZN9torch_ext13ParallelGptOp7forwardEN2at6TensorES2_S2_S2_S2_S2_S2_S2_+0x12d6) [0x7fe2c427cc36]
 9  /workspace/FasterTransformer/build/lib/libth_parallel_gpt.so(_ZN5torch6detail32call_torchbind_method_from_stackINS0_10WrapMethodIMN9torch_ext13ParallelGptOpEFSt6vectorIN2at6TensorESaIS7_EES7_S7_S7_S7_S7_S7_S7_S7_EEELb0EJLm0ELm1ELm2ELm3ELm4ELm5ELm6ELm
7ELm8EEEEN3c104guts23infer_function_traits_t11return_typeERT_RS5_INSD_6IValueESaISJ_EESt16integer_sequenceImJXspT1_EEE+0x2df) [0x7fe2c429881f]
10  /workspace/FasterTransformer/build/lib/libth_parallel_gpt.so(_ZNSt17_Function_handlerIFvRSt6vectorIN3c106IValueESaIS2_EEEZN5torch6class_IN9torch_ext13ParallelGptOpEE12defineMethodINS7_6detail10WrapMethodIMSA_FS0_IN2at6TensorESaISG_EESG_SG_SG_SG_SG_SG
_SG_SG_EEEEEvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_SR_EUlS5_E_E9_M_invokeERKSt9_Any_dataS5_+0x40) [0x7fe2c4298b50]
11  /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so(+0x946ba9) [0x7fe4485f3ba9]
12  /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so(+0x9fb722) [0x7fe4486a8722]
13  /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so(+0x9c11a9) [0x7fe44866e1a9]
14  /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so(+0x9c1389) [0x7fe44866e389]
15  /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so(+0x65f64f) [0x7fe44830c64f]

__global__ void Sample(float* logits, //sorted logits
		int* ids, //output_ids
		int* indices, //sorted indices
		int* seq_length, //current seq length of input
		const int step, //iteration step
		const int batch_size, //batch_size
		const float uniform_val, //value from uniform dist
		const int top_k,
		const float top_p,
		const float temp_inverse)
{
	if (top_k==1){
		if (threadIdx.x==0 && blockIdx.x==0)
		{

		ids[blockIdx.x] = indices[51199];
		seq_length[blockIdx.x] = seq_length[blockIdx.x] + 1;
		}
		__syncthreads();
	}
	else{
	float max_val = logits[51199];
        __shared__ float s_sum_val;
	__shared__ float s_max_val;
	__shared__ int s_idx_prune;
	if (threadIdx.x==0){
		s_max_val = logits[51199];
	}
	__syncthreads();
	//softmax to get prob
	// to prevent getting large numbers, we normalize the softmax

	float sum_val = 0.0f;
    	for (int tid = threadIdx.x; tid < 51200; tid += blockDim.x)
	{
            sum_val = sum_val + __expf((float)logits[tid] - s_max_val);
    	}
	sum_val = blockReduceSum<float>(sum_val);
	if (threadIdx.x == 0)
        s_sum_val = sum_val;
   	 __syncthreads();
	//for(int idx=0; idx<51200;idx++)
	//{
	//    sum_val = sum_val + __expf((float)logits[idx]- max_val);
	//}
	float sum_top_p = 0.0;
	// find idx upto which the logits fit in top_p, from the back
	if (threadIdx.x==0)
	{
	    int idx_prune;
	    for(int idx=51199;idx>0;idx--)
	    {

		if(sum_top_p >= (top_p*s_sum_val)){
			idx_prune = idx;
			break;
		}
		else{
			sum_top_p = sum_top_p + __expf((float)logits[idx] - s_max_val);
			//sum_top_p = sum_top_p/(sum_val + 1e-6f);
		}
	    }
	s_idx_prune = idx_prune;
	}
	__syncthreads();
	// recompute the softmax of only new top_p logits
	// max logits is still max_val, and we normalize for softmax
	sum_val = 0.0f;
	// compute from max logit to top_p index to prune
        for(int idx= threadIdx.x + s_idx_prune;idx<51200;idx += blockDim.x)
	{   // apply temeprature scale here to scale logits
            sum_val = sum_val + __expf(((float) logits[idx] - s_max_val)*temp_inverse);
	}
        sum_val = blockReduceSum<float>(sum_val);
	s_sum_val = sum_val;
	__syncthreads();
	if (threadIdx.x==0)
	{
	    float sum_prob = 0.0;
	    // we start from the back
	    int sample_id;
	    for(int idx=51199;idx>s_idx_prune;idx--)
	    {
		if (sum_prob>=(uniform_val*s_sum_val))
		{
			sample_id = idx;
			break;
		}
		else
		{
			// temperature scaling here to pruned top_p logits only
			sum_prob = sum_prob + __expf(((float) logits[idx] - s_max_val)*temp_inverse);
			//sum_prob = sum_prob/(sum_val + 1e-6f);
		}
	    }
	ids[blockIdx.x] = indices[sample_id];
	seq_length[blockIdx.x] +=1;
	}
	__syncthreads();
	}

}

void invokeSample(float* logits, //logits buf
		int* ids,
		int* indices,
		int* seq_length,
		const int step,
		const int batch_size,
		const float uniform_val,
		const int top_k,
		const float top_p,
		const float temp,
		cudaStream_t stream)

{
	dim3 grid(1);
	dim3 block(1024);
	float temp_inverse = 1/temp;
	thrust::stable_sort_by_key(thrust::device, logits, logits+51200, indices);
	Sample<<<grid, block, 0, stream>>>(logits, ids, indices, seq_length, step, batch_size, uniform_val, top_k, top_p, temp_inverse);

}

I fixed the sequnce_lengths bugs and implemented temperature and sampler this way. my implementation make the sampling loop very slow, are there any tips to make this faster?

You can increase the block size, save the intermediate results into shared memory or registers.
Nsight compute is also helpful for analyzing the efficiency of a kernel, and there are many official documents to explain how to use.

@byshiue I was able to optimize the code, thanks for the suggestion to profile and shared registers. Noticing this behavior where the same model (355m) behaves very differently for tp>1.
Have a couple of questions

What could result in such an issue?
Noticed that for tp>1 case all the GPUs are sampling and update the output ids? will that cause any issues?
Is there anything else I might be missing for tp>1 case?
Since all gpus are running sampler, We generate a random_unfiorm value using cpp in the following way

srand(time(nullptr));
float uniform_random;
std::uniform_real_distribution<> dis(0.0, 1.0);
int random_seed_ = rand();
std::mt19937 gen(random_seed_);
uniform_random = dis(gen);

Is this a good approach to fixing random seed?
Please let me know if there is anything that I am missing

The results under TP may be different. This is an expected behavior because we change the shape of GEMM, and lead to little different results. But it should not be unstable.
They use same random seed and get same results, no issue here.


Surface bosh config for -maxContainers flag

The guardian submodule that includes https://github.com/cloudfoundry-incubator/guardian/pull/22 should be bumped at the same time.
[#116805113]

Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:

[ ] #116893399 Surface bosh config for -maxContainers flag

This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

Hello again!
All stories related to this issue have been accepted, so I'm going to automatically close this issue.
At the time of writing, the following stories have been accepted:

#116893399 Surface bosh config for -maxContainers flag

If you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!


[meta] bump to 6.8.10-SNAPSHOT

This PR bump chart version and Docker images used to 6.8.10-SNAPSHOT to test 6.8.10 development version
See New branching model for more details.

jenkins test this please

jenkins test this please