[MacPorts] #26114: "cdrtools @3.00_0 - build failure"

MacPorts noreply at macports.org
Mon Aug 16 22:20:56 PDT 2010


#26114: "cdrtools @3.00_0 - build failure"
---------------------------------+------------------------------------------
 Reporter:  tanks4dat@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.9.1                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 When I tried to install dvdrw-tools, the install process came to cdrtools
 dependency and cdrtools failed with an error.  I searched for the error
 and came up with [https://trac.macports.org/ticket/23035].  Also
 [https://trac.macports.org/ticket/25255] discusses similar behavior but
 says that it is solved.

 results from terminal after failure,
 {{{
 --->  Activating cdrtools @3.00_0
 Error: Target org.macports.activate returned: Image error:
 /etc/default/cdrecord already exists and does not belong to a registered
 port.  Unable to activate port cdrtools. Use 'port -f activate cdrtools'
 to force the activation.
 Log for cdrtools is at:
 /Volumes/User/opt/local/var/macports/logs/_Volumes_Users_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_cdrtools/main.log
 Error: The following dependencies failed to build: cdrtools
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 I tried forcing the activation, but that ended with the same error, that
 /etc/default/cdrecord already existed.

 --------------

 The cdrtools main.log read

 {{{
 :debug:activate activate phase started at Mon Aug 16 20:08:05 PDT 2010
 :debug:activate Executing org.macports.activate (cdrtools)
 :msg:activate --->  Activating cdrtools @3.00_0
 :error:activate Target org.macports.activate returned: Image error:
 /etc/default/cdrecord already exists and does not belong to a registered
 port.  Unable to activate port cdrtools. Use 'port -f activate cdrtools'
 to force the activation.
 :debug:activate Backtrace: Image error: /etc/default/cdrecord already
 exists and does not belong to a registered port.  Unable to activate port
 cdrtools. Use 'port -f activate cdrtools' 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 "${imagedir}${file}"

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

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

                  ..."
     (procedure "_activate_contents" line 26)
     invoked from within
 "_activate_contents $requested"
     (procedure "portimage::activate" line 100)
     invoked from within
 "registry_activate $name "${version}_${revision}${portvariants}" [array
 get user_options]"
     (procedure "portactivate::activate_main" line 6)
     invoked from within
 "$procedure $targetname"
 :notice:activate Log for cdrtools is at:
 /Volumes/User/opt/local/var/macports/logs/_Volumes_User_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_cdrtools/main.log
 }}}


 I tried virgin ports install, after doing <sudo port -v selfupdate>.[[BR]]

 I got the same errors on completion.

 {{{

 --->  Activating cdrtools @3.00_0
 Error: Target org.macports.activate returned: Image error:
 /etc/default/cdrecord already exists and does not belong to a registered
 port.  Unable to activate port cdrtools. Use 'port -f activate cdrtools'
 to force the activation.
 Log for cdrtools is at:
 /Volumes/User/opt/local/var/macports/logs/_Volumes_User_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_cdrtools/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 {{{
 Main.log report

 :debug:activate activate phase started at Mon Aug 16 21:57:43 PDT 2010
 :debug:activate Executing org.macports.activate (cdrtools)
 :msg:activate --->  Activating cdrtools @3.00_0
 :error:activate Target org.macports.activate returned: Image error:
 /etc/default/cdrecord already exists and does not belong to a registered
 port.  Unable to activate port cdrtools. Use 'port -f activate cdrtools'
 to force the activation.
 :debug:activate Backtrace: Image error: /etc/default/cdrecord already
 exists and does not belong to a registered port.  Unable to activate port
 cdrtools. Use 'port -f activate cdrtools' 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 "${imagedir}${file}"

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

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

                  ..."
     (procedure "_activate_contents" line 26)
     invoked from within
 "_activate_contents $requested"
     (procedure "portimage::activate" line 100)
     invoked from within
 "registry_activate $name "${version}_${revision}${portvariants}" [array
 get user_options]"
     (procedure "portactivate::activate_main" line 6)
     invoked from within
 "$procedure $targetname"
 :info:activate Warning: the following items did not execute (for
 cdrtools): org.macports.activate
 :notice:activate Log for cdrtools is at:
 /Volumes/User/opt/local/var/macports/logs/_Volumes_User_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_cdrtools/main.log
 }}}


 Thank you.

-- 
Ticket URL: <http://trac.macports.org/ticket/26114>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list