Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pcl] build failure #25880

Closed
hyc65536 opened this issue Jul 20, 2022 · 21 comments
Closed

[pcl] build failure #25880

hyc65536 opened this issue Jul 20, 2022 · 21 comments
Assignees
Labels
category:question This issue is a question

Comments

@hyc65536
Copy link

Host Environment

  • OS: [e.g. Windows/Linux etc...]
  • Compiler: Windows

To Reproduce
Steps to reproduce the behavior:
`./vcpkg install pcl

Failure logs
Installing 1/15 liblzma:x86-windows...
Building liblzma[core]:x86-windows...
-- Using cached xz-mirror-xz-v5.2.5.tar.gz.
-- Cleaning sources at D:/work/vcpkg/buildtrees/liblzma/src/v5.2.5-2a8bfa3c42.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/work/vcpkg/downloads/xz-mirror-xz-v5.2.5.tar.gz
-- Applying patch enable-uwp-builds.patch
-- Applying patch fix_config_include.patch
-- Applying patch win_output_name.patch
-- Applying patch add_support_ios.patch
-- Applying patch build-tools.patch
-- Using source at D:/work/vcpkg/buildtrees/liblzma/src/v5.2.5-2a8bfa3c42.clean
-- Configuring x86-windows
-- Building x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:129 (message):
Command failed: D:/work/vcpkg/downloads/tools/cmake-3.22.2-windows/cmake-3.22.2-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j7
Working Directory: D:/work/vcpkg/buildtrees/liblzma/x86-windows-dbg
See logs for more information:
D:\work\vcpkg\buildtrees\liblzma\install-x86-windows-dbg-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/liblzma/portfile.cmake:24 (vcpkg_cmake_install)
scripts/ports.cmake:147 (include)

error: building liblzma:x86-windows failed with: BUILD_FAILED
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+liblzma
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[liblzma]+Build+error
Include '[liblzma] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-07-14-fb7e3b1bb3b1ca185fffe2be36b2fbc53198360f
vcpkg-scripts version: 8ff1682 2022-07-19 (8 hours ago)

You can also use the prefilled template from D:\work\vcpkg\installed\vcpkg\issue_body.md.

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

@hyc65536 hyc65536 changed the title [<port name>] build failure [pcl] build failure Jul 20, 2022
@Cheney-W Cheney-W added the requires:more-information This Issue requires more information to solve label Jul 20, 2022
@Cheney-W
Copy link
Contributor

Could you please provide us with D:\work\vcpkg\buildtrees\liblzma\install-x86-windows-dbg-out.log?

@hyc65536
Copy link
Author

cl: 命令行 error D8000 :C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\cl.exe 中有内部编译器错误。系统将会提示你稍后向 Microsoft 发送错误报告。
“C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\cl.exe”中的内部编译器错误

请选择 Visual C++

“帮助”菜单上的“技术支持”命令,或打开技术支持帮助文件来获得详细信息

ninja: build stopped: subcommand failed.

@hyc65536
Copy link
Author

The log file is too large to upload

@Cheney-W
Copy link
Contributor

Microsoft Visual Studio 14.0? Which version of VS is installed locally? Besides v140, do you have a higher version of toolset installed?

@hyc65536
Copy link
Author

vs2015,No other version is installed

@Cheney-W
Copy link
Contributor

Could you please try the higher version of VS, such as VS2017 , VS2019 or VS2022? Also, if the log is too large, could you please package it and send it to us?

@hyc65536
Copy link
Author

Thank you for your proposal. I'll find an alternative method for the time being. As for testing with a higher version of VS, I'll talk about it later.
install-x86-windows-dbg-out.zip

@Cheney-W
Copy link
Contributor

Cheney-W commented Sep 9, 2022

Does this issue still exist?

@Hankyin
Copy link

Hankyin commented Oct 6, 2022

o shit, I meet the same question!
who can tell me how to solve it please?I use VS2022 on Win10.

@Hankyin
Copy link

Hankyin commented Oct 6, 2022

I don‘t want to use PCL-AllInOne, configure VS is too boring

@Cheney-W
Copy link
Contributor

Cheney-W commented Oct 8, 2022

@Hankyin Could you send me your complete error logs?

@Hankyin
Copy link

Hankyin commented Oct 8, 2022

CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:129 (message):
Command failed: C:/Users/CodeRepository/vcpkg/downloads/tools/cmake-3.24.0-windows/cmake-3.24.0-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j9
Working Directory: C:/Users/MyProject/CodeRepository/vcpkg/buildtrees/pcl/x86-windows-dbg
See logs for more information:
C:\Users\MyProject\CodeRepository\vcpkg\buildtrees\pcl\install-x86-windows-dbg-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/pcl/portfile.cmake:85 (vcpkg_cmake_install)
scripts/ports.cmake:147 (include)

config-x86-windows-err.log is empty

config-x86-windows-out.log

@Hankyin
Copy link

Hankyin commented Oct 8, 2022

@Cheney-W

@dg0yt
Copy link
Contributor

dg0yt commented Oct 8, 2022

See logs for more information:
C:\Users\MyProject\CodeRepository\vcpkg\buildtrees\pcl\install-x86-windows-dbg-out.log

Please attach the right log file...

@Hankyin
Copy link

Hankyin commented Oct 9, 2022

install-x86-windows-dbg-out.log

I'm so sorry, 😅
I always read the wrong log file,No wonder I can't find the error message

@Hankyin
Copy link

Hankyin commented Oct 9, 2022

at the end of this log :
xxxxxxxxxxx
FAILED: bin/pcl_filtersd.dll lib/pcl_filtersd.lib
xxxxxxxxxxxx
LINK : fatal error LNK1168: 无法打开 bin\pcl_filtersd.dll 进行写入(can not open bin\pcl_filtersd.dll for writing)

@Hankyin
Copy link

Hankyin commented Oct 11, 2022

I solve the problem !!!

@Hankyin
Copy link

Hankyin commented Oct 11, 2022

delete the
AlibabaProtect
AliPaladin
is useful.

#10139 (comment)

@Cheney-W Cheney-W added category:question This issue is a question and removed requires:more-information This Issue requires more information to solve labels Oct 11, 2022
@Cheney-W
Copy link
Contributor

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.

@Cheney-W Cheney-W closed this as not planned Won't fix, can't repro, duplicate, stale Nov 25, 2022
@best-pureer
Copy link

阿里巴巴是真滴恶心
alibaba is a real super standard shit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

6 participants
@dg0yt @Hankyin @best-pureer @Cheney-W @hyc65536 and others