Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 284622

Summary: dovecot-1.2.4 USE FLAGS: "dbox" requires "maildir" also be set
Product: Gentoo Linux Reporter: A Frederick Christensen <fauxmight>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description A Frederick Christensen 2009-09-11 17:06:56 UTC
When trying to build dovecot-1.2.4 with dbox flag, compile fails if maildir flag is not also set.

Compile errors are:
../../src/lib-storage/index/dbox/libstorage_dbox.a(dbox-file-maildir.o): In function `dbox_file_maildir_metadata_get':dbox-file-maildir.c:(.text+0x15a): undefined reference to `maildir_filename_get_size'
dbox-file-maildir.c:(.text+0x224): undefined reference to `maildir_filename_get_flags'../../src/lib-storage/index/dbox/libstorage_dbox.a(dbox-sync-rebuild.o): In function `dbox_sync_index_file_next':
dbox-sync-rebuild.c:(.text+0x86): undefined reference to `maildir_uidlist_get_uid'
dbox-sync-rebuild.c:(.text+0x26e): undefined reference to `maildir_uidlist_lookup_ext'
../../src/lib-storage/index/dbox/libstorage_dbox.a(dbox-sync-rebuild.o): In function `dbox_sync_index_maildir_file':
dbox-sync-rebuild.c:(.text+0x528): undefined reference to `maildir_uidlist_init_readonly'
dbox-sync-rebuild.c:(.text+0x534): undefined reference to `maildir_keywords_init_readonly'
dbox-sync-rebuild.c:(.text+0x54b): undefined reference to `maildir_keywords_sync_init'
dbox-sync-rebuild.c:(.text+0x55c): undefined reference to `maildir_uidlist_refresh'
../../src/lib-storage/index/dbox/libstorage_dbox.a(dbox-sync-rebuild.o): In function `dbox_sync_index_rebuild':
dbox-sync-rebuild.c:(.text+0xa9f): undefined reference to `maildir_keywords_sync_deinit'
dbox-sync-rebuild.c:(.text+0xab0): undefined reference to `maildir_keywords_deinit'
dbox-sync-rebuild.c:(.text+0xac1): undefined reference to `maildir_uidlist_deinit'
collect2: ld returned 1 exit status

Reproducible: Always

Steps to Reproduce:
1. Set "dbox" use flag and leave "maildir" use flag unset
Comment 1 Patrick Lauer gentoo-dev 2009-09-11 18:37:10 UTC
+  11 Sep 2009; Patrick Lauer <patrick@gentoo.org> dovecot-1.2.4.ebuild:
+  Fix useflag interdependency, closes #284622