[MacPorts] #35802: expat: /opt/local/bin/xmlwf already exists and does not belong to a registered port (was: dvdrw-tools @1.0 Processing of port failed)

MacPorts noreply at macports.org
Thu Aug 23 19:00:26 PDT 2012


#35802: expat: /opt/local/bin/xmlwf already exists and does not belong to a
registered port
--------------------------------+-------------------------------------------
  Reporter:  press88@…          |       Owner:  macports-tickets@…                   
      Type:  defect             |      Status:  closed                               
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  2.1.2                                
Resolution:  invalid            |    Keywords:                                       
      Port:  expat              |  
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
 * cc: press88@… (removed)
 * cc: ryandesign@… (added)
  * resolution:  => invalid
  * port:  dvdrw-tools, cdrtools, gettext, expat, libiconv, gperf, ncurses,
           smake, => expat


Old description:

> version:1
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 501
> :debug:main euid changed to: 502
> :debug:activate activate phase started at Thu Aug 23 22:35:22 CEST 2012
> :debug:activate Can't run activate on this port without elevated
> privileges. Escalating privileges back to root.
> :debug:activate euid changed to: 0. egid changed to: 0.
> :debug:activate Executing org.macports.activate (expat)
> :msg:activate --->  Activating expat @2.1.0_0
> :debug:activate Using /usr/bin/tar
> :debug:activate Using /usr/bin/bzip2
> :info:activate x ./
> :info:activate x ./+COMMENT
> :info:activate x ./+CONTENTS
> :info:activate x ./+DESC
> :info:activate x ./+PORTFILE
> :info:activate x ./+STATE
> :info:activate x ./opt/
> :info:activate x ./opt/local/
> :info:activate x ./opt/local/bin/
> :info:activate x ./opt/local/include/
> :info:activate x ./opt/local/lib/
> :info:activate x ./opt/local/share/
> :info:activate x ./opt/local/share/doc/
> :info:activate x ./opt/local/share/examples/
> :info:activate x ./opt/local/share/man/
> :info:activate x ./opt/local/share/man/man1/
> :info:activate x ./opt/local/share/man/man1/xmlwf.1.gz
> :info:activate x ./opt/local/share/examples/expat/
> :info:activate x ./opt/local/share/examples/expat/elements.c
> :info:activate x ./opt/local/share/examples/expat/outline.c
> :info:activate x ./opt/local/share/doc/expat/
> :info:activate x ./opt/local/share/doc/expat/Changes
> :info:activate x ./opt/local/share/doc/expat/COPYING
> :info:activate x ./opt/local/share/doc/expat/html/
> :info:activate x ./opt/local/share/doc/expat/README
> :info:activate x ./opt/local/share/doc/expat/html/expat.png
> :info:activate x ./opt/local/share/doc/expat/html/reference.html
> :info:activate x ./opt/local/share/doc/expat/html/style.css
> :info:activate x ./opt/local/share/doc/expat/html/valid-xhtml10.png
> :info:activate x ./opt/local/share/doc/expat/html/xmlwf.1
> :info:activate x ./opt/local/share/doc/expat/html/xmlwf.sgml
> :info:activate x ./opt/local/lib/libexpat.1.dylib
> :info:activate x ./opt/local/lib/libexpat.a
> :info:activate x ./opt/local/lib/libexpat.dylib
> :info:activate x ./opt/local/lib/libexpat.la
> :info:activate x ./opt/local/lib/pkgconfig/
> :info:activate x ./opt/local/lib/pkgconfig/expat.pc
> :info:activate x ./opt/local/include/expat.h
> :info:activate x ./opt/local/include/expat_external.h
> :info:activate x ./opt/local/bin/xmlwf
> :error:activate org.macports.activate for port expat returned: Image
> error: /opt/local/bin/xmlwf already exists and does not belong to a
> registered port.  Unable to activate port expat. Use 'port -f activate
> expat' to force the activation.
> :debug:activate Error code: registry::image-error
> :debug:activate Backtrace: Image error: /opt/local/bin/xmlwf already
> exists and does not belong to a registered port.  Unable to activate port
> expat. Use 'port -f activate expat' to force the activation.
>     invoked from within
> "throw registry::image-error "Image error: $file already exists and does
> not belong to a registered port.  Unable to activate port [$port name].
> Use 'p..."
>     ("foreach" body line 47)
>     invoked from within
> "foreach file $imagefiles {
>                 set srcfile "${extracted_dir}${file}"
>
>                 # To be able to install links, we test if we can lst..."
>     invoked from within
> "registry::write {
>             foreach file $imagefiles {
>                 set srcfile "${extracted_dir}${file}"
>
>                 # To be able to instal..."
>     invoked from within
> "try {
>         registry::write {
>             foreach file $imagefiles {
>                 set srcfile "${extracted_dir}${file}"
>
>                 # To be ..."
>     (procedure "_activate_contents" line 21)
>     invoked from within
> "_activate_contents $requested"
>     (procedure "portimage::activate" line 57)
>     invoked from within
> "registry_activate $subport $version $revision $portvariants [array get
> user_options]"
>     (procedure "portactivate::activate_main" line 4)
>     invoked from within
> "$procedure $targetname"
> :error:activate Failed to install expat
> :debug:activate Image error: /opt/local/bin/xmlwf already exists and does
> not belong to a registered port.  Unable to activate port expat. Use
> 'port -f activate expat' to force the activation.
>     invoked from within
> "throw registry::image-error "Image error: $file already exists and does
> not belong to a registered port.  Unable to activate port [$port name].
> Use 'p..."
>     ("foreach" body line 47)
>     invoked from within
> "foreach file $imagefiles {
>                 set srcfile "${extracted_dir}${file}"
>
>                 # To be able to install links, we test if we can lst..."
>     invoked from within
> "registry::write {
>             foreach file $imagefiles {
>                 set srcfile "${extracted_dir}${file}"
>
>                 # To be able to instal..."
>     invoked from within
> "try {
>         registry::write {
>             foreach file $imagefiles {
>                 set srcfile "${extracted_dir}${file}"
>
>                 # To be ..."
>     (procedure "_activate_contents" line 21)
>     invoked from within
> "_activate_contents $requested"
>     (procedure "portimage::activate" line 57)
> :notice:activate Please see the log file for port expat for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log

New description:

 {{{
 version:1
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:activate activate phase started at Thu Aug 23 22:35:22 CEST 2012
 :debug:activate Can't run activate on this port without elevated
 privileges. Escalating privileges back to root.
 :debug:activate euid changed to: 0. egid changed to: 0.
 :debug:activate Executing org.macports.activate (expat)
 :msg:activate --->  Activating expat @2.1.0_0
 :debug:activate Using /usr/bin/tar
 :debug:activate Using /usr/bin/bzip2
 :info:activate x ./
 :info:activate x ./+COMMENT
 :info:activate x ./+CONTENTS
 :info:activate x ./+DESC
 :info:activate x ./+PORTFILE
 :info:activate x ./+STATE
 :info:activate x ./opt/
 :info:activate x ./opt/local/
 :info:activate x ./opt/local/bin/
 :info:activate x ./opt/local/include/
 :info:activate x ./opt/local/lib/
 :info:activate x ./opt/local/share/
 :info:activate x ./opt/local/share/doc/
 :info:activate x ./opt/local/share/examples/
 :info:activate x ./opt/local/share/man/
 :info:activate x ./opt/local/share/man/man1/
 :info:activate x ./opt/local/share/man/man1/xmlwf.1.gz
 :info:activate x ./opt/local/share/examples/expat/
 :info:activate x ./opt/local/share/examples/expat/elements.c
 :info:activate x ./opt/local/share/examples/expat/outline.c
 :info:activate x ./opt/local/share/doc/expat/
 :info:activate x ./opt/local/share/doc/expat/Changes
 :info:activate x ./opt/local/share/doc/expat/COPYING
 :info:activate x ./opt/local/share/doc/expat/html/
 :info:activate x ./opt/local/share/doc/expat/README
 :info:activate x ./opt/local/share/doc/expat/html/expat.png
 :info:activate x ./opt/local/share/doc/expat/html/reference.html
 :info:activate x ./opt/local/share/doc/expat/html/style.css
 :info:activate x ./opt/local/share/doc/expat/html/valid-xhtml10.png
 :info:activate x ./opt/local/share/doc/expat/html/xmlwf.1
 :info:activate x ./opt/local/share/doc/expat/html/xmlwf.sgml
 :info:activate x ./opt/local/lib/libexpat.1.dylib
 :info:activate x ./opt/local/lib/libexpat.a
 :info:activate x ./opt/local/lib/libexpat.dylib
 :info:activate x ./opt/local/lib/libexpat.la
 :info:activate x ./opt/local/lib/pkgconfig/
 :info:activate x ./opt/local/lib/pkgconfig/expat.pc
 :info:activate x ./opt/local/include/expat.h
 :info:activate x ./opt/local/include/expat_external.h
 :info:activate x ./opt/local/bin/xmlwf
 :error:activate org.macports.activate for port expat returned: Image
 error: /opt/local/bin/xmlwf already exists and does not belong to a
 registered port.  Unable to activate port expat. Use 'port -f activate
 expat' to force the activation.
 :debug:activate Error code: registry::image-error
 :debug:activate Backtrace: Image error: /opt/local/bin/xmlwf already
 exists and does not belong to a registered port.  Unable to activate port
 expat. Use 'port -f activate expat' to force the activation.
     invoked from within
 "throw registry::image-error "Image error: $file already exists and does
 not belong to a registered port.  Unable to activate port [$port name].
 Use 'p..."
     ("foreach" body line 47)
     invoked from within
 "foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to install links, we test if we can lst..."
     invoked from within
 "registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to instal..."
     invoked from within
 "try {
         registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be ..."
     (procedure "_activate_contents" line 21)
     invoked from within
 "_activate_contents $requested"
     (procedure "portimage::activate" line 57)
     invoked from within
 "registry_activate $subport $version $revision $portvariants [array get
 user_options]"
     (procedure "portactivate::activate_main" line 4)
     invoked from within
 "$procedure $targetname"
 :error:activate Failed to install expat
 :debug:activate Image error: /opt/local/bin/xmlwf already exists and does
 not belong to a registered port.  Unable to activate port expat. Use 'port
 -f activate expat' to force the activation.
     invoked from within
 "throw registry::image-error "Image error: $file already exists and does
 not belong to a registered port.  Unable to activate port [$port name].
 Use 'p..."
     ("foreach" body line 47)
     invoked from within
 "foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to install links, we test if we can lst..."
     invoked from within
 "registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be able to instal..."
     invoked from within
 "try {
         registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be ..."
     (procedure "_activate_contents" line 21)
     invoked from within
 "_activate_contents $requested"
     (procedure "portimage::activate" line 57)
 :notice:activate Please see the log file for port expat for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
 }}}

--

Comment:

 Please read wiki:ProblemHotlist#xmlwf

-- 
Ticket URL: <https://trac.macports.org/ticket/35802#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list