File exists: 'builds' on build

Bug #581958 reported by Matt Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packagetastic
Fix Committed
Critical
Unassigned

Bug Description

When building the basic hello package, like so:
sudo ./packagetastic build distro:=ubuntu package:=hello $UID

I sometimes get this error:
Building hello ...
Uncompressing source code ...
Traceback (most recent call last):
  File "./packagetastic", line 65, in <module>
    lib_packagetastic.build(distro_name, package_name)
  File "/home/matt/Projects/packagetastic2/lib_packagetastic.py", line 849, in build
    builder.build(meta, packages)
  File "distros/ubuntu.py", line 79, in build
    setup_source_code(meta)
  File "/home/matt/Projects/packagetastic2/lib_packagetastic.py", line 483, in setup_source_code
    os.mkdir("builds")
OSError: [Errno 17] File exists: 'builds'

Matt Jones (workhorsy)
Changed in packagetastic:
importance: High → Critical
Revision history for this message
Matt Jones (workhorsy) wrote :

The problem was that the script, could not remove all the files with normal user permissions.

Changed in packagetastic:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.