Bug 13985

Summary: Send error information to stderr/stdout immediately (disable buffering)
Product: [Yocto Project Subprojects] opkg Reporter: Alejandro del Castillo <alejandro.delcastillo>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided    
Version: 0.4.3   
Target Milestone: 0.4.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alejandro del Castillo 2020-07-17 14:23:25 UTC
Opkg currently buffers the errors into errlist. Before exit, opkg calls print_error_list to show all the collected errors. This approach makes it hard to debug issues when opkg crashes, since the errlist is never written to disk. We should get rid of buffering and directly output to the correct stream.
Comment 1 Alejandro del Castillo 2020-08-03 07:32:12 UTC
fixed on 9796b885941bced7d4899dd7bf3e658d75c1d7c2