Skip to content

IPDB was not found , Buiding package failed.Why? #13124

@fingerecho

Description

@fingerecho

Describe the bug
IPDB was not found , Buiding package failed.
Environment

  • OS: Windows10
  • Compiler: Visual Studio 2019

To Reproduce
Steps to reproduce the behavior:

  1. git pull
    2.bootstrap-vcpkg.bat
  2. See infomation out-put.
  3. ./vcpkg install drogon
    Repro code when

Expected behavior
output:

 Previous IPDB not found, fall back to full compilation.
  All 19153 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
output after run `install drogon`:
Error: Building package brotli:x86-windows failed with: BUILD_FAILED 

**Failure logs** 
-----------------------------------------------------------------------------
PS C:\Program Files (x86)\vcpkg> git pull
Already up to date.
PS C:\Program Files (x86)\vcpkg> git pull
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 4), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), 867 bytes | 43.00 KiB/s, done.
From https://github.com/microsoft/vcpkg
   99b07566f..42a90d3c1  master     -> origin/master
Updating 99b07566f..42a90d3c1
Fast-forward
 scripts/cmake/vcpkg_acquire_msys.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
PS C:\Program Files (x86)\vcpkg> .\bootstrap-vcpkg.bat

Building vcpkg.exe ...

  pch.cpp
  archives.cpp
  checks.cpp
  chrono.cpp
  cofffilereader.cpp
  downloads.cpp
  enums.cpp
  files.cpp
  hash.cpp
  json.cpp
  machinetype.cpp
  parse.cpp
  strings.cpp
  stringview.cpp
  system.cpp
  system.print.cpp
  system.process.cpp
  unicode.cpp
  binarycaching.cpp
  binaryparagraph.cpp
  build.cpp
  buildenvironment.cpp
  cmakevars.cpp
  commands.autocomplete.cpp
  commands.buildexternal.cpp
  commands.cache.cpp
  commands.ci.cpp
  commands.ciclean.cpp
  commands.contact.cpp
  commands.cpp
  commands.create.cpp
  commands.dependinfo.cpp
  commands.edit.cpp
  commands.env.cpp
  commands.fetch.cpp
  commands.format-manifest.cpp
  commands.hash.cpp
  commands.info.cpp
  commands.integrate.cpp
  commands.list.cpp
  commands.owns.cpp
  commands.porthistory.cpp
  commands.portsdiff.cpp
  commands.search.cpp
  commands.setinstalled.cpp
  commands.upgrade.cpp
  commands.version.cpp
  commands.xvsinstances.cpp
  dependencies.cpp
  export.cpp
  export.chocolatey.cpp
  export.ifw.cpp
  export.prefab.cpp
C:\Program Files (x86)\vcpkg\toolsrc\src\vcpkg\export.prefab.cpp(1,1): warning C4819: 该文件包含不能在当前代码页(936)中 表示的字符。请将该文件保存为
 Unicode 格式以防止数据丢失 [C:\Program Files (x86)\vcpkg\toolsrc\windows-bootstrap\vcpkglib\vcpkglib.vcxproj]
  globalstate.cpp
  help.cpp
  input.cpp
  install.cpp
  platform-expression.cpp
  metrics.cpp
  packagespec.cpp
  paragraphs.cpp
  portfileprovider.cpp
  postbuildlint.buildtype.cpp
  postbuildlint.cpp
  remove.cpp
  sourceparagraph.cpp
  statusparagraph.cpp
  statusparagraphs.cpp
  tools.cpp
  triplet.cpp
  update.cpp
  userconfig.cpp
  vcpkgcmdarguments.cpp
  vcpkglib.cpp
  vcpkgpaths.cpp
  versiont.cpp
  visualstudio.cpp
  vcpkglib.vcxproj -> C:\Program Files (x86)\vcpkg\toolsrc\windows-bootstrap\msbuild.x86.release\vcpkglib.lib
  vcpkg.cpp
  正在生成代码
  Previous IPDB not found, fall back to full compilation.
  All 19153 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  已完成代码的生成
  vcpkg.vcxproj -> C:\Program Files (x86)\vcpkg\toolsrc\windows-bootstrap\msbuild.x86.release\vcpkg.exe
  vcpkgmetricsuploader.cpp
  正在生成代码
  Previous IPDB not found, fall back to full compilation.
  All 8724 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  已完成代码的生成
  vcpkgmetricsuploader.vcxproj -> C:\Program Files (x86)\vcpkg\toolsrc\windows-bootstrap\msbuild.x86.release\vcpkgmetri
  csuploader.exe

