Skip to content

JAVA_SOURCES does not work with out-of-tree builds #39

@mbanck-cd

Description

@mbanck-cd

If I use e.g. build-16 as build directory (as Debian package building would, in order to build jdbc_fdw for all supported Postgres versions in parallel), the build fails:

make[1]: Entering directory '/build/jdbc-fdw-hLPFKo/jdbc-fdw-0.4.0/build-16'
[...]
javac -d /usr/lib/postgresql/16/lib JDBCUtils.java JDBCDriverLoader.java JDBCConnection.java resultSetInfo.java
error: file not found: JDBCUtils.java
Usage: javac <options> <source files>
use --help for a list of possible options
make[1]: *** [/build/jdbc-fdw-hLPFKo/jdbc-fdw-0.4.0/Makefile:37: JAVAFILES] Error 2
make[1]: Leaving directory '/build/jdbc-fdw-hLPFKo/jdbc-fdw-0.4.0/build-16'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions