[MacPorts] #40945: Error: org.macports.destroot for port facter returned: command execution failed
#40945: Error: org.macports.destroot for port facter returned: command execution failed --------------------+-------------------------------- Reporter: ian@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: puppet | Port: facter --------------------+-------------------------------- {{{ $ sudo port install puppet Password: Warning: no archive_frameworks_dir configured for site 'macports_archives' Warning: no archive_applications_dir configured for site 'macports_archives' Warning: no archive_type configured for site 'macports_archives' Warning: no archive_frameworks_dir configured for site 'macports_archives' Warning: no archive_applications_dir configured for site 'macports_archives' Warning: no archive_type configured for site 'macports_archives' ---> Computing dependencies for puppetWarning: no archive_frameworks_dir configured for site 'macports_archives' Warning: no archive_applications_dir configured for site 'macports_archives' Warning: no archive_type configured for site 'macports_archives' Warning: no archive_frameworks_dir configured for site 'macports_archives' Warning: no archive_applications_dir configured for site 'macports_archives' Warning: no archive_type configured for site 'macports_archives' ---> Dependencies to be installed: facter ruby ---> Fetching archive for ruby ---> Attempting to fetch ruby-1.8.7-p374_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/ruby ---> Attempting to fetch ruby-1.8.7-p374_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/ruby ---> Attempting to fetch ruby-1.8.7-p374_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ruby ---> Fetching distfiles for ruby ---> Verifying checksums for ruby ---> Extracting ruby ---> Applying patches to ruby ---> Configuring ruby ---> Building ruby ---> Staging ruby into destroot ---> Installing ruby @1.8.7-p374_0 ---> Activating ruby @1.8.7-p374_0 ---> Cleaning ruby ---> Staging facter into destroot Error: org.macports.destroot for port facter returned: command execution failed Error: Failed to install facter Please see the log file for port facter for details: /opt/local/var/macports/logs/_Users_ibrandt_Development_MacPorts_sysutils_facter/facter/main.log Error: The following dependencies were not installed: facter To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port puppet failed }}} -- Ticket URL: <https://trac.macports.org/ticket/40945> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: Error: org.macports.destroot for port facter returned: command execution failed ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Changes (by ryandesign@…): * keywords: puppet => * cc: ian@… (removed) * owner: macports-tickets@… => nigel@… Comment: [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites Clean facter and try again]. -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: Error: org.macports.destroot for port facter returned: command execution failed ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Comment (by ian@…): Tried that before posting: {{{ sudo port clean facter sudo port clean puppet sudo port clean ruby sudo port uninstall --follow-dependents ruby sudo port install puppet }}} -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: Error: org.macports.destroot for port facter returned: command execution failed ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Comment (by ryandesign@…): Then please attach the new main.log. The one you attached before was not from a clean build. -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: Error: org.macports.destroot for port facter returned: command execution failed ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Comment (by ian@…): Sorry for that. I've just rerun the above commands, and attached the resulting main.log. -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: facter: destroot fails: /opt/local/bin/ruby: No such file or directory ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Comment (by ryandesign@…): The error in the log is: {{{ /opt/local/bin/ruby: No such file or directory }}} This surprises me since /opt/local/bin/ruby should be provided by the ruby port and the facter port does declare a dependency on the ruby port. Is the ruby port installed? If not, install it ("sudo port install ruby") Does /opt/local/bin/ruby exist? If not, what does the ruby port contain? ("port contents ruby") -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: facter: destroot fails: /opt/local/bin/ruby: No such file or directory ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Comment (by ian@…): {{{ $ ls /opt/local/bin/ruby* /opt/local/bin/ruby1.8 }}} -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: facter: destroot fails: /opt/local/bin/ruby: No such file or directory ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Comment (by ian@…): It looks like all the bin files have "1.8" tacked on to the end of their names. -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: facter: destroot fails: /opt/local/bin/ruby: No such file or directory ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Comment (by ian@…): Checking in to see if there is any other information I can provide on this issue? -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40945: facter: destroot fails: /opt/local/bin/ruby: No such file or directory ---------------------+--------------------- Reporter: ian@… | Owner: nigel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: facter | ---------------------+--------------------- Comment (by khindenburg@…): Can you update your macports and try again - from your main.log you're trying to install facter-1.6.2; we up to 1.7.6 I'm not sure forcing 1.8 is a good idea {{{ destroot.cmd ${prefix}/bin/ruby1.8 ${worksrcpath}/install.rb }}} -- Ticket URL: <https://trac.macports.org/ticket/40945#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts