Opened 13 years ago

Closed 9 years ago

#28060 closed defect (worksforme)

cyrus-sasl2 build failure

Reported by: E3pO@… Owned by: jmpp@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: landonf (Landon Fuller), ancandune@…, cooljeanius (Eric Gallager)
Port: cyrus-sasl2

Description (last modified by jmroot (Joshua Root))

Last login: Thu Jan 20 06:56:32 on console
E3pOs-Mac-mini:~ E3pO$ sudo port install subversion
Password:
--->  Computing dependencies for subversion
--->  Dependencies to be installed: cyrus-sasl2 gettext neon serf
--->  Building cyrus-sasl2
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install cyrus-sasl2
Log for cyrus-sasl2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/main.log
Error: The following dependencies were not installed: cyrus-sasl2 gettext neon serf
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
E3pOs-Mac-mini:~ E3pO$ tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/main.log 
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for cyrus-sasl2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install cyrus-sasl2
:notice:build Log for cyrus-sasl2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/main.log
E3pOs-Mac-mini:~ E3pO$ 

Change History (6)

comment:1 Changed 13 years ago by E3pO@…

Update: Builds perfect with command "port -v install subversion" why do most tutorials not have the -v option?

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Cc: landonf@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to jmpp@…
Port: cyrus-sasl2 added; subversion removed
Summary: Error: Failed to install cyrus-sasl2cyrus-sasl2 build failure

Please remember to preview and use WikiFormatting, and to cc the maintainer.

The -v option doesn't do anything but increase the amount of output displayed. The small excerpt from the log you've shown doesn't contain the actual error, so you'll need to attach the whole thing for us to know why the build failed.

comment:3 Changed 13 years ago by ancandune@…

I'm seeing the same problem. Here's my log.

