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

[ncurses:x64-linux] build failure #26677

Closed
ankurvdev opened this issue Sep 4, 2022 · 0 comments · Fixed by #26690
Closed

[ncurses:x64-linux] build failure #26677

ankurvdev opened this issue Sep 4, 2022 · 0 comments · Fixed by #26690
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@ankurvdev
Copy link
Contributor

Host Environment

  • OS: Linux
  • Compiler: Ant

To Reproduce
On a clean vcpkg (no previous ports installed)
./vcpkg install ncurses:x64-linux

Failure logs

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message):
    Command failed: /usr/bin/bash -c "V=1 ./../src/ncurses-6-4e7ee3180a.clean/configure  \"--disable-db-install\" \"--enable-pc-files\" \"--without-ada\" \"--without-manpages\" \"--without-progs\" \"--without-tack\" \"--without-tests\" \"--disable-silent-rules\" \"--verbose\" \"--disable-shared\" \"--enable-static\" \"--with-pkg-config-libdir=/home/ankurv/vcpkg.devel/installed/x64-linux/debug/lib/pkgconfig\" \"--with-debug\" \"--without-normal\" \"--prefix=/home/ankurv/vcpkg.devel/installed/x64-linux/debug\""
    Working Directory: /home/ankurv/vcpkg.devel/buildtrees/ncurses/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/ankurv/vcpkg.devel/buildtrees/ncurses/config-x64-linux-dbg-config.log
      /home/ankurv/vcpkg.devel/buildtrees/ncurses/config-x64-linux-dbg-out.log
      /home/ankurv/vcpkg.devel/buildtrees/ncurses/config-x64-linux-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:765 (vcpkg_execute_required_process)
  ports/ncurses/portfile.cmake:52 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)


error: building ncurses:x64-linux 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+ncurses
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[ncurses]+Build+error
Include '[ncurses] 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-06-17-9268e366206712e38102b28dbd1617697a99ff2e
    vcpkg-scripts version: 660cf302b 2022-08-16 (3 weeks ago)

Additional context
The issue happen because of missing installed/x64-linux/lib/pkgconfig and installed/x64-linux/debug/lib/pkgconfig
which are passed to configure for configure for --with-pkg-config-libdir

The error does not reproduce if the two directories are manually created

@Cheney-W Cheney-W added the category:port-bug The issue is with a library, which is something the port should already support label Sep 5, 2022
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