[Bug 1142645] New: opendkim fail to build with GCC 9
http://bugzilla.opensuse.org/show_bug.cgi?id=1142645 Bug ID: 1142645 Summary: opendkim fail to build with GCC 9 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: ilya@ilya.pp.ua QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- opendkim fail to build with GCC 9 in Tumbleweed for X86_64 https://build.opensuse.org/package/live_build_log/server:mail/opendkim/openS... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1142645 http://bugzilla.opensuse.org/show_bug.cgi?id=1142645#c1 --- Comment #1 from Илья Индиго <ilya@ilya.pp.ua> --- If i'm use %define _lto_cflags %nil macro errors appear [ 132s] collect2: error: ld returned 1 exit status [ 132s] make[3]: *** [Makefile:1071: opendkim-atpszone] Error 1 [ 133s] opendkim.c: In function 'dkimf_libstatus': [ 133s] opendkim.c:9624:43: warning: ': ' directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] [ 133s] 9624 | snprintf(replybuf, sizeof replybuf, "%s: %s", [ 133s] | ^~ [ 133s] opendkim.c:9624:40: note: assuming directive output of 18 bytes [ 133s] 9624 | snprintf(replybuf, sizeof replybuf, "%s: %s", [ 133s] | ^~~~~~~~ [ 133s] In file included from /usr/include/stdio.h:867, [ 133s] from opendkim.c:40: [ 133s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 1044) into a destination of size 1024 [ 133s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 133s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 133s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] opendkim.c: In function 'mlfi_eoh': [ 133s] opendkim.c:12636:53: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] [ 133s] 12636 | snprintf((char *) identity, sizeof identity, "@%s", [ 133s] | ^ [ 133s] In file included from /usr/include/stdio.h:867, [ 133s] from opendkim.c:40: [ 133s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 258 bytes into a destination of size 257 [ 133s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 133s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 133s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 133s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 134s] opendkim.c: In function 'dkimf_ar_all_sigs': [ 134s] opendkim.c:10704:25: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 1009 and 1015 [-Wformat-truncation=] [ 134s] 10704 | "%s%sdkim=%s%s (%u-bit key%s%s) header.d=%s header.i=%s%s%s", [ 134s] | ^~ [ 134s] 10705 | c == 0 ? "" : ";", [ 134s] 10706 | DELIMITER, result, comment, [ 134s] | ~~~~~~~ [ 134s] In file included from /usr/include/stdio.h:867, [ 134s] from opendkim.c:40: [ 134s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 43 or more bytes (assuming 2376) into a destination of size 1025 [ 134s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 134s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 134s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 134s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 134s] opendkim.c: In function 'mlfi_eom': [ 134s] opendkim.c:14440:20: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 4073 [-Wformat-truncation=] [ 134s] 14440 | "%s: %s", [ 134s] | ^~ [ 134s] In file included from /usr/include/stdio.h:867, [ 134s] from opendkim.c:40: [ 134s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 25 and 4121 bytes into a destination of size 4097 [ 134s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 134s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 134s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 134s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1142645 http://bugzilla.opensuse.org/show_bug.cgi?id=1142645#c2 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |martin.liska@suse.com Assignee|rpm@fthiessen.de |martin.liska@suse.com --- Comment #2 from Martin Liška <martin.liska@suse.com> --- Ok, I've got it. The package uses a erlang static libraries that are missing -ffat-lto-objects. Let me fix that. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1142645 http://bugzilla.opensuse.org/show_bug.cgi?id=1142645#c3 --- Comment #3 from Илья Индиго <ilya@ilya.pp.ua> --- Martin, Thank you! :-) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1142645 http://bugzilla.opensuse.org/show_bug.cgi?id=1142645#c4 --- Comment #4 from Martin Liška <martin.liska@suse.com> --- I've just made a SR: https://build.opensuse.org/request/show/726468 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1142645 http://bugzilla.opensuse.org/show_bug.cgi?id=1142645#c5 Ferdinand Thiessen <rpm@fthiessen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED CC| |rpm@fthiessen.de Resolution|--- |FIXED --- Comment #5 from Ferdinand Thiessen <rpm@fthiessen.de> --- Is fixed with: https://build.opensuse.org/request/show/727982 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com