I have confirmation from another user that it *did* now build 
successfully. What version of this package are you using? If it's 
1.4.17-1004 rather than 1.4.17-1005, your selfupdate did not yet pick 
up the latest fixes. 

dan

On Wed, 3 Oct 2012 12:47:45 +1000, Andrew Buckeridge 
<andr...@bgc.com.au> wrote:
Did selfupdate, but build of msmtp-ssl still failed due to change in API
> of openssl100-dev which is apparently now fixed upstream. 
>
> If API is deprecated then msmtp-ssl could just depend on old
> openssl098-dev. Any security or other show stoppers with openssl098-dev?
>
> On Tue, 02 Oct 2012 17:05:44 -0400
> "Daniel Macks" <dma...@netspace.org> wrote:
>
> > On Tue, 02 Oct 2012 15:13:06 -0400, Hanspeter Niederstrasser > 
> <f...@snaggledworks.com> wrote:
> > On 10/2/2012 7:59 AM, Andrew Buckeridge wrote:
> > > > Did fink self-update and then fink update-all, but it failed. > 
> > > See attached. > >
> > > > gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=\"/sw/etc\" > > 
> -DLOCALEDIR=\"/sw/share/locale\" -I. -I..  -I../gnulib -I../gnulib > 
> > -I/sw/include  -g -O2 -MT tls.o -MD -MP -MF .deps/tls.Tpo -c -o 
> tls.o > > tls.c
> > > > tls.c: In function 'tls_check_cert':
> > > > tls.c:816: error: 'STACK' undeclared (first use in this function)
> > > > tls.c:816: error: (Each undeclared identifier is reported only once
> > > > tls.c:816: error: for each function it appears in.)
> > > > tls.c:816: error: 'subj_alt_names' undeclared (first use in 
> this function)
> > > > tls.c: In function 'tls_init':
> > > > tls.c:1100: warning: assignment discards qualifiers from 
> pointer > > target type
> > >
> > > I can confirm this on 10.6/i386 (no other combo tested).  
> msmtp-ssl > > now uses openssl100-dev.  If I downgrade to 
> openssl098-dev, the build > > succeeds. > >
> > > Dan, you committed the update to openssl100.  Did it work for you?
> > > Worked for me at the time. STACK looks like it was deprecated a 
> while > ago but maybe still existed in older openssl100 versions? I 
> pushed an > upstream patch to tls.c and now it compiles for me again 
> (tested on > 10.6/i386 and 10.7). There is a newer upstream release 
> but it adds a > lot of new things (like optional gnome/glib use?) so 
> I didn't push it > because I'm not maintainer. He might also want to 
> address the lack of > swappability (seems like the msmtp and 
> msmtp-ssl variants should be > able to displace each other using 
> Conflicts/Replaces tags). > > dan
> > >   --
> > Daniel Macks
> > dma...@netspace.org
> > > Depends on openssl100-dev, but that does not provide same API. 
> Fixed upstream
>
> > bash-3.2# fink install openssl098-dev
> > Information about 11975 packages read in 1 seconds. 
> > The following package will be installed or updated:
> >  openssl098-dev
> > Reading buildlock packages... 
> > /sw/bin/dpkg-lockwait -i 
> /sw/fink/dists/stable/main/binary-darwin-i386/crypto/openssl098-dev_0.9.8x-1_darwin-i386.deb
> > Selecting previously deselected package openssl098-dev. 
> > dpkg: considering removing openssl100-dev in favour of openssl098-dev ... 
> > dpkg: yes, will remove openssl100-dev in favour of openssl098-dev. 
> > (Reading database ... 61940 files and directories currently installed.)
> > Unpacking openssl098-dev (from 
> .../openssl098-dev_0.9.8x-1_darwin-i386.deb) ... 
> > Setting up openssl098-dev (0.9.8x-1) ... 
> > > bash-3.2# fink install msmtp-ssl
> > Information about 11975 packages read in 1 seconds. 
> > The following package will be installed or updated:
> >  msmtp-ssl
> > The following additional package will be installed:
> >  openssl100-dev
> > Do you want to continue? [Y/n] y
> ... 
> > gcc -std=gnu99 -DHAVE_CONFIG_H -DSYSCONFDIR=\"/sw/etc\" 
> -DLOCALEDIR=\"/sw/share/locale\" -I. -I..  -I../gnulib -I../gnulib 
> -I/sw/include  -g -O2 -MT tls.o -MD -MP -MF .deps/tls.Tpo -c -o tls.o 
> tls.c
> > tls.c: In function 'tls_check_cert':
> > tls.c:816: error: 'STACK' undeclared (first use in this function)
> > tls.c:816: error: (Each undeclared identifier is reported only once
> > tls.c:816: error: for each function it appears in.)
> > tls.c:816: error: 'subj_alt_names' undeclared (first use in this function)
> > tls.c: In function 'tls_init':
> > tls.c:1100: warning: assignment discards qualifiers from pointer 
> target type
> > make[2]: *** [tls.o] Error 1
>
> msmtp-ssl depends on openssl100-dev, but openssl100-dev does not
> provide required API. 
>
>

  --
Daniel Macks
dma...@netspace.org



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to