Bug 9551

Summary: Resolve string formatting issues in unzip
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Joshua Lock <joshuagloe>
Component: coreAssignee: Plauchu Edwin <edwin.plauchu.camacho>
Status: RESOLVED FIXED QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: normal    
Priority: Medium+ CC: anibal.limon, benjamin.esquivel, elena.reshetova, jku, jose.perez.carranza, leonardo.sandoval.gonzalez, meta.mr.watcher, meta.watcher, sgw, yi.zhao
Version: 2.2   
Target Milestone: 2.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Lock 2016-04-28 12:19:14 UTC
unzip fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security).
Comment 1 Leonardo Sandoval Gonzalez 2016-05-26 16:39:01 UTC
Edwin, please check the status of this bug and resolve it if possible.
Comment 4 Jussi Kukkonen 2016-08-16 08:04:36 UTC
This seems to have broken unzip output formatting (see bug 10140 ).
Comment 5 Leonardo Sandoval Gonzalez 2016-08-16 13:48:23 UTC
(In reply to comment #4)
> This seems to have broken unzip output formatting (see bug 10140 ).

Thanks for the info.
Comment 6 Benjamin Esquivel 2016-08-18 15:11:42 UTC
*** Bug 10140 has been marked as a duplicate of this bug. ***
Comment 7 Benjamin Esquivel 2016-08-18 15:12:31 UTC
bug 10140 was closed but has to be fixed here.
Comment 8 Benjamin Esquivel 2016-08-18 15:14:01 UTC
setting priority the same as bug 10140
Comment 9 Jussi Kukkonen 2016-08-26 07:32:35 UTC
If the real fix turns out to be more complex (and I think it will), maybe we should revert 763a3d424 in the mean time?
Comment 10 Aníbal Limón 2016-08-26 15:22:33 UTC
(In reply to comment #9)
> If the real fix turns out to be more complex (and I think it will), maybe we
> should revert 763a3d424 in the mean time?

I agree, i sent a patch to the ML to revert the Edwin's commit while he made the right fix.

http://lists.openembedded.org/pipermail/openembedded-core/2016-August/125769.html
Comment 11 Plauchu Edwin 2016-08-30 02:38:37 UTC
This patch solves the strange output
without any need of revert my prior patch
[PATCH V1] at http://lists.openembedded.org/pipermail/openembedded-core/2016-August/125886.html
Comment 12 Leonardo Sandoval Gonzalez 2016-08-30 14:23:47 UTC
(In reply to comment #11)
> This patch solves the strange output
> without any need of revert my prior patch
> [PATCH V1] at
> http://lists.openembedded.org/pipermail/openembedded-core/2016-August/125886.
> html

Great Edwin. Just one comment: There is no need to include V1 on shortlog. It is implied  if version is not included.