Bug 1031339

Summary: opie fails to build with GCC 7
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Marcus Meissner <meissner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1030236    

Description Martin Liška 2017-03-28 12:33:37 UTC
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/opie/standard/x86_64

[   43s] I: Program is using implicit definitions of functions getting
[   43s]    pointers or implemented by macros. These functions need to use their
[   43s]    correct prototypes to allow correct argument passing on e.g. x86_64 .
[   43s]      - Implicit memory/string functions need #include <string.h>.
[   43s]      - Implicit *printf functions need #include <stdio.h>.
[   43s]      - Implicit *printf functions need #include <stdio.h>.
[   43s]      - Implicit *read* functions need #include <unistd.h>.
[   43s]      - Implicit *recv* functions need #include <sys/socket.h>.
[   43s] W: opie implicit-pointer-decl glob.c:285
[   43s] W: opie implicit-pointer-decl logwtmp.c:158
[   43s] W: opie implicit-pointer-decl opiekey.c:158
[   43s] W: opie implicit-pointer-decl opielogin.c:1031, 1266, 1274
[   43s] W: opie implicit-pointer-decl opietest.c:186, 272
[   43s] W: opie implicit-pointer-decl parsechallenge.c:56
[   43s] W: opie implicit-pointer-decl randomchallenge.c:49
[   43s] W: opie implicit-pointer-decl verify.c:89
[   43s] 
[   43s] I: Program is using implicit definitions of special functions.
[   43s]    these functions need to use their correct prototypes to allow
[   43s]    the lightweight buffer overflow checking to work.
[   43s]      - Implicit memory/string functions need #include <string.h>.
[   43s]      - Implicit *printf functions need #include <stdio.h>.
[   43s]      - Implicit *printf functions need #include <stdio.h>.
[   43s]      - Implicit *read* functions need #include <unistd.h>.
[   43s]      - Implicit *recv* functions need #include <sys/socket.h>.
[   43s] E: opie implicit-fortify-decl newseed.c:88

Can be tested in openSUSE:Factory:Staging:Gcc7 project.
Comment 1 Marcus Meissner 2017-04-03 06:25:20 UTC
submitted a fixed package