version:1
:debug:main Executing org.macports.main (cyrus-sasl2)
:debug:main Skipping completed org.macports.fetch (cyrus-sasl2)
:debug:main Skipping completed org.macports.checksum (cyrus-sasl2)
:debug:main Skipping completed org.macports.extract (cyrus-sasl2)
:debug:main Skipping completed org.macports.patch (cyrus-sasl2)
:debug:main Skipping completed org.macports.configure (cyrus-sasl2)
:msg:main --->  Building cyrus-sasl2
:debug:build build phase started at Wed Apr 20 17:32:23 EDT 2011
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (cyrus-sasl2)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23" && /usr/bin/make -j2 all'
:info:build /usr/bin/make  all-recursive
:info:build Making all in include
:info:build make[2]: Nothing to be done for `all'.
:info:build Making all in sasldb
:info:build ar cru .libs/libsasldb.a db_ndbm.o allockey.o
:info:build Making all in plugins
:info:build if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include  -I/opt/local/include -I/opt/local/include  -Wall -W -O2 -arch x86_64 -MT digestmd5.lo -MD -MP -MF ".deps/digestmd5.Tpo" \
:info:build 	  -c -o digestmd5.lo `test -f 'digestmd5.c' || echo './'`digestmd5.c; \
:info:build 	then mv -f ".deps/digestmd5.Tpo" ".deps/digestmd5.Plo"; \
:info:build 	else rm -f ".deps/digestmd5.Tpo"; exit 1; \
:info:build 	fi
:info:build if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include  -I/opt/local/include -I/opt/local/include  -Wall -W -O2 -arch x86_64 -MT plain_init.lo -MD -MP -MF ".deps/plain_init.Tpo" \
:info:build 	  -c -o plain_init.lo `test -f 'plain_init.c' || echo './'`plain_init.c; \
:info:build 	then mv -f ".deps/plain_init.Tpo" ".deps/plain_init.Plo"; \
:info:build 	else rm -f ".deps/plain_init.Tpo"; exit 1; \
:info:build 	fi
:info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/opt/local/include -I/opt/local/include -Wall -W -O2 -arch x86_64 -MT plain_init.lo -MD -MP -MF .deps/plain_init.Tpo -c plain_init.c  -fno-common -DPIC -o plain_init.lo
:info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/opt/local/include -I/opt/local/include -Wall -W -O2 -arch x86_64 -MT digestmd5.lo -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c  -fno-common -DPIC -o digestmd5.lo
:info:build digestmd5.c:279: warning: pointer targets in initialization differ in signedness
:info:build digestmd5.c: In function 'DigestCalcResponse':
:info:build digestmd5.c:366: warning: pointer targets in passing argument 2 of 'utils->MD5Update' differ in signedness
:info:build digestmd5.c: At top level:
:info:build digestmd5.c:812: error: expected specifier-qualifier-list before 'des_key_schedule'
:info:build digestmd5.c: In function 'dec_3des':
:info:build digestmd5.c:849: warning: implicit declaration of function 'des_ede2_cbc_encrypt'
:info:build digestmd5.c:852: error: 'des_context_t' has no member named 'keysched'
:info:build digestmd5.c:853: error: 'des_context_t' has no member named 'keysched2'
:info:build digestmd5.c:854: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:855: error: 'DES_DECRYPT' undeclared (first use in this function)
:info:build digestmd5.c:855: error: (Each undeclared identifier is reported only once
:info:build digestmd5.c:855: error: for each function it appears in.)
:info:build digestmd5.c:842: warning: unused parameter 'digest'
:info:build digestmd5.c: In function 'enc_3des':
:info:build digestmd5.c:900: error: 'des_context_t' has no member named 'keysched'
:info:build digestmd5.c:901: error: 'des_context_t' has no member named 'keysched2'
:info:build digestmd5.c:902: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:903: error: 'DES_ENCRYPT' undeclared (first use in this function)
:info:build digestmd5.c: In function 'init_3des':
:info:build digestmd5.c:923: warning: implicit declaration of function 'des_key_sched'
:info:build digestmd5.c:923: error: 'des_cblock' undeclared (first use in this function)
:info:build digestmd5.c:923: error: expected expression before ')' token
:info:build digestmd5.c:927: error: expected expression before ')' token
:info:build digestmd5.c:929: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:929: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:929: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:929: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:936: error: expected expression before ')' token
:info:build digestmd5.c:940: error: expected expression before ')' token
:info:build digestmd5.c:943: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:943: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:943: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:943: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c: In function 'dec_des':
:info:build digestmd5.c:967: warning: implicit declaration of function 'des_cbc_encrypt'
:info:build digestmd5.c:970: error: 'des_context_t' has no member named 'keysched'
:info:build digestmd5.c:971: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:972: error: 'DES_DECRYPT' undeclared (first use in this function)
:info:build digestmd5.c:976: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:976: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:976: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:976: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:960: warning: unused parameter 'digest'
:info:build digestmd5.c: In function 'enc_des':
:info:build digestmd5.c:1021: error: 'des_context_t' has no member named 'keysched'
:info:build digestmd5.c:1022: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1023: error: 'DES_ENCRYPT' undeclared (first use in this function)
:info:build digestmd5.c:1027: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1027: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1027: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1027: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c: In function 'init_des':
:info:build digestmd5.c:1047: error: 'des_cblock' undeclared (first use in this function)
:info:build digestmd5.c:1047: error: expected expression before ')' token
:info:build digestmd5.c:1049: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1049: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1049: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1049: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1056: error: expected expression before ')' token
:info:build digestmd5.c:1058: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1058: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1058: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c:1058: error: 'des_context_t' has no member named 'ivec'
:info:build digestmd5.c: In function 'dec_rc4':
:info:build digestmd5.c:1211: warning: unused parameter 'digest'
:info:build digestmd5.c: In function 'digestmd5_encode':
:info:build digestmd5.c:1401: warning: pointer targets in passing argument 5 of 'text->utils->hmac_md5' differ in signedness
:info:build digestmd5.c: In function 'digestmd5_decode_packet':
:info:build digestmd5.c:1497: warning: pointer targets in assignment differ in signedness
:info:build digestmd5.c: In function 'digestmd5_server_mech_new':
:info:build digestmd5.c:1797: warning: unused parameter 'challenge'
:info:build digestmd5.c:1798: warning: unused parameter 'challen'
:info:build digestmd5.c: In function 'digestmd5_server_mech_step1':
:info:build digestmd5.c:1947: warning: pointer targets in passing argument 6 of 'add_to_challenge' differ in signedness
:info:build digestmd5.c:1820: warning: unused parameter 'clientin'
:info:build digestmd5.c:1821: warning: unused parameter 'clientinlen'
:info:build digestmd5.c:1824: warning: unused parameter 'oparams'
:info:build digestmd5.c: In function 'digestmd5_server_mech_step2':
:info:build digestmd5.c:2235: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
:info:build digestmd5.c:2238: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
:info:build digestmd5.c:2274: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness
:info:build digestmd5.c:2286: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness
:info:build digestmd5.c:2286: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness
:info:build digestmd5.c:2351: warning: pointer targets in passing argument 1 of '__builtin___strncpy_chk' differ in signedness
:info:build digestmd5.c:2351: warning: pointer targets in passing argument 1 of '__inline_strncpy_chk' differ in signedness
:info:build digestmd5.c:2369: warning: pointer targets in passing argument 2 of 'DigestCalcSecret' differ in signedness
:info:build digestmd5.c:2369: warning: pointer targets in passing argument 3 of 'DigestCalcSecret' differ in signedness
:info:build digestmd5.c:2514: warning: pointer targets in passing argument 2 of 'text->cipher_init' differ in signedness
:info:build digestmd5.c:2514: warning: pointer targets in passing argument 3 of 'text->cipher_init' differ in signedness
:info:build if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include  -I/opt/local/include -I/opt/local/include  -Wall -W -O2 -arch x86_64 -MT anonymous.lo -MD -MP -MF ".deps/anonymous.Tpo" \
:info:build 	  -c -o anonymous.lo `test -f 'anonymous.c' || echo './'`anonymous.c; \
:info:build 	then mv -f ".deps/anonymous.Tpo" ".deps/anonymous.Plo"; \
:info:build 	else rm -f ".deps/anonymous.Tpo"; exit 1; \
:info:build 	fi
:info:build digestmd5.c: In function 'make_client_response':
:info:build digestmd5.c:3010: warning: pointer targets in passing argument 3 of 'calculate_response' differ in signedness
:info:build digestmd5.c:3010: warning: pointer targets in passing argument 11 of 'calculate_response' differ in signedness
:info:build digestmd5.c:3034: warning: pointer targets in passing argument 6 of 'add_to_challenge' differ in signedness
:info:build digestmd5.c:3145: warning: pointer targets in passing argument 2 of 'text->cipher_init' differ in signedness
:info:build digestmd5.c:3145: warning: pointer targets in passing argument 3 of 'text->cipher_init' differ in signedness
:info:build digestmd5.c: In function 'digestmd5_client_mech_step1':
:info:build digestmd5.c:3732: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
:info:build digestmd5.c:3735: warning: pointer targets in passing argument 2 of '_plug_strdup' differ in signedness
:info:build digestmd5.c:3703: warning: unused parameter 'serverin'
:info:build digestmd5.c:3704: warning: unused parameter 'serverinlen'
:info:build digestmd5.c: In function 'digestmd5_client_mech_step3':
:info:build digestmd5.c:3838: warning: unused parameter 'prompt_need'
:info:build digestmd5.c:3839: warning: unused parameter 'clientout'
:info:build digestmd5.c:3840: warning: unused parameter 'clientoutlen'
:info:build digestmd5.c: In function 'digestmd5_client_mech_step':
:info:build digestmd5.c:4000: warning: pointer targets in assignment differ in signedness
:info:build make[2]: *** [digestmd5.lo] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/opt/local/include -I/opt/local/include -Wall -W -O2 -arch x86_64 -MT anonymous.lo -MD -MP -MF .deps/anonymous.Tpo -c anonymous.c  -fno-common -DPIC -o anonymous.lo
:info:build anonymous.c: In function 'anonymous_server_mech_new':
:info:build anonymous.c:70: warning: unused parameter 'glob_context'
:info:build anonymous.c:72: warning: unused parameter 'challenge'
:info:build anonymous.c:73: warning: unused parameter 'challen'
:info:build anonymous.c: In function 'anonymous_server_mech_step':
:info:build anonymous.c:88: warning: unused parameter 'conn_context'
:info:build anonymous.c: In function 'anonymous_client_mech_new':
:info:build anonymous.c:200: warning: unused parameter 'glob_context'
:info:build anonymous.c: In function 'anonymous_client_mech_step':
:info:build anonymous.c:228: warning: unused parameter 'serverin'
:info:build anonymous.c: At top level:
:info:build anonymous.c:361: warning: pointer targets in initialization differ in signedness
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for cyrus-sasl2): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install cyrus-sasl2
:notice:build Log for cyrus-sasl2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/main.log

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Cc: ancandune@… added

I can't reproduce this. Can someone who can reproduce generate a complete log, i.e. one that doesn't start with the configure phase already finished, by cleaning first? Please add it as an attachment rather than pasting into a comment.

comment:5 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 9 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

This port currently builds fine on all of the buildbots.

Note: See TracTickets for help on using tickets.