-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
requires:reproThe issue is not currently repro-ableThe issue is not currently repro-able
Description
warning: Import libs were not present in V:/vcpkg/packages/bzip2_x86-windows/debug/lib
Found 4 error(s). Please correct the portfile:
V:\vcpkg\ports\bzip2\portfile.cmake
Error: Building package bzip2:x86-windows failed with: POST_BUILD_CHECKS_FAILED
Full log:
T:\>vcpkg install boost
-- CURRENT_INSTALLED_DIR=V:/vcpkg/installed/x86-windows
-- DOWNLOADS=V:/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=V:/vcpkg/packages/bzip2_x86-windows
-- CURRENT_BUILDTREES_DIR=V:/vcpkg/buildtrees/bzip2
-- CURRENT_PORT_DIR=V:/vcpkg/ports/bzip2/.
-- Downloading http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz...
-- Downloading http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz... OK
-- Testing integrity of downloaded file...
-- Testing integrity of downloaded file... OK
-- Extracting source V:/vcpkg/downloads/bzip2-1.0.6.tar.gz
-- Extracting done
-- Applying patch V:/vcpkg/ports/bzip2/fix-import-export-macros.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch V:/vcpkg/ports/bzip2/fix-import-export-macros.patch done
-- Configuring x86-windows-rel
-- Configuring x86-windows-rel done
-- Configuring x86-windows-dbg
-- Configuring x86-windows-dbg done
-- Package x86-windows-rel
-- Package x86-windows-rel done
-- Package x86-windows-dbg
-- Package x86-windows-dbg done
-- Applying patch V:/vcpkg/ports/bzip2/auto-define-import-macro.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch V:/vcpkg/ports/bzip2/auto-define-import-macro.patch done
-- Performing post-build validation
Import libs were not present in V:/vcpkg/packages/bzip2_x86-windows/debug/lib
If this is intended, add the following line in the portfile:
SET(VCPKG_POLICY_DLLS_WITHOUT_LIBS disabled)
Import libs were not present in V:/vcpkg/packages/bzip2_x86-windows/lib
If this is intended, add the following line in the portfile:
SET(VCPKG_POLICY_DLLS_WITHOUT_LIBS disabled)
The following DLLs have no exports:
V:/vcpkg/packages/bzip2_x86-windows/debug/bin/libbz2.dll
V:/vcpkg/packages/bzip2_x86-windows/bin/libbz2.dll
DLLs without any exports are likely a bug in the build script.
There should be no empty directories in V:/vcpkg/packages/bzip2_x86-windows
The following empty directories were found:
V:/vcpkg/packages/bzip2_x86-windows/debug/lib
V:/vcpkg/packages/bzip2_x86-windows/lib
If a directory should be populated but is not, this might indicate an error in the portfile.
If the directories are not needed and their creation cannot be disabled, use something like this in the portfile to remove them:
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/a/dir ${CURRENT_PACKAGES_DIR}/some/other/dir)
-- Performing post-build validation done
Found 4 error(s). Please correct the portfile:
V:\vcpkg\ports\bzip2\portfile.cmake
Error: Building package bzip2:x86-windows failed with: POST_BUILD_CHECKS_FAILED
Please ensure sure you're using the latest portfiles with `vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: bzip2:x86-windows
Vcpkg version: 0.0.74-unknownhash
Additionally, attach any relevant sections from the log files above.
Metadata
Metadata
Assignees
Labels
requires:reproThe issue is not currently repro-ableThe issue is not currently repro-able