Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410041 - dev-libs/libaio-0.3.109-r3 - In function ‘test_main’: cases/12.t:21:6: error: variable ‘res’ set but not used [-Werror=unused-but-set-variable]
Summary: dev-libs/libaio-0.3.109-r3 - In function ‘test_main’: cases/12.t:21:6: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (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:
 
Reported: 2012-03-28 17:46 UTC by Markus Walter
Modified: 2012-04-02 20:11 UTC (History)
0 users

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


Attachments
build log (build.log,15.34 KB, text/plain)
2012-03-28 17:46 UTC, Markus Walter
Details
emerge --info (info.txt,5.38 KB, text/plain)
2012-03-28 17:46 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2012-03-28 17:46:31 UTC
Created attachment 307013 [details]
build log

On my hardeneg ~amd64 machine with gcc-4.6.2 I see libaio failing it's tests due to a fatal gcc warning.

x86_64-pc-linux-gnu-gcc -m32 -Wall -Werror -I../src -g -O -DTEST_NAME=\"cases/14.t\" -o cases/14.p main.c ../src/libaio.a
In file included from main.c:24:0:
cases/12.t: In function ‘test_main’:
cases/12.t:21:6: error: variable ‘res’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make: *** [cases/12.p] Error 1
Comment 1 Markus Walter 2012-03-28 17:46:48 UTC
Created attachment 307015 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2012-04-02 20:11:45 UTC
+  02 Apr 2012; Pacho Ramos <pacho@gentoo.org> libaio-0.3.109-r3.ebuild:
+  -Werror must not be used in final releases, bug #410041 by Markus Oehme.
+