Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 640076

Summary: app-arch/pax-3.4.12.16 - options.c: In function 'tar_options': options.c:725:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
Product: Gentoo Linux Reporter: Christian Strahl <c.a.strahl>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    
Attachments: build.log

Description Christian Strahl 2017-12-06 15:23:40 UTC
emerging app-arch/pax-3.4.12.16 fails with the following message:

options.c: In function 'tar_options':
options.c:725:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
    if (opt_add ("write_opt=nodir") < 0)
       ^
options.c:727:2: note: here
  case 'O':
  ^~~~


Reproducible: Always
Comment 1 Christian Strahl 2017-12-06 15:24:41 UTC
Created attachment 508476 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-07 05:37:52 UTC
Hint: Whenever you see "-Werror=", it's a bug that should block bug #260867. Before you do anything else, see whether removing -Werror from the C*FLAGS in the sources fixes the issue.