You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Exim Makefile includes support for a number of external lookups but they aren't making into the final binary or being added as dynamic libs. I'm specifically looking for postgresql support. https://github.com/wolfi-dev/os/blob/main/exim/exim.Makefile
The Makefile includes config to build the lookup modules/support:
The yes indicates the support should be statically compiled into exim and the 2 indicates that they should be complied as dynamic libs. The LOOKUP_MODULE_DIR=/usr/lib/exim/ value specifies where the dynamic libs should be deployed
Building exim from within the wolfi-os dev container (make dev-container) with make package/exim produces a package which which doesn't include any of the dynamic modules:
Logs from the build suggest the shared libs are being built:
2024/10/04 17:06:21 INFO cc -shared cdb.c
2024/10/04 17:06:21 INFO cc -shared dbmdb.c
2024/10/04 17:06:22 INFO cc -shared dnsdb.c
2024/10/04 17:06:22 INFO cc -shared mysql.c
2024/10/04 17:06:22 INFO cc -shared pgsql.c
2024/10/04 17:06:22 WARN pgsql.c: In function 'perform_pgsql_search':
2024/10/04 17:06:22 WARN pgsql.c:295:41: warning: unknown conversion type character 'Y' in format [-Wformat=]
2024/10/04 17:06:22 WARN 295 | DEBUG(D_lookup) debug_printf_indent("PGSQL: command does not return any data "
2024/10/04 17:06:22 WARN | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024/10/04 17:06:22 WARN pgsql.c:296:44: note: format string is defined here
2024/10/04 17:06:22 WARN 296 | "but was successful. Rows affected: %Y\n", result);
2024/10/04 17:06:22 WARN | ^
2024/10/04 17:06:22 WARN pgsql.c:295:41: warning: too many arguments for format [-Wformat-extra-args]
2024/10/04 17:06:22 WARN 295 | DEBUG(D_lookup) debug_printf_indent("PGSQL: command does not return any data "
2024/10/04 17:06:22 WARN | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024/10/04 17:06:22 INFO cc -shared sqlite.c
2024/10/04 17:06:23 INFO make[2]: Leaving directory '/home/build/build-Linux-x86_64/lookups'
I think the libs are being built but not packaged by melange
The Exim Makefile includes support for a number of external lookups but they aren't making into the final binary or being added as dynamic libs. I'm specifically looking for postgresql support.
https://github.com/wolfi-dev/os/blob/main/exim/exim.Makefile
The Makefile includes config to build the lookup modules/support:
The
yes
indicates the support should be statically compiled into exim and the2
indicates that they should be complied as dynamic libs. TheLOOKUP_MODULE_DIR=/usr/lib/exim/
value specifies where the dynamic libs should be deployedBuilding exim from within the wolfi-os dev container (
make dev-container
) withmake package/exim
produces a package which which doesn't include any of the dynamic modules:Logs from the build suggest the shared libs are being built:
I think the libs are being built but not packaged by melange
Alpine is using an almost identical make file but provides additional packages for each dynamically built lib - https://github.com/alpinelinux/aports/blob/master/community/exim/exim.Makefile
The text was updated successfully, but these errors were encountered: