building 5.1.3.2 I noticed the following: ... [build CXX] sal/osl/unx/time.cxx /tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.3.2/sal/osl/unx/process.cxx: In function 'oslProcessError osl_getProcessInfo(oslProcess, oslProcessData, oslProcessInfo*)': /tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.3.2/sal/osl/unx/process.cxx:1026:53: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'pid_t {aka long int}' [-Wformat=] snprintf(name, sizeof(name), "/proc/%u", pid); ^ [build CXX] sal/osl/unx/salinit.cxx [build CXX] sal/osl/unx/uunxapi.cxx [build C ] sal/osl/unx/backtrace.c [build CXX] sal/osl/unx/interlck.cxx [build CXX] sal/textenc/context.cxx /tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.3.2/sal/osl/unx/backtrace.c: In function 'backtrace_symbols_fd': /tmp/pkgsrc/misc/libreoffice/work/libreoffice-5.1.3.2/sal/osl/unx/backtrace.c:121:13: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] fprintf( fp, "[0x%x]\n", *pFramePtr ); ^ ... relative simple, patches to be attached.
Created attachment 125257 [details] for backtrace.c
Created attachment 125258 [details] for process.cxx
Richard PALO committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=acbbb01940588604de965c4fcef64b2e17473fe6 tdf#100021 - format argument issue in process.cxx It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Richard PALO committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b09eb27b7a52d2abd9bdbf01b4532f23279c6edc&h=libreoffice-5-2 tdf#100021 - format argument issue in process.cxx It will be available in 5.2.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Richard: can the status be set to FIXED?