From owner-freebsd-ports@freebsd.org Wed May 3 10:30:06 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C315AD5BD31 for ; Wed, 3 May 2017 10:30:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 80FDE1B1F for ; Wed, 3 May 2017 10:30:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [2.247.249.57] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1d5qfJ-0006t2-Jz; Wed, 03 May 2017 11:33:45 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v439Xfmd062397 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 May 2017 11:33:42 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v439XdpP062396; Wed, 3 May 2017 11:33:39 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 3 May 2017 11:33:39 +0200 From: Matthias Apitz To: meta+ports@vmeta.jp Cc: freebsd-ports@freebsd.org Subject: port net/tightvnc failes to build with DEBUG Message-ID: <20170503093339.GA62352@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , meta+ports@vmeta.jp, freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 2.247.249.57 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2017 10:30:06 -0000 Hello, when DEBUG is set in /etc/make.conf: CFLAGS+= -DDEBUG the port failes to build with: # make ... rm -f fserve.o cc -c -O2 -pipe -DDEBUG -Wno-return-type -fstack-protector -fno-strict-aliasing -ansi -pedantic -Dasm=__asm -I../../.././/include/fonts -I../include -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV -D_XSERVER64 -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO fserve.c fserve.c:412:5: warning: declaration of built-in function 'fprintf' requires inclusion of the header [-Wbuiltin-requires-header] fprintf(stderr, "failed to connect to FS \"%s\"\n", name); ^ fserve.c:412:13: error: use of undeclared identifier 'stderr' fprintf(stderr, "failed to connect to FS \"%s\"\n", name); matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045