Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2015 20:34:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198008] sysutils/py-salt broke when updated to 2014.7.2 (Related with #197597)
Message-ID:  <bug-198008-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198008

            Bug ID: 198008
           Summary: sysutils/py-salt broke when updated to 2014.7.2
                    (Related with #197597)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: amontalban@gmail.com
                CC: christer.edwards@gmail.com
                CC: christer.edwards@gmail.com
             Flags: maintainer-feedback?(christer.edwards@gmail.com)

Hey guys,

I have just installed this port on a fresh system and I get this:

root@freebsd-10:~ # salt-call 
Traceback (most recent call last):
  File "/usr/local/bin/salt-call", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2876, in
<module>
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 449, in
_build_master
    ws.require(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 745, in
require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 639, in
resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: salt==2014.7.0

----

root@freebsd-10:~ # cat /usr/local/bin/salt-call
#!/usr/local/bin/python2.7
# EASY-INSTALL-ENTRY-SCRIPT: 'salt==2014.7.0','console_scripts','salt-call'
__requires__ = 'salt==2014.7.0'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.exit(
        load_entry_point('salt==2014.7.0', 'console_scripts', 'salt-call')()
    )

----

If I reinstall the same package it works and the content of
/usr/local/bin/salt-call is:

root@freebsd-10:~ # cat /usr/local/bin/salt-call
#!/usr/local/bin/python2.7
# EASY-INSTALL-ENTRY-SCRIPT: 'salt==2014.7.2','console_scripts','salt-call'
__requires__ = 'salt==2014.7.2'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.exit(
        load_entry_point('salt==2014.7.2', 'console_scripts', 'salt-call')()
    )

----

This same port was working with version 2014.7.1 What can be wrong?

Thanks!

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer CC'd

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198008-13>