[MacPorts] #46107: salt @2014.1.13 no destroot found - failed copying minion conifg file
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file -----------------------+-------------------------------- Reporter: urs.rau@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: salt -----------------------+-------------------------------- When I run on my Yosemite 10.10.1 using cmd line tools 6.1.1 GM the sequence port uninstall salt port clean salt port install salt I get an error about it not being able to copy the minion conf file (see attached log) But if I do a port uninstall salt port clean salt port install -v -d -k salt I get an error saying that it can't find the destroot In both cases I get no files installed inot /opt except for the minion.plist file. -- Ticket URL: <https://trac.macports.org/ticket/46107> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Changes (by mf2k@…): * cc: cr@…, urs.rau@… (removed) * owner: macports-tickets@… => cr@… Old description:
When I run on my Yosemite 10.10.1 using cmd line tools 6.1.1 GM the sequence port uninstall salt port clean salt port install salt I get an error about it not being able to copy the minion conf file (see attached log) But if I do a port uninstall salt port clean salt port install -v -d -k salt I get an error saying that it can't find the destroot
In both cases I get no files installed inot /opt except for the minion.plist file.
New description: When I run on my Yosemite 10.10.1 using cmd line tools 6.1.1 GM the sequence {{{ port uninstall salt port clean salt port install salt }}} I get an error about it not being able to copy the minion conf file (see attached log) But if I do a {{{ port uninstall salt port clean salt port install -v -d -k salt }}} I get an error saying that it can't find the destroot In both cases I get no files installed inot /opt except for the minion.plist file. -- Comment: In the future, please use WikiFormatting. As reporter, you do not need to Cc yourself. Error is: {{{ :debug:activate Backtrace: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/work/v2014.1.13/conf/minion": no such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by robert@…): I'm having the same problem. If you look at the ports files, when the names changed to salt-2014.1.13 from salt-0.17.1 on 11/20, the file lost the salt contents and just contains the plist files. The size went to 2.8K from 1.5M. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by cr@…): OK, I'll look into this. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by macports.org@…): Having the same problem. tail of log file is below. Cc me please. {{{ :debug:activate activating file: /opt/local/etc/LaunchDaemons/org.macports .salt-minion/org.macports.salt-minion.plist :notice:activate :notice:activate This port configures a LaunchItem for salt-minion. :notice:activate :notice:activate It also installs LaunchItems for the salt-master and the salt-syndic. :notice:activate :notice:activate To start the salt-master via launchd, run :notice:activate :notice:activate sudo launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.master.plist :notice:activate :notice:activate To start the salt-syndic via launchd, run :notice:activate :notice:activate sudo launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.syndic.plist :notice:activate :notice:activate To disable launchd management for the master or syndic, run the appropriate :notice:activate unload command: :notice:activate :notice:activate sudo launchctl unload -w /Library/LaunchDaemons/com.saltstack.salt.master.plist :notice:activate or :notice:activate sudo launchctl unload -w /Library/LaunchDaemons/com.saltstack.salt.syndic.plist :notice:activate :notice:activate :debug:activate Executing proc-post-org.macports.activate-activate-0 :error:activate org.macports.activate for port salt returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/work/v2014.1.13/conf/minion": no such file or directory :debug:activate Error code: NONE :debug:activate Backtrace: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/work/v2014.1.13/conf/minion": no such file or directory while executing "proc-post-org.macports.activate-activate-0 org.macports.activate" ("eval" body line 1) invoked from within "eval $post $targetname" :info:activate Warning: targets not executed for salt: org.macports.activate :notice:activate Please see the log file for port salt for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_salt/salt/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Changes (by larryv@…): * cc: macports.org@… (added) Comment: Replying to [comment:5 macports.org@…]:
Cc me please.
I’ve added you to the Cc list, but you should Cc yourself in the future by clicking the Cc button. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by macports.org@…): Replying to [comment:6 larryv@…]:
Replying to [comment:5 macports.org@…]:
Cc me please.
I’ve added you to the Cc list, but you should Cc yourself in the future by clicking the Cc button.
Thanks, and thanks for clarifying. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by hahn.seb@…): Anything we can do to help track this down? -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by jmr@…): The portfile currently does this: {{{ destroot { if ![file exists ${destroot}/Library/LaunchDaemons] { file mkdir ${destroot}/Library/LaunchDaemons } copy ${worksrcpath}/pkg/darwin/com.saltstack.salt.master.plist ${destroot}/Library/LaunchDaemons copy ${worksrcpath}/pkg/darwin/com.saltstack.salt.syndic.plist ${destroot}/Library/LaunchDaemons } }}} You probably want a post-destroot block there, not a destroot phase that does nothing but install those two plists. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by hahn.seb@…): The install goes through here with that change but there still aren't any binaries installed -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by hahn.seb@…): Using port install -s -v salt, the port installed and I had the binaries put in place correctly, too after changing the destroot to a post-destroot in the portfile. But something still seems busted. The version is supposed to be 2014.1.13, but salt --version reports 2014.1.0 (Hydrogen) as the version. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by hahn.seb@…): Attached a patch which fixes this in my testing. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Changes (by cal@…): * cc: cal@… (added) -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: salt | ------------------------+------------------- Comment (by hahn.seb@…): This should probably have a haspatch keyword -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+---------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: salt | ------------------------+---------------------- Changes (by cal@…): * keywords: => haspatch Comment: Sorry for the delay, please don't hesitate to bug me repeatedly about this change. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:17> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+---------------------- Reporter: urs.rau@… | Owner: cr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: salt | ------------------------+---------------------- Comment (by cal@…): Committed in r133159, thanks for the patch. Maintainer timeout. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:18> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+-------------------------------- Reporter: urs.rau@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: salt | ------------------------+-------------------------------- Changes (by khindenburg@…): * owner: cr@… => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:20> MacPorts <https://www.macports.org/> Ports system for OS X
#46107: salt @2014.1.13 no destroot found - failed copying minion conifg file ------------------------+-------------------------------- Reporter: urs.rau@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: haspatch Port: salt | ------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: I'm assuming comment:18 means this is fixed. -- Ticket URL: <https://trac.macports.org/ticket/46107#comment:21> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts