Bug 139088

Summary: [EFL][jhbuild] Fix libsoup build with clang
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, gyuyoung.kim, ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 145121    
Attachments:
Description Flags
Patch none

Description Csaba Osztrogonác 2014-11-28 03:32:55 PST
build errors:

soup-logger.c:377:27: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
 data = g_strdup_vprintf (format, args);
                          ^~~~~~
soup-xmlrpc.c:302:35: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
 fault_string = g_strdup_vprintf (fault_format, args);
                                  ^~~~~~~~~~~~

These are already fixed in upstream libsoup, let's cherry-pick the fixes.
Comment 1 Csaba Osztrogonác 2014-11-28 06:31:03 PST
EFL and GTK use different libsoup version and GTK uses a git version which
isn't patchable by jhbuild. I'm going to fix EFL first and then GTK in a
future patch.
Comment 2 Csaba Osztrogonác 2014-11-28 06:32:22 PST
Created attachment 242266 [details]
Patch
Comment 3 Csaba Osztrogonác 2014-12-05 04:19:28 PST
Gyuyoung, could you possibly review it please? It is the 
last fix to be able to build all EFL dependencies with clang.
Comment 4 Gyuyoung Kim 2014-12-06 21:35:18 PST
Comment on attachment 242266 [details]
Patch

rs=me.
Comment 5 WebKit Commit Bot 2014-12-07 01:16:38 PST
Comment on attachment 242266 [details]
Patch

Clearing flags on attachment: 242266

Committed r176918: <http://trac.webkit.org/changeset/176918>
Comment 6 WebKit Commit Bot 2014-12-07 01:16:41 PST
All reviewed patches have been landed.  Closing bug.