Bug 1216035

Summary: /var/mail missed
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dr. Werner Fink <werner>
Component: BasesystemAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: lnussel
Version: Current   
Target Milestone: ---   
Hardware: All   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dr. Werner Fink 2023-10-09 07:14:05 UTC
Currently mutt build breaks with

[   22s] checking whether your system's regexp library is completely broken... no
[   22s] checking where new mail is stored... no
[   22s] configure: error: "Could not determine where new mail is stored."


last change in package filesystem :

 Mon Sep 25 08:45:52 UTC 2023 - Ludwig Nussel <lnussel@suse.com>
 - Add /run/lock (boo#1212926)
 - Remove /var/spool/mail (boo#1179574)
 - Remove obsolete home dir check. The filesystem package is not
   meant to contain home directories of random system users anymore
 - Create ghost symlinks also in pretrans, needed to get /var/run as
   link right away

... and now with /var/spool/mail also /var/mail disapears?
Comment 1 Dr. Werner Fink 2023-10-09 07:31:51 UTC
  werner/mutt> sudo find /abuild/oscbuild/openSUSE_Tumbleweed \
  -name mail -a \( -type d -o -type l \) | wc -l
  0
Comment 2 Ludwig Nussel 2023-10-09 08:09:28 UTC
AFAICT you can solve this by passing --with-mailpath=/var/spool/mail --enable-external-dotlock to the configure script of mutt
Comment 3 Ludwig Nussel 2023-10-09 08:10:42 UTC
ah, no it's not external dotlock. Needs to set USE_DOTLOCK.  There is no handle for that so would need a patch for configure to switch off autodetection and just tell mutt what to do
Comment 4 OBSbugzilla Bot 2023-10-09 08:33:51 UTC
This is an autogenerated message for OBS integration:
This bug (1216035) was mentioned in
https://build.opensuse.org/request/show/1116386 Factory / mutt
Comment 5 Dr. Werner Fink 2023-10-09 09:38:14 UTC
I simply require now a smtp daemon ... this
was removed in past:

 Wed Jul 12 09:26:50 UTC 2017 - olaf@aepfle.de
 - Add buildconditional for openssl/gnutls
  Disable gnutls, there can be only one of them and openssl was used
 - Use pkgconfig to refer to openssl/gnutls
 - Remove uneeded builddeps and recommends for smtp_daemon by
  specifying the path to sendmail
 [...]

and 

 export SENDMAIL=%{_sbindir}/sendmail

in mutt.spec