10
12
Fork
You've already forked wormhole
2

dovecot.conf error during configure #9

Closed
opened 2026年05月22日 18:08:22 +02:00 by shaohme · 3 comments

I'm trying to package wormhole for Alpine Linux, but I ran into this problem with ./configure needing to check an option using doveconf. It fails because no dovecot.conf file exists in my build environment when building.

...
checking checking if dovecot/lib.h can be compiled with -Werror=sign-compare... yes
checking for doveconf... doveconf
checking if auth_socket_path config option is hidden... doveconf: Fatal: open(/etc/dovecot/dovecot.conf) failed: No such file or directory
doveconf: Fatal: open(/etc/dovecot/dovecot.conf) failed: No such file or directory
configure: error: config option auth_socket_path does not exist
>>> ERROR: dovecot-wormhole: build failed

I know from the README.md that an initial configuration file can be created, but can this be omitted, or do I have to find a way to generate a dovecot.conf during build? When building as a non-privileged user, this fails because of file system permissions.

I'm trying to package wormhole for Alpine Linux, but I ran into this problem with ./configure needing to check an option using doveconf. It fails because no dovecot.conf file exists in my build environment when building. ``` ... checking checking if dovecot/lib.h can be compiled with -Werror=sign-compare... yes checking for doveconf... doveconf checking if auth_socket_path config option is hidden... doveconf: Fatal: open(/etc/dovecot/dovecot.conf) failed: No such file or directory doveconf: Fatal: open(/etc/dovecot/dovecot.conf) failed: No such file or directory configure: error: config option auth_socket_path does not exist >>> ERROR: dovecot-wormhole: build failed ``` I know from the README.md that an initial configuration file can be created, but can this be omitted, or do I have to find a way to generate a dovecot.conf during build? When building as a non-privileged user, this fails because of file system permissions.

Hi @shaohme ,

thanks for pointing this out. As you can see, I commited a fix to the git repo, which you can use for your package until I released a new version.

Maybe you could inform the maintainer of the Dovecot package for Alpine about this. Alpine is the only distro I know so far which ships a dovecot package without an initial basic dovecot.conf. Even the packages from repo.dovecot.org ship:

dovecot_config_version = 2.4.4
dovecot_storage_version = 2.4.4
protocols =
!include_try conf.d/*.conf

That way, dovecot is a valid config and users can extend it with drop-ins in /etc/dovecot/conf.d/.

Hi @shaohme , thanks for pointing this out. As you can see, I commited a fix to the git repo, which you can use for your package until I released a new version. Maybe you could inform the maintainer of the Dovecot package for Alpine about this. Alpine is the only distro I know so far which ships a dovecot package without an initial basic `dovecot.conf`. Even the packages from repo.dovecot.org ship: ``` dovecot_config_version = 2.4.4 dovecot_storage_version = 2.4.4 protocols = !include_try conf.d/*.conf ``` That way, dovecot is a valid config and users can extend it with drop-ins in `/etc/dovecot/conf.d/`.

P.S.: Please let me know (e.g. by mail), when the package is ready. I would like to test it. And thank you for taking care of packaging wormhole for Alpine Linux!

P.S.: Please let me know (e.g. by mail), when the package is ready. I would like to test it. And thank you for taking care of packaging wormhole for Alpine Linux!
Author
Copy link

@errror Thank you for porting this feature. I'm only starting to get my head around it, so it'll be some time before I'll propose a package to Alpine aports. I can send you what apk build template I have now by email if you want.

@errror Thank you for porting this feature. I'm only starting to get my head around it, so it'll be some time before I'll propose a package to Alpine aports. I can send you what apk build template I have now by email if you want.
Sign in to join this conversation.
No Branch/Tag specified
main
v0.12
v0.11
v0.10.2
v0.10.1
v0.10
v0.9
v0.8
v0.7
v0.6
v0.5
v0.4
v0.3.2
v0.3.1
v0.3
v0.2.2
v0.2.1
v0.2
v0.1
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
errror/wormhole#9
Reference in a new issue
errror/wormhole
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?