Building vcpkg.exe... done.

Telemetry
---------
vcpkg collects usage data in order to help us improve your experience.
The data collected by Microsoft is anonymous.
You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics,
passing --disable-metrics to vcpkg on the command line,
or by setting the VCPKG_DISABLE_METRICS environment variable.

Read more about vcpkg telemetry at docs/about/privacy.md
PS C:\Program Files (x86)\vcpkg> .\vcpkg.exe install drgon
Computing installation plan...
Error: Cannot find definition for package `drgon`.
PS C:\Program Files (x86)\vcpkg> .\vcpkg.exe install drogon
Computing installation plan...
The following packages will be built and installed:
  * brotli[core]:x86-windows
    drogon[core]:x86-windows
  * libmariadb[core,openssl,zlib]:x86-windows
  * libpq[core,openssl,zlib]:x86-windows
  * sqlite3[core]:x86-windows
  * zlib[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x86-windows...
Starting package 1/6: brotli:x86-windows
Building package brotli[core]:x86-windows...
Could not locate cached archive: C:\Users\86175\AppData\Local\vcpkg/archives\f0\f0aff4a4732ba036a133a3407496df1cf401add3.zip
-- Using cached C:/Program Files (x86)/vcpkg/downloads/google-brotli-v1.0.7.tar.gz
-- Cleaning sources at C:/Program Files (x86)/vcpkg/buildtrees/brotli/src/v1.0.7-c2af986dcd.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Program Files (x86)/vcpkg/downloads/google-brotli-v1.0.7.tar.gz
-- Applying patch install.patch
-- Applying patch fix-arm-uwp.patch
-- Applying patch pkgconfig.patch
-- Using source at C:/Program Files (x86)/vcpkg/buildtrees/brotli/src/v1.0.7-c2af986dcd.clean
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
-- Fixing pkgconfig file: C:/Program Files (x86)/vcpkg/packages/brotli_x86-windows/lib/pkgconfig/libbrotlicommon.pc
-- Fixing pkgconfig file: C:/Program Files (x86)/vcpkg/packages/brotli_x86-windows/lib/pkgconfig/libbrotlidec.pc
-- Fixing pkgconfig file: C:/Program Files (x86)/vcpkg/packages/brotli_x86-windows/lib/pkgconfig/libbrotlienc.pc
-- CHECK_LIB_brotlicommon_RELEASE:CHECK_LIB_brotlicommon_RELEASE-NOTFOUND
CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:232 (message):
  Library "brotlicommon" was not found! If it is a system library use the
  SYSTEM_LIBRARIES parameter for the vcpkg_fixup_pkgconfig call! Otherwise,
  correct the *.pc file
Call Stack (most recent call first):
  scripts/cmake/vcpkg_fixup_pkgconfig.cmake:298 (vcpkg_fixup_pkgconfig_check_files)
  ports/brotli/portfile.cmake:25 (vcpkg_fixup_pkgconfig)
  scripts/ports.cmake:79 (include)


Error: Building package brotli:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: brotli:x86-windows
  Vcpkg version: 2020.06.15-nohash

Additionally, attach any relevant sections from the log files above.

Additional context
What's wrong with the installing process? Why it outputs IPDB was not found?
Why I can not install the package drogon or brotli?
what happend in building and installing?

Metadata

Metadata

Assignees

Labels

category:tool-updateThe issue is with build tool or build script, which requires update or should be executed correctly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions