From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 26 16:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB2E2DEC for ; Wed, 26 Feb 2014 16:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 957E1189D for ; Wed, 26 Feb 2014 16:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1QG00V3090956 for ; Wed, 26 Feb 2014 16:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1QG00nB090955; Wed, 26 Feb 2014 16:00:00 GMT (envelope-from gnats) Resent-Date: Wed, 26 Feb 2014 16:00:00 GMT Resent-Message-Id: <201402261600.s1QG00nB090955@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Schweikle Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7176DDD for ; Wed, 26 Feb 2014 15:59:12 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B2B861895 for ; Wed, 26 Feb 2014 15:59:12 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1QFxBIe083324 for ; Wed, 26 Feb 2014 15:59:11 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1QFxBWI083323; Wed, 26 Feb 2014 15:59:11 GMT (envelope-from nobody) Message-Id: <201402261559.s1QFxBWI083323@cgiserv.freebsd.org> Date: Wed, 26 Feb 2014 15:59:11 GMT From: Thomas Schweikle To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187086: devel/glibc20 fails compiling with error including libiconv.h X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 16:00:00 -0000 >Number: 187086 >Category: ports >Synopsis: devel/glibc20 fails compiling with error including libiconv.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 26 16:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Thomas Schweikle >Release: FreeBSD 11.0-CURRENT >Organization: >Environment: FreeBSD fbsdc-64.bfs.de 11.0-CURRENT FreeBSD 11.0-CURRENT #11 r262482: Wed Feb 26 01:59:26 CET 2014 root@fbsdc-64.bfs.de:/usr/obj/usr/src/sys/FBSDC-64 amd64 >Description: Port devel/glibc20 doesn't compile: _ENABLE_DEBUG -DGLIB_COMPILATION -DPCRE_STATIC -I/usr/local/include -pthread -Wall -Wstrict-prototypes -Werror=implicit-function-declaration -Werror=init-self -Werror=format-security -Werror=missing-include-dirs -O2 -pipe -fno-strict-aliasing -MT libglib_2_0_la-gconvert.lo -MD -MP -MF .deps/libglib_2_0_la-gconvert.Tpo -c gconvert.c -fPIC -DPIC -o .libs/libglib_2_0_la-gconvert.o gconvert.c:62:2: error: GNU libiconv in use but included iconv.h not from libiconv #error GNU libiconv in use but included iconv.h not from libiconv ^ gconvert.c:310:21: warning: passing 'gchar **' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return iconv (cd, inbuf, inbytes_left, outbuf, outbytes_left); ^~~~~ /usr/include/iconv.h:56:47: note: passing argument to parameter here size_t iconv(iconv_t, const char ** __restrict, ^ 1 warning and 1 error generated. gmake[6]: *** [libglib_2_0_la-gconvert.lo] Error 1 gmake[6]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' gmake[5]: *** [all-recursive] Error 1 gmake[5]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/glib20 *** Error code 1 Stop. make: stopped in /usr/ports/devel/glib20 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20140226-81373-1h11bpy env UPGRADE_TOOL=portupgrade UPGRADE_PORT=glib-2.36.3_1 UPGRADE_PORT_VER=2.36.3_1 make ** Fix the problem and try again. ---> Skipping 'emulators/open-vm-tools-nox11' (open-vm-tools-nox11-1280544_2,1) because a requisite package 'glib-2.36.3_1' (devel/glib20) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! devel/glib20 (glib-2.36.3_1) (new compiler error) * emulators/open-vm-tools-nox11 (open-vm-tools-nox11-1280544_2,1) Cleaning out /usr/ports/*/*/work... Delete /usr/ports/devel/glib20/work done. Detecting unreferenced distfiles... [Reading data from pkg(8) ... - 143 packages found - done] no unreferenced distfiles found. In tune emulators/open-vm-tools-nox11 fails. This seems related to changes for llvm and accompanying libraries. In this case libiconv. >How-To-Repeat: Compile devel/glibc20 on FreeBSD 10-STABLE or 11-CURRENT. On both systems compilation fails if done with the default compiler from the llvm-toolchain. >Fix: Unknown. If switching to gnu libiconv other parts of the system won't compile. >Release-Note: >Audit-Trail: >Unformatted: