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

[apr] build failure #30416

Closed
klalumiere opened this issue Mar 24, 2023 · 0 comments · Fixed by #30418
Closed

[apr] build failure #30416

klalumiere opened this issue Mar 24, 2023 · 0 comments · Fixed by #30418
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@klalumiere
Copy link
Contributor

klalumiere commented Mar 24, 2023

Host Environment

  • OS: Linux
  • Compiler: Ubuntu clang version 15.0.7

To Reproduce

Steps to reproduce the behavior:

  • Install apr version 1.7.2 in manifest mode via CMake

Failure logs

CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /usr/bin/make V=1 -j 13 -f Makefile all
    Working Directory: /home/klalumiere/src/vcpkg/buildtrees/apr-util/x64-linux-dynamic-dbg/
    See logs for more information:
      /home/klalumiere/src/vcpkg/buildtrees/apr-util/build-x64-linux-dynamic-dbg-out.log
      /home/klalumiere/src/vcpkg/buildtrees/apr-util/build-x64-linux-dynamic-dbg-err.log

and then

   mawk: cannot open /home/klalumiere/src/coveo/cpp/mylib/build/vcpkg_installed/x64-linux-dynamic/debug/lib/manual-link:/home/klalumiere/src/coveo/cpp/mylib/build/vcpkg_installed/x64-linux-dynamic/debug/lib/../build-1/make_exports.awk (No such file or directory)
   mawk: cannot open /home/klalumiere/src/coveo/cpp/mylib/build/vcpkg_installed/x64-linux-dynamic/debug/lib/manual-link:/home/klalumiere/src/coveo/cpp/mylib/build/vcpkg_installed/x64-linux-dynamic/debug/lib/../build-1/make_var_export.awk (No such file or directory)
   make[1]: *** [Makefile:104: exports.c] Error 2
   make[1]: *** Waiting for unfinished jobs....
   make[1]: *** [Makefile:107: export_vars.c] Error 2
   make: *** [/home/klalumiere/src/vcpkg/buildtrees/apr-util/x64-linux-dynamic-dbg/build/rules.mk:119: all-recursive] Error 1

Additional context

I introduced this bug in #30217. I (and the CI) tested with ./vcpkg install, but I forgot to test in manifest mode.

More details: In #30217, I introduced a workaround to get us out of a difficult situation where an absolute path is used. This workaround was necessary because the absolute paths break binary caching. I tested the workaround with ./vcpkg install, but not in manifest mode. Turns out, it doesn't work in manifest mode.

I found a solution to this problem. I'll submit a pull request soon.

@klalumiere klalumiere added the category:port-bug The issue is with a library, which is something the port should already support label Mar 24, 2023
klalumiere added a commit to coveo/vcpkg that referenced this issue Mar 24, 2023
vicroms pushed a commit that referenced this issue Mar 28, 2023
Jimmy-Hu added a commit to Jimmy-Hu/vcpkg that referenced this issue Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants