User avatar
Gryman
Posts: 30
Joined: Tue Oct 14, 2014 2:22 am
Location: Anaheim, CA. USA
Contact: Website

Packaging libasyncns-python

Fri Oct 17, 2014 5:52 pm

I have libasyncns built and packaged, but I don't think I can build libasyncns-python without libasyncns being in the repos:

Code: Select all

$ sudo evobuild build pspec.xml
...
Dependency check failed for libasyncns >=0.4DEBUG: return value for "python setup.py build" is 1
*** 0 error(s), 1 warning(s)
Program terminated.
Command "python setup.py build" failed, return value was 1.

Code: Select all

$ sudo eopkg build pspec.xml
...
*** 0 error(s), 1 warning(s)
System error. Program terminated.
<type 'exceptions.Exception'>: Repo item libasyncns not found
Please use 'pisi help' for general help.

Traceback:
  File "/usr/bin/eopkg", line 82, in <module>
    cli.run_command()
  File "/usr/lib/python2.7/site-packages/pisi/cli/pisicli.py", line 141, in run_command
    self.command.run()
  File "/usr/lib/python2.7/site-packages/pisi/cli/build.py", line 182, in run
    pisi.api.build(x)
  File "/usr/lib/python2.7/site-packages/pisi/api.py", line 922, in build
    return pisi.atomicoperations.build(*args, **kw)
  File "/usr/lib/python2.7/site-packages/pisi/atomicoperations.py", line 695, in build
    return pisi.operations.build.build(package)
  File "/usr/lib/python2.7/site-packages/pisi/operations/build.py", line 1473, in build
    pb.build()
  File "/usr/lib/python2.7/site-packages/pisi/operations/build.py", line 354, in build
    self.build_packages()
  File "/usr/lib/python2.7/site-packages/pisi/operations/build.py", line 1323, in build_packages
    self.gen_metadata_xml(package)
  File "/usr/lib/python2.7/site-packages/pisi/operations/build.py", line 1059, in gen_metadata_xml
    pkg = self.packagedb.get_package(dep)
  File "/usr/lib/python2.7/site-packages/pisi/db/packagedb.py", line 84, in get_package
    pkg, repo = self.get_package_repo(name, repo)
  File "/usr/lib/python2.7/site-packages/pisi/db/packagedb.py", line 166, in get_package_repo
    pkg, repo = self.pdb.get_item_repo(name, repo)
  File "/usr/lib/python2.7/site-packages/pisi/db/itembyrepo.py", line 50, in get_item_repo
    raise Exception(_("Repo item %s not found") % str(item))
I think the best thing may be to setup a local dev repo. Thoughts?

Return to “Testing”