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

[libpq] build failure #42932

Closed
JeffreyWardman opened this issue Dec 25, 2024 · 1 comment
Closed

[libpq] build failure #42932

JeffreyWardman opened this issue Dec 25, 2024 · 1 comment
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@JeffreyWardman
Copy link
Contributor

JeffreyWardman commented Dec 25, 2024

Operating system

Linux

Compiler

gcc

Steps to reproduce the behavior

{
  "name": "lib",
  "version-semver": "0.0.0",
  "dependencies": ["fmt", "qt"],
  "default-features": []
  },
  "builtin-baseline": "80d54ff62d528339c626a6fbc3489a7f25956ade"
}

Failure logs

In file included from ../../src/include/postgres.h:46,
                 from hashfn.c:24:
../../src/include/utils/elog.h:79:10: fatal error: utils/errcodes.h: No such file or directory
   79 | #include "utils/errcodes.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
relpath.c:21:10: fatal error: catalog/pg_tablespace_d.h: No such file or directory
   21 | #include "catalog/pg_tablespace_d.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [<builtin>: hashfn.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [<builtin>: relpath.o] Error 1
make[1]: *** [Makefile:19: all] Error 2

Additional context

The error is caused by an additional folder in src that contains the contents expected within src itself: /opt/vcpkg/buildtrees/libpq/src/tgresql-16-b00fbb6ff2.clean.

@JeffreyWardman JeffreyWardman added the category:port-bug The issue is with a library, which is something the port should already support label Dec 25, 2024
@JeffreyWardman
Copy link
Contributor Author

Same issue as #39752. Due to running vcpkg install in a makefile command.

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

No branches or pull requests

1 participant