Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250616 - ssmtp-2.61-r2 fails to compile on OSX
Summary: ssmtp-2.61-r2 fails to compile on OSX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 13:39 UTC by Sven Schwyn (svoop)
Modified: 2008-12-15 19:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Schwyn (svoop) 2008-12-11 13:39:57 UTC
I try to update to gnupg-2.0.9-r1 which forces me to downgrade ssmtp (possibly due to the RDEPEND on virtual/mta):

[ebuild     UD] mail-mta/ssmtp-2.61-r2 [2.62-r1] USE="-mailwrapper%" 

This older version of ssmtp, however, fails to compile.



Reproducible: Always

Steps to Reproduce:
emerge gnupg-2.0.9-r1
or
emerge mail-mta/ssmtp-2.61-r2
Actual Results:  
 * Messages for package mail-mta/ssmtp-2.61-r2:
[...]
i686-apple-darwin9-gcc   -o ssmtp ssmtp.o arpadate.o base64.o  -lssl
Undefined symbols:
  "_X509_free", referenced from:
      _smtp_open in ssmtp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [ssmtp] Error 1
 * ERROR: mail-mta/ssmtp-2.61-r2 failed:
 *   (no error message)
 * 
 * Call stack:
 *               ebuild.sh:  49: <call src_compile>
 *             environment:2444:     make etcdir="${EPREFIX}"/etc || die


Expected Results:  
Either ssmtp-2.61-r2 compiling or no dependency to this old version of ssmtp.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-15 16:03:50 UTC
OSX only. Works on linux. 

I don't quite understand the problem because trying to install gnupg-2.0.9-r1 on my system (with ssmtp-2.61-r2) does not cuase a downgrade.

Comment 2 Sven Schwyn (svoop) 2008-12-15 17:28:50 UTC
I got the downgrade with gnupg-2.0.9. It doesn't happen anymore with gnupg-2.0.9-r1.

However, ssmtp is still not installing. 2.61-r2 produces the above error and 2.62-* are all package masked.
Comment 3 Fabian Groffen gentoo-dev 2008-12-15 18:06:26 UTC
confirmed
Comment 4 Fabian Groffen gentoo-dev 2008-12-15 19:24:03 UTC
fixed, thanks for the report