On 10/2/14, 4:21 AM, Viv Kendon wrote:
> So I have alpine-alpha working nicely, but it seems I need this patch
>
> http://sourceforge.net/p/re-alpine/bugs/16/
>
> for my local smtp server because I get this error:
>
> warning: Server bug: non-empty initial GSSAPI challenge
>
> with fink’s current alpine-alpha.  Trying to compile re-alpine to see whether 
> it contains the patch fails with
>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I../../../include -I../../../include 
> -I/sw/include -I/sw/include -g -D_THREAD_SAFE -Dbsd -g -O2 -MT wpcomm.lo -MD 
> -MP -MF .deps/wpcomm.Tpo -c wpcomm.c -o wpcomm.o >/dev/null 2>&1
> mv -f .deps/wpcomm.Tpo .deps/wpcomm.Plo
> /bin/sh ../../../libtool --tag=CC   --mode=link gcc -g -D_THREAD_SAFE  -Dbsd 
> -g -O2 -rpath 
> '/sw/src/fink.build/re-alpine-2.02-4/re-alpine-2.02/web/src/alpined.d/../../lib'
>  -version-info 1:0:0 -lintl -L/sw/lib -L/sw/lib -o libwpcomm.la -rpath 
> /sw/src/fink.build/re-alpine-2.02-4/re-alpine-2.02/web/src/alpined.d/../../lib
>  wpcomm.lo  -ltcl -lgssapi_krb5 -lssl -lldap  -lncurses -llber -lssl 
> -framework Carbon -framework ApplicationServices -framework Security
> libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o 
> .libs/libwpcomm.1.dylib  .libs/wpcomm.o   /sw/lib/libintl.dylib -L/sw/lib 
> -ltcl -lgssapi_krb5 /sw/lib/libldap.dylib -lncurses /sw/lib/liblber.dylib 
> -lssl -framework Carbon -framework ApplicationServices -framework Security    
> -framework Carbon -framework ApplicationServices -framework Security 
> -install_name  
> /sw/src/fink.build/re-alpine-2.02-4/re-alpine-2.02/web/src/alpined.d/../../lib/libwpcomm.1.dylib
>  -compatibility_version 2 -current_version 2.0 -Wl,-single_module
> libtool: link: dsymutil .libs/libwpcomm.1.dylib || :
> libtool: link: (cd ".libs" && rm -f "libwpcomm.dylib" && ln -s 
> "libwpcomm.1.dylib" "libwpcomm.dylib")
> libtool: link: /usr/bin/ar cru .libs/libwpcomm.a  wpcomm.o
> libtool: link: ranlib .libs/libwpcomm.a
> libtool: link: ( cd ".libs" && rm -f "libwpcomm.la" && ln -s 
> "../libwpcomm.la" "libwpcomm.la" )
> gcc -DHAVE_CONFIG_H   -I../../../include -I../../../include -I/sw/include 
> -I/sw/include -g -D_THREAD_SAFE  -Dbsd -g -O2 -MT alpined.o -MD -MP -MF 
> .deps/alpined.Tpo -c -o alpined.o alpined.c
> alpined.c:763:50: error: no member named 'result' in 'struct Tcl_Interp'
>    ...case TCL_OK          : peReturn(cs, "OK", interp->result); break;
>                                            ~~~~~~  ^
> alpined.c:764:55: error: no member named 'result' in 'struct Tcl_Interp'
>    ...case TCL_ERROR  : peReturn(cs, "ERROR", interp->result); break;
>                                               ~~~~~~  ^
> alpined.c:765:55: error: no member named 'result' in 'struct Tcl_Interp'
>    ...case TCL_BREAK  : peReturn(cs, "BREAK", interp->result); break;
>                                               ~~~~~~  ^
> alpined.c:766:56: error: no member named 'result' in 'struct Tcl_Interp'
>    ...case TCL_RETURN : peReturn(cs, "RETURN", interp->result); break;
>                                                ~~~~~~  ^
> alpined.c:7699:49: warning: passing 'imapuid_t *' (aka 'unsigned long *') to
>        parameter of type 'long *' converts between pointers to integer types 
> with
>        different sign [-Wpointer-sign]
>      else if(Tcl_GetLongFromObj(interp, objv[1], &uid) != TCL_OK){
>                                                  ^~~~
> /sw/include/tclDecls.h:160:28: note: passing argument to parameter 'longPtr'
>        here
>                                  Tcl_Obj *objPtr, long *longPtr);
>                                                         ^
> alpined.c:7863:49: warning: passing 'imapuid_t *' (aka 'unsigned long *') to
>        parameter of type 'long *' converts between pointers to integer types 
> with
>        different sign [-Wpointer-sign]
>      else if(Tcl_GetLongFromObj(interp, objv[1], &uid) != TCL_OK){
>                                                  ^~~~
> /sw/include/tclDecls.h:160:28: note: passing argument to parameter 'longPtr'
>        here
>                                  Tcl_Obj *objPtr, long *longPtr);
>                                                         ^
> alpined.c:9636:7: warning: format specifies type 'int' but the argument has 
> type
>        'unsigned long' [-Wformat]
>                      strlen(prefix), prefix,
>                      ^~~~~~~~~~~~~~
> /usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
>    __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
>                                                               ^
> alpined.c:10818:10: warning: using the result of an assignment as a condition
>        without parentheses [-Wparentheses]
>      if(s = peAuthException())
>         ~~^~~~~~~~~~~~~~~~~~~
> alpined.c:10818:10: note: place parentheses around the assignment to silence
>        this warning
>      if(s = peAuthException())
>           ^
>         (                    )
> alpined.c:10818:10: note: use '==' to turn this assignment into an equality
>        comparison
>      if(s = peAuthException())
>           ^
>           ==
> alpined.c:10847:45: warning: cast to 'void *' from smaller integer type 'int'
>        [-Wint-to-void-pointer-cast]
>        mail_parameters(NULL, SET_RSHTIMEOUT, (void *) rv);
>                                              ^
> alpined.c:10851:45: warning: cast to 'void *' from smaller integer type 'int'
>        [-Wint-to-void-pointer-cast]
>        mail_parameters(NULL, SET_SSHTIMEOUT, (void *) rv);
>                                              ^
> alpined.c:11766:11: warning: using the result of an assignment as a condition
>        without parentheses [-Wparentheses]
>              if(s = peAuthException()){
>                 ~~^~~~~~~~~~~~~~~~~~~
> alpined.c:11766:11: note: place parentheses around the assignment to silence
>        this warning
>              if(s = peAuthException()){
>                   ^
>                 (                    )
> alpined.c:11766:11: note: use '==' to turn this assignment into an equality
>        comparison
>              if(s = peAuthException()){
>                   ^
>                   ==
> alpined.c:11851:42: warning: passing 'imapuid_t *' (aka 'unsigned long *') to
>        parameter of type 'long *' converts between pointers to integer types 
> with
>        different sign [-Wpointer-sign]
>                  if(Tcl_GetLongFromObj(interp, objv[2], &uid) == TCL_OK){
>                                                         ^~~~
> /sw/include/tclDecls.h:160:28: note: passing argument to parameter 'longPtr'
>        here
>                                  Tcl_Obj *objPtr, long *longPtr);
>                                                         ^
> alpined.c:12124:46: warning: passing 'imapuid_t *' (aka 'unsigned long *') to
>        parameter of type 'long *' converts between pointers to integer types 
> with
>        different sign [-Wpointer-sign]
>                      if(Tcl_GetLongFromObj(interp, objv[2], &uid) == TCL_OK){
>                                                             ^~~~
> /sw/include/tclDecls.h:160:28: note: passing argument to parameter 'longPtr'
>        here
>                                  Tcl_Obj *objPtr, long *longPtr);
>                                                         ^
> alpined.c:12399:11: warning: using the result of an assignment as a condition
>        without parentheses [-Wparentheses]
>    ...if(pf = set_priority_header(md.metaenv, priority))
>          ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> alpined.c:12399:11: note: place parentheses around the assignment to silence
>        this warning
>    ...if(pf = set_priority_header(md.metaenv, priority))
>             ^
>          (                                             )
> alpined.c:12399:11: note: use '==' to turn this assignment into an equality
>        comparison
>                                  if(pf = set_priority_header(md.metaenv, ...
>                                        ^
>                                        ==
> alpined.c:13328:37: warning: field precision should have type 'int', but
>        argument has type 'long' [-Wformat]
>    ...snprintf(newnewaddr, l, "%.*s%s%s", tstr1 - newaddr,
>                                ~~^~       ~~~~~~~~~~~~~~~
> /usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
>    __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
>                                                               ^
> alpined.c:16266:13: warning: using the result of an assignment as a condition
>        without parentheses [-Wparentheses]
>                              if(q = strchr(p,':')){
>                                 ~~^~~~~~~~~~~~~~~
> alpined.c:16266:13: note: place parentheses around the assignment to silence
>        this warning
>                              if(q = strchr(p,':')){
>                                   ^
>                                 (                )
> alpined.c:16266:13: note: use '==' to turn this assignment into an equality
>        comparison
>                              if(q = strchr(p,':')){
>                                   ^
>                                   ==
> alpined.c:16275:21: warning: implicit declaration of function
>        'date_to_local_time_t' is invalid in C99 
> [-Wimplicit-function-declaration]
>                                      theirdate = date_to_local_time_t(q);
>                                                  ^
> 13 warnings and 4 errors generated.
> make[2]: *** [alpined.o] Error 1
> make[2]: Leaving directory 
> `/sw/src/fink.build/re-alpine-2.02-4/re-alpine-2.02/web/src/alpined.d'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/sw/src/fink.build/re-alpine-2.02-4/re-alpine-2.02'
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> ### execution of /tmp/fink.Ck0Ma failed, exit code 2
>
>
> Package manager version: 0.37.1
> Distribution version: selfupdate-rsync Thu Oct  2 11:46:01 2014, 10.9, x86_64
> Trees: local/main stable/main
> Xcode.app: 6.0.1
> Xcode command-line tools: 6.0.0.0.1.1410400753
> re-alpine-2.02-4 is set to build with only one job.
>
>
> I think I reported re-alpine failing to compile when I first updated to 10.9, 
> but I was using a different smtp server then and didn’t have this error, so 
> switching to alpine-alpha was fine.  I am not set on having re-alpine, I just 
> want a workaround for the smtp server error.
>
> Many thanks,
> — Viv

Well, it *should* work, though.  I can confirm the failure (same OS and 
compiler).  It looks like a problem with tcltk-8.6, cf. :

http://stackoverflow.com/questions/23658393/installing-wordnet-on-mac-10-9-2

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to