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

Bug 782709

Summary: mail-mta/esmtp - configure: error: libESMTP library not found
Product: Gentoo Linux Reporter: Brian Evans (RETIRED) <grknight>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=782532
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: esmtp-build.log

Description Brian Evans (RETIRED) gentoo-dev 2021-04-13 19:40:31 UTC
[I] net-libs/libesmtp
     Available versions:  1.0.6-r3 (~)1.0.6_p20200824 **9999*l {debug libressl ntlm ssl static-libs threads}
     Installed versions:  1.0.6_p20200824(02:28:58 PM 04/13/2021)(ssl -static-libs -threads)
     Homepage:            https://libesmtp.github.io/
     Description:         Lib that implements the client side of the SMTP protocol
Comment 1 Brian Evans (RETIRED) gentoo-dev 2021-04-13 19:42:00 UTC
Created attachment 699708 [details]
esmtp-build.log

Build log for failure
Comment 2 Brian Evans (RETIRED) gentoo-dev 2021-04-13 19:47:58 UTC
The test "libesmtp-config --version" is failing
Comment 3 Larry the Git Cow gentoo-dev 2021-04-13 20:28:47 UTC
The bug has been referenced in the following commit(s):

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

commit fce8a7c378cd71e7145133dd2dc09e0c0ea5e67a
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2021-04-13 20:27:44 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2021-04-13 20:27:44 +0000

    mail-mta/esmtp: Fix build with libesmtp snapshot
    
    Use pkg-config to get the required info
    
    Bug: https://bugs.gentoo.org/782709
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 mail-mta/esmtp/esmtp-1.2-r2.ebuild             | 41 ++++++++++++++++++++++++++
 mail-mta/esmtp/files/esmtp-1.2-pkgconfig.patch | 37 +++++++++++++++++++++++
 2 files changed, 78 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-04-13 22:37:54 UTC
The bug has been referenced in the following commit(s):

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

commit 7ea6b09e8cc77001844be7e1feb639954c500361
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-04-13 20:35:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-04-13 22:37:38 +0000

    mail-mta/esmtp: use PKG_CHECK_MODULES for libesmtp
    
    This ensures we respect e.g. ${PKG_CONFIG} from the environment.
    
    Bug: https://bugs.gentoo.org/782709
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-mta/esmtp/esmtp-1.2-r2.ebuild             | 23 ++++++----
 mail-mta/esmtp/files/esmtp-1.2-pkgconfig.patch | 58 +++++++++++---------------
 2 files changed, 40 insertions(+), 41 deletions(-)
Comment 5 Brian Evans (RETIRED) gentoo-dev 2021-08-12 13:42:43 UTC
Fixed with stable esmtp-1.2-r2