Activity log for bug #1065826

Date Who What changed Old value New value Message
2012-10-12 06:02:46 Fathi Boudra bug added bug
2012-10-12 06:02:53 Fathi Boudra linaro-image-tools: status New Confirmed
2012-10-12 06:02:59 Fathi Boudra linaro-image-tools: status Confirmed Triaged
2012-10-12 06:03:02 Fathi Boudra linaro-image-tools: importance Undecided High
2012-10-12 06:03:04 Fathi Boudra linaro-image-tools: assignee Fathi Boudra (fboudra)
2012-10-12 06:03:07 Fathi Boudra linaro-image-tools: milestone 2012.10
2012-10-12 06:07:48 Fathi Boudra description File "/usr/lib/python2.7/dist-packages/debian/arfile.py", line 59, in __index_archive raise ArError, "Unable to find global header" debian.arfile.ArError: Unable to find global header I didn't open a bug 'cause I hoped it would have been easy to fix, but it turns out it is not. The problem arises from the "build-info" extraction part in the builder() method (file hwpack/build.py, at the very end of the file), and it is only visible running the tests. That function also calls to be refactored, since it is getting huge and difficult to go through. When running the tests, we "fake" some Debian packages, using the DummyFetchedPackage class (file hwpack/testing.py), that returns something that is not comparable to a deb file; when the builder() function is called and it opens the deb file to take out the build-info stuff, the ArFile class reads the content of the deb file, and there it breaks, because it is missing basically all the structure. File "/usr/lib/python2.7/dist-packages/debian/arfile.py", line 59, in __index_archive     raise ArError, "Unable to find global header" debian.arfile.ArError: Unable to find global header The problem arises from the "build-info" extraction part in the builder() method (file hwpack/build.py, at the very end of the file), and it is only visible running the tests. That function also calls to be refactored, since it is getting huge and difficult to go through. When running the tests, we "fake" some Debian packages, using the DummyFetchedPackage class (file hwpack/testing.py), that returns something that is not comparable to a deb file; when the builder() function is called and it opens the deb file to take out the build-info stuff, the ArFile class reads the content of the deb file, and there it breaks, because it is missing basically all the structure.
2012-10-12 06:28:37 Milo Casagrande bug added subscriber Milo Casagrande
2012-10-12 09:22:21 Paul Sokolovsky bug added subscriber Paul Sokolovsky
2012-10-12 09:38:09 Fathi Boudra linaro-image-tools: status Triaged In Progress
2012-10-12 12:33:38 Fathi Boudra branch linked lp:~fboudra/linaro-image-tools/bug-1065826
2012-10-12 12:33:44 Fathi Boudra linaro-image-tools: status In Progress Fix Committed
2012-10-19 14:54:12 Milo Casagrande linaro-image-tools: status Fix Committed Fix Released