Opened 14 years ago
Closed 13 years ago
#25620 closed defect (worksforme)
cyrus-sasl2 upgrade/install problems
Reported by: | deever@… | Owned by: | jmpalacios (Juan Manuel Palacios) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | landonf (Landon Fuller), cwt@…, michaelld (Michael Dickens), smibrahim@… | |
Port: | cyrus-sasl2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I remember having cyrus-sasl2 installed with the +kerberos variant. Since I don't have kerberos installed anymore, I've tried to install/upgrade it without the +kerberos variant with the following error (during the build phase!):
version:1 :debug:main epoch: in tree: 1 installed: 1 :debug:main openssl 1.0.0a_0 exists in the ports tree :debug:main openssl 1.0.0a_0 +rfc3779 is the latest installed :debug:main openssl 1.0.0a_0 +rfc3779 is active :debug:main Merging existing variants '+rfc3779' into variants :debug:main new fully merged portvariants: rfc3779 + :debug:main Changing to port directory: /Users/deever/subversion/macports/dports/devel/openssl :debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /Users/deever/subversion/macports/dports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main Reading variant descriptions from /Users/deever/subversion/macports/dports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main Executing variant rfc3779 provides rfc3779 :debug:main No need to upgrade! openssl 1.0.0a_0 >= openssl 1.0.0a_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main zlib 1.2.5_0 exists in the ports tree :debug:main zlib 1.2.5_0 is the latest installed :debug:main zlib 1.2.5_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /Users/deever/subversion/macports/dports/archivers/zlib :debug:main OS darwin/9.8.0 (Mac OS X 10.5) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /Users/deever/subversion/macports/dports/_resources/port1.0/group/xcodeversion-1.0.tcl :debug:main adding the default universal variant :debug:main Reading variant descriptions from /Users/deever/subversion/macports/dports/_resources/port1.0/variant_descriptions.conf :debug:main No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0 :msg:main ---> Computing dependencies for cyrus-sasl2:info:main .:debug:main Searching for dependency: openssl :debug:main Found Dependency: receipt exists for openssl :debug:main Searching for dependency: zlib :debug:main Found Dependency: receipt exists for zlib :msg:main :debug:main Executing org.macports.main (cyrus-sasl2) :debug:main Skipping completed org.macports.archivefetch (cyrus-sasl2) :debug:main Skipping completed org.macports.unarchive (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 Sat Jul 10 22:00:07 CEST 2010 :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/_Users_deever_subversion_macports_dports_security_cyrus-sasl2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_Users_deever_subversion_macports_dports_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 ccache /usr/bin/gcc-4.0 -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 i386 -MT gssapi.lo -MD -MP -MF ".deps/gssapi.Tpo" \ :info:build -c -o gssapi.lo `test -f 'gssapi.c' || echo './'`gssapi.c; \ :info:build then mv -f ".deps/gssapi.Tpo" ".deps/gssapi.Plo"; \ :info:build else rm -f ".deps/gssapi.Tpo"; exit 1; \ :info:build fi :info:build ccache /usr/bin/gcc-4.0 -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 i386 -MT gssapi.lo -MD -MP -MF .deps/gssapi.Tpo -c gssapi.c -fno-common -DPIC -o gssapi.lo :info:build gssapi.c:90: error: syntax error before 'gss_nt_service_name' :info:build gssapi.c:90: warning: type defaults to 'int' in declaration of 'gss_nt_service_name' :info:build gssapi.c:90: warning: data definition has no type or storage class :info:build gssapi.c:145: error: syntax error before 'gss_ctx_id_t' :info:build gssapi.c:145: warning: no semicolon at end of struct or union :info:build gssapi.c:146: warning: type defaults to 'int' in declaration of 'client_name' :info:build gssapi.c:146: warning: data definition has no type or storage class :info:build gssapi.c:147: error: syntax error before 'server_name' :info:build gssapi.c:147: warning: type defaults to 'int' in declaration of 'server_name' :info:build gssapi.c:147: warning: data definition has no type or storage class :info:build gssapi.c:148: error: syntax error before 'server_creds' :info:build gssapi.c:148: warning: type defaults to 'int' in declaration of 'server_creds' :info:build gssapi.c:148: warning: data definition has no type or storage class :info:build gssapi.c:149: error: syntax error before 'client_creds' :info:build gssapi.c:149: warning: type defaults to 'int' in declaration of 'client_creds' :info:build gssapi.c:149: warning: data definition has no type or storage class :info:build gssapi.c:171: error: syntax error before '}' token :info:build gssapi.c:171: warning: type defaults to 'int' in declaration of 'context_t' :info:build gssapi.c:171: warning: data definition has no type or storage class :info:build gssapi.c:185: error: syntax error before 'OM_uint32' :info:build gssapi.c: In function 'sasl_gss_seterror_': :info:build gssapi.c:188: error: 'OM_uint32' undeclared (first use in this function) :info:build gssapi.c:188: error: (Each undeclared identifier is reported only once :info:build gssapi.c:188: error: for each function it appears in.) :info:build gssapi.c:188: error: syntax error before 'maj_stat' :info:build gssapi.c:189: error: 'gss_buffer_desc' undeclared (first use in this function) :info:build gssapi.c:197: warning: passing argument 3 of '_plug_buf_alloc' from incompatible pointer type :info:build gssapi.c:202: error: 'msg_ctx' undeclared (first use in this function) :info:build gssapi.c:205: error: 'maj_stat' undeclared (first use in this function) :info:build gssapi.c:205: warning: implicit declaration of function 'gss_display_status' :info:build gssapi.c:205: error: 'min_stat' undeclared (first use in this function) :info:build gssapi.c:205: error: 'maj' undeclared (first use in this function) :info:build gssapi.c:206: error: 'GSS_C_GSS_CODE' undeclared (first use in this function) :info:build gssapi.c:206: error: 'GSS_C_NULL_OID' undeclared (first use in this function) :info:build gssapi.c:207: error: 'msg' undeclared (first use in this function) :info:build gssapi.c:210: warning: implicit declaration of function 'GSS_ERROR' :info:build gssapi.c:211: error: 'logonly' undeclared (first use in this function) :info:build gssapi.c:224: warning: passing argument 3 of '_plug_buf_alloc' from incompatible pointer type :info:build gssapi.c:234: warning: implicit declaration of function 'gss_release_buffer' :info:build gssapi.c:244: warning: passing argument 3 of '_plug_buf_alloc' from incompatible pointer type :info:build gssapi.c:255: error: 'min' undeclared (first use in this function) :info:build gssapi.c:256: error: 'GSS_C_MECH_CODE' undeclared (first use in this function) :info:build gssapi.c:275: warning: passing argument 3 of '_plug_buf_alloc' from incompatible pointer type :info:build gssapi.c:292: warning: passing argument 3 of '_plug_buf_alloc' from incompatible pointer type :info:build gssapi.c: In function 'sasl_gss_encode': :info:build gssapi.c:314: error: 'text' undeclared (first use in this function) :info:build gssapi.c:314: error: syntax error before ')' token :info:build gssapi.c:315: error: 'OM_uint32' undeclared (first use in this function) :info:build gssapi.c:316: error: 'gss_buffer_t' undeclared (first use in this function) :info:build gssapi.c:317: error: 'gss_buffer_desc' undeclared (first use in this function) :info:build gssapi.c:335: error: 'input_token' undeclared (first use in this function) :info:build gssapi.c:335: error: 'real_input_token' undeclared (first use in this function) :info:build gssapi.c:340: error: 'output_token' undeclared (first use in this function) :info:build gssapi.c:340: error: 'real_output_token' undeclared (first use in this function) :info:build gssapi.c:345: error: 'maj_stat' undeclared (first use in this function) :info:build gssapi.c:345: warning: implicit declaration of function 'gss_wrap' :info:build gssapi.c:345: error: 'min_stat' undeclared (first use in this function) :info:build gssapi.c:348: error: 'GSS_C_QOP_DEFAULT' undeclared (first use in this function) :info:build gssapi.c:311: warning: unused parameter 'context' :info:build gssapi.c: In function 'gssapi_decode_packet': :info:build gssapi.c:415: error: 'text' undeclared (first use in this function) :info:build gssapi.c:415: error: syntax error before ')' token :info:build gssapi.c:416: error: 'OM_uint32' undeclared (first use in this function) :info:build gssapi.c:417: error: 'gss_buffer_t' undeclared (first use in this function) :info:build gssapi.c:418: error: 'gss_buffer_desc' undeclared (first use in this function) :info:build gssapi.c:426: error: 'input_token' undeclared (first use in this function) :info:build gssapi.c:426: error: 'real_input_token' undeclared (first use in this function) :info:build gssapi.c:430: error: 'output_token' undeclared (first use in this function) :info:build gssapi.c:430: error: 'real_output_token' undeclared (first use in this function) :info:build gssapi.c:435: error: 'maj_stat' undeclared (first use in this function) :info:build gssapi.c:435: warning: implicit declaration of function 'gss_unwrap' :info:build gssapi.c:435: error: 'min_stat' undeclared (first use in this function) :info:build gssapi.c:411: warning: unused parameter 'context' :info:build gssapi.c: In function 'gssapi_decode': :info:build gssapi.c:483: error: 'text' undeclared (first use in this function) :info:build gssapi.c:483: error: syntax error before ')' token :info:build gssapi.c:479: warning: unused parameter 'context' :info:build gssapi.c: At top level: :info:build gssapi.c:495: error: syntax error before '*' token :info:build gssapi.c:496: warning: return type defaults to 'int' :info:build gssapi.c: In function 'sasl_gss_new_context': :info:build gssapi.c:497: error: 'ret' undeclared (first use in this function) :info:build gssapi.c: At top level: :info:build gssapi.c:508: error: syntax error before '*' token :info:build gssapi.c: In function 'sasl_gss_free_context_contents': :info:build gssapi.c:510: error: 'OM_uint32' undeclared (first use in this function) :info:build gssapi.c:510: error: syntax error before 'maj_stat' :info:build gssapi.c:512: error: 'text' undeclared (first use in this function) :info:build gssapi.c:516: error: 'GSS_C_NO_CONTEXT' undeclared (first use in this function) :info:build gssapi.c:517: error: 'maj_stat' undeclared (first use in this function) :info:build gssapi.c:517: warning: implicit declaration of function 'gss_delete_sec_context' :info:build gssapi.c:517: error: 'min_stat' undeclared (first use in this function) :info:build gssapi.c:518: error: 'GSS_C_NO_BUFFER' undeclared (first use in this function) :info:build gssapi.c:522: error: 'GSS_C_NO_NAME' undeclared (first use in this function) :info:build gssapi.c:523: warning: implicit declaration of function 'gss_release_name' :info:build gssapi.c:532: error: 'GSS_C_NO_CREDENTIAL' undeclared (first use in this function) :info:build gssapi.c:533: warning: implicit declaration of function 'gss_release_cred' :info:build gssapi.c: In function 'gssapi_common_mech_dispose': :info:build gssapi.c:584: error: syntax error before ')' token :info:build gssapi.c: In function 'gssapi_common_mech_free': :info:build gssapi.c:588: warning: unused parameter 'global_context' :info:build gssapi.c: In function 'gssapi_server_mech_new': :info:build gssapi.c:608: error: 'text' undeclared (first use in this function) :info:build gssapi.c:616: error: 'GSS_C_NO_CONTEXT' undeclared (first use in this function) :info:build gssapi.c:617: error: 'GSS_C_NO_NAME' undeclared (first use in this function) :info:build gssapi.c:619: error: 'GSS_C_NO_CREDENTIAL' undeclared (first use in this function) :info:build gssapi.c:602: warning: unused parameter 'glob_context' :info:build gssapi.c:604: warning: unused parameter 'challenge' :info:build gssapi.c:605: warning: unused parameter 'challen' :info:build gssapi.c: In function 'gssapi_server_mech_step': :info:build gssapi.c:637: error: 'text' undeclared (first use in this function) :info:build gssapi.c:637: error: syntax error before ')' token :info:build gssapi.c:638: error: 'gss_buffer_t' undeclared (first use in this function) :info:build gssapi.c:639: error: 'gss_buffer_desc' undeclared (first use in this function) :info:build gssapi.c:640: error: 'OM_uint32' undeclared (first use in this function) :info:build gssapi.c:645: error: 'input_token' undeclared (first use in this function) :info:build gssapi.c:645: error: 'real_input_token' undeclared (first use in this function) :info:build gssapi.c:646: error: 'output_token' undeclared (first use in this function) :info:build gssapi.c:646: error: 'real_output_token' undeclared (first use in this function) :info:build gssapi.c:661: error: 'GSS_C_NO_NAME' undeclared (first use in this function) :info:build gssapi.c:662: error: 'name_token' undeclared (first use in this function) :info:build gssapi.c:672: error: 'maj_stat' undeclared (first use in this function) :info:build gssapi.c:672: warning: implicit declaration of function 'gss_import_name' :info:build gssapi.c:672: error: 'min_stat' undeclared (first use in this function) :info:build gssapi.c:687: error: 'GSS_C_NO_CREDENTIAL' undeclared (first use in this function) :info:build gssapi.c:695: warning: implicit declaration of function 'gss_acquire_cred' :info:build gssapi.c:697: error: 'GSS_C_INDEFINITE' undeclared (first use in this function) :info:build gssapi.c:698: error: 'GSS_C_NO_OID_SET' undeclared (first use in this function) :info:build gssapi.c:699: error: 'GSS_C_ACCEPT' undeclared (first use in this function) :info:build gssapi.c:720: warning: implicit declaration of function 'gss_accept_sec_context' :info:build gssapi.c:724: error: 'GSS_C_NO_CHANNEL_BINDINGS' undeclared (first use in this function) :info:build gssapi.c:747: error: 'GSS_C_DELEG_FLAG' undeclared (first use in this function) :info:build gssapi.c:780: error: 'GSS_S_COMPLETE' undeclared (first use in this function) :info:build gssapi.c:789: error: syntax error before 'name_token' :info:build gssapi.c:791: error: 'gss_name_t' undeclared (first use in this function) :info:build gssapi.c:795: error: 'name_without_realm' undeclared (first use in this function) :info:build gssapi.c:800: warning: implicit declaration of function 'gss_display_name' :info:build gssapi.c:807: error: 'without' undeclared (first use in this function) :info:build gssapi.c:850: error: 'GSS_C_NULL_OID' undeclared (first use in this function) :info:build gssapi.c:868: warning: implicit declaration of function 'gss_compare_name' :info:build gssapi.c:973: error: 'GSS_C_QOP_DEFAULT' undeclared (first use in this function) :info:build gssapi.c:1130: warning: implicit declaration of function 'gss_wrap_size_limit' :info:build gssapi.c:1134: error: syntax error before 'oparams' :info:build gssapi.c:1137: error: 'max_input' undeclared (first use in this function) :info:build gssapi.c:629: warning: unused parameter 'conn_context' :info:build gssapi.c: In function 'gssapi_client_mech_new': :info:build gssapi.c:1266: error: 'text' undeclared (first use in this function) :info:build gssapi.c:1276: error: 'GSS_C_NO_CONTEXT' undeclared (first use in this function) :info:build gssapi.c:1277: error: 'GSS_C_NO_NAME' undeclared (first use in this function) :info:build gssapi.c:1278: error: 'GSS_C_NO_CREDENTIAL' undeclared (first use in this function) :info:build gssapi.c:1262: warning: unused parameter 'glob_context' :info:build gssapi.c: In function 'gssapi_client_mech_step': :info:build gssapi.c:1295: error: 'text' undeclared (first use in this function) :info:build gssapi.c:1295: error: syntax error before ')' token :info:build gssapi.c:1296: error: 'gss_buffer_t' undeclared (first use in this function) :info:build gssapi.c:1297: error: 'gss_buffer_desc' undeclared (first use in this function) :info:build gssapi.c:1298: error: 'OM_uint32' undeclared (first use in this function) :info:build gssapi.c:1302: error: syntax error before 'req_flags' :info:build gssapi.c:1303: error: 'input_token' undeclared (first use in this function) :info:build gssapi.c:1303: error: 'real_input_token' undeclared (first use in this function) :info:build gssapi.c:1304: error: 'output_token' undeclared (first use in this function) :info:build gssapi.c:1304: error: 'real_output_token' undeclared (first use in this function) :info:build gssapi.c:1350: error: 'GSS_C_NO_NAME' undeclared (first use in this function) :info:build gssapi.c:1351: error: 'name_token' undeclared (first use in this function) :info:build gssapi.c:1366: error: 'maj_stat' undeclared (first use in this function) :info:build gssapi.c:1366: error: 'min_stat' undeclared (first use in this function) :info:build gssapi.c:1383: error: 'GSS_C_NO_BUFFER' undeclared (first use in this function) :info:build gssapi.c:1389: error: 'GSS_C_NO_CONTEXT' undeclared (first use in this function) :info:build gssapi.c:1401: error: 'req_flags' undeclared (first use in this function) :info:build gssapi.c:1401: error: 'GSS_C_MUTUAL_FLAG' undeclared (first use in this function) :info:build gssapi.c:1401: error: 'GSS_C_SEQUENCE_FLAG' undeclared (first use in this function) :info:build gssapi.c:1404: error: 'GSS_C_INTEG_FLAG' undeclared (first use in this function) :info:build gssapi.c:1410: error: 'GSS_C_CONF_FLAG' undeclared (first use in this function) :info:build gssapi.c:1415: error: 'GSS_C_DELEG_FLAG' undeclared (first use in this function) :info:build gssapi.c:1418: warning: implicit declaration of function 'gss_init_sec_context' :info:build gssapi.c:1419: error: 'GSS_C_NO_CREDENTIAL' undeclared (first use in this function) :info:build gssapi.c:1422: error: 'GSS_C_NO_OID' undeclared (first use in this function) :info:build gssapi.c:1425: error: 'GSS_C_NO_CHANNEL_BINDINGS' undeclared (first use in this function) :info:build gssapi.c:1429: error: 'out_req_flags' undeclared (first use in this function) :info:build gssapi.c:1470: error: 'GSS_S_COMPLETE' undeclared (first use in this function) :info:build gssapi.c:1472: warning: implicit declaration of function 'gss_inquire_context' :info:build gssapi.c:1622: error: 'GSS_C_QOP_DEFAULT' undeclared (first use in this function) :info:build gssapi.c:1623: error: syntax error before 'oparams' :info:build gssapi.c:1626: error: 'max_input' undeclared (first use in this function) :info:build gssapi.c:1286: warning: unused parameter 'conn_context' :info:build gssapi.c: At top level: :info:build gssapi.c:1760: warning: pointer targets in initialization differ in signedness :info:build make[2]: *** [gssapi.lo] Error 1 :info:build make[1]: *** [all-recursive] Error 1 :info:build make: *** [all] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_Users_deever_subversion_macports_dports_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 :debug:build Backtrace: shell command failed 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.archive org.macports.install :notice:build Log for cyrus-sasl2 is at: /opt/local/var/macports/logs/_Users_deever_subversion_macports_dports_security_cyrus-sasl2/main.log
This means that I'm stuck and can't update a lot of ports...
What's the issue here (except that cyrus-sasl seems to smell a bit)?
Change History (9)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:4 Changed 14 years ago by jmroot (Joshua Root)
Cc: | landonf@… added |
---|---|
Owner: | changed from macports-tickets@… to jmpp@… |
Please remember to cc the maintainers.
comment:5 follow-up: 8 Changed 14 years ago by mjg@…
comment:8 Changed 14 years ago by deever@…
Replying to mjg@…:
Replying to deever@…:
I've already tried that, no improvement.
I had the same problem, even with the workaround. Then I noticed that the latest cyrus-sasl2 port was touched as part of the r69520 update to openssl. Uninstalling and then reinstalling openssl let me build cyrus-sasl2.
I still had the same problem even after reinstalling openssl, but then added --disable-gssapi to the default configure flags (in the port file) and then building worked.
I've heard that cyrus-sasl2 were notoriously difficult to compile, but that it even makes hassle with port software I'd never thought.
Seems toe ticket can be closed.
comment:9 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Can't really investigate this further without a complete log, so since the reporter is no longer seeing the problem, I'm closing the ticket.
Try deactivating your currently-installed cyrus-sasl2 before trying to install it with different variants.