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

Bug 767475

Summary: net-mail/dbmail-3.2.5-r2 : /.../install: cannot create regular file /.../dbmail-imapd.service: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thomas Raschbacher <lordvan>
Status: RESOLVED FIXED    
Severity: normal CC: aklhfex, pacho, sam, sandino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 879611    
Bug Blocks: 773229    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-mail:dbmail-3.2.5:20210127-171549.log
temp.tar.bz2
Fix systemd/Makefile.in

Description Toralf Förster gentoo-dev 2021-01-27 17:31:25 UTC
/usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c -m 644 dbmail-imapd.service \
  /var/tmp/portage/net-mail/dbmail-3.2.5/image/lib/systemd/system/dbmail-imapd.service
/usr/bin/install: cannot create regular file '/var/tmp/portage/net-mail/dbmail-3.2.5/image/lib/systemd/system/dbmail-imapd.service': No such file or directory
install-xattr: failed to stat /var/tmp/portage/net-mail/dbmail-3.2.5/image/lib/systemd/system/dbmail-imapd.service: No such file or directory
make[2]: *** [Makefile:2073: install-systemd] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-mail/dbmail-3.2.5/work/dbmail-3.2.5/systemd'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210123-232713

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.1
Python 3.8.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Jan 27 16:32:48 UTC 2021

emerge -qpvO net-mail/dbmail
[ebuild  N    ] net-mail/dbmail-3.2.5  USE="doc ssl systemd -jemalloc -ldap -libressl -sieve -static"
Comment 1 Toralf Förster gentoo-dev 2021-01-27 17:31:26 UTC
Created attachment 684894 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-27 17:31:28 UTC
Created attachment 684897 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-01-27 17:31:29 UTC
Created attachment 684900 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-01-27 17:31:30 UTC
Created attachment 684903 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-01-27 17:31:31 UTC
Created attachment 684906 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-01-27 17:31:33 UTC
Created attachment 684909 [details]
net-mail:dbmail-3.2.5:20210127-171549.log
Comment 7 Toralf Förster gentoo-dev 2021-01-27 17:31:34 UTC
Created attachment 684912 [details]
temp.tar.bz2
Comment 8 Thomas Raschbacher gentoo-dev 2021-04-07 20:21:28 UTC
I do not have a systemd system to test this on, but I assume just some file got (re-)moved or renamed ?
Comment 9 Chris Mayo 2022-10-30 19:27:34 UTC
Created attachment 826171 [details, diff]
Fix systemd/Makefile.in

mkdir's in systemd/Makefile.in were commented out [1].

Patch attached that fixes this.

Resolved upstream [2].


[1]
https://github.com/dbmail/dbmail/commit/05545ee69695c9ba19b0249a0a5abbf9b7bed09c

[2]
https://github.com/dbmail/dbmail/pull/177
Comment 10 Agostino Sarubbo gentoo-dev 2023-01-21 16:50:14 UTC
usr-merge_tinderbox has reproduced this issue with version 3.2.5-r2 - Updating summary.
Comment 11 Pacho Ramos gentoo-dev 2024-06-05 12:38:16 UTC
3.3.1 got bumped
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-24 19:56:43 UTC
(In reply to Pacho Ramos from comment #11)
> 3.3.1 got bumped

bug 940646...
Comment 13 Pacho Ramos gentoo-dev 2025-04-26 10:06:09 UTC
(In reply to Sam James from comment #12)
> (In reply to Pacho Ramos from comment #11)
> > 3.3.1 got bumped
> 
> bug 940646...

It seems that the patch was finally applied to 3.4... at least on my setup, 3.4.1 looks to finally compile ok. The problem is that it still looks to have bug 854156 and a bogus handling of tmpfiles.d. But taking into account that current stable is broken for a long time with bug 784488, maybe trying to got for that newer version would still be feasible :/