From owner-freebsd-ports@FreeBSD.ORG Tue May 28 14:22:45 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C8DA9BE8 for ; Tue, 28 May 2013 14:22:45 +0000 (UTC) (envelope-from gtodd@bellanet.org) Received: from mail-oa0-f47.google.com (mail-oa0-f47.google.com [209.85.219.47]) by mx1.freebsd.org (Postfix) with ESMTP id 986C2EA5 for ; Tue, 28 May 2013 14:22:45 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id m1so9916707oag.20 for ; Tue, 28 May 2013 07:22:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:cc:subject:message-id:user-agent :mime-version:content-type:x-gm-message-state; bh=7tI+YHLpP1xo9vTw+miR9ivaodAbWpsODElzEPpdOH8=; b=lga7yYGnTRRvgAncKQo9Le6pyzjHaY9Kdy5v27GCtP7NI2LM2nP2cZipwm5iOu2SF5 QLaaFqw4KFzLjz1H/2/57c94brXydDAOwPuu/g6hEZw6KomxGDWsz4sB1N3tXaLPaL2e MeK0D6iJdl999pCIK+SP2S/5neMdkKeA+2NHFuW+E67iiQ4dwXxfOLFp3i0O7Bo77qgY 8s/enB79znczozjbfcLkBoJR77dpBWn4FWN06bKRFkccgqmm5ekYwO/p+AKa6kl4xhpd QHQYFnB7P9jZGPMWEEen6+2z2GfLdstgI1tjoxJryR2bLv++Lqq4ZbA/nvopod8HmTxR 4UFQ== X-Received: by 10.182.87.3 with SMTP id t3mr21214447obz.4.1369750964766; Tue, 28 May 2013 07:22:44 -0700 (PDT) Received: from [192.168.2.72] (CPE0080c8f208a5-CM001371173cf8.cpe.net.cable.rogers.com. [99.246.61.82]) by mx.google.com with ESMTPSA id jw8sm34742344obb.14.2013.05.28.07.22.42 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 28 May 2013 07:22:43 -0700 (PDT) Date: Tue, 28 May 2013 10:21:20 -0400 (EDT) From: gtodd@bellanet.org X-X-Sender: gtodd@ninga.iciti.internal To: trhodes@freebsd.org Subject: sysutils/fsc (fbsd service monitor) broken build w/ clang-devel-3.4.r181598_3 Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Gm-Message-State: ALoCoQlwu5ipJxMvKkHQ9IwAwF73SfJHW+1FWhzLfl3SHi2DTA9g/Pb6R3+QoezrhQtUNJ9404v1 Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 14:22:45 -0000 Hi and thanks for your work on fsc service monitoring tool. I have been using it for a while but haven't tried to rebuild it very often until today. It may have worked with earlier versions of clang. PR filed. Here is the error message. Warning: Object directory not changed from original /usr/ports/sysutils/fsc/work/fsc/fscd clang -O2 -pipe -fno-strict-aliasing -std=c99 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c fscd.c fscd.c:977:13: error: variable 'sendstr' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] } else if (strcmp(arglst[0], "status") == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fscd.c:984:16: note: uninitialized use occurs here send(sock_fd, sendstr, strlen(sendstr), 0); ^~~~~~~ fscd.c:977:9: note: remove the 'if' if its condition is always true } else if (strcmp(arglst[0], "status") == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fscd.c:934:15: note: initialize the variable 'sendstr' to silence this warning char *sendstr; ^ = NULL 1 error generated. *** [fscd.o] Error code 1 Stop in /usr/ports/sysutils/fsc/work/fsc/fscd. *** [all] Error code 1 Stop in /usr/ports/sysutils/fsc/work/fsc. *** [do-build] Error code 1 Stop in /usr/ports/sysutils/fsc. :w