First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 88069
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tom Martin (RETIRED) <slarti@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Rothe <corsair@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
msmtp-1.3.6.ebuild.patch msmtp-1.3.6.ebuild.patch patch Markus Rothe 2005-04-06 10:19 0000 453 bytes Details | Diff
msmtp-1.3.6.ebuild.patch msmtp-1.3.6.ebuild.patch patch Markus Rothe 2005-04-06 10:20 0000 453 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 88069 depends on: Show dependency tree
Show dependency graph
Bug 88069 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-05 12:35 0000
Hi,

msmtp-1.3.6 fails to compile on ppc64:

[...]
if powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -I. -I. -I..  -I../lib   -mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec -g    -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o net.o net.c; \
then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f ".deps/net.Tpo"; exit 1; fi
if powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -I. -I. -I..  -I../lib   -mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec -g    -MT paths.o -MD -MP -MF ".deps/paths.Tpo" -c -o paths.o paths.c; \
then mv -f ".deps/paths.Tpo" ".deps/paths.Po"; else rm -f ".deps/paths.Tpo"; exit 1; fi
if powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -I. -I. -I..  -I../lib   -mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec -g    -MT smtp.o -MD -MP -MF ".deps/smtp.Tpo" -c -o smtp.o smtp.c; \
then mv -f ".deps/smtp.Tpo" ".deps/smtp.Po"; else rm -f ".deps/smtp.Tpo"; exit 1; fi
if powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -I. -I. -I..  -I../lib   -mcpu=G5 -O3 -pipe -fsigned-char -mabi=altivec -g    -MT xmalloc.o -MD -MP -MF ".deps/xmalloc.Tpo" -c -o xmalloc.o xmalloc.c; \
then mv -f ".deps/xmalloc.Tpo" ".deps/xmalloc.Po"; else rm -f ".deps/xmalloc.Tpo"; exit 1; fi
smtp.c: In function `smtp_auth':
smtp.c:1067: error: `GSASL_REALM' undeclared (first use in this function)
smtp.c:1067: error: (Each undeclared identifier is reported only once
smtp.c:1067: error: for each function it appears in.)
make[2]: *** [smtp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/msmtp-1.3.6/work/msmtp-1.3.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/msmtp-1.3.6/work/msmtp-1.3.6'
make: *** [all] Error 2

!!! ERROR: mail-mta/msmtp-1.3.6 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #1 From Tom Martin (RETIRED) 2005-04-05 12:37:46 0000 -------
Okay, do you have gsasl/libgsasl installed (just to make sure?) I'm sure I've
seen this somewhere before... shame I can't remember :P

------- Comment #2 From Martin Lambers 2005-04-05 13:14:59 0000 -------
Just a guess: A version of libgsasl or gsasl < 0.2.4 is installed. The sasl USE
flag is not set, so this is not considered a problem. msmtp wrongly detects
this old version and tries to use it (version checking only works when
pkg-config is properly used with (lib)gsasl). 

Perhaps add a --disable-gsasl argument, and only change that to --enable-gsasl
when the sasl USE flag is set. 

Note that the configure options use -gsasl and not -sasl, so I'm not sure if 
$(use_enable sasl) is correct.

Note also that msmtp >= 1.3.6 depends on GnuTLS >=1.2.0, not 1.1.23, when the
gnutls USE flag is set.

By the way: 1.4.0 is released ;-)

------- Comment #3 From Markus Rothe 2005-04-06 10:19:59 0000 -------
Created an attachment (id=55500) [edit]
msmtp-1.3.6.ebuild.patch

this patch solves this problem for me. If this is a sufficient fix, please
apply it. then I'll add KEYWORDS for ppc64 to the ebuild. :-)

------- Comment #4 From Markus Rothe 2005-04-06 10:20:56 0000 -------
Created an attachment (id=55501) [edit]
msmtp-1.3.6.ebuild.patch

this patch solves this problem for me. If this is a sufficient fix, please
apply it. then I'll add KEYWORDS for ppc64 to the ebuild. :-)

------- Comment #5 From Markus Rothe 2005-04-06 10:21:22 0000 -------
sorry.. don't klick that submit button twice :-/

------- Comment #6 From Tom Martin (RETIRED) 2005-04-07 04:41:46 0000 -------
I'm going with a $(use_enable sasl gsasl) fix, because this does the same thing
and doesn't require a lengthy if.

Martin: Weird. I usually get a freshmeat announcement through on a new release.
I've got a feeling I'm forwarding them through to my old email address... I'll
fix that :)

Okay, so, to summarise, I've got the 1.4.0 ebuild finished and I'll be
committing shortly. Markus, if you could mark that ~ppc64, I would appreciate
it.

------- Comment #7 From Markus Rothe 2005-04-07 10:00:59 0000 -------
Fixed in CVS. added ~ppc64 to KEYWORDS.

First Last Prev Next    No search results available      Search page      Enter new bug