From owner-freebsd-ports-bugs@freebsd.org Mon Apr 17 18:30:07 2017 Return-Path: Delivered-To: freebsd-ports-bugs@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 6AB54D422F4 for ; Mon, 17 Apr 2017 18:30:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 401A11B28 for ; Mon, 17 Apr 2017 18:30:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3HIU6I8008703 for ; Mon, 17 Apr 2017 18:30:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218714] multimedia/kodi: fix build when gcc is installed Date: Mon, 17 Apr 2017 18:30:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pawel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2017 18:30:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218714 Bug ID: 218714 Summary: multimedia/kodi: fix build when gcc is installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: pawel@FreeBSD.org CC: mickael.maillot@gmail.com Flags: maintainer-feedback?(mickael.maillot@gmail.com) CC: mickael.maillot@gmail.com Created attachment 181854 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181854&action= =3Dedit kodi build fix Kodi build fails when there is gcc compiler installed on system. This happens due to wrong native complier detection by ax_prog_cxx_for_build.m4: https://www.gnu.org/software/autoconf-archive/ax_prog_cxx_for_build.html It's check defaults to gcc compiler, which produces broken binary: g++ -DPACKAGE_NAME=3D\"JsonSchemaBuilder\" -DPACKAGE_TARNAME=3D\"jsonschemabuilder\" -DPACKAGE_VERSION=3D\"1.0\" -DPACKAGE_STRING=3D\"JsonSchemaBuilder\ 1.0\" -DPACKAGE_BUGREPORT=3D\"me@ma= il.com\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"jsonschemabuilder\" -DVERSION=3D\"1.0\" = -I. -g -O2 -MT JsonSchemaBuilder.o -MD -MP -MF .deps/JsonSchemaBuilder.Tpo -c -o JsonSchemaBuilder.o JsonSchemaBuilder.cpp [..] ../../../tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder schema/version.txt schema/license.txt schema/methods.json schema/types.json schema/notifications.json /usr/local/lib/gcc49/libstdc++.so.6: version GLIBCXX_3.4.21 required by /hdd/ports/multimedia/kodi/work/xbmc-fc1619b/tools/depends/native/JsonSchem= aBuilder/bin/JsonSchemaBuilder not found Proposed fix hardcodes CXX_FOR_BUILD to system compiler generating proper binary. --=20 You are receiving this mail because: You are the assignee for the bug.=