Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801646 - mail-filter/mimedefang-2.84-r2 fails to compile: configure: WARNING: Oops.. I couldn't find the 'sendmail' program. Please install it.
Summary: mail-filter/mimedefang-2.84-r2 fails to compile: configure: WARNING: Oops.. I...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vieri
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-07-12 06:34 UTC by Agostino Sarubbo
Modified: 2022-10-25 05:53 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,39.25 KB, text/plain)
2021-07-12 06:34 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,34.54 KB, text/plain)
2021-07-12 06:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-07-12 06:34:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: mail-filter/mimedefang-2.84-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-12 06:34:07 UTC
Created attachment 723370 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-07-12 06:34:08 UTC
Created attachment 723373 [details]
1-config.log

1-config.log
Comment 3 Vieri 2021-07-20 13:41:21 UTC
The build process complains that it cannot find the sendmail program.
I'm using mail-mta/postfix and mail-filter/libmilter, but the sendmail package should also be fine.
I don't see either sendmail or postfix in the log.
Could you please emerge one of them, and then re-emerge mimedefang?
Comment 4 Ionen Wolkens gentoo-dev 2021-07-20 18:11:33 UTC
(In reply to Vieri from comment #3)
> The build process complains that it cannot find the sendmail program.
> I'm using mail-mta/postfix and mail-filter/libmilter, but the sendmail
> package should also be fine.
> I don't see either sendmail or postfix in the log.
> Could you please emerge one of them, and then re-emerge mimedefang?
The idea with these bugs would be to remove mail-mta/postfix and check if you get the same error. If so, then that means this package needs a dependency on virtual/mta so the tinderbox will install one of them.

On a side-note, may want to review the libmilter dependency, latest >=mail-mta/sendmail-8.16.1-r1 doesn't provide libmilter anymore and instead depends on libmilter. So you'd need "lower than" check for sendmail.
Comment 5 Ionen Wolkens gentoo-dev 2021-07-20 22:32:22 UTC
(In reply to Ionen Wolkens from comment #4)
> On a side-note, may want to review the libmilter dependency, latest
> >=mail-mta/sendmail-8.16.1-r1 doesn't provide libmilter anymore and instead
> depends on libmilter. So you'd need "lower than" check for sendmail.
Or actually I guess it doesn't matter given new sendmail depends on libmilter anyway.
Comment 6 Vieri 2021-07-22 11:36:14 UTC
A dependency on virtual/mta is probably the only thing to add.
I won't have access to a test system until the end of August.

I mentioned emerging either sendmail or postfix to rule out the gcc-11 suspicion the reporter mentioned. I don't have that version of gcc yet.

Will test asap.
Comment 7 Agostino Sarubbo gentoo-dev 2022-08-04 06:46:36 UTC
ci has reproduced this issue with version 2.84-r2 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2022-10-25 05:53:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb2427ffa72ef11c0589318af1f4ac51861dae95

commit bb2427ffa72ef11c0589318af1f4ac51861dae95
Author:     Vieri Di Paola <rentorbuy@yahoo.com>
AuthorDate: 2022-08-29 09:48:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-25 05:51:07 +0000

    mail-filter/mimedefang: version bump to 3.1 and several fixes
    
    * PID dir according to upstream changelog (2017)
    * Perl vendor path
    * Unit test
    * Postfix and sendmail dependencies (virtual/mta too broad)
    
    Closes: https://bugs.gentoo.org/801646
    Closes: https://bugs.gentoo.org/866662
    Signed-off-by: Vieri Di Paola <rentorbuy@yahoo.com>
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-filter/mimedefang/Manifest                    |  1 +
 .../mimedefang/files/mimedefang-tests2.patch       | 22 ++++++
 .../mimedefang/files/mimedefang-vendor.patch       | 32 +++++++++
 mail-filter/mimedefang/files/mimedefang.conf       |  3 +
 mail-filter/mimedefang/files/mimedefang.init       |  9 ++-
 mail-filter/mimedefang/mimedefang-3.1.ebuild       | 79 ++++++++++++++++++++++
 6 files changed, 143 insertions(+), 3 deletions(-)