Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320759 - net-libs/gnet-2.0.8 failed to build (because -Werror)
Summary: net-libs/gnet-2.0.8 failed to build (because -Werror)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror 318633
  Show dependency tree
 
Reported: 2010-05-20 18:44 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2010-11-16 21:02 UTC (History)
1 user (show)

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


Attachments
build.log (net-libs:gnet-2.0.8:20100520-174637.log,47.76 KB, text/plain)
2010-05-20 18:45 UTC, Paweł Hajdan, Jr. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-05-20 18:44:22 UTC
cc1: warnings being treated as errors
echoclient.c: In function 'main':
echoclient.c:105: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
make[3]: *** [echoclient.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
echoserver.c: In function 'main':
echoserver.c:99: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
cc1: warnings being treated as errors
echoclient-async.c: In function 'async_client_sin_iofunc':
echoclient-async.c:152: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
make[3]: *** [echoserver.o] Error 1
make[3]: *** [echoclient-async.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-libs/gnet-2.0.8/work/gnet-2.0.8/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-libs/gnet-2.0.8/work/gnet-2.0.8/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/gnet-2.0.8/work/gnet-2.0.8'
make: *** [all] Error 2
 * ERROR: net-libs/gnet-2.0.8 failed:
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2872:  Called gnome2_src_compile
 *   environment, line 2226:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 * 
 * If you need support, post the output of 'emerge --info =net-libs/gnet-2.0.8',
 * the complete build log and the output of 'emerge -pqv =net-libs/gnet-2.0.8'.
 * The complete build log is located at '/var/log/emerge/net-libs:gnet-2.0.8:20100520-174637.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnet-2.0.8/temp/environment'.
 * S: '/var/tmp/portage/net-libs/gnet-2.0.8/work/gnet-2.0.8'
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-05-20 18:45:01 UTC
Created attachment 232263 [details]
build.log
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-11-16 21:02:31 UTC
+  16 Nov 2010; Gilles Dartiguelongue <eva@gentoo.org> gnet-2.0.8.ebuild,
+  gnet-2.0.8-r1.ebuild, +files/gnet-2.0.8-check-usage-update.patch,
+  +files/gnet-2.0.8-context-leak.patch,
+  +files/gnet-2.0.8-network-tests.patch:
+  Version bump. Fix usage of check test framework, bug #296849. Do not
+  enable and build network tests, bug #320759. Disable -Werror in configure,
+  bug #320759. Fix homepage URL.

Should be all clear now. Thanks for reporting.