[110021] trunk/base/src/port1.0/portutil.tcl

Joshua Root jmr at macports.org
Mon Aug 26 05:42:16 PDT 2013


On 2013-8-26 22:32 , Clemens Lang wrote:
> On Mon, Aug 26, 2013 at 05:32:16PM +1000, Joshua Root wrote:
>> I'm getting failures to execute the portfile from the registry when
>> uninstalling ports after this change.
> 
> I cannot reproduce. Can you give me the debug output of a failing port?

DEBUG: Changing to port directory:
/opt/local/var/macports/registry/portfiles/neon/0.29.6_2
DEBUG: OS darwin/11.4.2 (Mac OS X 10.7) arch i386
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from
/Users/josh/Coding/dports-dev/svn/dports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Starting logging for neon
DEBUG: Executing org.macports.main (neon)
DEBUG: uninstall phase started at Mon Aug 26 22:40:52 EST 2013
DEBUG: Executing org.macports.uninstall (neon)
DEBUG: Logging disabled, error opening log file: can't read "portpath":
no such variable
DEBUG: Executing org.macports.main (neon)
DEBUG: deactivate phase started at Mon Aug 26 22:40:53 EST 2013
DEBUG: Executing org.macports.deactivate (neon)
--->  Deactivating neon @0.29.6_2
DEBUG: deactivating file: /opt/local/share/man/man3/neon.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_xml_destroy.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_xml_create.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_version_string.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_version_match.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_token.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_strndup.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_strdup.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_status.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_ssl_trust_default_ca.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_trust_cert.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_set_verify.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_ssl_readable_dname.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_dname_cmp.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_clicert_read.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_ssl_clicert_owner.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_clicert_name.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_clicert_free.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_ssl_clicert_encrypted.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_ssl_clicert_decrypt.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_cert_write.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_cert_subject.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_ssl_cert_signedby.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_cert_read.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_cert_issuer.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_cert_import.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_ssl_cert_identity.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_cert_free.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_cert_export.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_ssl_cert_cmp.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_sock_init.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_sock_exit.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_shave.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_set_useragent.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_set_session_flag.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_set_server_auth.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_set_request_flag.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_set_request_body_fd64.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_set_request_body_fd.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_set_request_body_buffer.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_set_read_timeout.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_set_proxy_auth.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_set_error.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_set_connect_timeout.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_session_proxy.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_session_destroy.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_session_create.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_response_header_iterate.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_request_dispatch.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_request_destroy.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_request_create.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_realloc.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_qtoken.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_print_request_header.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_oom_callback.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_malloc.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_iaddr_typeof.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_iaddr_reverse.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_iaddr_raw.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_iaddr_print.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_iaddr_parse.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_iaddr_make.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_iaddr_free.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_iaddr_cmp.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_i18n_init.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_has_support.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_get_status.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_get_session_flag.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_get_server_hostport.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_get_scheme.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_get_response_header.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_get_request_flag.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_get_error.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_forget_auth.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_close_connection.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_calloc.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_zappend.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_ncreate.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_grow.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_finish.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_destroy.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_create.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_concat.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_clear.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_append.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer_altered.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_buffer.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_addr_result.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_addr_resolve.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_addr_next.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_addr_first.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_addr_error.3.gz
DEBUG: deactivating file: /opt/local/share/man/man3/ne_addr_destroy.3.gz
DEBUG: deactivating file:
/opt/local/share/man/man3/ne_add_request_header.3.gz
DEBUG: /opt/local/share/man/man3 is not empty
DEBUG: deactivating file: /opt/local/share/man/man1/neon-config.1.gz
DEBUG: /opt/local/share/man/man1 is not empty
DEBUG: /opt/local/share/man is not empty
DEBUG: deactivating file: /opt/local/share/locale/zh_CN/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/zh_CN/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/zh_CN is not empty
DEBUG: deactivating file: /opt/local/share/locale/tr/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/tr/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/tr is not empty
DEBUG: deactivating file: /opt/local/share/locale/ru/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/ru/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/ru is not empty
DEBUG: deactivating file: /opt/local/share/locale/pl/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/pl/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/pl is not empty
DEBUG: deactivating file: /opt/local/share/locale/nn/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/nn/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/nn is not empty
DEBUG: deactivating file: /opt/local/share/locale/ja/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/ja/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/ja is not empty
DEBUG: deactivating file: /opt/local/share/locale/fr/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/fr/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/fr is not empty
DEBUG: deactivating file: /opt/local/share/locale/de/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/de/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/de is not empty
DEBUG: deactivating file: /opt/local/share/locale/cs/LC_MESSAGES/neon.mo
DEBUG: /opt/local/share/locale/cs/LC_MESSAGES is not empty
DEBUG: /opt/local/share/locale/cs is not empty
DEBUG: /opt/local/share/locale is not empty
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/xml.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/using.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/security.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refxml.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refvers.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/reftok.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refstatus.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refsslvfy.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refssldname.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refsslcertio.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refsslcert2.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refsslca.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refsockinit.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refshave.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refsessflags.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refsess.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refresphdr.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refresolve.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refreqhdr.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refreqflags.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refreqbody.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refreq.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refopts.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refneon.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refiaddr.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refi18n.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refgetst.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/reffeat.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/referr.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refconfig.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refclicert.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refcert.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refbufutil.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refbufdest.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refbufcr.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refbufapp.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refbuf.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/refauth.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/refalloc.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/ref.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/intro.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/index.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/features.html
DEBUG: deactivating file:
/opt/local/share/doc/neon-0.29.6/html/compliance.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/biblio.html
DEBUG: deactivating file: /opt/local/share/doc/neon-0.29.6/html/api.html
DEBUG: deactivating directory: /opt/local/share/doc/neon-0.29.6/html
DEBUG: deactivating directory: /opt/local/share/doc/neon-0.29.6
DEBUG: /opt/local/share/doc is not empty
DEBUG: /opt/local/share is not empty
DEBUG: deactivating file: /opt/local/lib/pkgconfig/neon.pc
DEBUG: /opt/local/lib/pkgconfig is not empty
DEBUG: deactivating file: /opt/local/lib/libneon.la
DEBUG: deactivating link: /opt/local/lib/libneon.dylib
DEBUG: deactivating file: /opt/local/lib/libneon.a
DEBUG: deactivating file: /opt/local/lib/libneon.27.dylib
DEBUG: /opt/local/lib is not empty
DEBUG: deactivating file: /opt/local/include/neon/ne_xmlreq.h
DEBUG: deactivating file: /opt/local/include/neon/ne_xml.h
DEBUG: deactivating file: /opt/local/include/neon/ne_utils.h
DEBUG: deactivating file: /opt/local/include/neon/ne_uri.h
DEBUG: deactivating file: /opt/local/include/neon/ne_string.h
DEBUG: deactivating file: /opt/local/include/neon/ne_ssl.h
DEBUG: deactivating file: /opt/local/include/neon/ne_socket.h
DEBUG: deactivating file: /opt/local/include/neon/ne_session.h
DEBUG: deactivating file: /opt/local/include/neon/ne_request.h
DEBUG: deactivating file: /opt/local/include/neon/ne_redirect.h
DEBUG: deactivating file: /opt/local/include/neon/ne_props.h
DEBUG: deactivating file: /opt/local/include/neon/ne_pkcs11.h
DEBUG: deactivating file: /opt/local/include/neon/ne_md5.h
DEBUG: deactivating file: /opt/local/include/neon/ne_locks.h
DEBUG: deactivating file: /opt/local/include/neon/ne_i18n.h
DEBUG: deactivating file: /opt/local/include/neon/ne_defs.h
DEBUG: deactivating file: /opt/local/include/neon/ne_dates.h
DEBUG: deactivating file: /opt/local/include/neon/ne_compress.h
DEBUG: deactivating file: /opt/local/include/neon/ne_basic.h
DEBUG: deactivating file: /opt/local/include/neon/ne_auth.h
DEBUG: deactivating file: /opt/local/include/neon/ne_alloc.h
DEBUG: deactivating file: /opt/local/include/neon/ne_acl3744.h
DEBUG: deactivating file: /opt/local/include/neon/ne_acl.h
DEBUG: deactivating file: /opt/local/include/neon/ne_207.h
DEBUG: deactivating directory: /opt/local/include/neon
DEBUG: /opt/local/include is not empty
DEBUG: deactivating file: /opt/local/bin/neon-config
DEBUG: /opt/local/bin is not empty
DEBUG: /opt/local is not empty
DEBUG: /opt is not empty
DEBUG: / is not empty
DEBUG: Executing org.macports.main (neon)
DEBUG: clean phase started at Mon Aug 26 22:40:54 EST 2013
--->  Cleaning neon
DEBUG: Executing org.macports.clean (neon)
--->  Removing work directory for neon
DEBUG: No work directory found to remove at
/opt/local/var/macports/build/_opt_local_var_macports_registry_portfiles_neon_0.29.6_2/neon
DEBUG: No work directory found to remove at
/Users/josh/.macports/opt/local/var/macports/build/_opt_local_var_macports_registry_portfiles_neon_0.29.6_2/neon
DEBUG: Removing directory:
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_neon_0.29.6_2/neon
DEBUG: delete:
/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_neon_0.29.6_2/neon
--->  Uninstalling neon @0.29.6_2
couldn't change working directory to
"/opt/local/var/macports/registry/portfiles/neon/0.29.6_2": no such file
or directory
Warning: targets not executed for neon: org.macports.uninstall
DEBUG: can not find channel named "debuglog"
    while executing
"tcl::puts debuglog {Warning: targets not executed for neon:
org.macports.uninstall}"
    invoked from within
"catch "tcl::puts $args""
Warning: Failed to execute portfile from registry for neon @0.29.6_2



More information about the macports-dev mailing list