Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757819 - =app-admin/sudo-1.9.4[-sendmail]: ./eventlog.c:94:5: error: ‘_PATH_SUDO_SENDMAIL’ undeclared here (not in a function)
Summary: =app-admin/sudo-1.9.4[-sendmail]: ./eventlog.c:94:5: error: ‘_PATH_SUDO_SENDM...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-11-30 23:37 UTC by matoro
Modified: 2020-12-01 10:37 UTC (History)
6 users (show)

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


Attachments
emerge --info (info.txt,7.75 KB, text/plain)
2020-11-30 23:39 UTC, matoro
Details
build.log (build.log.gz,14.65 KB, application/gzip)
2020-11-30 23:40 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2020-11-30 23:37:50 UTC
=app-admin/sudo-1.9.4 fails to compile with sendmail USE flag disabled.

Reproducible: Always
Comment 1 matoro archtester 2020-11-30 23:39:53 UTC
Created attachment 675979 [details]
emerge --info
Comment 2 matoro archtester 2020-11-30 23:40:12 UTC
Created attachment 675982 [details]
build.log
Comment 4 Duncan 2020-12-01 06:14:04 UTC
Seeing this too.
Comment 5 Duncan 2020-12-01 07:10:55 UTC
(In reply to Ionen Wolkens from comment #3)
> Fix: https://www.sudo.ws/repos/sudo/rev/41db1aad85bb

Raw patch: https://www.sudo.ws/repos/sudo/raw-rev/41db1aad85bb

Dropping that in /etc/portage/patches/app-admin/sudo-1.9.4 confirmed to fix it for me. Thanks.
Comment 6 flippynelle 2020-12-01 07:20:42 UTC
(In reply to Duncan from comment #5)
> (In reply to Ionen Wolkens from comment #3)
> > Fix: https://www.sudo.ws/repos/sudo/rev/41db1aad85bb
> 
> Raw patch: https://www.sudo.ws/repos/sudo/raw-rev/41db1aad85bb
> 
> Dropping that in /etc/portage/patches/app-admin/sudo-1.9.4 confirmed to fix
> it for me. Thanks.

for me also. Thanks all!
Comment 7 Larry the Git Cow gentoo-dev 2020-12-01 10:37:51 UTC
The bug has been closed via the following commit(s):

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

commit 9ba5fba4c49a57b06edf98a78f72fccf0a84aafa
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-12-01 10:36:59 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-12-01 10:37:47 +0000

    app-admin/sudo: Fixed build with USE="-sendmail"
    
    Reported-by: matoro <matoro@airmail.cc>
    Closes: https://bugs.gentoo.org/757819
    Package-Manager: Portage-3.0.11, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../sudo-1.9.4-without-sendmail_build_fix.patch    | 45 ++++++++++++++++++++++
 app-admin/sudo/sudo-1.9.4.ebuild                   |  4 ++
 2 files changed, 49 insertions(+)