Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640076 - 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=]
Summary: app-arch/pax-3.4.12.16 - options.c: In function 'tar_options': options.c:725:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2017-12-06 15:23 UTC by Christian Strahl
Modified: 2017-12-07 05:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,13.39 KB, text/plain)
2017-12-06 15:24 UTC, Christian Strahl
Details

Note You need to log in before you can comment on or make changes to this bug.
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.