i'm using portage 1.8.19 while qmerging ebuild (openquicktime-1.0, it's my own ebuild, not in portage tree [yet?]) i've got an error: [...unrelevant skipped...] File "/usr/lib/python2.2/site-packages/portage.py", line 2984, in mergeme print zing,mydest UnboundLocalError: local variable 'zing' referenced before assignment [...end of qoute...] i checked the file and indeed, zing is only assigned some value if moveme==true (if moveme: at line 2977).
well, i also had a look what actually happend. indeed very strange thing. it seems openquicktime's makefile is not very smart - when i tried DESTDIR approach it tried to write outside it, when i tried to set prefix it just couldnt grasp it correctly and created file '/usr/lib' (not directory, but file, whatever is in it). it was when qmerging this wrong file that zing-error occured. this doesnt make it less of a bug though. imho.
Resolved by a message from me in IRC. Resolved in Portage 1.9.0